Skip to content
OpenKey

Claude Haiku 4.5

AnthropicReleased Oct 15, 2025

Claude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...

Try in playground
Context window
200K tokens
Max output
64K tokens
Input
text, image, file
Output
text
Tokenizer
Claude
Released
Oct 15, 2025
Reasoning
optional

Pricing

Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.

Per 1M tokensProvider+ 3% feeYou pay
Input$1.00$0.030$1.03
Output$5.00$0.150$5.15
Cache read$0.100$0.0030$0.103
Cache write$1.25$0.037$1.29

Benchmarks

Artificial Analysis

Intelligence index
29.6
Coding index
43.9
Agentic index
16.4

Design Arena

CategoryEloWin rateRank
3Dmodels114941.2%#63
ASCII artmodels118749.3%#30
Codemodels116444.8%#63
Data vizmodels116845.6%#59
Game devmodels116244.6%#60
SVGmodels108339.1%#56
UI componentsmodels115542.7%#60
Websitesmodels116445%#64

Head-to-head preference voting. How we filter and rank

Supported parameters

  • include_reasoning
  • max_tokens
  • reasoning
  • response_format
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_k
  • top_p

Call it

OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model anthropic/claude-haiku-4.5.

Code sample language
curl https://api.openkey.ai/v1/chat/completions \
  -H "Authorization: Bearer $OPENKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-haiku-4.5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.openkey.ai/v1",
    api_key=os.environ["OPENKEY_API_KEY"],
)

completion = client.chat.completions.create(
    model="anthropic/claude-haiku-4.5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.openkey.ai/v1",
  apiKey: process.env.OPENKEY_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "anthropic/claude-haiku-4.5",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Questions

How much does Claude Haiku 4.5 cost via API?
Through OpenKey, Claude Haiku 4.5 costs $1.03 per 1M input tokens and $5.15 per 1M output tokens. That is the provider price ($1.00 / $5.00) plus a flat 3% fee — nothing else.
What is Claude Haiku 4.5's context window?
Claude Haiku 4.5 accepts up to 200K tokens of context and returns up to 64K tokens per request.
Is Claude Haiku 4.5 OpenAI-compatible?
Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "anthropic/claude-haiku-4.5" using any OpenAI SDK — only the base URL and API key change.
What inputs does Claude Haiku 4.5 support?
Claude Haiku 4.5 accepts text, image, file input and produces text output.

More from Anthropic

All Anthropic models →