Claude Haiku 4.5 API pricing

Ultra-fast classification, extraction and tight loops. Available at about 50% below official list.

In short: Claude Haiku 4.5 costs $0.5 per 1M input tokens and $2.5 per 1M output tokens through this route, against an official list price of $1 / $5, about 50% below official list. At 50M input and 10M output tokens a month that works out to about $50. Rates verified 2026-11-01.
RouteInput / 1MOutput / 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.

Check live rates on the platform →Free to sign up · $1 minimum top-up · No prepayment

Specifications

VendorAnthropic
Context window200K
Max output64K
CategoryUS frontier

What Claude Haiku 4.5 costs at your volume

Usage levelInput / output per monthMonthly cost
Light (prototyping), a few thousand calls5M / 1M$5.00
Working, one developer, daily use50M / 10M$50.00
Heavy — team or agent loops in production500M / 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.

Claude Haiku 4.5 against all 226 models in the rate index. Rates checked 2026-11-01.
Ranked byPositionPercentileRate
Input rate106 of 22653%$0.50
Output rate136 of 22640%$2.5
Agent mix 1:3, blended132 of 22642%$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.

Claude Haiku 4.5 against the rest of the group, by input rate per 1M tokens. Rates checked 2026-11-01.
ModelIn / 1MOut / 1Mvs this
Claude Haiku 5.5$0.05$0.250.10×
Claude Haiku 4.5$0.5$2.5—
Claude Sonnet 5$1$52.00×
Claude Sonnet 5.5$1$52.00×
Claude Sonnet 4.6$1.5$7.53.00×
Claude Opus 5.5$2$104.00×
Claude Opus 5$2.5$12.55.00×
Claude Opus 4.8$2.5$12.55.00×
Claude Fable 5$5$2510.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 pricedVendorIn / out per 1Mvs this
GPT-6.1 TerraOpenAI$0.5 / $2.5same
GLM-5.3Zhipu$0.7 / $2.2−$0.10
DeepSeek V4 ProDeepSeek$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:

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.

One month on Claude Haiku 4.5, five workload shapes — gateway rates checked 2026-11-01
WorkloadTokensOutput shareMonthly costvs cheapest in index
Classification / tagging
100k short jobs, 300 in / 20 out
32M6%$20.0017.4×
Support triage
20k conversations, 1.5k in / 400 out
38M21%$35.0014.9×
RAG question answering
50k questions, 6k in / 500 out
325M8%$212.517.0×
Agent loop (coding)
8k sessions, 400k in / 6k out
3248M1%$1720.0019.2×
Long-form generation
5k documents, 2k in / 4k out
30M67%$55.0012.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.

Get Claude Haiku 4.5 access