How-To/How to Choose the Right Claude Model: Opus vs Sonnet vs Haiku

How to Choose the Right Claude Model: Opus vs Sonnet vs Haiku

By the end of this guide you will be able to choose a Claude model for your task, match it to your budget, and avoid overpaying for capability you do not need. Start with Sonnet 5, Anthropic's default on Claude Free and Pro and an available model in Claude Code and the API, then compare alternatives with task-specific evaluations.

Last updated: Jun 20, 2026

Start with Sonnet 5, Anthropic's current default on Claude Free and Pro and an available model in Claude Code and the API. Then compare alternatives only when your own evaluations reveal a quality, latency, or cost need. Pick wrong and you either overpay or underpower the task; this walkthrough gives you a repeatable way to choose.

Heads up

Fable 5 was restored globally on July 1, 2026. Mythos 5 is limited to approved Project Glasswing organizations, so do not make it an architectural dependency unless your organization has that access. Sonnet 5 is the generally available starting point in Claude Code and the API.

Step 1: Start with Sonnet 5

Start here. Sonnet 5 is the default on Claude Free and Pro and is available through Claude Code and the API. Its introductory API price is $2 per million input tokens and $10 per million output tokens through August 31, 2026, then $3/$15. For coding, analysis, drafting, and assistant work, begin with Sonnet 5 and move only when a task-specific evaluation gives you a concrete reason.

Step 2: Move up to Opus 4.8 when the task is hard and agentic

Opus 4.8 is the strongest agentic coding model in its class. It plans before it edits and sustains long autonomous runs without losing the thread. That is what you pay for. Reach for Opus when the work is genuinely difficult or genuinely long-running, not when Sonnet would already nail it.

  • You need a multi-step coding agent that plans, edits across many files, and self-corrects over a long session
  • The task spans a large codebase or document set and one small mistake compounds
  • You are running Claude Code on a complex refactor or feature build that must hold context for hours
  • The cost of a wrong answer is high enough to justify premium pricing

Opus 4.8 is $5 per million input and $25 per million output at standard rates. Fast Mode doubles that to $10 in and $50 out when you need lower latency on a premium run. The 1M token context is flat-rate here too, same as Sonnet.

Step 3: Move down to Haiku 4.5 when speed and volume win

Haiku 4.5 is the fastest and cheapest model at $1 per million input and $5 per million output. The tradeoff is a 200K token context window instead of 1M, and less raw capability on hard reasoning. For high-volume, latency-sensitive, or simple-but-frequent tasks, Haiku is the operator's choice.

  • You are classifying, tagging, routing, or extracting structured fields at scale
  • Latency matters more than depth, like an interactive chat or autocomplete layer
  • The task is well-defined and repetitive, so you do not need flagship reasoning
  • You are processing thousands of short items and total spend is the constraint

Quick decision rule

  • Hard, long, or agentic coding where a mistake is expensive: Opus 4.8
  • Most other work: start with Sonnet 5, then verify the current context limit for your model and plan in Anthropic's official model overview.
  • Fast, cheap, high-volume, simple, or under 200K tokens: Haiku 4.5

Step 4: Cut your bill before you change models

Often the right move is not a cheaper model, it is a cheaper way to run the model you already need. Two levers apply across all three models. Batch processing is 50% cheaper for work that does not need a live response, so route overnight jobs and bulk runs through it. Prompt caching cuts cached input cost up to 90%, so if you reuse a large system prompt, a codebase, or a document set across many calls, cache it once and reuse it. A cached Sonnet workflow can land cheaper than an uncached Haiku one.

Common mistake

Reaching for Opus by default because it is the flagship. Most teams that audit their usage find Sonnet handled 80% of what they ran on Opus, at a fraction of the cost. Start on Sonnet, escalate to Opus only when you can name the reason, and use batch plus caching before you assume you have a model problem.

Step 5: Match the model to the job type

Claude's strengths are agentic coding, long-context analysis over big codebases and document sets, production assistant and RAG work, and tool-using agents. Anthropic created the Model Context Protocol and ships first-class MCP support, and Claude Code is the dedicated CLI for agentic coding. Web search and image input are available across the lineup. Two things Claude does not do: it has no native image generation, and voice exists in the mobile apps but is not a core strength. If your task is text or code, you are in the right place. If you need generated images, Claude is not the tool.

  • Long autonomous coding agent in Claude Code: Opus 4.8
  • Day-to-day coding, refactors, and code review: start with Sonnet 5 in Claude Code.
  • Whole-codebase or whole-document analysis: start with Sonnet 5, verify the current context limit, and compare another model only when task-specific evaluations justify it.
  • Production RAG and assistant chat at scale: start with Sonnet 5, then evaluate high-volume routing separately against your quality and cost thresholds.
  • Bulk classification, extraction, and routing: Haiku 4.5 with batch processing

Step 6: Pick the right consumer plan

If you are using Claude through the app rather than the API, the choice is the plan, not the raw model. Free gets you in the door. Pro covers serious daily individual use. Max is for heavy users and anyone leaning on long Claude Code sessions and the most capable models throughout the day. Builders shipping product or running agents should be on the API, where you control the exact model and the cost levers above.

That is the whole decision. Start with Sonnet 5, measure quality, latency, and cost on your real workload, and switch only when the evidence supports it. Pull the batch and caching levers before you assume you need a different model.

THE CLAUDE INSIDER

Get the Claude playbook in your inbox.

One weekly email for Claude and Claude Code users. Real workflows, no hype. Subscribe and we send you The Claude Power-User Cheatsheet.

Frequently Asked Questions

RELATED