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

GPT-4o (May '24)vsClaude 3.5 Sonnet (June '24)

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

OpenAI

GPT-4o (May '24)

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

Claude 3.5 Sonnet (June '24)

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

Winner by Category

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

Pricing Comparison

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

Speed Comparison

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

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
14.514.2
Coding Index
24.226.0
Math Index
GPQA Diamond
52.6%56.0%
MMLU-Pro
74.0%75.1%
LiveCodeBench
33.4%
AIME 2025
MATH-500
79.1%69.5%
Humanity's Last Exam
2.8%3.7%
SciCode
30.9%31.6%
IFBench
TerminalBench
GPT-4o (May '24)3 wins
5 winsClaude 3.5 Sonnet (June '24)

Frequently Asked Questions

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

Claude 3.5 Sonnet (June '24) 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?

Claude 3.5 Sonnet (June '24) wins 5 out of 12 benchmarks compared to 3 for GPT-4o (May '24). 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. However, Claude 3.5 Sonnet (June '24) has lower time-to-first-token (0.00s vs 0.54s).

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

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