Claude Haiku 5.5
Claude Haiku 5.5 costs $0.1 per 1M input tokens and $0.5 per 1M output tokens on LLM API, with a 1M-token context window.
Pricing
Lowest price among 2 providers, after discounts.
| Input | $0.1 | per 1M tokens |
|---|---|---|
| Output | $0.5 | per 1M tokens |
| Cache read | $0.01 | per 1M tokens |
| Cache write, 5 minutes | $0.125 | per 1M tokens |
Providers
Prices after each provider’s discount; the lowest in bold.
| $0.1 | $0.5 | $0.01 | 1M | 128K | |
| $0.1 | $0.5 | $0.01 | 1M | 128K |
Features
“Some providers”: not every provider of this model supports it.
- ToolsYes
- Parallel tool callsNo
- Image inputYes
- ReasoningYes
Levels: low, medium, high, xhigh, max · default medium
- Prompt cachingYes
- Structured outputsSome providers
- JSON modeSome providers
- StreamingYes
- Web searchYes
- BatchYes
Call Claude Haiku 5.5
POST /v1/messagesSet LLMAPI_KEY to your LLM API key.Anthropic Messages docs
import os
import anthropic
client = anthropic.Anthropic(
base_url="https://api.llmapi.ai",
api_key=os.environ["LLMAPI_KEY"],
)
message = client.messages.create(
model="claude-haiku-5-5",
max_tokens=16000,
messages=[{"role": "user", "content": "Hello"}],
)
for block in message.content:
if block.type == "text":
print(block.text)import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.llmapi.ai",
apiKey: process.env.LLMAPI_KEY,
});
const message = await client.messages.create({
model: "claude-haiku-5-5",
max_tokens: 16000,
messages: [{ role: "user", content: "Hello" }],
});
for (const block of message.content) {
if (block.type === "text") console.log(block.text);
}curl https://api.llmapi.ai/v1/messages \
-H "x-api-key: $LLMAPI_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-haiku-5-5",
"max_tokens": 16000,
"messages": [{"role": "user", "content": "Hello"}]
}'POST /v1/chat/completionsSet LLMAPI_KEY to your LLM API key.Chat Completions docs
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.llmapi.ai/v1",
api_key=os.environ["LLMAPI_KEY"],
)
response = client.chat.completions.create(
model="claude-haiku-5-5",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.llmapi.ai/v1",
apiKey: process.env.LLMAPI_KEY,
});
const response = await client.chat.completions.create({
model: "claude-haiku-5-5",
messages: [{ role: "user", content: "Hello" }],
});
console.log(response.choices[0].message.content);curl https://api.llmapi.ai/v1/chat/completions \
-H "Authorization: Bearer $LLMAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-haiku-5-5",
"messages": [{"role": "user", "content": "Hello"}]
}'More from Anthropic
All Anthropic text models
Claude Opus 5.5claude-opus-5-5$4 / $20per 1M input / output
Claude Sonnet 5.5claude-sonnet-5-5$2 / $10per 1M input / output
Claude Fable 5.1claude-fable-5-1$10 / $50per 1M input / output
Prices synced .