Lesson 81 of 1455
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.
Builders · Model Families · ~15 min read
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.
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
8 questions · Score saves to your progress.
Lesson help
Questions are best handled with a grown-up here.
For this age range, Tendril keeps freeform AI chat paused until parent/guardian consent and child-safe moderation are fully verified. Use the quiz, notes, and related lessons below, or ask a parent, guardian, teacher, or librarian to work through the question with you.
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.
