◉CLAUDE LABJP
●2.1.301 — Adds the vim % motion, LaTeX math rendering in the VS Code panel, and a retry-watchdog limit for usage-limit waits (10/15)●2.1.299 — Conversations over 200K tokens left idle about 54 minutes get compacted; MCP allow rules now match only the server they name●SONNET 4.5 — Retires on the Claude API on 11/30, 45 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●FAST MODE — Opus 5.5 fast mode is out of research preview and no longer needs the beta header (10/15)●NEW — I Put a Ten-Line Promise File at the To…●2.1.301 — Adds the vim % motion, LaTeX math rendering in the VS Code panel, and a retry-watchdog limit for usage-limit waits (10/15)●2.1.299 — Conversations over 200K tokens left idle about 54 minutes get compacted; MCP allow rules now match only the server they name●SONNET 4.5 — Retires on the Claude API on 11/30, 45 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●FAST MODE — Opus 5.5 fast mode is out of research preview and no longer needs the beta header (10/15)●NEW — I Put a Ten-Line Promise File at the To…
Articles/Claude.ai
◉ Claude.ai/2026-03-16Intermediate

Claude Haiku 4.5 — Build Real-Time AI Apps at a Fraction of the Cost

Claude Haiku 4.5: 200K context, SWE-bench 73.3%, Extended Thinking, $1/$5 pricing. When to use Haiku vs Sonnet/Opus, with Prompt Caching and Batch API tips.

haiku-4-5modelapi39cost-optimization31real-timeprompt-caching15

✦ Premium Article

What Is Claude Haiku 4.5?

On October 15, 2025, Anthropic released Claude Haiku 4.5 — the latest generation of Anthropic's "fast, affordable, and intelligent" model lineup. Haiku 4.5 is designed for developers who need near-frontier performance without the cost of larger models.

ℹ️
The model ID for Claude Haiku 4.5 is **`claude-haiku-4-5-20251001`**. Always use the full model ID in your API calls.

Compared to Claude Haiku 3.5, Haiku 4.5 represents a dramatic leap forward: it matches Claude Sonnet 4 on coding and agentic benchmarks at one-third the cost and more than twice the speed. Haiku 4.5 also becomes the first Haiku model to support Extended Thinking and Computer Use — capabilities previously reserved for Sonnet and Opus models.

Whether you're building a high-throughput chatbot, processing thousands of documents overnight, or deploying a real-time coding assistant, Haiku 4.5 is the go-to choice when performance-per-dollar matters most.


Specs and Pricing: Haiku vs. Sonnet vs. Opus

Anthropic's model lineup spans three tiers: Haiku (fast and affordable), Sonnet (balanced), and Opus (most capable). Here's how they compare:

FeatureClaude Haiku 4.5Claude Sonnet 4.6Claude Opus 4.6
Model IDclaude-haiku-4-5-20251001claude-sonnet-4-6claude-opus-4-6
Context Window200K tokens200K / 1M (β)200K tokens
Max Output Tokens64,00064,00032,000
Input Pricing (per 1M tokens)$1.00$3.00$15.00
Output Pricing (per 1M tokens)$5.00$15.00$75.00
SpeedFastest (2x+ vs Sonnet)FastMedium
SWE-bench Verified73.3%~80%~85%
Extended Thinking✅✅✅
Computer Use✅✅✅
Image Input✅✅✅
Prompt Caching✅ (up to 90% off)✅✅
Batch API✅ (50% off)✅✅

Haiku 4.5's standout advantage is its cost-to-performance ratio: roughly 3x cheaper than Sonnet 4.6, while delivering competitive quality across the majority of real-world tasks.

For a broader overview of all Claude models, check out our Claude Model Comparison Guide.


✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦How the ephemeral prompt-cache TTL (~5 minutes) really behaves, and the traffic shape where caching actually lowers your bill
✦A working exponential-backoff-with-jitter retry that absorbs peak-time 529 Overloaded errors in production
✦Measured latency and cost when moving classification and completion tasks off Sonnet 4.6, plus a migration checklist
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Claude Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

Related Articles

◉ Claude.ai2026-04-03
Running Claude Sonnet 4.6 in Production While Scouting the Move to Sonnet 5
Claude Sonnet 4.6 shipped February 17, 2026 and is now legacy, with retirement no sooner than February 17, 2027. Real prices against Opus 4.6, the 1M context, thinking, Computer Use, and the five places a Sonnet 5 migration returns 400.
⬡ API & SDK2026-09-07
A 75% cheaper cache read moved one bill by 29% and another by 2.8%
Fable 5.1 and Mythos 5.1 changed the cache read multiplier from 0.1 to 0.025. Here is how to estimate your own saving from your token mix, and how to fix code that hard-codes the multiplier.
⟐ Claude Code2026-08-26
I decide the prompt cache TTL by where I come back to, not how long I was away
Claude Code v2.1.242 added promptCacheTtl and subagentPromptCacheTtl. Whether the one-hour cache pays off depends on returning to the same directory and the same git state, not on how long the break was. Here is the order I check things in.