Models and ids
A model is named by an id, lab/model. Models come and go; the gateway’s own list always says what is live right now, and which API each model answers on.
Model ids
Section titled “Model ids”Every model has one id: the lab, a slash, and the model’s name, in lower case. anthropic/claude-sonnet-5-5, openai/gpt-6.2-astra and google/gemini-4-neon are ids. The models page lists them all with today’s prices.
A few shorter and older spellings are understood too, because tools often send them:
| Sent | Understood as | Why |
|---|---|---|
claude-sonnet-5-5 |
anthropic/claude-sonnet-5-5 |
The name without its lab, when only one model has that name |
claude-sonnet-5-5-20260101 |
anthropic/claude-sonnet-5-5 |
A date stamp at the end is dropped |
claude-sonnet-5.5 |
anthropic/claude-sonnet-5-5 |
For Claude, dots in the version are read as dashes |
- Ids are case-sensitive.
- A name that matches no model, or more than one, answers 404 with the code
model_not_found. - A variant is a model of its own: a name with
-thinkingor-maxat the end is not folded into the plain one. - The
modelin an answer is always the full id, whichever spelling was sent.
List the models
Section titled “List the models”GET https://api.exoticrouter.com/v1/models
The list needs no key and can be read from any origin, a browser included. It is sorted by id.
By default it lists the text models that can answer now, which is what chat apps fill their model pickers with. Add ?kind= for other kinds (images, embeddings, speech, transcriptions, videos, or all), or ?format= for the models one API serves (messages, responses, gemini, images…). Sent with an anthropic-version header, as Anthropic’s SDKs and Claude Code send it, the answer is in Anthropic’s shape and lists the models served on /v1/messages.
curl https://api.exoticrouter.com/v1/modelsfor model in client.models.list(): print(model.id)for await (const model of client.models.list()) { console.log(model.id);}Each entry is one model:
{ "id": "openai/gpt-6.2-astra", "object": "model", "created": 1796169600, "owned_by": "openai", "name": "GPT-6.2 Astra", "context_length": 1050000, "max_output_tokens": 128000, "pricing": { "input_per_mtok": 0.10368, "output_per_mtok": 0.5184, "per_request": 0.001337184, "currency": "USD" }, "capabilities": { "tools": true, "vision": true, "reasoning": true }, "formats": ["chat", "responses"]}| Field | Type | Description |
|---|---|---|
id |
string |
The id to send as model. |
name |
string |
The model’s name as people write it. |
owned_by |
string |
The lab: the part of the id before the slash. |
created |
integer |
When the catalogue took the model on, in unix seconds. Not the lab’s release date. |
context_length |
integer |
How many tokens the model reads, prompt and answer together. 0 for models that are not text models. |
max_output_tokens |
integer |
The longest answer the model writes. 0 for models that are not text models. |
pricing |
object |
input_per_mtok and output_per_mtok are USD per million tokens; per_request is USD per request, or per image for an image model; currency is USD. Billing says how they add up. |
capabilities |
object |
Three booleans, tools, vision and reasoning: whether the model calls tools, reads images, and thinks before it answers. A guide, not a guarantee. |
formats |
string[] |
The APIs the model answers on. See the next section. |
Which endpoint serves a model
Section titled “Which endpoint serves a model”A model can be called on an endpoint only if its formats names that endpoint. Asking for a model on an endpoint that does not serve it answers 404: “The model … is not available on this endpoint.”
In formats |
Endpoint |
|---|---|
chat |
POST /v1/chat/completions |
messages |
POST /v1/messages |
responses |
POST /v1/responses |
gemini |
POST /v1beta/models/{model}:generateContent |
embeddings |
POST /v1/embeddings |
images |
POST /v1/images/generations, /v1/images/edits |
videos |
POST /v1/videos |
speech |
POST /v1/audio/speech |
transcriptions |
POST /v1/audio/transcriptions |
As a rule, every text model answers Chat Completions; the Claude models also answer Messages, the OpenAI models Responses, and the Gemini models Google’s own format. Image, video and voice models answer only on their own endpoint. The rule has exceptions: the formats of the model is what counts.
One model
Section titled “One model”GET https://api.exoticrouter.com/v1/models/{id}
Returns the same entry for one model. The id may be any spelling the gateway understands, and the answer is the model’s full entry, so this is also how to find the full id behind a short name.
curl https://api.exoticrouter.com/v1/models/anthropic/claude-sonnet-5-5The list is live
Section titled “The list is live”A model is listed only while it can be served. One that drops out is gone from the list within seconds, requests for it answer 404 model_not_found, and it returns the same way. A program that offers a choice of models should read the list rather than keep its own.
Where next
Section titled “Where next”- Endpoints: Every path the gateway serves.
- Billing and balance: How the prices in the list turn into a charge.