Create a custom agent cost item
Price a non-LLM cost item the registry has never heard of — a search API, a vector DB, GPU seconds, a render. The item is priced entirely by its dimensions (its token rates are 0). provider and item must match, verbatim, the vendor and item your SDK sends on hyperline.cost({ vendor, item, quantity, unit }) — they are lowercased and trimmed, nothing else — and each dimensions[].key must match the unit of the call it prices: cost() writes the quantity to usage_extra[unit] and pricing matches a dimension by that exact key, so a key that does not match prices nothing. Idempotent by design so a seed script can be re-run: an open custom item already standing for that (provider, item) is returned as it is, rates untouched, with a 200 instead of a fresh 201 — edit a rate by deleting the item and creating it again. A (provider, item) pair the global registry already prices is refused: that model has a price, and a negotiated rate for it goes through the overrides endpoint.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Create custom cost item payload
AI model provider, or the vendor of a custom cost item. This is not an integration connection.
1"anthropic"
Custom item name matching the usage payload.
1"search"
Additional billable dimensions; each key matches a usage_extra key and rates use the owning card's units or USD for cost-catalog dimensions.
1 - 10 elementsResponse
The custom cost item already existed
AI model provider, or the vendor of a custom cost item. This is not an integration connection.
"anthropic"
Model identifier, or custom item identifier. Null on wildcard pricing rows.
"claude-sonnet-5"
Alternative model names recognized by the cost catalog.
Provider cost in USD per million input tokens, as an exact decimal string.
^-?\d+(\.\d+)?(e[+-]?\d+)?$/i"3"
Provider cost in USD per million output tokens, as an exact decimal string.
^-?\d+(\.\d+)?(e[+-]?\d+)?$/i"15"
Provider cost in USD per million cached input tokens, as an exact decimal string.
^-?\d+(\.\d+)?(e[+-]?\d+)?$/i"0.3"
Provider cost in USD per million cache write tokens, as an exact decimal string.
^-?\d+(\.\d+)?(e[+-]?\d+)?$/i"3.75"
Additional billable dimensions; each key matches a usage_extra key and rates use the owning card's units or USD for cost-catalog dimensions.
Time the price takes effect, as a UTC ISO 8601 timestamp.
"2026-09-01T00:00:00Z"
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.
official, override, custom, unlisted "official"
Custom cost-item identifier used to delete the item; null for registry models.
null
Negotiated workspace cost override, or null when using registry rates.
null

