Admin LLM

Reprice a model

put/admin/llm/models/{id}/price

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/llm/models/{id}/price
  • Auth: HTTP bearer

Path parameters

idinteger required

Request body

notestring

Note; required when the model is free (e.g. self-hosted, no cost)

per1mCacheReadUsdnumber

Cache-read rate per 1M tokens (USD), if applicable

per1mCacheWriteUsdnumber

Cache-write rate per 1M tokens (USD), if applicable

per1mInputUsdnumber

Input rate per 1M tokens (USD); required when the model has a price

per1mOutputUsdnumber

Output rate per 1M tokens (USD); required when the model has a price

pricingMode'PRICED' | 'NO_CHARGE' | 'UNPRICED' required

PRICED shows the price itself; NO_CHARGE is a deliberate no-cost declaration; UNPRICED shows "No price set"

Response

OK

brand'OPENAI' | 'ANTHROPIC' | 'GEMINI' | 'GEMMA' | 'META' | 'MISTRAL' | 'QWEN' | 'DEEPSEEK' | 'XAI' | 'COHERE' | 'Z_AI' | 'MOONSHOT'

Model brand declared by an admin; display only

connectionDisplayNamestring required

Owning connection's display name

connectionIdinteger required

Owning connection id

contextWindowinteger

Context window in tokens

createdAtstring date-time required

Creation timestamp

dataHandlingNotestring

Admin-only note: region, agreement, renewal date

dataHandlingTier'IN_HOUSE' | 'CLOUD' | 'UNDECLARED' required

Data-handling tier derived from the operator; UNDECLARED until it is set

displayNamestring required

Human-readable name

enabledboolean required

Active toggle

grantedWorkspaceIdsinteger[] required

Workspace ids shared with; only meaningful when visibility is GRANTED

idinteger required

Model id

maxOutputTokensinteger

Maximum output tokens

operatedBy'OWN_ORGANISATION' | 'PROVIDER'

Who operates the systems the work is sent to; null until declared

reasoningEffort'NONE' | 'MINIMAL' | 'LOW' | 'MEDIUM' | 'HIGH' | 'XHIGH' | 'MAX'

Reasoning effort requested of the model; null sends none, the provider's default applies

slugstring required

Unique slug within the connection

updatedAtstring date-time

Last update timestamp

upstreamModelIdstring required

Upstream provider model id

visibility'PUBLIC' | 'GRANTED' required

Share with all workspaces (PUBLIC) or only selected ones (GRANTED)

Changes

No operation changes recorded.