Models

Claude 3.5 Haiku vs Claude 3.7 Sonnet

Compare Claude 3.5 Haiku from Anthropic and Claude 3.7 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.7 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 /M
Output$5 /M
Anthropic logo
Claude 3.7 Sonnet
Anthropic · text, image → text

Support for the thinking parameter through the original Claude SDK.

Input$3 /M
Output$15 /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.7 Sonnet
Input /M
$1
$3
Output /M
$5
$15
Cache read /M
-
-
Context length
NaN
NaN
Max output
0
0
Time to First Token
1.0 s
0.6 s
Throughput
62.4 tok/s
57.3 tok/s
Modalities
textimage
textimage
Supported Parameters
toolsfunction callingstructured outputs
thinkingtoolsfunction 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-7-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-7-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-7-sonnet
1200126013201380
Overall
12551299
Coding
12871339
Math
12441318
Instruction following
12411325
Longer query
12601355
Chinese
12241299
English
12691311
Vision
claude-3-5-haikuclaude-3-7-sonnet
10601100114011801220
Overall
10921151
OCR
10891157
Diagram
10781152
Homework
11171204

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
$135 /mo
Claude 3.7 Sonnet
$405 /mo

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

FAQ

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

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

How do their coding arena scores compare?

Claude 3.7 Sonnet: 1339; Claude 3.5 Haiku: 1287 (LMArena coding leaderboard).

Which responds faster?

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

Which one generates tokens faster?

Claude 3.5 Haiku at 62.4 tok/s and Claude 3.7 Sonnet at 57.3 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.7 Sonnet accepts text and image input and supports thinking, tool calling, function calling and structured outputs.

Can I call Claude 3.5 Haiku and Claude 3.7 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.