Basics
Model ID
A model ID is the exact string an API request uses to choose its model, such as claude-opus-5-5. An alias is a shorter name that points at a model ID and can move to a newer model.
Also called Model name, Model alias, Model slug
Checked November 29, 2026
At a glance
- Where it goes
- The request's
modelfield - Must match
- Exactly, letter for letter
- Alias
- A short name that resolves to an ID, such as Claude Code's
opus - List them
GET /v1/models- On /model
- IDs as on the pricing page; maker-prefixed IDs work too
Every request names its model in the model field, and the ID has to be one the API knows. A near miss isn't a guess at what you meant: it is an error.
IDs and aliases
Some tools add shorter names on top. Claude Code takes aliases such as opus, sonnet and haiku, which point to the recommended version and update over time; to stay on one version, you use the full model name, such as claude-opus-5-5. Its opusplan setting uses Opus in plan mode and switches to Sonnet for the work (Claude Code docs).
Pin the full ID where answers must stay the same over time, as in production. Use an alias where you want the newest model without changing your code.
Model IDs on /model
- Use the ID as shown on the pricing page or in
GET /v1/models, such asclaude-opus-5-5orgpt-6.1-sol. Signed in, Models has a button to copy each one (Models). - Maker-prefixed IDs such as
anthropic/claude-opus-5.5work too, with dots or dashes. - An unknown ID, or a model that doesn't answer on the endpoint you called, gets a 404
model_not_found, and the message names the endpoint that serves it (Errors). - In Claude Code, its own model names, the
[1m]ones included, work as they are (Claude Code). - A suffix such as
:flooror:nitrochanges how one request is routed, not the model: see LLM router.
curl https://api.slashmodel.com/v1/models \
-H "Authorization: Bearer $SLASHMODEL_API_KEY"Where it applies on /model
Questions
Why do I get model_not_found?
The ID is misspelt, or the model doesn't answer on the API you called. On /model, the error names the API that serves it, and Models on each API lists them.
Should I use an alias or a full model ID?
A full ID when answers must stay the same over time, as in production; an alias when you want the newest model without editing your code.
Sources
The makers' own pages, each opened on November 29, 2026.