Claude 3.5 Sonnet vs GPT-4o-mini

API pricing, context window and capabilities for Claude 3.5 Sonnet and GPT-4o-mini, side by side. Prices are the cheapest listed serving route per 1M tokens, from LiteLLM and OpenRouter.

Verdict

computed from the published numbers

Claude 3.5 Sonnet wins on context window. GPT-4o-mini wins on price. Benchmark data is unavailable for one or both models.

Price
GPT-4o-mini
Terminal-Bench
Not called
Intelligence
Not called
Context window
Claude 3.5 Sonnet

Key takeaways

who wins on what, from the published numbers

Claude 3.5 Sonnet wins

  • Larger context window (200K vs 131K)

GPT-4o-mini wins

  • Cheaper input ($3.00 vs $0.15 /1M)
  • Cheaper output ($15.00 vs $0.60 /1M)
  • More serving providers (5 vs 6)
Cheaper overall
GPT-4o-mini
$0.15 + $0.60 /1M
Larger context
Claude 3.5 Sonnet
200K
More providers
GPT-4o-mini
6 providers

Pricing & specs

cheapest listed route · per 1M tokens
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments can be materially lower.
Claude 3.5 SonnetGPT-4o-mini
Input $/1M$3.00via Snowflake $0.15via OpenAI best
Output $/1M$15.00via Snowflake $0.60via OpenAI best
Context window200K best131K
Max output16K 16K
Serving providers5 6 best
DateFirst listed Jun 2024 Released Jul 18, 2024

Benchmarks

Benchmark scores, side by side
Claude 3.5 SonnetGPT-4o-mini
IntelligenceNot available 6.7
Terminal-BenchNot available 6%
GPQA DiamondNot available 43%
Output speedNot available 120 t/s
Latency (TTFT)Not available 0.84s

Cost calculator

choose a serving route for each side
Input tokens / month
Output tokens / month
Claude 3.5 Sonnet
via OpenRouter
$30
GPT-4o-mini
via Gmi
$1.35

Capabilities

feature support, side by side
FeatureClaude 3.5 SonnetGPT-4o-mini
Vision✓✓
Tool use✓✓
Reasoning——
Audio——
Prompt caching✓✓
Structured output✓✓
Web search——

Related comparisons

Frequently asked questions

Which is cheaper, Claude 3.5 Sonnet or GPT-4o-mini?
GPT-4o-mini is cheaper for input ($3.00 vs $0.15 per 1M tokens) from OpenAI. GPT-4o-mini is cheaper for output ($15.00 vs $0.60 per 1M tokens) from OpenAI.
What is the context window difference between Claude 3.5 Sonnet and GPT-4o-mini?
Claude 3.5 Sonnet has a 200K-token context window and GPT-4o-mini has 131K tokens, so Claude 3.5 Sonnet can take a larger prompt.
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI