Claude Haiku 4.5 vs Claude Sonnet 5
Claude Haiku 4.5 (Anthropic, October 2025) and Claude Sonnet 5 (Anthropic, June 2026), compared on price, context window, access and specs. Claude Haiku 4.5 is the cheaper API at $1.00 in and $5.00 out per million tokens, about 2× less than Claude Sonnet 5 on a typical 3:1 input-to-output mix. Claude Sonnet 5 reads more at once: a 1M-token context window against 200K.
Updated 5 December 2026 · read each row across; the best value in a row is marked
At a glance
- Tasks
Chat
Code generation
Language modeling
Language generation
Question answering
Language modeling
Language generation
Question answering
- Released
- 15 October 2025
- 30 June 2026
- Access
- API access
- API access
- Country
- United States of America
- United States of America
Price and API
- Input, per 1M tokens
- $1.00on AnthropicLowest
- $2.00on Anthropic
- Output, per 1M tokens
- $5.00on AnthropicLowest
- $10.00on Anthropic
- Where to run it
- AnthropicGoogle Vertex AIAzure AI FoundryOpenRouterAll 5 providers
- AnthropicGoogle Vertex AIAmazon BedrockAzure AI FoundryAll 5 providers
- Official API id
anthropic/claude-haiku-4-5anthropic/claude-sonnet-5- Context window
- 200K tokens
- 1M tokensLargest
- Max output
- 64K tokens
- 128K tokensLargest
- Takes
- Text, Image, PDF
- Text, Image, PDF
- Returns
- Text
- Text
- Knowledge cutoff
- February 2025
- January 2026
- Supports
- ReasoningTool callingStructured outputFile input
- ReasoningTool callingStructured outputFile input
Scale and training
- Training code
- Unreleased
- Unreleased
- Confidence
- Unknown
- Confident
In their own words
- Abstract
Claude Haiku 4.5, our latest small model, is available today to all users. What was recently at the frontier is now cheaper and faster. Five months ago, Claude Sonnet 4 was a state-of-the-art model. Today, Claude Haiku 4.5 gives you similar levels of coding performance but at one-third the cost and more than twice the speed.Read all
Claude Sonnet 5 is built to be the most agentic Sonnet model yet. It can make plans, use tools like browsers and terminals, and run autonomously at a level that, just a few months ago, required larger and more expensive models. For many developers, the agentic AI era began with Sonnet-class models: Claude Sonnet 3.5, 3.6, and 3.7 were the first models that showed impressive skills in coding and tool use. More recently, though, the clearest gains in agentic capabilities have been in our Opus-class models. Sonnet 5 narrows the gap: its performance is close to that of Opus 4.8, but at lower prices. It’s a substantial improvement over its predecessor, Sonnet 4.6, on important aspects of agentic performance like reasoning, tool use, coding, and knowledge work:Read all
Which should you pick?
- High-volume or budget workloads
- Claude Haiku 4.5 · Lowest list price: $1.00 in and $5.00 out per million tokens via Anthropic.
- Long documents, codebases or transcripts
- Claude Sonnet 5 · 1M tokens of context, 5× more than Claude Haiku 4.5.
- Long answers in one response
- Claude Sonnet 5 · Up to 128K output tokens per response.
Questions people ask
Is Claude Haiku 4.5 better than Claude Sonnet 5?
It depends on the job. For high-volume or budget workloads, Claude Haiku 4.5 has the edge: lowest list price: $1.00 in and $5.00 out per million tokens via Anthropic. For long documents, codebases or transcripts, Claude Sonnet 5 has the edge: 1M tokens of context, 5× more than Claude Haiku 4.5. For long answers in one response, Claude Sonnet 5 has the edge: up to 128K output tokens per response. Try them on your own prompts in the AIPortalX playground before you commit.
Which is cheaper: Claude Haiku 4.5 or Claude Sonnet 5?
Claude Haiku 4.5: $1.00 in and $5.00 out per million tokens at Anthropic. Claude Sonnet 5 starts at $2.00 in and $10.00 out per million tokens. These are list prices from the cheapest provider we track, and they change often.
Which has the bigger context window?
Claude Sonnet 5, with 1M tokens; Claude Haiku 4.5 takes 200K. A larger window lets one request hold longer documents or conversations.
Where can I use Claude Haiku 4.5 and Claude Sonnet 5 through one API?
Anthropic, Google Vertex AI, Azure AI Foundry and OpenRouter serve all of them, so you can switch models without opening another account.
When were they released?
Claude Haiku 4.5 in October 2025 and Claude Sonnet 5 in June 2026.