Foundations

Choosing the right Claude

There isn't one Claude — there's a family that trades intelligence against speed and cost. Opus is the deepest reasoner, Sonnet the balanced workhorse, Haiku the fast-and-cheap one. An architect routes each task to the cheapest model that still clears the bar. Pick a workload and see which fits.

Opus = smartestSonnet = balanced Haiku = fastest/cheapestmodel routing cost vs capability
Explain like I'm 10
Imagine three helpers. Haiku is a quick, cheerful kid who answers easy questions in a flash for pocket change. Sonnet is a clever teenager who handles most real homework well and fast. Opus is the professor — brilliant at the hardest puzzles, but slower and pricier, so you only call them in for the truly tough stuff. Smart teams use the quick kid for easy jobs and save the professor for hard ones.

Match the model to the job

The trade-off, and how architects use it

ModelBest atRelative cost / speed
Haikuhigh-volume, well-defined tasks: classification, simple extraction, routing, guardrail checks.cheapest · fastest
Sonnetthe default workhorse: agents, coding, RAG, most production features.mid · fast
Opusthe hardest reasoning: complex agents, novel architecture, high-stakes analysis.priciest · deepest

Route, don't pick once. A great pattern (from Domain 1's routing): use Haiku to triage and answer easy cases, and escalate only the hard ones to Sonnet or Opus. You get most of the quality at a fraction of the cost. Pair this with prompt caching and the Batch API for the biggest savings.

The actual math — dial in your workload

Intuition only sticks with numbers. Model pricing is per million tokens (MTok), input and output priced separately. Set your monthly volume and per-request sizes; the bars show what each model would cost. Then flip on the two big levers — Batch API (~50% off, for non-realtime bulk) and prompt caching (repeated prefix reads at ~10%) — and watch them stack:

Illustrative per-MTok pricing (input / output): Haiku $1 / $5 · Sonnet $3 / $15 · Opus $15 / $75. Always check the current pricing page — the ratios and the reasoning are what matter here.

Three worked decisions (how an architect actually reasons)

Case 1 — "Classify 1M support tickets a month into 5 categories"

Short input (~400 tokens), tiny output (~50), and a well-defined task. Run the eval: Haiku scores 94%, Sonnet 96%, Opus 96.5%. The math: Haiku ≈ $650/mo, Sonnet ≈ $1,950, Opus ≈ $9,750. Is 2 points of accuracy worth $1,300/month? For ticket routing (a mis-route just lands in a review queue) — no. Decision: Haiku, with the eval as proof. The upgrade twist: route the ~10% of tickets Haiku marks low-confidence to Sonnet — total ≈ $780/mo, near-Sonnet quality at 40% of Sonnet's price. That hybrid is the "router" pattern paying rent.

Case 2 — "A coding assistant for a 20-dev team"

~88k requests/mo, but each carries big context (~6k tokens of repo + rules) and real output (~800). This is multi-step reasoning over code — Haiku's eval score drops hard here, so it's out. Sonnet ≈ $2,640/mo raw. Now the levers: the repo context + system prompt is a stable, repeated prefix → cache it, and input cost collapses: ≈ $1,500/mo. Opus would be ≈ $13,200 before caching — reserved for the occasional gnarly architecture question, invoked explicitly, not as the default. Decision: Sonnet + caching, Opus on-demand.

Case 3 — "Extract fields from 150k scanned invoices, nightly"

~2k tokens in, ~300 out, schema-constrained (Domain 4), and nobody is waiting on the response — it runs overnight. Haiku ≈ $525/mo in a real-time loop… but "overnight" is the tell: use the Batch API → ≈ $262/mo. Garbled docs that fail validation twice get flagged and re-run through Sonnet (~5% → +$50). Decision: Haiku + Batch + Sonnet fallback ≈ $310/mo — versus ≈ $19,500 if someone had "just used the best model" in a real-time loop. Same task, 60× cheaper, measurably equal output.

Exam trap: "always use the most powerful model" is wrong — it's slow and expensive for tasks a smaller model nails. The architect's answer is the cheapest model that meets the quality bar, often with a router sending only hard cases up the ladder. Decide the bar with an eval (Domain 4), not a guess.
Takeaways: Haiku = fast/cheap for high-volume, well-defined work; Sonnet = balanced default for agents/coding/RAG; Opus = deepest reasoning for hard, high-stakes, novel tasks. Don't default to the biggest — route tasks to the cheapest model that clears the bar, prove the bar with evals, and stack caching + batching for cost.

Curated companion: Anthropic — Models overview.