List models

List all models accessible to the authenticated organization, including built-in models and organization-specific custom models. For paginated filtering with throughput metrics, use /api/models/list/.

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY for API key auth or Bearer <JWT> for dashboard auth.

Query parameters

sort_bystringOptionalDefaults to model_name

Field to sort by. Prefix with - for descending order.

allbooleanOptionalDefaults to false

If true, return all matching models without pagination for routes that support it.

Response

List of models.
idstring

Model string ID. Same value as model_name.

model_namestring
Model name used in API calls.
display_namestring

Human-readable model name.

base_model_namestring
Base model inherited from, when configured.
affiliation_categoryenum

Whether the model is built in or organization-specific.

Allowed values:
is_called_by_custom_nameboolean
Whether requests are sent upstream using this custom model name.
input_costdouble
Cost per 1M input tokens in USD.
output_costdouble
Cost per 1M output tokens in USD.
cache_hit_input_costdouble
Cost per 1M cached input tokens in USD.
cache_creation_input_costdouble
Cost per 1M cache creation input tokens in USD.
max_context_windowinteger
Maximum context window size.
streaming_supportenum

Streaming support. 0 = no, 1 = yes.

Allowed values:
function_callenum

Function/tool calling support. 0 = no, 1 = yes.

Allowed values:
image_supportenum

Vision input support. 0 = no, 1 = yes.

Allowed values:
sourceenum
Source of the model definition.
Allowed values:
model_typeenum
Model type.
Allowed values:
supported_paramsmap from strings to any

Computed parameter support after applying model-specific overrides.

throughputobject or null
providerobject
created_atdatetime or null
updated_atdatetime or null

Errors

401
Unauthorized Error