Claude Haiku 5.5 vs Claude Sonnet 5.5
As of October 21, 2026, Claude Sonnet 5.5 costs 1900% more per input token than Claude Haiku 5.5 ($2.00 vs $0.10 per 1M), and both have a 1M-token context window.
Claude Haiku 5.5 vs Claude Sonnet 5.5 side by side
| Claude Haiku 5.5 | Claude Sonnet 5.5 | |
|---|---|---|
| Input, per 1M tokens | $0.10 | $2.00 |
| Output, per 1M tokens | $0.50 | $10.00 |
| Cache read, per 1M tokens | $0.01 | $0.10 |
| Cache write, per 1M tokens | $0.125 | $2.50 |
| Context window | 1,000,000 tokens | 1,000,000 tokens |
| Max output | 128,000 tokens | 128,000 tokens |
| Image input | Yes | Yes |
| Tool calling | Yes | Yes |
| Structured output (JSON) | Yes | Yes |
| Prompt caching | Yes | Yes |
| Reasoning | Yes | Yes |
| Providers on LiteLLM | 7 | 7 |
| Price shown is from | Anthropic | Anthropic |
| Added to LiteLLM | – | September 28, 2026 |
Cheapest provider for each
- Claude Haiku 5.5: Anthropic at $0.10 input and $0.50 output per 1M tokens (
claude-haiku-5-5) - Claude Sonnet 5.5: Anthropic at $2.00 input and $10.00 output per 1M tokens (
claude-sonnet-5-5)
Benchmark scores
| Benchmark | Claude Haiku 5.5 | Claude Sonnet 5.5 |
|---|---|---|
| Overall | ||
| Epoch Capabilities Index | 159.3 | 166.2 |
| Coding and agents | ||
| FrontierCode | 46.4% (max) | 52.1% (xhigh) |
| FrontierSWE | 43.8% (max) | 61.9% (max) |
| APEX-Agents | 56.1% (max) | 75.5% (max) |
| Reasoning and knowledge | ||
| GPQA Diamond | 89.6% (max) | 95.6% (max) |
| SimpleQA Verified | 23.8% (max) | 46.5% (max) |
| Math | ||
| FrontierMath (tiers 1-3) | 75.1% (max) | 88.8% (max) |
| FrontierMath (tier 4) | 46.3% (max) | 80.5% (max) |
| OTIS Mock AIME 2024-2025 | 98.9% (xhigh) | 100.0% (max) |
When to pick which
Pick Claude Haiku 5.5 for
- Costs 95% less per input token: $0.10 vs $2.00 per 1M.
From differences in the data above only; where the data is equal, no reason is given.
Call Claude Haiku 5.5 or Claude Sonnet 5.5 with LiteLLM
Both use the OpenAI format through LiteLLM, so switching is a model name change. Set each provider's API key in the environment first.
from litellm import completion
messages = [{"role": "user", "content": "Hello!"}]
# Claude Haiku 5.5
response = completion(model="claude-haiku-5-5", messages=messages)
# Claude Sonnet 5.5
response = completion(model="claude-sonnet-5-5", messages=messages)
# Claude Haiku 5.5, falling back to Claude Sonnet 5.5 if the call fails
response = completion(model="claude-haiku-5-5", messages=messages, fallbacks=["claude-sonnet-5-5"])FAQ
Which is cheaper, Claude Haiku 5.5 or Claude Sonnet 5.5?
Claude Haiku 5.5 is cheaper at 3 input tokens per output token: $0.20 per 1M tokens blended ($0.10 input, $0.50 output), versus $4.00 ($2.00 and $10.00) for Claude Sonnet 5.5, as of October 21, 2026.
Which has the larger context window, Claude Haiku 5.5 or Claude Sonnet 5.5?
Both have a 1,000,000-token context window.
Can I switch from Claude Haiku 5.5 to Claude Sonnet 5.5 without changing my code?
Yes. Through LiteLLM both use the OpenAI format, so switching means changing the model name from "claude-haiku-5-5" to "claude-sonnet-5-5", or pointing a LiteLLM gateway model alias at the other model. You can also use one as a fallback for the other.
