Module 01 · Lesson 5 of 13Free
Choosing a model: capability, cost and speed
- Level
- Beginner
- Topic
- AI engineering fundamentals
- Reading time
- 8 min
When you finish this page you can
- Compare models on capability, cost and speed, using the current Claude models as the example.
- Work out what a feature costs per day on each model, with thinking tokens counted.
- Choose a model by testing the cheapest one on real examples first and moving up only when it fails.
Builds on 2 lessons
Start with lesson 315 minVideo lesson · coming soon
One line of code: $38 or $1,512 a day
Deskora is a help desk app. A shop’s support team uses it to answer customer emails from one shared inbox. Each customer problem becomes a ticket: one customer’s whole conversation with the support team.
Long tickets are slow to read, so Deskora is adding a three-line summary at the top. Priya, a support agent at a shop that uses Deskora, reads it before she replies. Tomás, the Deskora engineer building the feature, has one line left to decide:
model="claude-haiku-5-5" # or claude-sonnet-5-5, claude-opus-5-5, claude-fable-5-1At Deskora’s volume, that line decides whether summaries cost about $38 a day or about $1,512. Tomás’s first thought is the most capable model, to be safe.
This lesson answers one question: which model should write Deskora’s summaries, and how does Tomás find out?
Diagram not drawn yet: deskora-summary-daily-cost-by-model.svg
Four vertical bars on one true scale, showing the daily cost of 40,000 Deskora summaries on each model as of October 2026. Claude Haiku 5.5: about $38, a bar so short it is barely visible. Claude Sonnet 5.5: about $756. Claude Opus 5.5: about $1,512. Claude Fable 5.1: about $3,780, the full height. A note says the token counts and thinking amounts are estimates, the same for every model.
Tomás moves the summary from Claude Haiku 5.5 to Claude Opus 5.5. Which of cost, speed and summary quality is sure to change?Show answer
Every model trades capability, cost and speed
In Claude’s line-up, the models built for the hardest work also cost the most and answer the slowest. As of October 2026 1:
| Model | Id | Input / output, per million tokens | Speed (Anthropic’s label) | Built for (Anthropic’s description) |
|---|---|---|---|---|
| Claude Fable 5.1 | claude-fable-5-1 |
$10 / $50 | Slower | Demanding reasoning, long agent work |
| Claude Opus 5.5 | claude-opus-5-5 |
$4 / $20 | Moderate | Agentic coding, knowledge work |
| Claude Sonnet 5.5 | claude-sonnet-5-5 |
$2 / $10 | Fast | Speed with intelligence |
| Claude Haiku 5.5 | claude-haiku-5-5 |
$0.10 / $0.50 | Fastest | High-volume, latency-sensitive tasks |
The speed labels compare the four models; they are not timings. Real also depends on prompt length, output length and thinking 1. Speed matters little here. Deskora makes each summary in the background, before Priya opens the ticket, as Design: a ticket summary feature shows.
Capability is the column a table can’t fill in. It doesn’t say whether a cheaper model is good enough for three lines about a support thread.
Before testing quality, Tomás checks what each choice would cost.
What each model costs Deskora a day
The formula comes from Calling a model API: input tokens × input price + output tokens × output price, where output includes thinking. For a day, add up the tokens first. Then multiply by each model’s prices 3.
Input tokens a day
30,000 × 4,150 + 10,000 × 15,150 = 276 million input tokens
Assumed: 40,000 summaries a day, one in four long. Each sends a 150-token system prompt plus a 4,000-token thread (typical) or a 15,000-token thread (long).
Output tokens a day
30,000 × (300 + 80) + 10,000 × (800 + 100) = 20.4 million output tokens
Assumed: 300 thinking tokens and an 80-token summary for a typical ticket, 800 and 100 for a long one. Thinking tokens are billed as output tokens 4.
Cost a day
276 million × input price + 20.4 million × output price
Prices are per million tokens.
| Model | Input (276M tokens) | Output (20.4M tokens) | Per day |
|---|---|---|---|
| Claude Haiku 5.5 | $27.60 | $10.20 | about $38 |
| Claude Sonnet 5.5 | $552 | $204 | about $756 |
| Claude Opus 5.5 | $1,104 | $408 | about $1,512 |
| Claude Fable 5.1 | $2,760 | $1,020 | about $3,780 |
The table keeps the same thinking on every model, to compare prices alone. But each model has an effort setting that controls how much it thinks, and the defaults differ: medium on Haiku 5.5 and Opus 5.5, high on Sonnet 5.5 and Fable 5.1 1. So Sonnet and Fable may cost more than shown.
Opus instead of Haiku costs about $1,474 more a day, about $540,000 a year. It is worth paying only if Haiku’s summaries fall short, and Tomás can measure that.
Start with the cheapest model that passes
The tool is an eval: a repeatable test that runs the feature on many real inputs and scores each output. Evals teaches the idea; Building an eval set from real examples shows how to collect one. Tomás’s first eval is small:
- Take 40 real tickets in the usual mix, including hard ones: a refund already promised, a customer who changed what they want.
- Write the pass rule and the bar before running. A summary passes if it states the problem, what was tried and what the customer is waiting for, and invents nothing. His example bar: 38 of 40 pass.
- Run all 40 on the cheapest model, Haiku 5.5, and score each summary.
- If Haiku clears the bar, ship it. If not, read the failures, then try the next model up.
Diagram not drawn yet: cheapest-model-first-eval-loop.svg
A flow from top to bottom. 1: 40 real Deskora tickets and a pass rule. 2: run them on Claude Haiku 5.5, the cheapest model. 3: score each summary against the bar of 38 of 40 with no invented facts. 4: if it passes, ship this model. 5: if it fails, read the failures, then repeat with the next model up: Claude Sonnet 5.5, then Claude Opus 5.5, then Claude Fable 5.1. Each model’s run cost is shown: about 4 cents, 76 cents, $1.51 and $3.78.
Testing is cheap. 40 tickets in the usual mix are a thousandth of a day’s volume, so a run costs a thousandth of a day’s bill: about 4 cents on Haiku 5.5 and $1.51 on Opus 5.5, plus the time to score them. Each run also logs usage.output_tokens_details.thinking_tokens, which replaces the thinking assumption with real numbers.
Anthropic’s guide recommends this efficiency-first start for high-volume, straightforward tasks, and calls a good evaluation set the most important step 2.
Which model should Tomás test first for ticket summaries?
The most capable model, Claude Fable 5.1, to be safe.
About $3,780 a day, and the slowest answers. If Haiku 5.5 would have passed, Deskora spends about $1.4 million a year for nothing. And “safe” is still a guess: without an eval, nobody has checked a single summary.
Claude Opus 5.5, then step down.
Shows first that the task can be done, then tests cheaper models. A sound start for hard tasks. For a short summary it adds runs that Haiku may make unnecessary, though each run costs only a dollar or two.
The cheapest model, Claude Haiku 5.5, moving up one model at a time only when it fails.
The first run costs about 4 cents. If Haiku passes, the feature costs about $38 a day. If it fails, the failed tickets show what the next model must fix.
Why this choice
Summaries are short, high-volume and made in the background. Here the cheapest model is most likely enough, and every extra cent counts 40,000 times a day.
When the choice changes. For a hard task, such as an agent working through many steps, start capability-first with a strong model such as Opus 5.5, to learn whether the task can be done at all 2. If Haiku fails only on long tickets, sending just those to a bigger model is model routing. A bigger model at a lower effort setting can also beat a switch; see Reasoning effort. When a new model or price appears, run the eval again.
All four models run on Anthropic’s servers and bill per token. Hosted and open-weight models asks when running a model yourself is the better trade.
Check your understanding
Haiku 5.5 passes Tomás’s eval, but a teammate wants Opus 5.5 “for better summaries”. What would that cost, and what evidence would justify it?Show answer
Deskora adds a Draft reply button, and Priya waits while the model writes. How does that change the choice of model?Show answer
Haiku 5.5 fails 6 of the 40 tickets, all of them long threads of 60 or more messages. What should Tomás do next?Show answer
Summary
- Test the cheapest model on a small eval of real examples, and move up one model only when it fails. The biggest model is not a safe default.
- Models trade capability, cost and speed. As of October 2026, Claude Haiku 5.5 is the cheapest and fastest Claude model; Claude Fable 5.1 is the most capable, costliest and slowest.
- Deskora’s 40,000 summaries a day cost about $38 on Haiku 5.5, $756 on Sonnet 5.5 and $1,512 on Opus 5.5, with assumed thinking billed as output.
- An eval run costs about a thousandth of a day’s bill and records each model’s real thinking tokens.
- The choice changes for hard multi-step tasks, for features people wait on, and whenever models or prices change.