Add a priced model to the catalogue
Creates one catalogue row. (provider, model_id) is the row’s immutable identity — change either by deleting and re-adding. The rate cache is repopulated on success, so a new price is live with no restart. Requires the model:admin scope.
Authorizations
Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth
Body
LLM provider name (e.g. openai, anthropic).
1 - 64Provider-namespaced model string. May contain /.
1 - 256Hard input-token cap for the model. Must be > 0.
Input-token price in nanos per 1M tokens.
x >= 0Cached-input-token price in nanos per 1M tokens.
x >= 0Output-token price in nanos per 1M tokens.
x >= 0Response
Catalogue row created
UUIDv7 row key. Used in the URL because model_id may contain /.
Hard input-token cap for the model. Must be > 0.
Input-token price in nanos per 1M tokens.
x >= 0Cached-input-token price in nanos per 1M tokens.
x >= 0Output-token price in nanos per 1M tokens.
x >= 0