TokenRoute
Get started
Back to models

Anthropic: Claude 3 Haiku

Moderated

anthropic/claude-3-haiku

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](https://www.anthropic.com/news/claude-3-haiku) #multimodal

Pricing

Input$0.1750 /M
Output$0.8750 /M
Cache read$0.0210 /M
Cache write$0.2100 /M
Web search$0.0070 /req

Specs

Context length200K tokens
Max output4.1K tokens
Inputtext, image
Outputtext

Quickstart

Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.

bash
curl https://tokenroute.app/api/v1/chat/completions \
  -H "Authorization: Bearer $TOKENROUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-3-haiku",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Supported parameters

max_tokens
stop
temperature
tool_choice
tools
top_k
top_p