Claude Haiku 4.5 API
Claude Haiku 4.5 is a language model from anthropic, available on Routeriva under the model ID claude-haiku-4-5. You call it with the same sk- key you use for every other model — no separate anthropic account is needed.
On Routeriva it costs $0.10 per 1M input tokens and $0.50 per 1M output tokens, compared with the official list price of $1.00 / $5.00 — about 90% less. Prices shown are the lowest across the routes that serve this model (4 routes); your key is charged at its own route's price.
The context window is 200,000 tokens, so you can send long documents, codebases or chat histories in a single request.
Because Routeriva speaks the native Anthropic /v1/messages format, Claude Haiku 4.5 works directly in Claude Code, Cline and the Anthropic SDK, with extended thinking and prompt caching passed through unchanged. It also works through the OpenAI-compatible /v1/chat/completions endpoint.
Anthropic's fast, cost-efficient model — ideal for high-volume chat, summarisation and lightweight coding work.
Key facts
- Model ID:
claude-haiku-4-5 - Provider: anthropic
- Type: text
- Context window: 200,000 tokens
- Input: $0.10 / 1M (list $1.00)
- Output: $0.50 / 1M (list $5.00)
- Endpoints: /v1/chat/completions, /v1/responses, /v1/messages
Good for
- High-volume classification and extraction
- Fast chat and support replies
- Cheap sub-agent calls inside coding tools
Prices by route
| Route | Input / 1M | Output / 1M |
|---|---|---|
| CLAUDE CC 1 | $0.40 | $2.00 |
| Claude KIRO ENT DISC | $0.10 | $0.50 |
| Claude KIRO ENTERPRISE | $0.15 | $0.75 |
| CLAUDE CC 2 | $0.40 | $2.00 |
Code sample
from openai import OpenAI
client = OpenAI(base_url="https://api.routeriva.com/v1", api_key="sk-your-key")
r = client.chat.completions.create(model="claude-haiku-4-5", messages=[{"role": "user", "content": "Hello"}])
print(r.choices[0].message.content)Claude Code: export ANTHROPIC_BASE_URL=https://api.routeriva.com and export ANTHROPIC_AUTH_TOKEN=sk-your-key, then pick claude-haiku-4-5.
FAQ
How much does the Claude Haiku 4.5 API cost on Routeriva?
From $0.10 per 1M input tokens and $0.50 per 1M output tokens (official list $1.00 / $5.00, about 90% less). Live prices are on routeriva.com/models/claude-haiku-4-5.
What model ID do I use for Claude Haiku 4.5?
Use "claude-haiku-4-5" as the model value with base URL https://api.routeriva.com/v1 and your sk- key.
Which endpoints support Claude Haiku 4.5?
/v1/chat/completions, /v1/responses, /v1/messages on https://api.routeriva.com.
What is the context window of Claude Haiku 4.5?
200,000 tokens.