ProviderCosts

Create or update a provider cost rate

Changed on
put/v1/provider-costs

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/v1/provider-costs
  • Auth: HTTP bearer

Request body

providerstring required
modelstring required

Model family token or raw snapshot id — raw ids match first at ingest.

token_typestring required

ADR-044 role — input / output / cache_read.

cost_per_tokenstring required

Decimal dollars per token (e.g. "0.000003").

currencystring

Response

Upserted rate

idstring required
providerstring required
modelstring required
token_typestring required
cost_per_tokenstring required

Decimal dollars per token.

currencystring required
created_atstring date-time
updated_atstring date-time

Changes