Get Model
Get one model by its provider/model id.
Needs view_routing or manage_routing.
Authentication
AuthorizationBearer
A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.
Path parameters
model_id
The model’s provider/model id.
Response
The model
context_window
Maximum input context, in tokens.
display_name
The model’s name, like Claude Sonnet 4.6.
expiration_date
The day the model is retired. null when no date is set.
id
The canonical provider/model id.
input_cost_per_million
List price per million input tokens (USD).
input_modalities
What the model accepts, like text, image.
max_output_tokens
Maximum output, in tokens.
output_cost_per_million
List price per million output tokens (USD).
output_modalities
What the model returns.
provider
The model’s creator, like openai.
replacement_model
The model to move to once this one is retired.
status
deprecated models are retired on expiration_date; move to replacement_model.
Allowed values:
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error