Compare/Claude 3 Sonnet vs GPT-4o (May '24)

Claude 3 SonnetvsGPT-4o (May '24)

Side-by-side comparison of pricing, 12 benchmarks, and generation speed.

Anthropic

Claude 3 Sonnet

Input
$3/M
Output
$15/M
Speed
TTFT
OpenAI

GPT-4o (May '24)

Input
$5/M
Output
$15/M
Speed
78 tok/s
TTFT
0.54s

Winner by Category

Cheaper
Claude 3 Sonnet
Faster (tok/s)
GPT-4o (May '24)
Lower Latency
Claude 3 Sonnet
Benchmarks (1-7)
GPT-4o (May '24)

Pricing Comparison

MetricClaude 3 SonnetGPT-4o (May '24)
Input ($/M tokens)$3$5
Output ($/M tokens)$15$15
Cost for 1M input + 100K output tokens:
Claude 3 Sonnet$4.50
GPT-4o (May '24)$6.50

Speed Comparison

Output Speed (tokens/s) — higher is better
Claude 3 Sonnet
GPT-4o (May '24)
78 tok/s
Time to First Token (seconds) — lower is better
Claude 3 Sonnet
GPT-4o (May '24)
0.54s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
10.314.5
Coding Index
24.2
Math Index
GPQA Diamond
40.0%52.6%
MMLU-Pro
57.9%74.0%
LiveCodeBench
17.5%33.4%
AIME 2025
MATH-500
41.4%79.1%
Humanity's Last Exam
3.8%2.8%
SciCode
22.9%30.9%
IFBench
TerminalBench
Claude 3 Sonnet1 wins
7 winsGPT-4o (May '24)

Frequently Asked Questions

Which is cheaper, Claude 3 Sonnet or GPT-4o (May '24)?

Claude 3 Sonnet is cheaper overall. Its blended price (3:1 input/output ratio) is $6.00/M tokens vs $7.50/M for GPT-4o (May '24).

Which model performs better on benchmarks?

GPT-4o (May '24) wins 7 out of 12 benchmarks compared to 1 for Claude 3 Sonnet. See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

GPT-4o (May '24) generates tokens faster at 78 tok/s vs 0 tok/s. Claude 3 Sonnet also has lower time-to-first-token (0.00s vs 0.54s).

When should I use Claude 3 Sonnet vs GPT-4o (May '24)?

Choose based on your priorities: Claude 3 Sonnet for lower cost, GPT-4o (May '24) for stronger benchmark performance, and GPT-4o (May '24) for faster generation. For latency-sensitive apps, check the TTFT comparison above.