Add a rate to the organization's price list
PreviewAdd a rate to the organization’s price list. A rate is a fixed price per unit or a multiple of the list price; rates are never edited, a change is a new rate from a later date.
/v1/cost-ratesSee authentication for credentials and permissions.
Request Bodyrequired
Section titled “Request Bodyrequired”Add a rate to the org’s price list. Rates are never edited: a change is a new rate from a later date.
object
When it starts; now when absent.
Multiple of the provider’s or catalog price. Model tokens only.
Which usage it applies to (see CostRate.match).
model.tokens or sandbox.time.
Fixed USD per million tokens (model tokens) or per hour (sandboxes).
Example generated
{ "effective_from": "2026-04-15T12:00:00Z", "list_price_multiplier": 1, "match": "example", "meter": "example", "unit_price_usd": 1}Responses
201Created
Created
One row of the org’s price list.
object
When the rate was added.
When the rate starts to apply.
Rate id (rate_...).
Multiple of the provider’s or catalog’s price (0.8 is a 20% discount, 0 counts usage at no cost).
Which usage it applies to. Model tokens: provider, model,
source (managed or own_keys). Sandbox time: provider, size.
Empty applies to the whole meter.
object
What it prices: model.tokens or sandbox.time.
Why the rate was added: the change reason given with it.
This row ends the rates it matches from effective_from.
Unit of unit_price_usd: 1m_tokens or hour.
Fixed price per unit, in USD.
Example generated
{ "created_at": "2026-04-15T12:00:00Z", "effective_from": "2026-04-15T12:00:00Z", "id": "example", "list_price_multiplier": 1, "match": {}, "meter": "example", "reason": "example", "retired": true, "unit": "example", "unit_price_usd": 1}