Skip to main content
PUT
Set an agent cost catalog override

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Model price override payload

provider
string
required

AI model provider, or the vendor of a custom cost item. This is not an integration connection.

Minimum string length: 1
Example:

"anthropic"

model
string
required

Model identifier, or custom item identifier. Null on wildcard pricing rows.

Minimum string length: 1
Example:

"claude-sonnet-5"

input_per_m_tokens
string
required

Provider cost in USD per million input tokens, as an exact decimal string.

Maximum string length: 40
Pattern: ^\d+(\.\d+)?$
Example:

"3"

output_per_m_tokens
string
required

Provider cost in USD per million output tokens, as an exact decimal string.

Maximum string length: 40
Pattern: ^\d+(\.\d+)?$
Example:

"15"

cached_input_per_m_tokens
string

Provider cost in USD per million cached input tokens, as an exact decimal string.

Maximum string length: 40
Pattern: ^\d+(\.\d+)?$
Example:

"0.3"

cache_write_per_m_tokens
string

Provider cost in USD per million cache write tokens, as an exact decimal string.

Maximum string length: 40
Pattern: ^\d+(\.\d+)?$
Example:

"3.75"

dimensions
object[]

Additional billable dimensions; each key matches a usage_extra key and rates use the owning card's units or USD for cost-catalog dimensions.

Example:

Response

provider
string
required

AI model provider, or the vendor of a custom cost item. This is not an integration connection.

Example:

"anthropic"

model
string
required

Model identifier, or custom item identifier. Null on wildcard pricing rows.

Example:

"claude-sonnet-5"

aliases
string[]
required

Alternative model names recognized by the cost catalog.

Example:
input_per_m_tokens
string
required

Provider cost in USD per million input tokens, as an exact decimal string.

Pattern: ^-?\d+(\.\d+)?(e[+-]?\d+)?$/i
Example:

"3"

output_per_m_tokens
string
required

Provider cost in USD per million output tokens, as an exact decimal string.

Pattern: ^-?\d+(\.\d+)?(e[+-]?\d+)?$/i
Example:

"15"

cached_input_per_m_tokens
string
required

Provider cost in USD per million cached input tokens, as an exact decimal string.

Pattern: ^-?\d+(\.\d+)?(e[+-]?\d+)?$/i
Example:

"0.3"

cache_write_per_m_tokens
string
required

Provider cost in USD per million cache write tokens, as an exact decimal string.

Pattern: ^-?\d+(\.\d+)?(e[+-]?\d+)?$/i
Example:

"3.75"

dimensions
object[]
required

Additional billable dimensions; each key matches a usage_extra key and rates use the owning card's units or USD for cost-catalog dimensions.

Example:
effective_from
string<date-time>
required

Time the price takes effect, as a UTC ISO 8601 timestamp.

Example:

"2026-09-01T00:00:00Z"

source
enum<string>
required

Source of the model or item cost.

  • official: Official model price registry.
  • override: Negotiated workspace cost override.
  • custom: Workspace-defined cost item.
  • unlisted: Observed usage without catalog pricing.
Available options:
official,
override,
custom,
unlisted
Example:

"official"

custom_item_id
string | null
required

Custom cost-item identifier used to delete the item; null for registry models.

Example:

null

override
object | null
required

Negotiated workspace cost override, or null when using registry rates.

Example:

null