Back to Models
A

Claude 3.5 Haiku

Claude
by Anthropic

Fast, affordable model with strong performance. Great for high-volume, latency-sensitive workloads.

Nov 4, 2024

Specifications

Context Length
200K
200,000 tokens
Input Price
$0.80
per 1M tokens
Output Price
$4.00
per 1M tokens
Modalities
2
text→text, image+text→text

Capabilities

text generationchatfunction callingvisioncode

API Usage

1Router is fully OpenAI-compatible. Just set the base URL and use this model ID:

anthropic/claude-3.5-haiku
cURL
curl https://api.1router.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-3.5-haiku",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'