anthropic logo
anthropic

Anthropic: Claude 3 Haiku

Source description (English)

Claude 3 Haiku is Anthropic's fastest and most compact model for near-instant responsiveness. Quick and accurate targeted performance. See the launch announcement and benchmark results here #multimodal

Overview

Model specifications

Context
200,000 tokens
Maximum output
4,096 tokens
Architecture
text+image->text
Tokenizer
Claude
Knowledge cutoff
2023-08-31
Moderated
Yes
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.25
per 1M tokens
Output
$1.25
per 1M tokens
Cache read
$0.03
per 1M tokens
Cache write
$0.3
per 1M tokens
Cache write (1h)
$0.5
per 1M tokens
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-3-haiku","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

InputOutput

Input
textimage
Output
text
API

Supported API parameters

max_tokensstoptemperaturetool_choicetoolstop_ktop_p
Available providers

1 Provider

Checked: September 7, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Amazon Bedrock

Not provided
Context
200K
Maximum output
4K
Input
$0.25
Output
$1.25
Cache read
$0.03
Cache write
$0.3
anthropic

4 models

All models