Home / Docs / Models

Models

Every model id you can call, its context window, and what it costs per million tokens.

One key reaches all of these. Use the API id column verbatim in the model field of a request — display names are not accepted.

ModelAPI idContext$/M in$/M outSaving
Claude Opus 4.8claude-opus-4-8200K$3$1580%
Claude Fable 5claude-fable-5200K / 1M$3$1580%
Claude Sonnet 4.6claude-sonnet-4-6200K / 1M$0.9$4.570%
Claude Haiku 4.5claude-haiku-4-5200K$0.4$260%
GPT-5.5gpt-5.5256K$3$1270%
GPT-5gpt-5256K$1.5$670%
Gemini 3 Progemini-3-pro1M$1$660%
Gemini 3 Flashgemini-3-flash1M$0.2$1.260%
MiniMax M3minimax-m31M$0.5$2.558%

Prices are per million tokens in credits. Live ids are always available from the models endpoint:

curl https://aiprimetech.io/v1/models -H "Authorization: Bearer $CLAUDEAPIKEY"

Choosing a model

TaskRecommendedWhy
Agentic coding, refactors, architectureclaude-opus-4-8Strongest multi-step reasoning; worth the output price on hard work
Everyday coding, chat, general workclaude-sonnet-4-6The default — roughly a fifth of Opus's rate at close quality on most tasks
Classification, extraction, routingclaude-haiku-4-5Cheapest Claude; these tasks do not need a frontier model
Very large documentsgemini-3-pro1M context at a low input rate
High-volume batchgemini-3-flash or minimax-m3Lowest per-token cost in the catalog
The biggest single cost lever is routing by task. Output tokens cost 4–5× input on every frontier model, so sending classification work to Opus wastes money at roughly 7× the Haiku rate. See Cost control.

Long context

claude-sonnet-4-6 also serves a 1M-token variant, billed at a higher rate than the 200K version because long context is more expensive upstream. Gemini models take 1M natively. Sending 500K tokens of context on every turn is rarely the cheapest way to solve a problem — see Context management.

Model aliases

Ids are pinned, not floating. claude-sonnet-4-6 always means that version — it will not silently become a different model under you. When we add a successor it gets a new id, and the old one keeps working until formally retired via the changelog.