Lesson 81 of 1570
Claude Haiku 4.5 — speed/cost analysis
Haiku is Anthropic's cheap, fast tier. Here is the math on when it beats Sonnet for production workloads.
Lesson map
What this lesson covers
Learning path
The main moves in order
- 1The forgotten tier
- 2Where Haiku shines
- 3Claude Haiku 4.5
- 4latency
Concept cluster
Terms to connect while reading
Section 1
The forgotten tier
Everyone talks about Opus and Sonnet. Haiku 4.5 is the quiet workhorse — approximately $1 in / $5 out per million tokens, sub-second first-token latency, and quality that now rivals what Sonnet 3.5 shipped 18 months ago. For high-volume apps, Haiku is where the margins live.
Section 2
Where Haiku shines
- Classification and routing (which agent handles this ticket?)
- Structured extraction from semi-clean docs
- Tool-call decisions in multi-step agents
- Autocomplete-style suggestions under 200ms
Compare the options
| Metric | Haiku 4.5 | Sonnet 4.6 |
|---|---|---|
| Input / M tokens | ~$1 | $3 |
| Output / M tokens | ~$5 | $15 |
| Typical p50 latency | <1s | 2-4s |
| Best for | routing, extraction, high QPS | reasoning, long docs, quality chat |
A routing call that costs a fraction of a cent.
client.messages.create(
model="claude-haiku-4-5",
max_tokens=200,
messages=[{"role": "user", "content": f"Classify: {ticket}"}],
)Key terms in this lesson
End-of-lesson quiz
Check what stuck
15 questions · Score saves to your progress.
Tutor
Curious about “Claude Haiku 4.5 — speed/cost analysis”?
Ask anything about this lesson. I’ll answer using just what you’re reading — short, friendly, grounded.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Builders · 30 min
GPT-5.5 vs. Claude Opus 4.7 — which chatbot wins your day
Two frontier models, same subscription price, very different personalities. Pick by vibe, not by benchmark — here is how to figure out which one clicks for you.
Builders · 25 min
Grok 4.1 Fast — when 2M context beats a smarter model
xAI's Grok 4.1 Fast has the biggest context window on the market at the cheapest price. Here is when that matters more than raw reasoning quality.
Builders · 23 min
Suno v5 vs. Udio v4 — pick your AI music app
Both generate full songs from a prompt. Suno wins on ease and ELO. Udio wins on audio fidelity and producer workflows. Here is how to pick.
