impulse

Claude 3.5 Haiku

Frontier lab
API id claude-3.5-haikuReleased 22 Oct 2024 (Oct 2024)
Input / 1M
$0.80
at Vercel AI Gateway
Output / 1M
$4.00
at Vercel AI Gateway
Context window
200K
tokens
Max output
8K
tokens per reply
Hosts
5
9 listings
Released
Oct 2024
22 Oct 2024

Pricing

List prices at Vercel AI Gateway, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.80$4.00
Cached input
90% off input
$0.08
Cache write, 5 minutes$1.00

What it costs a month

At Vercel AI Gateway list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$475
  • RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$355
  • Coding agent1,000 requests a day, 40K in / 2K out, cached$595
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$2,880
Use your own numbers

Where to run it

5 hosts serve Claude 3.5 Haiku. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
2024-10-22
anthropic.claude-3-5-haiku-20241022-v1:0
$0.80 / $4.00
claude-3.5-haiku
$0.80 / $4.00
claude-3-5-haiku
$1.00 / $5.00
+25% vs headline
ReplicateInference
claude-3.5-haiku
$1.00 / $5.00
+25% vs headline
HerokuCloud
claude-3-5-haiku
-
Show 4 more listings: regions, snapshots and variants
Amazon Bedrock
eu · 2024-10-22
eu.anthropic.claude-3-5-haiku-20241022-v1:0
$0.80 / $4.00
us · 2024-10-22
us.anthropic.claude-3-5-haiku-20241022-v1:0
$0.80 / $4.00
us · 2024-10-22
us.anthropic.claude-3-5-haiku-20241022-v1:0
$0.80 / $4.00
Vertex AI
2024-10-22
claude-3-5-haiku@20241022
$1.00 / $5.00
+25% vs headline

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
TextImages
Produces
Text

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Vercel AI Gateway.

Smaller Anthropic models

  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    88% less

Other frontier labs

  • Gemini 3.8 Flash
    Google · on Google AI Studio
    $0.75 / $3.75
    Has every key capability
    6% less
  • Grok Build 0.1
    xAI · on xAI
    $1.00 / $2.00
    Has every key capability
    22% less
  • GPT-5.4 Nano
    OpenAI · on OpenAI
    $0.20 / $1.25
    Has every key capability
    71% less
  • Gemini 3.5 Flash Lite
    Google · on Google AI Studio
    $0.30 / $2.50
    Has every key capability
    47% less

Open-weight picks

  • Kimi K2.7 Code
    Moonshot AI · on CLF AI Gateway
    $0.38 / $1.60
    Has every key capability
    57% less
  • Inkling Small
    Independent · on DeepInfra
    $0.45 / $1.20
    Has every key capability
    60% less
  • DeepSeek Flash
    DeepSeek · on DeepSeek
    $0.30 / $1.20
    Has every key capability
    67% less
  • Qwen3.7 Plus
    Alibaba Qwen · on Replicate
    $0.276 / $1.10
    Has every key capability
    70% less

Benchmarks

Scores published on the model card.

  • Aider Polyglot28.0%

Model line

Newer and older versions, at each lab's own price.

  1. Oct 2026Claude Haiku 5.5Latest$0.10 / $0.50
  2. Oct 2025Claude Haiku 4.5$1.00 / $5.00
  3. Oct 2024Claude 3.5 HaikuThis page$0.80 / $4.00
  4. Mar 2024Claude 3 Haiku$0.25 / $1.25

Call it

Using Vercel AI Gateway's API.

Python
from litellm import completion

response = completion(
    model="vercel_ai_gateway/claude-3.5-haiku",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Claude 3.5 Haiku cost?

On Vercel AI Gateway, Claude 3.5 Haiku costs $0.80 per million input tokens and $4.00 per million output tokens. Cached input costs $0.08 per million tokens.

Which APIs offer Claude 3.5 Haiku?

Claude 3.5 Haiku runs on 5 APIs: Amazon Bedrock, Vercel AI Gateway, Vertex AI, Replicate and Heroku.

What is Claude 3.5 Haiku's context window?

200K tokens, with up to 8K tokens in one reply.

Is Claude 3.5 Haiku being retired?

No retirement date is scheduled for it on any API we track.

Is there a newer version of Claude 3.5 Haiku?

Yes. Claude Haiku 5.5 is the newest model in this line, released on 7 Oct 2026.

What are cheaper alternatives to Claude 3.5 Haiku?

Models that cost less and keep most of what it can do: Claude Haiku 5.5 on Anthropic (88% less), Gemini 3.8 Flash on Google AI Studio (6% less), Grok Build 0.1 on xAI (22% less) and Kimi K2.7 Code on CLF AI Gateway (57% less). Savings are on a mix of 3 input tokens to 1 output token.

When was Claude 3.5 Haiku released?

Anthropic released it on 22 Oct 2024.

What is Claude 3.5 Haiku's API model id?

Use claude-3.5-haiku with Vercel AI Gateway. Other hosts use their own ids: anthropic.claude-3-5-haiku-20241022-v1:0 on Amazon Bedrock, claude-3-5-haiku on Vertex AI, claude-3-5-haiku on Heroku.

Sources

Raw catalog entry for claude-3.5-haiku on Vercel AI Gateway
{
  "cache_creation_input_token_cost": 0.000001,
  "cache_read_input_token_cost": 8e-8,
  "input_cost_per_token": 8e-7,
  "litellm_provider": "vercel_ai_gateway",
  "max_input_tokens": 200000,
  "max_output_tokens": 8192,
  "mode": "chat",
  "output_cost_per_token": 0.000004,
  "supports_vision": true,
  "supports_function_calling": true,
  "supports_tool_choice": true,
  "supports_response_schema": true
}