Update a model on your AI provider
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /workspaces/{workspaceSlug}/llm/models/{id}
- Auth: HTTP bearer
Path parameters
Workspace slug
Request body
Model brand declared by an admin; null keeps current
Clear the declared model brand
True clears the reasoning effort, so the provider's own default applies
Context window in tokens
Admin-only note: region, agreement, renewal date
Human-readable name
Active toggle
Maximum output tokens
Who operates the systems the work is sent to; omit to leave the model undeclared
Cache-read rate per 1M tokens (USD), if applicable
Cache-write rate per 1M tokens (USD), if applicable
Input rate per 1M tokens (USD)
Output rate per 1M tokens (USD)
Note; required when the model is free (e.g. self-hosted, no cost)
Pricing mode; when given, replaces the price wholesale (see class docs)
Reasoning effort to request; null keeps the current one (see clearReasoningEffort)
Response
OK
Model brand declared by an admin; display only
Owning connection's display name
Owning connection id
Context window in tokens
Creation timestamp
Currency code
Admin-only note: region, agreement, renewal date
Data-handling tier derived from the operator; UNDECLARED until it is set
Human-readable name
Active toggle
Model id
Maximum output tokens
Who operates the systems the work is sent to; null until declared
Cache-read rate per 1M tokens (USD)
Cache-write rate per 1M tokens (USD)
Input rate per 1M tokens (USD)
Output rate per 1M tokens (USD)
Price note
Pricing mode
Reasoning effort requested of the model; null sends none, the provider's default applies
Unique slug within the workspace
Last update timestamp
Upstream provider model id
Changes
No recorded changes to this operation across all 1 revision of this API.