Skip to content
OpenKey

Anthropic Claude Haiku Latest

AnthropicReleased Apr 27, 2026

This model always redirects to the latest model in the Anthropic Claude Haiku family.

Try in playground
Context window
200K tokens
Max output
64K tokens
Input
text, image, file
Output
text
Tokenizer
Router
Released
Apr 27, 2026
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

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-latest.

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-latest",
    "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-latest",
    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-latest",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Questions

How much does Anthropic Claude Haiku Latest cost via API?
Through OpenKey, Anthropic Claude Haiku Latest 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 Anthropic Claude Haiku Latest's context window?
Anthropic Claude Haiku Latest accepts up to 200K tokens of context and returns up to 64K tokens per request.
Is Anthropic Claude Haiku Latest OpenAI-compatible?
Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "~anthropic/claude-haiku-latest" using any OpenAI SDK — only the base URL and API key change.
What inputs does Anthropic Claude Haiku Latest support?
Anthropic Claude Haiku Latest accepts text, image, file input and produces text output.

More from Anthropic

All Anthropic models →