Custom Models
Update custom model
PATCH
Update a specific custom model. Only the provided fields will be updated - other fields remain unchanged.
Restrictions:
- Only custom models can be updated (not global models)
- The
model_namefield is read-only and cannot be changed - Only the owning organization can update their custom models
Path parameters
string
required
The model’s unique name to update.
Example
Example
Request body
All fields are optional. Only provide the fields you want to update.string
Human-readable display name for the model.
Example
Example
integer | string
ID or
provider_id of the custom provider to associate with this model.Pricing
float
Cost per 1M input tokens in USD.
Example
Example
float
Cost per 1M output tokens in USD.
float
Cost per 1M cached input tokens in USD.
float
Cost per 1M cache creation tokens in USD.
Capabilities
integer
Maximum context window size for the model.
integer
Streaming support.
0 for no, 1 for yes.integer
Function calling support.
0 for no, 1 for yes.integer
Image/vision support.
0 for no, 1 for yes.object
Partial override of UI parameter support. New overrides are merged with existing ones.
Example
Example