Claude Code starts on Claude Opus 5.5 on Pro, Max, Team, Enterprise and API accounts, but Claude Sonnet 5.5 ($2/$10 per million tokens) is the best everyday model to run in it: second only to Opus 5.5 on Terminal-Bench 4.0, at half its price. Switch to Opus 5.5 ($4/$20) for the hardest tasks, and give subagents Claude Haiku 5.5 ($0.10/$0.50 up to 100K-token prompts). Non-Claude models also work through an Anthropic-compatible endpoint, and they cut the cost of routine steps further.
Asking which Claude model is best overall or for coding, outside Claude Code too? See the best Claude model ranking.
Pick a model with /model in a session, claude --model at startup, or the ANTHROPIC_MODEL environment variable. On the Anthropic API the aliases below resolve to the newest Claude models; on Bedrock, Google Cloud and Microsoft Foundry some resolve to older versions.
Sources: Claude Code model configuration
Run any of these models in your agent
Or let the router send each step to the cheapest model that can do it, on providers we vet for price, uptime and speed. Plans from $19 a month.
The best everyday pick: 61.8% on Terminal-Bench 4.0 in Claude Code, close to Opus 5.5, at half the price per token.
The quality ceiling for hard refactors, tricky bugs and long autonomous runs; #1 on Terminal-Bench 4.0 and Artificial Analysis.
For subagents and the many small calls a session makes. Keep its prompts under 100K tokens, where it costs a fifth of its higher band.
Anthropic's premium tier. Worth testing only if your own tasks show a gain over Opus 5.5, which matches it on most work for less.
Claude Code accepts any endpoint that speaks Anthropic's Messages API: set ANTHROPIC_BASE_URL, a key and ANTHROPIC_MODEL. On our measured coding-agent traffic, 100 requests cost about $0.67 on DeepSeek V4.1 Flash and $1.29 on MiniMax M3, against $5.33 on Sonnet 5.5 and $10.66 on Opus 5.5 at list prices. The cheaper models are weaker on hard multi-step work, so the common setup keeps Claude for the hard steps and sends routine ones to a low-cost model. Standard Compute does that per request on one key: its router picks the cheapest model that can handle each step and saves frontier models such as Claude Fable 5.1 and GPT-6 Astra for the steps that need them, for a fixed monthly price from $19.
A typical request sends 99,534 input tokens, 87% of them read from cache, and a median session runs 16 requests. Measured on pooled coding-agent requests through our gateway (79,301 requests from 75 users; Claude Code alone has fewer than 50 users, so its traffic is pooled), Sep 13 to Oct 12, 2026, priced at each vendor's list rates.
| Model | 100 requests | Median session | Month of regular use |
|---|---|---|---|
| Claude Sonnet 5.5 | $5.33 | $0.74 | $77.42 |
| Claude Opus 5.5 | $10.66 | $1.47 | $155 |
| Claude Haiku 5.5 | $1.31 | $0.096 | $17.73 |
| Claude Fable 5.1 | $23.76 | $3.26 | $332 |
Month of regular use = the median user active on 5 or more days (1,478 requests in 30 days). Methodology · All models ranked by cost per request
The highest-rated model whose list-price cost for a month of regular use (1,478 requests) stays under each budget. Heavier months cost proportionally more.
| Monthly budget | Best model that fits | Est. month |
|---|---|---|
| Under $19 | Claude Haiku 5.5 | $17.73 |
| Under $49 | Claude Haiku 5.5 | $17.73 |
| Under $99 | Claude Sonnet 5.5 | $77.42 |
"Highest-rated" uses our editorial quality and agentic scores; candidates are current models that Claude Code runs with a checked vendor price.
The agent matters as much as the model. Compare AI agents →
Every model on this page runs on Standard Compute