Claude Haiku 4.5 API pricing
Ultra-fast classification, extraction and tight loops. Available at about 50% below official list.
| Route | Input / 1M | Output / 1M |
|---|---|---|
| Official list price | $1 | $5 |
| Discounted route | $0.5 | $2.5 |
USD, standard tier. List price cross-checked against Anthropic’s published pricing on 2026-11-01; the discounted route was read from the provider’s live rate config the same day.
Specifications
| Vendor | Anthropic |
| Context window | 200K |
| Max output | 64K |
| Category | US frontier |
What Claude Haiku 4.5 costs at your volume
| Usage level | Input / output per month | Monthly cost |
|---|---|---|
| Light (prototyping), a few thousand calls | 5M / 1M | $5.00 |
| Working, one developer, daily use | 50M / 10M | $50.00 |
| Heavy — team or agent loops in production | 500M / 100M | $500.00 |
Calculated at $0.5 input / $2.5 output per 1M tokens, 5.0× apart on this model, assuming a 5:1 input-to-output ratio. That ratio is the single largest source of error in this table: resend-heavy workloads drift well past it, and at 5.0× the correction is not linear. The cost calculator takes the actual figures.
When Claude Haiku 4.5 is the right call
At $0.5 in and $2.5 out per million tokens, Claude Haiku 4.5 lands where most production deployments actually live — cheap enough to leave running, expensive enough that you still look at the bill. The 5.0× output multiple is conventional, so standard cost intuition holds: output dominates, context matters, neither is pathological.
It is not the answer at either end. Bulk classification finds identical results several times cheaper, and the hardest reasoning problems reward moving up rather than staying here. Everything in between is this model's ground.
Where Claude Haiku 4.5 sits in the index
Claude Haiku 4.5 is 106 of 226 on input rate and 136 of 226 on output rate. A gap of 30 places, because on this model the output rate is 5.0× the input rate, steeper than the index median of 4.0× An output-heavy workload therefore pushes it 30 places down the table, which is why the cheapest model per input token is routinely not the cheapest per task. Percentile is the share of the 226 models in this index that cost more than Claude Haiku 4.5.
| Ranked by | Position | Percentile | Rate |
|---|---|---|---|
| Input rate | 106 of 226 | 53% | $0.50 |
| Output rate | 136 of 226 | 40% | $2.5 |
| Agent mix 1:3, blended | 132 of 226 | 42% | $2.00 |
On an agent mix the lowest blended rate in the same index is Gemma2 9B It at $0.01 per 1M tokens, about 200.0× less than this model at the same ratio. Across the whole index, sorting by input price alone moves a model by as much as 74 places; on Claude Haiku 4.5 specifically the shift is 30 — which is what the re-ranked index exists to show.
Claude Haiku 4.5 is 106 of 226 across every model in the index; the comparison that usually settles a choice is Anthropic's own lineup further down.
Claude Haiku 4.5 among Anthropic's 9 models
Claude Haiku 4.5 is the 2nd cheapest of Anthropic's 9 models in this index at $0.5 per 1M input tokens. The range inside that group runs from Claude Haiku 5.5 at $0.05 to Claude Fable 5 at $5 (a spread of 100×, and this one sits at 10).0× the group's cheapest tier.
| Model | In / 1M | Out / 1M | vs this |
|---|---|---|---|
| Claude Haiku 5.5 | $0.05 | $0.25 | 0.10× |
| Claude Haiku 4.5 | $0.5 | $2.5 | — |
| Claude Sonnet 5 | $1 | $5 | 2.00× |
| Claude Sonnet 5.5 | $1 | $5 | 2.00× |
| Claude Sonnet 4.6 | $1.5 | $7.5 | 3.00× |
| Claude Opus 5.5 | $2 | $10 | 4.00× |
| Claude Opus 5 | $2.5 | $12.5 | 5.00× |
| Claude Opus 4.8 | $2.5 | $12.5 | 5.00× |
| Claude Fable 5 | $5 | $25 | 10.00× |
On input rate alone, stepping up to Claude Sonnet 5 costs 2.0× the input rate and dropping to Claude Haiku 5.5 cuts it by 90%. Both measured at 2026-11-01, the same check as every other rate on this page.
Full Anthropic range, including models outside this shortlist: Anthropic rate index.
Similarly priced alternatives
| Similarly priced | Vendor | In / out per 1M | vs this |
|---|---|---|---|
| GPT-6.1 Terra | OpenAI | $0.5 / $2.5 | same |
| GLM-5.3 | Zhipu | $0.7 / $2.2 | −$0.10 |
| DeepSeek V4 Pro | DeepSeek | $0.66 / $1.98 | −$0.36 |
Blended comparison (input + output per 1M). Price is one axis These are the three closest to Claude Haiku 4.5 in blended rate, not interchangeable substitutes for it.
Calling Claude Haiku 4.5
The identifier you send is claude-haiku-4-5-20251001. Copy it exactly, because a mismatch
returns a model error rather than a connection error, which sends most people to debug the wrong
thing. Everything else is a base URL argument (Claude Haiku 4).5's own SDKs work unchanged.
from openai import OpenAI
client = OpenAI(base_url="https://aicomp.ai/v1", api_key="sk-...")
resp = client.chat.completions.create(
model="claude-haiku-4-5-20251001",
messages=[
{"role": "system", "content": "Answer in one short paragraph."},
{"role": "user", "content": "Explain what changed in this release."},
],
max_tokens=300,
)
# prompt_tokens / completion_tokens 是真实账单的唯一依据 —— 记下来,别猜
print(resp.usage.prompt_tokens, resp.usage.completion_tokens)
Log the usage object on every call, not just while you are optimising. On Claude Haiku 4.5 output costs 5.0× what input costs, so the same monthly token count bills very differently depending on how much of it comes back as output — measure your own split before extrapolating from the headline input rate, because rates move with vendor promotions.
Setting it up
Pointing an existing integration at Claude Haiku 4.5 is a base URL change, not a rewrite. Pick your tool:
- Claude Code — set the base URL via environment variables
- Cursor — override the API endpoint in settings
- OpenAI / Anthropic SDK — one
base_urlargument - Python, sync, streaming and async examples
- Cutting the bill — eight levers ranked by effect
What different usage shapes cost on Claude Haiku 4.5
A monthly token budget does not convert cleanly into a monthly invoice, and Claude Haiku 4.5 is an ordinary case rather than an extreme one: output is priced at 5.0× input, above the median of 4.0× across the 226 models in our index. Everything follows from that one number At 5:1 it is manageable, at 1:1 the same token count costs half as much. Below are five shapes real Claude Haiku 4.5 deployments fall into, each costing it out at the split it actually produces.
| Workload | Tokens | Output share | Monthly cost | vs cheapest in index |
|---|---|---|---|---|
| Classification / tagging 100k short jobs, 300 in / 20 out | 32M | 6% | $20.00 | 17.4× |
| Support triage 20k conversations, 1.5k in / 400 out | 38M | 21% | $35.00 | 14.9× |
| RAG question answering 50k questions, 6k in / 500 out | 325M | 8% | $212.5 | 17.0× |
| Agent loop (coding) 8k sessions, 400k in / 6k out | 3248M | 1% | $1720.00 | 19.2× |
| Long-form generation 5k documents, 2k in / 4k out | 30M | 67% | $55.00 | 12.9× |
The cheapest comparison is GPT-5 nano at $0.025 / $0.2 per 1M — 13.3× cheaper than Claude Haiku 4.5 on a blended rate. Treat it as a rate floor, not a recommendation: it says nothing about whether GPT-5 nano can do the work you need Claude Haiku 4.5 for.
Read the table as a sanity check rather than a forecast. If your own output share sits anywhere near 3%, everything above is priced almost entirely at Claude Haiku 4.5's $0.5 input rate; at 40% the $2.5 output rate has taken the larger half. Nobody's split is exactly the one you assumed when you picked the model, which is why the calculator asks for it before quoting anything.
FAQ
How much does Claude Haiku 4.5 cost per million tokens?
$0.5 per million input tokens and $2.5 per million output tokens. Anthropic/OpenAI list the same model at $1 / $5
Is Claude Haiku 4.5 cheaper than buying direct?
Yes. Currently 50% lower on input and 50% lower on output than the published list price. Rates move with upstream promotions, so check the live number before budgeting.
What does Claude Haiku 4.5 cost per month in practice?
At a 5:1 input-to-output ratio it is about $5.00 a month for light use (5M input tokens) and roughly $500.00 for heavy use (500M input). Agent workloads sit at the high end here because every turn resends the context and Claude Haiku 4.5 bills output at 5.0x input — see what actually drives Claude Code cost.
Which models cost about the same as Claude Haiku 4.5?
The comparison table further up this page lists the three closest to Claude Haiku 4.5's $3 blended rate. If you are choosing on cost alone, test the top two on your own prompts — $0.5 per input token is only half the equation, the other half is how many tokens a model needs before it finishes the task.
How do I start using Claude Haiku 4.5?
You need an API key, then point your client at the gateway base URL with claude-haiku-4-5-20251001 as the model id. On Claude Haiku 4.5 it is a one-line change in most SDKs — see the SDK setup guide, or the Claude Code and Cursor guides for those tools. The Claude Haiku 4.5 snippet is in the calling section above.
What is the Claude Haiku 4.5 API price per 1M tokens?
$0.5 per 1M input and $2.5 per 1M output. The two directions are quoted separately because a request is billed twice (once for what you send, once for what comes back) and on Claude Haiku 4.5 they differ by 5.0x.
How much more does Claude Haiku 4.5 charge for output than input?
Output tokens cost 5.0x what input tokens do here — $0.5 per 1M in against $2.5 per 1M out. The median output-to-input multiple across our full price index is 4.0x, so this model sits above that line. It matters more than it looks: on Claude Haiku 4.5 a coding agent's output takes 50% of the bill, so the input rate people usually compare is the smaller half. See why output pricing dominates.
How much does Claude Haiku 4.5 cost for a coding agent?
About $500.00 a month at 500M input and 100M output tokens, the shape a coding assistant really produces, because every turn resends the whole context and the model writes more than it reads. The same workload at official list would be roughly $1,000.00. The biggest lever is not the model but how much context you resend each turn At 500 dollars a month on Claude Haiku 4.5, halving the resend roughly halves that. See what actually drives agent cost.
Why does Claude Haiku 4.5 show two different prices?
Because there are two routes to the same model. Anthropic publishes a list price ($1 / $5 per 1M) while gateways resell access to the same weights, occasionally under upstream promotional pricing. The table at the top of this page shows both side by side. Promotions move, so read the number as a snapshot taken 2026-11-01, not as a standing discount.