Claude Haiku 4.5 API
Call Claude Haiku 4.5 through Wokey and review published catalog pricing, upstream-native API forms, context, and model capabilities.
Haiku 4.5 has a successor: Claude Haiku 5.5
Claude Haiku 5.5 launched on 2026-10-07. Up to 100K prompt tokens it lists at $0.10 / $0.50, 90% below Haiku 4.5; above 100K every meter is 5x, still 50% below Haiku 4.5. In Anthropic’s benchmarks Terminal-Bench 4.0 rose from 0% to 39.2% and OSWorld 2.1 from 15.7% to 72.4%. When migrating, note that manual thinking budgets, non-default sampling parameters and assistant prefill all return 400.
- Model ID
claude-haiku-4-5- Vendors
- anthropic
- Supply status
- Currently callable
Catalog pricing snapshot
Prices are per 1M tokens; request-time pricing controls settlement.
| Meter | Wokey | Official reference | Savings |
|---|---|---|---|
| Input | $0.2 | $1 | 80% |
| Output | $1 | $5 | 80% |
| Cache read | $0.02 | $0.1 | 80% |
| Cache write | $0.4 | $2 | 80% |
Official price source: https://platform.claude.com/docs/en/about-claude/models/overview
Volume pricing: pay $6,000 / $10,000 on every Claude model in a day and every Claude model is 10% / 20% off the next day — automatic, with no cap. See the rules
Measured on Wokey
Last 28 days (2026-10-20 to 2026-11-16), updated every Monday · Real requests from 400+ accounts
- Time to first token, short prompts
- 1.5 s (Median · prompts under 8K tokens · p90 2.3 s)
- Time to first token, agent-size prompts
- 2.5 s (Median · prompts of 32K–128K tokens)
- Prompt cache hit rate
- 68% (Share of input tokens read from cache)
Most-used clients: Claude Code 98%. Share of requests from identified clients; 32% of requests had an identified client.
How this is measured
Time to first token runs from the Wokey gateway receiving the request to the first streamed content (text, reasoning summary or refusal). It includes queueing, retries on another account and the model's thinking time, so it is longer than the upstream's own first-token latency. Only successful streamed requests count, banded by prompt size (input plus cache reads and writes).
Cache hit rate = cache-read tokens ÷ input tokens over successful requests. It depends on the client and how it is used; the cache hit-rate pages break it down by client.
Enterprise accounts and Wokey's own test accounts are excluded. A model is shown once at least 20 users used it in the last 28 days and no single user sent more than 50% of its requests, counting accounts registered through one referral chain as one user; each first-token figure needs at least 500 requests.
Model capabilities
- Context
- 200,000 tokens
- Max output
- 64,000 tokens
- Streaming
- Supported
- Tools
- Supported
- Vision
- Supported
- Supported API forms
/v1/messages
Send a request
/v1/messages
curl https://api.wokey.ai/v1/messages \
-H "x-api-key: $WOKEY_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model":"claude-haiku-4-5","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'Use Claude Haiku 4.5 in your tools
The gateway is https://api.wokey.ai (OpenAI-compatible clients usually take https://api.wokey.ai/v1), and the model ID is claude-haiku-4-5. Open the guide for the client you use.
- Use Claude Haiku 4.5 in Claude Code: Anthropic Messages · base URL and API key setup
- Use Claude Haiku 4.5 in Claude Desktop: Anthropic Messages · base URL and API key setup
- Use Claude Haiku 4.5 in pi: Anthropic Messages · base URL and API key setup
- Use Claude Haiku 4.5 in Z Code: Anthropic Messages · base URL and API key setup
- Claude API cost calculator: what Claude Haiku 4.5 costs per month: Compare monthly cost on the Anthropic API, OpenRouter and Wokey for your usage and cache hit rate.
- OpenRouter alternative: Wokey vs OpenRouter: Compare token prices, payment fees, API forms, and upstream sources.
- Verifiable AI API: check a Claude Haiku 4.5 response came from the official upstream: Which responses carry a tee-proof, and what a proof does and does not show.
- Verify a Claude Haiku 4.5 response online: AI API relay verifier: Paste a response with its tee-proof and check it locally in your browser; nothing is uploaded.
Frequently asked questions
Should I use Claude Haiku 4.5 or Haiku 5.5?
Use Haiku 5.5 for new work. Up to 100K prompt tokens it costs a tenth of Haiku 4.5 per token ($0.10 / $0.50 vs $1 / $5), and half above 100K, and it leads every published benchmark. When migrating, note that the same text is about 30% more tokens, and thinking budget_tokens, non-default temperature / top_p / top_k and assistant prefill all return 400 on Haiku 5.5.
How much does the Claude Haiku 4.5 API cost, and how much does it save versus the official API?
Wokey lists input at $0.2 per 1M tokens and output at $1 per 1M tokens; the official references are $1 and $5. That is 80% lower for input and 80% lower for output. Request-time pricing controls settlement, and the vendor pricing source is linked on this page.
What is the Claude Haiku 4.5 API model ID?
The model ID for Claude Haiku 4.5 on Wokey is claude-haiku-4-5. Use it exactly as written in the request body's model field or in your client's model setting (for example ANTHROPIC_MODEL in Claude Code, or model in the Codex CLI config.toml); GET https://api.wokey.ai/v1/models also lists it.
Which API forms does Claude Haiku 4.5 support, and how do I call it through Wokey?
Claude Haiku 4.5 supports /v1/messages (Messages requests). Set the API base URL to https://api.wokey.ai, authenticate with a Wokey API key, and use the canonical model ID claude-haiku-4-5; you can start with /v1/messages. The Send a request section includes a curl example for every supported API form.
How do I use Claude Haiku 4.5 in Claude Code?
Claude Code calls Claude Haiku 4.5 over /v1/messages. Set ANTHROPIC_BASE_URL="https://api.wokey.ai", ANTHROPIC_AUTH_TOKEN to your Wokey API key, and ANTHROPIC_MODEL="claude-haiku-4-5", then start claude. Claude Desktop also uses /v1/messages; the setup guides cover both step by step.
What are the context window and maximum output for Claude Haiku 4.5?
The catalog context window is 200,000 tokens and the maximum output is 64,000 tokens. These are separate limits, and a request must also satisfy the upstream constraints in effect when it is processed.
How are cache reads and cache writes priced for Claude Haiku 4.5?
Cache read: Wokey lists $0.02 per 1M tokens and the official reference is $0.1 per 1M tokens. Cache write: Wokey lists $0.4 per 1M tokens and the official reference is $2 per 1M tokens.
How does calling Claude Haiku 4.5 through Wokey differ from OpenRouter?
Wokey lists Claude Haiku 4.5 at $0.2 input / $1 output per 1M tokens, against an official reference of $1 / $5. OpenRouter states it adds no markup on inference and charges its fee when you buy credits (5.5% by card). Wokey carries a curated set of models and has no per-provider routing parameters, so OpenRouter fits better if you need a wider catalog. The OpenRouter alternative page has the full comparison.
How do Claude Haiku 4.5 and Claude Haiku 5.5 differ in price and context?
In the published price comparison, Claude Haiku 4.5 lists input/output at $0.2 / $1 with a 200,000-token context window; Claude Haiku 5.5 lists $0.08 / $0.4 with a 1,000,000-token context window. This is a factual price-and-capacity comparison, not a quality ranking; also compare their supported API forms and capabilities.
How fast is Claude Haiku 4.5 on Wokey?
Measured on real Wokey gateway requests from 2026-10-20 to 2026-11-16: the median time to first token was 1.5 s for prompts under 8K tokens (p90 2.3 s) and 2.5 s for 32K–128K-token agent prompts. 68% of input tokens were read from the prompt cache. The most-used clients were Claude Code. Times run from the gateway receiving the request and include queueing, retries and thinking.
Related models and documentation
Get API key · claude-haiku-4-5