Claude Haiku 4.5 API
Anthropic's small Haiku 4.5 with a 200K window and image input
About this model
Claude Haiku 4.5 is the small model of Anthropic’s Claude 4.5 generation. Anthropic’s Haiku models are the smallest tier of the family, aimed at high-volume, latency-sensitive work such as classification, extraction and routing.
Anthropic’s documentation lists a 200K-token context window and up to 64K output tokens, with text and image input. Compared with Sonnet and Opus models it is the lighter choice; pick a Sonnet or Opus model when a task needs more careful multistep reasoning.
Anthropic has since released Claude Haiku 5.5 as its current Haiku. The catalog lists a 200,000-token context window and vision for this entry.
Use cases
- High-volume, low-latency tasks
- Classification and extraction
- Lightweight agent steps
Input and output
- Input
- Text and images
- Output
- Text, tool calls
Developer
Anthropic
Official site of Anthropic- Developer
- Anthropic
- Type
- Conversation
- Context
- 200,000 tokens
- Capabilities
- Image input
Claude Haiku 4.5 request example
Use https://gatelum.com/v1 as the base URL and pass anthropic/claude-haiku-4.5 in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/chat/completions' \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "anthropic/claude-haiku-4.5",
"messages": [
{
"role": "user",
"content": "Hi! Tell me about yourself in two sentences."
}
]
}
JSONClaude Code and Anthropic-protocol clients
For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=anthropic/claude-haiku-4.5
claudeWhere to use Claude Haiku 4.5
Guides with step-by-step instructions for the tools that support this model: