GPT-Image 2.6 Flare & Sunburst are liveImages from $0.025 each

Claude Haiku 4.5 API

LLM

The Claude Haiku 4.5 API is the fast Claude option, with a 200K context window and the lowest listed Claude token price.

  • Input · USD / 1M tokens$0.28 USDOfficial price$1 USD
  • Output · USD / 1M tokens$1.4 USDOfficial price$5 USD
  • Savings72%
  • Context200K
  • ReleasedOct 15, 2025
  • Prices checkedNov 30, 2026
  • View tool pricing and billing rules

What are we making today?

Bring an idea, a question, or a first draft.

Enter to send · Shift + Enter for a new line

01

What this model is for

The Claude Haiku 4.5 API is the fast Claude option, with a 200K context window and the lowest listed Claude token price.

Claude Haiku 4.5 is the older small Claude in Anthropic's catalog: 200K tokens of context, 64K maximum output, images in, text out, tool calls, and a fast-tier mark, with Claude Code, Cursor, Cline and Aider among the clients. Its thinking is manual rather than adaptive, so a request sets a token budget when it wants a deeper pass. The window is the number to plan around, because it is the smallest in the Claude family and nothing can be done about it at request time.

That limit shapes the right jobs. Haiku 4.5 fits a bounded tool loop, a classification or extraction step with a short answer, or a subagent that reports back to a larger model holding the plan. It does not fit a session where a whole repository has to sit in the prompt. Retrieve the files a question needs, send those, and keep the conversation from carrying every earlier turn.

Choose it for frequent, responsive agent calls that do not need the 1M context window of Sonnet or Opus.

Best-fit coding workloads

Bounded tool loop in a support agent

Look up an order, check a policy, draft a reply: three tools, a short answer, a clear stop condition. A loop this small is cheap to run at volume, and a wrong reply is visible to a reviewer before a customer ever sees it.

Retrieval-first questions over files

Search or grep first, put only the matching files in the prompt, and ask a narrow question about them. Because the window stops at 200K, the retrieval step is what keeps a request valid, and a small set of relevant files beats a large set of almost relevant ones.

Reproducible runs on a dated id

Anthropic publishes a dated id for this release, claude-haiku-4-5-20251001, and the catalog exposes the shorter claude-haiku-4-5. Pin the form your provider lists when you need month-over-month comparisons, and record it beside each stored result.

02

Technical specification

Catalog facts and integration details verified for this route.

Model ID
claude-haiku-4-5
Context
200K
Inputs and tools
Vision · Tool use · Fast responses
API endpoint
/v1/chat/completions
Cache hit / 1M
$0.028 USD
Coding clients
Claude Code · Cursor · Cline · Aider

Limits to plan around

  • 200K context is the binding limit for repository sessions, so a 300K prompt is rejected outright. Retrieving the relevant files is part of the design, not an optimisation added later.
  • Output stops at 64K tokens, which is generous for a code change and too small for rewriting a long document in one pass; split the work by section instead.
  • Thinking is manual: the request sets a token budget, and those tokens are billed with the output, so a deep pass eats into the cost advantage that made the small model attractive.
  • The catalog lists it in a higher cost tier than Haiku 5.5 while offering a fifth of the window, so staying put is not the cheaper choice it looks like.

03

Compare nearby models

Compare workload fit and current listed token rates before choosing a route.

ModelBest forContextInputOutput
Claude Haiku 4.5This page
claude-haiku-4-5
Short, bounded steps inside an existing Anthropic pipeline where retrieval already keeps prompts small.200K
$0.28 USD
Official price $1 USD
$1.4 USD
Official price $5 USD
Claude Haiku 5.5
claude-haiku-5-5
Longer prompts, adaptive thinking and a lower listed tier, with a tokenizer that spends more tokens on the same text.1M
$0.08 USD
Official price $0.1 USD
$0.4 USD
Official price $0.5 USD
Claude Sonnet 5.5
claude-sonnet-5-5
Sustained work across many files, where a mistake costs more than the tokens would.1M
$0.56 USD
Official price $2 USD
$2.8 USD
Official price $10 USD
GPT-5.6 Luna
gpt-5.6-luna
Inputs that outgrow the 200K window inside an OpenAI-shaped stack, where window size is the deciding factor.1M
$0.2 USD
Official price $0.2 USD
$1.2 USD
Official price $1.2 USD

04

SDK quickstarts

Use one base URL and model ID from cURL, Python, or TypeScript.

