Claude Haiku 4.5 API
Sonnet 4-class coding in Anthropic's small, fast model
Anthropic's smallest Claude now thinks on demand, operates a computer and matches Sonnet 4 on real-world coding, at more than twice Sonnet 4's speed.
- Kind: chat
- Made by: Anthropic
- Price: 55 credits / M input tokens, 285 / M output (from $0.55; 1 credit = $0.01 on monthly plans, $0.015 as a top-up)
- Released: 2025-10-15
- Open weights: no (Proprietary, closed weights; Anthropic commercial terms and usage policy, API access only)
- Context window: 200,000 tokens
- Max output: 64,000 tokens
- Modalities: Text and images in, text out
- Thinking: Optional extended thinking; none or enabled on Unicorn
- Knowledge cutoff: February 2025 (reliable)
- Parameters: Not published
- Safety standard: ASL-2
- Licence: Proprietary, API only
- Inputs: model, messages, tools, tool_choice, stream, max_tokens, temperature, top_p, stop, response_format, reasoning_effort
Call it with POST https://api.unicornapi.net/v1/chat/completions and model claude-haiku-4-5, or try it in the Playground.
Where it shines
- 73.3% on SWE-bench Verified, above Sonnet 4's 72.7%
- 50.7% on OSWorld computer use, where Haiku 3.5 had no computer use at all
- First Haiku with extended thinking
- Output limit up from 8,192 to 64,000 tokens
- Refuses 0.02% of harmless requests, down from 4.26% on Haiku 3.5
Watch out for
- Weak factual recall: 13% on SimpleQA Verified, with a February 2025 knowledge cutoff
- Arithmetic slips without tools: 80.7% on AIME 2025 vs 96.3% with Python
- Clearly behind Sonnet 4.5 on Terminal-Bench (41.0% vs 50.0%) and GPQA
- More prone than Sonnet 4.5 to hardcoding tests on reward-hack-prone coding tasks
Claude Haiku 4.5 is Anthropic's new small model, and the first Haiku that can think before it answers. It arrives on October 15, 2025, two weeks after Claude Sonnet 4.5, and it is built for the jobs where speed and responsiveness matter as much as raw intelligence: chat assistants, customer service agents, pair programming, and the many small sub-tasks inside a larger agent.
The headline claim is easy to state. Five months ago Claude Sonnet 4 was a state-of-the-art model. Haiku 4.5 now scores slightly higher than Sonnet 4 on SWE-bench Verified, 73.3% against 72.7%, while running, by Anthropic's measure, at more than twice its speed. On OSWorld, the standard test for operating a computer through screenshots, mouse and keyboard, it beats Sonnet 4 outright, 50.7% against 42.2%.
That makes Haiku 4.5 more than a quick chatbot. It is a small model that can write and fix real code, drive a browser, call tools reliably and reason step by step on demand, which changes how teams can split work between large and small models.
Anthropic's small model, now with Sonnet 4-class coding
Haiku is the smallest of Anthropic's three Claude tiers, below Sonnet and Opus. The previous Haiku, Claude Haiku 3.5, dates from late 2024; Artificial Analysis noted that this is the first new Haiku in 11 months. Anthropic positions the two 4.5 models as partners: Sonnet 4.5 remains its frontier model and, in its words, the best coding model in the world, while Haiku 4.5 is the option for near-frontier performance in a smaller, faster model. Its suggested pattern is for Sonnet 4.5 to break a complex problem into a plan and then hand the steps to a team of Haiku 4.5 instances running in parallel.
Anthropic is already using it that way. In Claude Code, Sonnet 4.5 stays the default, but Haiku 4.5 now powers the Explore sub-agent that quickly gathers context about a codebase. The model is also available to all users of the Claude apps, and on the Claude API as claude-haiku-4-5, Amazon Bedrock and Google Cloud's Vertex AI.
Like every Claude model, Haiku 4.5 is closed. Anthropic does not release weights and has not published a parameter count, an architecture description or the size of its training set. It ships under Anthropic's commercial terms and usage policy, and runs only through Anthropic and the platforms that resell its API.
What changed from Claude Haiku 3.5
Extended thinking for the first time. Haiku 4.5 is a hybrid reasoning model. By default it answers quickly, but developers can switch on extended thinking and set how many tokens it may spend reasoning before it replies. Haiku 3.5 had no thinking mode at all. Anthropic ran most of its published benchmark scores with up to 128,000 thinking tokens, so the setting matters when comparing your own results with the launch numbers.
Computer use. Haiku 3.5 did not support computer use. Haiku 4.5 reaches 50.7% on OSWorld-Verified, and Anthropic says it makes products such as its Claude for Chrome browser agent faster and more useful.
Context awareness. Anthropic trained the model with precise information about how much of its 200,000-token context window it has used. Near the limit it learns to wrap up its answer; far from the limit it keeps reasoning instead of stopping early. Anthropic says this helps against agentic "laziness", where a model quits a task too soon or cuts corners.
Eight times the output. The maximum reply grows from 8,192 tokens on Haiku 3.5 to 64,000 tokens, enough for long files, full reports or lengthy thinking.
Fewer needless refusals, better safety. According to the system card, Haiku 4.5 refuses only 0.02% of harmless requests on sensitive topics, against 4.26% for Haiku 3.5, while answering 99.38% of clearly harmful requests harmlessly. In long multi-turn attempts to extract harmful content, Haiku 3.5 failed up to 25% of the time in some areas; Haiku 4.5 failed 5% or less in every category tested. Anthropic's automated alignment audit found a lower overall rate of misaligned behaviour than Sonnet 4.5 and Opus 4.1, which leads the company to call Haiku 4.5 its safest model yet by that metric.
How Anthropic built and tested it
The system card describes the training data rather than the network. Haiku 4.5 was trained on public web data up to February 2025, non-public data from third parties, data from labelling services and paid contractors, data from Claude users who opted in, and data Anthropic generated itself. Post-training used reinforcement learning from human and AI feedback. Anthropic gives February 2025 as the model's reliable knowledge cutoff.
When extended thinking is on, the thought process is visible. In rare cases with very long reasoning, a second instance of Haiku 4.5 summarises the later part of it.
Haiku 4.5 is released under AI Safety Level 2, the less restrictive standard, while Sonnet 4.5 and Opus 4.1 ship under ASL-3. Anthropic ran evaluations designed to rule out the need for ASL-3 and found the model performed similarly to Sonnet 4, which also shipped at ASL-2. On the hard subset of SWE-bench Verified used as an autonomy checkpoint it solved 36.6% of problems, close to Sonnet 4's 36.7%, and on a 32-challenge set of capture-the-flag security tasks it solved 15 against Sonnet 4's 22.
Claude Haiku 4.5 specs
| Claude Haiku 4.5 | |
|---|---|
| Maker | Anthropic |
| Release | October 15, 2025 |
| Weights | Closed; parameter count not published |
| Context window | 200,000 tokens |
| Max output | 64,000 tokens |
| Input → output | Text and images → text |
| Thinking | Optional extended thinking with a token limit |
| Reliable knowledge cutoff | February 2025 |
| Safety standard | ASL-2 |
| On Unicorn API | reasoning_effort none or enabled; tools; images; JSON mode |
Where Haiku 4.5 is strong
Coding and agent benchmarks close to Sonnet 4. Anthropic's launch table puts it level with or ahead of the previous Sonnet on most agentic tests, and not far from GPT-5 on several:
| Test | Haiku 4.5 | Sonnet 4.5 | Sonnet 4 | GPT-5 |
|---|---|---|---|---|
| SWE-bench Verified | 73.3% | 77.2% | 72.7% | 72.8% (high) |
| Terminal-Bench | 41.0% | 50.0% | 36.4% | 43.8% |
| OSWorld | 50.7% | 61.4% | 42.2% | — |
| τ2-bench retail | 83.2% | 86.2% | 83.8% | 81.1% |
| τ2-bench telecom | 83.0% | 98.0% | 49.6% | 96.7% |
| AIME 2025, with Python | 96.3% | 100% | — | 99.6% |
| GPQA Diamond | 73.0% | 83.4% | 76.1% | 85.7% |
| MMMLU | 83.0% | 89.1% | 86.5% | 89.4% |
Artificial Analysis measured a 35-point jump on its Intelligence Index over the previous Haiku, describing the model as relevant again.
Speed in loops. The benefit shows most where a model runs many short turns. Warp's founder called it a leap for sub-agent orchestration and said its responsiveness makes AI-assisted development feel instantaneous. One customer CEO reported it running up to four to five times faster than Sonnet 4.5. In Every's hands-on test it answered complex search queries 44% faster than GPT-5 mini, 19.7 seconds on average against 28.3.
Quality in production. Augment found it reached 90% of Sonnet 4.5's performance in its agentic coding evaluation. Gamma reported 65% accuracy on instruction following for slide text, against 44% for its higher-tier model. GitHub said early testing showed code quality comparable to Sonnet 4 at faster speed for Copilot users.
Safer agents. In Anthropic's computer-use prompt-injection test, with its classifiers switched on, Haiku 4.5 blocked 92.4% of attacks, against 82.6% for Sonnet 4.5. It also scored 92.5% on the MCP test and 93.4% on the tool-use test without extra safeguards.
Limits and trade-offs
Maths and arithmetic slips. Without tools it scores 80.7% on AIME 2025, against 96.3% with Python. Every's reviewers saw it miscalculate basic arithmetic and then agree with a correction before repeating the same mistake, and recommended GPT-5 mini for maths-heavy workloads.
A clear step below Sonnet 4.5 on hard work. It trails Sonnet 4.5 by nine points on Terminal-Bench and ten on GPQA Diamond, and by 15 points on τ2-bench telecom.
Test hardcoding. The system card reports that on coding tasks designed to tempt models into special-casing tests, Haiku 4.5's classifier-flagged hack rate was 6%, against 1% for Sonnet 4.5. Review generated code before trusting green tests.
Small-model memory. Epoch AI measured 13% on SimpleQA Verified, a factual recall test, and the knowledge cutoff is February 2025. Give it documents or search for anything factual or recent.
Prompt sensitivity. Every found that prompt-optimisation tricks that helped larger models made Haiku's results worse, so prompts tuned for Sonnet may need simplifying.
How to prompt Claude Haiku 4.5
Keep instructions short and concrete, and say exactly what the output should look like. Haiku 4.5 is at its best on well-scoped jobs repeated many times, so leave little room for interpretation, and leave thinking off unless the task genuinely needs multi-step reasoning.
For triage and extraction, give the labels and the shape:
Read this support message. Return JSON with
category(payments, bug, account, other),urgency(low, medium, high) andreply_draft(two sentences, friendly, no promises about refunds). Message: …
For a sub-agent step inside a coding agent, define the scope and the stopping point:
Search the repository for every place that reads the environment variable
CACHE_TTL. List file, line and how the value is parsed. Stop when the list is complete; do not change any code.
For reasoning, switch thinking on in the request settings and ask for a check:
Solve the scheduling problem below. Then verify your answer against every constraint, one by one, and say which constraint was hardest to satisfy.
For anything involving numbers, give it a calculator or code tool rather than relying on mental arithmetic, and for facts after early 2025, supply the source text.
Haiku 4.5 versus Sonnet 4.5, GPT-5 mini and Haiku 3.5
Claude Sonnet 4.5 is the pick when quality matters more than volume: it leads on every row of Anthropic's table and is the stronger choice for long, hard coding sessions. Haiku 4.5 is the pick for the many fast steps around it, where its speed counts for more than the last few points of quality.
GPT-5 mini was the better choice for maths in Every's tests, where Haiku 4.5 slipped on basic arithmetic. Haiku 4.5 was faster on agentic search, 19.7 seconds per complex query against 28.3, and the same reviewers singled out its tool calling and its fit for agent work.
Claude Haiku 3.5 is the older and simpler model: it has no thinking mode, no computer use and an 8,192-token output limit. Anthropic presents Haiku 4.5 as a drop-in replacement for both Haiku 3.5 and Sonnet 4.
Getting started
Try a prompt in the Playground, then create a key on the API keys page. The model answers on the OpenAI-compatible /v1/chat/completions endpoint and the Anthropic-style /v1/messages endpoint with model: "claude-haiku-4-5". Images go in as image_url parts, tools use the standard tools array, and response_format: { "type": "json_object" } returns JSON. Set reasoning_effort to enabled to turn on thinking and raise max_tokens from its default of 4,096 to leave room for it, up to the model's 64,000-token limit. The docs cover streaming and errors, and the agents page shows how to connect coding agents to Unicorn through MCP.
Verdict
Claude Haiku 4.5 brings last spring's frontier coding to Anthropic's smallest tier. It thinks when asked, operates a computer, calls tools well and runs fast enough for live chat and swarms of sub-agents. It slips on arithmetic, prompts tuned for larger models may need simplifying, and it stays a clear step below Sonnet 4.5 on the hardest work. For coding assistants, support agents and the fast inner loops of larger agent systems, it is the Claude to start with.
Best for
- Sub-agents in coding agents
- Customer support and chat assistants
- Pair programming and quick code edits
- Browser and computer use
- Tool-calling workflows
- High-volume classification and extraction
Frequently asked questions
Is Claude Haiku 4.5 open source?
No. Claude Haiku 4.5 is a proprietary Anthropic model with closed weights and no published parameter count. It is available only through APIs, including Anthropic's, Amazon Bedrock, Google Cloud Vertex AI and resellers such as Unicorn API.
What is Claude Haiku 4.5 best used for?
Fast, well-scoped work repeated many times: sub-agents inside coding agents, customer support and chat assistants, tool-calling workflows and browser or computer use. Anthropic itself uses it to power the Explore sub-agent in Claude Code.
What is the Claude Haiku 4.5 context window?
200,000 tokens, with replies of up to 64,000 tokens. The model is trained to track how much of its context it has used, so it wraps up near the limit instead of cutting off.
Does Claude Haiku 4.5 support extended thinking?
Yes. It is the first Haiku model with extended thinking. On Unicorn API, set reasoning_effort to enabled to turn it on, or none for the fastest replies, and give max_tokens room for the thinking.
Claude Haiku 4.5 vs Sonnet 4.5: which should I use?
Sonnet 4.5 scores higher on every test in Anthropic's launch table, for example 77.2% against 73.3% on SWE-bench Verified. Haiku 4.5 runs faster, so it suits sub-agents, support and high-volume work.
Can Claude Haiku 4.5 use a computer?
Yes. It supports Anthropic's computer use and scores 50.7% on OSWorld, ahead of Sonnet 4 at 42.2%. Haiku 3.5 did not support computer use.