Compare/Claude 3.5 Sonnet (Oct '24) vs GPT-5.4 (xhigh)

Claude 3.5 Sonnet (Oct '24)vsGPT-5.4 (xhigh)

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

Anthropic

Claude 3.5 Sonnet (Oct '24)

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

GPT-5.4 (xhigh)

Input
$2.5/M
Output
$15/M
Speed
84 tok/s
TTFT
147.97s

Winner by Category

Cheaper
GPT-5.4 (xhigh)
Faster (tok/s)
GPT-5.4 (xhigh)
Lower Latency
Claude 3.5 Sonnet (Oct '24)
Benchmarks (3-7)
GPT-5.4 (xhigh)

Pricing Comparison

MetricClaude 3.5 Sonnet (Oct '24)GPT-5.4 (xhigh)
Input ($/M tokens)$3$2.5
Output ($/M tokens)$15$15
Cost for 1M input + 100K output tokens:
Claude 3.5 Sonnet (Oct '24)$4.50
GPT-5.4 (xhigh)$4.00

Speed Comparison

Output Speed (tokens/s) — higher is better
Claude 3.5 Sonnet (Oct '24)
GPT-5.4 (xhigh)
84 tok/s
Time to First Token (seconds) — lower is better
Claude 3.5 Sonnet (Oct '24)
GPT-5.4 (xhigh)
147.97s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
15.957.2
Coding Index
30.257.3
Math Index
GPQA Diamond
59.9%92.0%
MMLU-Pro
77.2%
LiveCodeBench
38.1%
AIME 2025
MATH-500
77.1%
Humanity's Last Exam
3.9%41.6%
SciCode
36.6%56.6%
IFBench
73.9%
TerminalBench
57.6%
Claude 3.5 Sonnet (Oct '24)3 wins
7 winsGPT-5.4 (xhigh)

Frequently Asked Questions

Which is cheaper, Claude 3.5 Sonnet (Oct '24) or GPT-5.4 (xhigh)?

GPT-5.4 (xhigh) is cheaper overall. Its blended price (3:1 input/output ratio) is $5.63/M tokens vs $6.00/M for Claude 3.5 Sonnet (Oct '24).

Which model performs better on benchmarks?

GPT-5.4 (xhigh) wins 7 out of 12 benchmarks compared to 3 for Claude 3.5 Sonnet (Oct '24). See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

GPT-5.4 (xhigh) generates tokens faster at 84 tok/s vs 0 tok/s. Claude 3.5 Sonnet (Oct '24) also has lower time-to-first-token (0.00s vs 147.97s).

When should I use Claude 3.5 Sonnet (Oct '24) vs GPT-5.4 (xhigh)?

Choose based on your priorities: GPT-5.4 (xhigh) for lower cost, GPT-5.4 (xhigh) for stronger benchmark performance, and GPT-5.4 (xhigh) for faster generation. For latency-sensitive apps, check the TTFT comparison above.