Claude Haiku 4.5 API pricing: Anthropic's speed tier at $1/1M

Haiku 4.5 is the fastest Anthropic model at 145 tok/s — nearly double Sonnet's speed. At $1/1M input it's 3× cheaper than Sonnet. You trade 6 SWE-bench points for the speed and cost advantage. For high-volume pipelines where latency and cost are the primary constraints, Haiku is the right call.

By the benchr team · · Figures verified against official sources, June 6, 2026 · View changelog

Input / 1MAnthropic
Output / 1MAnthropic
SWE-benchverified
Speedtypical

Pricing breakdown

claude-haiku-4-5 — official Anthropic pricing
TierRate / 1M tokens
Standard input$1.00
Standard output$5.00
Cached input$0.10
Context window200,000 tokens
Max output8,192 tokens

What 145 tok/s actually means

At 145 tokens per second, Haiku 4.5 generates a 500-word response in roughly 3.5 seconds. Claude Sonnet 4.6 at approximately 85 tok/s takes about 6 seconds for the same response. For customer-facing applications, this 40% latency improvement is perceptible and directly affects user experience. For batch pipelines, it means processing the same workload in 60% of the time — or running 67% more volume within the same time window.

The speed advantage compounds in streaming applications where first-token latency matters: Haiku typically delivers the first token faster than larger models, which improves perceived responsiveness even before throughput becomes relevant.

Where the 73.3% SWE-bench score creates limits

Haiku 4.5's 73.3% SWE-bench is 6 points below Sonnet 4.6's 79.6%. In practical terms, this means Haiku resolves roughly 6 fewer issues per 100 than Sonnet on real-world coding tasks. For simple, well-specified tasks — fixing a single function, explaining code, generating boilerplate — the gap is invisible. For multi-file refactors, architecture-level changes, or debugging complex logic, Haiku's lower ceiling becomes measurable. The 8,192 max output limit also constrains it for long code generation tasks.

Cost scenarios

At 50M input + 10M output per month — a moderate production volume: Haiku 4.5 costs $50 + $50 = $100/month. Claude Sonnet 4.6 at the same volume: $150 + $150 = $300/month — 3× the cost. With 90% cache hit on Haiku: approximately $9.50 + $50 = $59.50/month. For a product routing 10,000 user queries per day through a classification step, Haiku at $100/month versus Sonnet at $300/month is a $200/month cost difference that scales directly with volume.

Use-case fit

Best for: High-volume classification and intent detection; customer service first-response routing; real-time chat with latency constraints; extraction from structured documents; any pipeline where cost-per-call and throughput are primary constraints and 73.3% SWE-bench quality is sufficient.

Skip if: Your tasks require complex multi-step code generation or architecture reasoning — the 6-point SWE-bench gap to Sonnet is measurable here. Also skip for long output tasks; the 8,192 output limit will force response truncation.

Decision checklist

Before choosing Haiku over Sonnet: run a sample of your actual tasks on both models and check for quality degradation in your specific failure modes. If your task set is pure classification or extraction with structured outputs, Haiku is likely sufficient. If it involves code generation or open-ended reasoning, measure pass rates on both before committing.

Check your required output length: if you routinely need responses over 5,000 tokens, Haiku's 8K output limit is a hard constraint — you'll need to split responses or use Sonnet instead.

Frequently asked

When should I use Claude Haiku 4.5 instead of Sonnet 4.6?

For high-volume tasks where Claude Haiku 4.5's 145 tok/s speed and $1/1M cost matter more than the 6-point SWE-bench difference: classification, extraction, intent detection, fast chat. Sonnet 4.6 wins when coding quality or complex reasoning is measurably better for your specific workload.

What tasks is Claude Haiku 4.5 not suitable for?

Complex multi-file coding, architecture-level reasoning, and long output generation (8K max output limit). The 6-point SWE-bench gap to Sonnet 4.6 is measurable in these categories. For general coding tasks, run a blind eval before committing.

How does Claude Haiku 4.5 compare to GPT-5 Mini on cost and quality?

GPT-5 Mini is 75% cheaper at $0.25/1M input, but scores 48% SWE-bench vs Haiku 4.5's 73.3% — a 25-point quality gap. Haiku 4.5 is stronger for coding tasks; GPT-5 Mini wins purely on volume economics for simple classification and routing at scale.

Changelog

  • — Expanded with speed analysis, SWE-bench context, cost scenarios, and use-case guide.
  • — Published. Pricing verified at anthropic.com/pricing.

Sources

  • Anthropic API pricing — anthropic.com/pricing (verified June 6, 2026)
  • SWE-bench Verified leaderboard — swebench.com (verified June 6, 2026)
  • benchr models.json — verified June 6, 2026