Update custom model
Authentication
Path parameters
Request
Human-readable display name for the model.
ID or provider_id of the custom provider to associate with this model.
Image/vision support. 0 for no, 1 for yes.
Human-readable display name for the model.
ID or provider_id of the custom provider to associate with this model.
Image/vision support. 0 for no, 1 for yes.
Update a specific custom model. Only the provided fields will be updated - other fields remain unchanged.
Restrictions:
model_name field is read-only and cannot be changedmodel_name string required: The model’s unique name to update.
Example
All fields are optional. Only provide the fields you want to update.
display_name string: Human-readable display name for the model.
Example
custom_provider_id integer | string: ID or provider_id of the custom provider to associate with this model.input_cost float: Cost per 1M input tokens in USD.
Example
output_cost float: Cost per 1M output tokens in USD.
cache_hit_input_cost float: Cost per 1M cached input tokens in USD.
cache_creation_input_cost float: Cost per 1M cache creation tokens in USD.
max_context_window integer: Maximum context window size for the model.
streaming_support integer: Streaming support. 0 for no, 1 for yes.
function_call integer: Function calling support. 0 for no, 1 for yes.
image_support integer: Image/vision support. 0 for no, 1 for yes.
supported_params_override object: Partial override of UI parameter support. New overrides are merged with existing ones.
Example
Returns the updated model object.
API key authentication. Get your API key from https://platform.respan.ai/platform/api-keys