Skip to content

List models

Retrieve enabled Router model editions, enforced limits, and observed provider counts.

GET/v1/models Bearer token

Returns every model edition enabled for the developer API, including editions with no provider currently online.

Example request

bash
curl "$ROUTER_BASE_URL/models" \  -H "Authorization: Bearer $ROUTER_API_KEY"

Response

json
{  "object": "list",  "data": [    {      "id": "gemma3:1b",      "object": "model",      "title": "Gemma 3 1B",      "brand": "Gemma",      "owned_by": "Google",      "digest": "sha256:example",      "context_length": 4096,      "max_output_tokens": 512,      "max_prompt_bytes": 3072,      "capabilities": ["text"],      "ready_providers": 2,      "online_providers": 3    }  ]}

The values are illustrative. Always use the current response.

Model fields

FieldMeaning
idExact edition ID to send in a chat request.
title, brand, owned_byDisplay metadata for the model.
digestExact configured model artifact revision.
context_lengthMaximum combined context tokens enforced for the edition.
max_output_tokensMaximum accepted max_tokens value.
max_prompt_bytesMaximum combined UTF-8 bytes across message text.
capabilitiesCapabilities of this enabled API edition.
ready_providersMatching providers currently free to accept a request.
online_providersMatching connected providers, including busy ones.

Errors

Authentication failures return 401. Account request limits return 429. A required account or catalog dependency can return 503. Error responses use the common error envelope.

Next, send the selected ID to chat completions.