HomeTools › Model selector
Last updated: September 11, 2026

Which Claude model should you use?

Opus, Sonnet and Haiku are the same family at three points on the capability-versus-cost curve. The cheapest correct answer is almost never the biggest model — here is how to choose per task.

Short answer

  • Haiku — high volume, simple judgements, latency-sensitive work.
  • Sonnet — the default for coding and most production work.
  • Opus — hard reasoning, long-running agents, expensive-to-get-wrong decisions.
  • Start one tier lower than feels right and escalate only where quality actually fails; that single habit usually cuts more spend than any other optimisation.

Recommendation by use case

Use caseRecommended tierWhy
Customer support chatHaikuHigh volume, short answers, latency matters more than depth.
Code generation & refactoringSonnetBest balance of coding quality and cost for everyday work.
Complex multi-step agentsOpusLong-horizon planning and tool use where a wrong step is expensive.
Architecture & code reviewOpusDeep reasoning over large context beats raw throughput.
Bulk classification & taggingHaikuSimple, repetitive judgements at the lowest cost per call.
Long document analysisSonnetLarge context at mid-tier pricing; escalate to Opus only if quality slips.
Content draftingSonnetOutput-heavy work where output token price dominates the bill.
Data extraction to JSONHaikuSchema-constrained output needs speed, not deep reasoning.

Every model we serve

ModelTierContextOur price in / outDiscount
Claude Opus 4.8Flagship200K tokens$3 / $1580%
Claude Fable 5Newest200K · 1M variant$3 / $1580%
GPT-5.5Flagship256K tokens$3 / $1270%
Claude 1M ContextLong context1,000,000 tokens$1.8 / $6.7570%
GPT-5Popular256K tokens$1.5 / $670%
Claude Sonnet 4.6Best value200K · 1M beta$0.9 / $4.570%
Gemini 3 ProMultimodal1M tokens$1 / $660%
MiniMax M3New1M tokens$0.5 / $2.558%
Claude Haiku 4.5Fastest200K tokens$0.4 / $260%
Gemini 3 FlashFast1M tokens$0.2 / $1.260%

Prices are per million tokens. Run your own numbers in the cost calculator.

Frequently asked questions

What is the difference between Claude Opus, Sonnet and Haiku?

They are three sizes of the same model family. Opus is the most capable and most expensive, tuned for deep reasoning and agentic work. Sonnet sits in the middle and is the usual production default, especially for coding. Haiku is the fastest and cheapest, built for high-volume, low-complexity calls.

Which Claude model is best for coding?

Sonnet is the right default for day-to-day code generation, refactoring and test writing — it is markedly cheaper than Opus while staying strong at code. Move to Opus for architecture decisions, hard debugging and long autonomous agent runs where a wrong step costs more than the token difference.

Can I switch models without changing my code?

Yes. Every model is available through the same base URL and API key, so switching is a one-line change to the model ID in your request. That also makes tier-escalation easy to implement: try the cheap model first, retry with a bigger one only on failure.

Does a bigger context window cost more?

The window itself is free; you pay for the tokens you actually send. A large window matters because it lets you send more context when you need to — but filling it on every call is one of the most common sources of an unexpectedly large bill.

Start at the discounted rate

Same models, same context windows, one drop-in base URL. Pay as you go or take a flat-rate unlimited plan.

Get an API key See unlimited plans

Related tools & pages

ClaudeAPIKey.dev is an independent API gateway and is not affiliated with, endorsed by, or sponsored by Anthropic. “Claude” and “Anthropic” are trademarks of Anthropic. Official Anthropic list prices shown for comparison are taken from Anthropic’s published pricing and may change; our rates are read from our own live catalogue. Estimates are calculated from the token counts you enter and will differ from real usage.