Streaming chat completion
curl https://api.omniakey.com/v1/chat/completions \
  -H "Authorization: Bearer $OMNIAKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-haiku-4-5",
    "messages": [
      {"role": "user", "content": "Review this pull request"}
    ],
    "stream": true
  }'

05

Estimate token cost

Enter expected input and output tokens to compare current listed rates.

OmniaKey estimate
$0.056
Official-rate estimate
$0.20
Estimated savings
$0.144

Estimate covers input and output tokens only. Cache usage, retries, tools, and client-side token accounting can change the final charge.

07

Sources and verification

Model facts and links were checked on 2026-10-27. Provider documentation remains the authority for upstream behavior.

Cache and batch prices

What OmniaKey bills per 1M tokens of cached input on Claude Haiku 4.5.

Cache read
$0.028 USD
Cache write, 5 minutes
$0.35 USD
Cache write, 1 hour
$0.56 USD
Batch API
Not available on OmniaKey.Anthropic's own Batch API bills 50% of standard prices.

Claude caches the prompt blocks you mark with cache_control on the Messages endpoint (/v1/messages). A block costs the write price when it is stored, for 5 minutes by default or 1 hour with "ttl": "1h", and the read price each time it is reused.

Common errors

The errors OmniaKey users hit most often, from our production logs. Each message appears as the API returns it.

HTTP 403

Insufficient quota
Cause
Your OmniaKey balance has run out.
Fix
Top up your balance. The same API key works again right away.

HTTP 403

insufficient quota for pre-charge
Cause
Before a request runs, OmniaKey reserves its largest possible cost, which grows with the prompt and max_tokens. Your balance is below that amount.
Fix
Top up, or lower max_tokens.

HTTP 401

Invalid token
Cause
The request carries no API key, or a key that does not exist.
Fix
Copy the key from your dashboard again and check that your client sends it.

HTTP 503

No available channel for model <model> under group <group>
Cause
The model name does not match one OmniaKey serves, often because of a dot or a capital letter, such as claude-sonnet-5.5 for claude-sonnet-5-5. It also appears when every supplier of the model is unavailable.
Fix
Use the exact model ID, claude-haiku-4-5. If it already matches, retry later or switch models.

HTTP 524

524: A timeout occurred
Cause
No data came back for about 100 seconds, so Cloudflare closed the connection. Long answers without streaming run into this.
Fix
Set stream to true, so tokens arrive while the answer is written.

Frequently asked questions

How much does Claude Haiku 4.5 cost on OmniaKey?

OmniaKey charges $0.28 USD per 1M input tokens and $1.4 USD per 1M output tokens, in USD. Official prices are $1 USD and $5 USD; you save 72%.

What is the context window for Claude Haiku 4.5?

The listed context window is 200K. Actual usable limits can also depend on the client and upstream request format.

Is Claude Haiku 4.5 or GPT-5.6 Luna the better fit for coding?

They differ first on how much text they can hold. Haiku 4.5 takes 200K tokens of context and up to 64K of output; Luna's window is several times larger and its output ceiling higher. For a small edit with a retrieval step, either works. For a task that needs most of a repository in one prompt, the window decides before quality does.

What is the difference between claude-haiku-4-5 and the dated id?

claude-haiku-4-5 is the short alias, claude-haiku-4-5-20251001 is Anthropic's dated release id, and the catalog lists the short one. A dated id will not move under you, which matters when comparing outputs produced months apart. Store whichever you use next to the results it produced.

How much context does Claude Haiku 4.5 have?

200K tokens, with a 64K maximum output. That is a hard ceiling: a request carrying more input is rejected rather than trimmed, so an over-long prompt fails loudly. Plan retrieval to stay well inside the limit, since tool results and earlier turns also occupy the window during a long loop.

How is Claude Haiku 4.5 billed?

Per token, with one card for the whole window: uncached input, output including any thinking, cache reads, and cache writes at the five-minute or one-hour lifetime. The listed tier sits above Haiku 5.5, so the smallest Claude in the catalog is not the cheapest one to run today.

Does Claude Haiku 4.5 support adaptive thinking?

No. It supports manual extended thinking, where the request carries a token budget and the reply includes thinking blocks. Newer Claude tiers choose depth on their own, which removes that setting. On this model an unspent budget is a shallow answer, and an oversized one is a slow, costly request.

When should a Haiku 4.5 pipeline move to Haiku 5.5?

Move when a prompt keeps brushing the 200K ceiling, when a task needs more than a single shallow pass, or when the same traffic would sit in a lower tier on the newer model. Expect two changes beyond the id: adaptive thinking replaces the token budget, and the tokenizer consumes more tokens for the same text.