AI Models · Tutorial 02

Claude Haiku vs Sonnet vs Opus

Compare Claude Haiku, Sonnet, and Opus using dated API prices and a small extraction exercise with explicit pass conditions.

Three linked paper gears show a fast small model, balanced workhorse, and powerful slow model in one family.
Reading time
9 min
Last updated
November 2026

0 of 1 complete

Reference guide · Read when needed · View the route

Last checked and updated: November 26, 2026. Official documentation reviewed; the comparison below is an authored exercise, not a reported model benchmark.

A cheap answer that needs three repairs can cost more than a good first answer. Choose Claude by checking whether it finishes your task, then compare the time and money required to get there.

This lesson focuses on Haiku, Sonnet, and Opus. Anthropic’s current model overview also lists Fable; these three names no longer describe the entire lineup. On the date checked, the overview lists Haiku 5.5, Sonnet 5.5, and Opus 5.5. Record the version you actually use instead of treating a family name as a fixed product.

Start at L01: Compare AI models on a task you actually do for the general comparison method.

One family, three costs

Anthropic positions Haiku for high-volume extraction and routing, Sonnet for a balance of speed and intelligence, and Opus for agentic coding and knowledge work. Those are vendor descriptions, not results from this lesson.

Your decision has three parts:

  • Learn: distinguish the model family from its exact version and billing route.
  • Try: run one fixed extraction task with two available models, then a third if useful.
  • Prove: check every field against an answer key and record corrections before choosing a default.

Use access you already have. A missing model in your picker is a reason to record an availability limit, not to buy another subscription for this exercise.

Speed, capability, and price

The existing diagram is a conceptual illustration of the three families, not a measured ranking or a current price chart. Its speed and capability positions do not predict your task’s result.

Conceptual Haiku, Sonnet, and Opus speed and capability diagram; not a measured benchmark or current pricing reference

Measure total completion time, including retries and checking. Time to the first token is useful for an interactive interface, but a fast opening sentence does not mean the job finishes sooner.

Where this gets you in real money

These are Anthropic’s published base API rates in USD per million tokens, checked November 26, 2026. They are not subscription prices. Official pricing separates input, output, caching, and other charges.

ModelInput / millionOutput / million
Haiku 5.5, prompts up to 100,000 tokens$0.10$0.50
Haiku 5.5, prompts over 100,000 tokens$0.50$2.50
Sonnet 5.5$2$10
Opus 5.5$4$20

For a hypothetical uncached request with 10,000 input tokens and 1,000 output tokens, the base-token calculation is:

(input tokens / 1,000,000 × input rate)
+ (output tokens / 1,000,000 × output rate)

That yields $0.0015 for Haiku 5.5, $0.03 for Sonnet 5.5, and $0.06 for Opus 5.5. This is arithmetic, not a measured run or a promised bill. It excludes tools, retries, and other charges; use your provider’s applicable rates and recorded usage.

Choose Haiku, Sonnet, or Opus

Treat these as starting hypotheses to test:

Your taskFirst comparisonEvidence to keep
Repeated classification or field extractionHaiku against SonnetMissing fields, invented values, invalid output
Drafting or a bounded code repairSonnet against an available alternativeRequired facts retained, unchanged tests passing, review time
Ambiguous analysis or a difficult repairYour current model against OpusWhether the specific earlier failure is resolved
Scheduled high-volume workCheapest candidate that passes your sampleFailure rate, retries, actual usage, manual repair time

A higher-priced model still needs review. A lower-priced one still needs a representative sample. For coding, test the result in the same harness: see Hermes L01.

Compare one task across the family

The exercise

Use a fresh conversation for each model. Keep the prompt, tools, and input identical; record any settings you cannot control. In Claude Code, the documented /model command selects a model and /status shows the current model. Aliases can resolve differently across providers and change over time, so save the resolved name. These instructions were checked against documentation; no Claude Code comparison was run for this refresh.

Paste this fictional fixture and prompt:

Extract the three requests below into a JSON array, with keys
id, owner, due_date, and status. Preserve IDs as strings.
Use null when a value is not explicitly supplied. Do not infer
calendar dates from relative phrases. Output only JSON.

Request 001: Maya owns the export fix. Due 2026-12-03.
Status: in progress.
Request 002: Owner not assigned. Due next Friday.
Status: blocked.
Request 003: Lin owns the search review. No due date stated.
Status: done.

Before reading a model’s explanation, check its answer against this key:

[
  {"id":"001","owner":"Maya","due_date":"2026-12-03","status":"in progress"},
  {"id":"002","owner":null,"due_date":null,"status":"blocked"},
  {"id":"003","owner":"Lin","due_date":null,"status":"done"}
]

Whitespace and object-key order do not matter. Require valid JSON, exactly three records, leading zeros retained, and all values matching the key. A guessed date or invented owner is a failure, even if the response reads well.

Allow one correction round per model. Save the original response and correction separately; do not keep regenerating until a model happens to pass.

Record for each modelWhat to enter
SetupExact model, provider, date, effort, tools
First responsePass/fail and the mismatched fields
CorrectionPrompt used and whether it fixed the mismatch
TimeCompletion time plus manual checking and repair
UsageReported tokens/cost, plan usage, or unavailable
DecisionKeep, retest on harder examples, or reject for this task

Success criteria: you can identify the cheapest acceptable setup among those you measured, explain any failure, and state what remains untested. One small fixture does not establish production reliability.

Suggested first-week workload split

Allocate by observed results rather than fixed percentages. Start with a few representative examples, including missing data and ambiguous instructions. Keep routine cases on a cheaper model only when they pass your checks; reserve escalation for named failures. Review the saved outputs and actual usage at the end of the week before increasing volume.

Common failure modes to expect

If every model invents the same field, inspect the prompt and source data before paying for another attempt. Missing evidence cannot be repaired by changing tiers.

If an alias selects an unexpected version, inspect the resolved model and provider configuration. Repeat the comparison with an explicitly selected model where available.

If the cheapest run needs frequent manual repair, include that time in the decision. If the expensive run merely sounds more polished, check whether it actually fixes a failed requirement before keeping it.

If costs are unavailable, write “unavailable” in the scorecard. You can still compare correctness and time; you cannot claim a measured cost saving.

What’s next

Sources and checked date

Official sources checked November 26, 2026:

The fixture, answer key, and selection workflow are editorial examples. No model accuracy, speed, or savings result is claimed.

Check your understanding

Q1.Which Claude tier is the best default choice for most daily work in 2026?
Q2.You're running a cron job that classifies 5,000 support emails a day. Which tier should you reach for, and why?
Q3.What's the single biggest cost mistake beginners make with the Claude family?
Q4.True or false: 'Opus 4.8' and 'Opus' are interchangeable ways to refer to the same thing.
Q5.You need an LLM to draft a launch announcement that absolutely has to land in the right tone on the first try. Which tier?
Q6.Why does the cost gap between Opus and Sonnet matter more than the gap between Sonnet versions?