Skip to content

Model detail

Claude Haiku 4.5

Provided by Anthropic
Pay-as-you-go

Claude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance across reasoning, coding, and computer-use tasks, Haiku 4.5 brings frontier-level capability to real-time and high-volume applications. It introduces extended thinking to the Haiku line; enabling controllable reasoning depth, summarized or interleaved thought output, and tool-assisted workflows with full support for coding, bash, web search, and computer-use tools. Scoring >73% on SWE-bench Verified, Haiku 4.5 ranks among the world’s best coding models while maintaining exceptional responsiveness for sub-agents, parallelized execution, and scaled deployment.

Model specs

Model ID
claude-haiku-4-5
Context length
200K
Max output
64K
I/O modalities
Released
2025-10

02

API endpoints

One MixRoute gateway, OpenAI-compatible

  • Anthropic Messages /v1/messages POST
  • OpenAI-compatible /v1/chat/completions POST

03

Pricing

Flat rate, unit: /1M Tokens

Input

$1.0000 /1M Tokens

Completion

$5.0000 /1M Tokens

Cache read

$0.1000 /1M Tokens

Cache creation

$1.2500 /1M Tokens

05

Selection summary

Quickly judge whether it fits your workload

What is this model good for?

Coding

Claude Haiku 4.5 is built for writing and reviewing code, and it reads images alongside text. It accepts text and image input and returns text. Its capabilities are broken down in the section just below. Run it on one file from your own repository and check the patch before you commit.

What should you check before using it?

200,000 context, 64,000 output tokens

Claude Haiku 4.5 accepts up to 200,000 tokens of context and returns up to 64,000 output tokens per request. Check that your longest prompt and its expected answer fit inside both limits before you size production traffic.

Why use it through MixRoute?

Swap the base URL, keep the Claude Haiku 4.5 client

Keep your existing OpenAI client and swap only the base URL. MixRoute supports calling Claude Haiku 4.5 through its OpenAI-compatible endpoint; point your client at https://api.mixroute.ai/v1 with the model ID claude-haiku-4-5 and re-run your integration tests.

07

Capabilities & compatibility

Unconfirmed capabilities stay "Unknown," no guesses

Available:

Tool calling

Claude Haiku 4.5 supports function and tool calls.

EX Send a tools definition; the response returns tool_calls to execute and feed results back.
Available:

Structured output

Claude Haiku 4.5 can produce JSON-formatted output on demand.

EX response_format: { type: "json_schema" } forces valid JSON output.
Available:

Streaming

Claude Haiku 4.5 supports streamed responses.

EX stream: true streams tokens incrementally, so chat UIs render as they arrive.
Available:

Prompt caching

Claude Haiku 4.5 supports prompt caching under supported routing conditions.

EX Keep the system prompt and tool definitions at the start of the request; repeated prefixes are automatically billed at the cache-read rate.
Available:

Vision input

Claude Haiku 4.5 can process image inputs alongside text.

EX Pass a base64-encoded image in a image_url content part alongside text messages.
Available:

OpenAI SDK

Call Claude Haiku 4.5 through MixRoute's OpenAI-compatible endpoint.

EX Change base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.

08

Token cost estimator

Live estimate from this page's pricing, not an actual bill

Share of the same prefix read repeatedly, up to 100%

09

FAQ

Use the model ID claude-haiku-4-5 through the compatible chat completions endpoint. It supports extended thinking with controllable reasoning depth.

One endpoint, a testable decision

Test this model and alternate routes with the same request format

Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.