Claude 3 Haiku vs GPT-4o-mini

API pricing, context window and capabilities for Claude 3 Haiku and GPT-4o-mini, side by side. Prices are the cheapest serving route per 1M tokens, verified against LiteLLM and OpenRouter.

Verdict

computed from the published numbers

Claude 3 Haiku wins on context window. GPT-4o-mini wins on price and on intelligence. Benchmark data is unavailable for one or both models.

Price
GPT-4o-mini
Coding
Not called
Intelligence
GPT-4o-mini
Context window
Claude 3 Haiku

Key takeaways

who wins on what, from the published numbers

Claude 3 Haiku wins

  • Larger context window (200K vs 131K)

GPT-4o-mini wins

  • Cheaper input ($0.25 vs $0.15 /1M)
  • Cheaper output ($1.25 vs $0.60 /1M)
  • Higher max output (4K vs 16K)
  • More serving providers (3 vs 5)
  • Supports prompt caching
Cheaper overall
GPT-4o-mini
$0.15 + $0.60 /1M
Larger context
Claude 3 Haiku
200K
More providers
GPT-4o-mini
5 providers

Pricing & specs

cheapest serving route · per 1M tokens
Claude 3 HaikuGPT-4o-mini
Input $/1M$0.25 $0.15 best
Output $/1M$1.25 $0.60 best
Context window200K best131K
Max output4K 16K best
Serving providers3 5 best
Releasedn/a 2024-07-18

Benchmarks

Artificial Analysis indices, side by side
Claude 3 HaikuGPT-4o-mini
Intelligence3.9 6.9 best
CodingNot available 11.4
GPQA Diamond37% 43% best
Output speedNot available 47 t/s
Latency (TTFT)Not available 6.68s

Cost calculator

choose a serving route for each side
Input tokens / month
Output tokens / month
Claude 3 Haiku
via OpenRouter
$2.50
GPT-4o-mini
via Azure
$1.35

Capabilities

feature support, side by side
FeatureClaude 3 HaikuGPT-4o-mini
Vision
Tool use
Reasoning
Audio
Prompt caching
Structured output
Web search

Related comparisons

Frequently asked questions

Which is cheaper, Claude 3 Haiku or GPT-4o-mini?
GPT-4o-mini is cheaper for input ($0.25 vs $0.15 per 1M tokens). GPT-4o-mini is cheaper for output ($1.25 vs $0.60 per 1M tokens).
What is the context window difference between Claude 3 Haiku and GPT-4o-mini?
Claude 3 Haiku has a 200K-token context window and GPT-4o-mini has 131K tokens, so Claude 3 Haiku can take a larger prompt.
How do Claude 3 Haiku and GPT-4o-mini compare on benchmarks?
On the tracked Artificial Analysis indices, GPT-4o-mini leads on intelligence.
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI