Models

Claude 3.5 Haiku vs Claude 3.5 Sonnet

Compare Claude 3.5 Haiku from Anthropic and Claude 3.5 Sonnet from Anthropic on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the AIHubMix API.

AnthropicClaude 3.5 HaikuAnthropicClaude 3.5 Sonnet
Anthropic logo
Claude 3.5 Haiku
Anthropic · text, image → text

Claude 3.5 Haiku is the next generation of Claude's fastest model.

Input$1.1 /M
Output$5.5 /M
Anthropic logo
Claude 3.5 Sonnet
Anthropic · text, image → text

Claude 3.5 Sonnet delivers performance superior to Opus and speeds faster than its predecessor, all at the same price point. Its core strengths include: Coding: Autonomously writes, edits, and executes code with advanced reasoning and troubleshooting. Data Science: Augments human expertise by analyzing unstructured data and using multiple tools to generate insights. Visual Processing: Excels at interpreting charts, graphs, and images, accurately transcribing text to derive high-level insights. Agentic Tasks: Exceptional tool use makes it highly effective for complex, multi-step agentic workflows that interact with other systems.

Input$3.3 /M
Output$16.5 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

Claude 3.5 Haiku
Claude 3.5 Sonnet
Input /M
$1.1
$3.3
Output /M
$5.5
$16.5
Cache read /M
-
-
Context length
200,000
200,000
Max output
8,192
8,192
Time to First Token
1.0 s
0.6 s
Throughput
62.4 tok/s
57.2 tok/s
Modalities
textimage
textimage
Supported Parameters
toolsfunction callingstructured outputs
toolsfunction callingstructured outputs
API Formats
Released
-
-

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

claude-3-5-haikuclaude-3-5-sonnet

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

claude-3-5-haikuclaude-3-5-sonnet

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

LMArena Benchmarks

LMArena ratings by capability (Bradley-Terry, commonly called Elo). Higher is better.

Text
claude-3-5-haikuclaude-3-5-sonnet
1260132013801440
Overall
13231372
Coding
13851434
Math
12861350
Hard prompts
13441398
Instruction following
13141372
Multi-turn
13261388
Creative writing
13041369
Longer query
13431393
Chinese
13151365
English
13361382
Vision
claude-3-5-haikuclaude-3-5-sonnet
110011401180
Overall
11261160
OCR
11261175
Diagram
11311181
Homework
11421167

Source: LMArena (arena.ai) leaderboard, imported by AIHubMix. Models without published ratings are omitted per chart.

Cost calculator

Estimate your monthly bill for the same workload on each model.

Claude 3.5 Haiku
$149 /mo
Claude 3.5 Sonnet
$446 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: Claude 3.5 Haiku, Claude 3.5 Sonnet?

Claude 3.5 Haiku: $5.5/M output tokens; Claude 3.5 Sonnet: $16.5/M. Use the cost calculator above to estimate your own workload.

How do their coding arena scores compare?

Claude 3.5 Sonnet: 1434; Claude 3.5 Haiku: 1385 (LMArena coding leaderboard).

Which responds faster?

Claude 3.5 Sonnet: 0.6s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

How large is each context window?

Claude 3.5 Haiku accepts 200,000 and Claude 3.5 Sonnet accepts 200,000 input tokens. Maximum output per request is 8,192 tokens on Claude 3.5 Haiku and 8,192 tokens on Claude 3.5 Sonnet.

Which one generates tokens faster?

Claude 3.5 Haiku at 62.4 tok/s and Claude 3.5 Sonnet at 57.2 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

What inputs and capabilities does each model support?

Claude 3.5 Haiku accepts text and image input and supports tool calling, function calling and structured outputs; Claude 3.5 Sonnet accepts text and image input and supports tool calling, function calling and structured outputs.

Can I call Claude 3.5 Haiku and Claude 3.5 Sonnet with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.