Compare/Claude 3 Sonnet vs GPT-5.4 (xhigh)

Claude 3 SonnetvsGPT-5.4 (xhigh)

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-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 Sonnet
Benchmarks (3-7)
GPT-5.4 (xhigh)

Pricing Comparison

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

Speed Comparison

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

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
10.357.2
Coding Index
57.3
Math Index
GPQA Diamond
40.0%92.0%
MMLU-Pro
57.9%
LiveCodeBench
17.5%
AIME 2025
MATH-500
41.4%
Humanity's Last Exam
3.8%41.6%
SciCode
22.9%56.6%
IFBench
73.9%
TerminalBench
57.6%
Claude 3 Sonnet3 wins
7 winsGPT-5.4 (xhigh)

Frequently Asked Questions

Which is cheaper, Claude 3 Sonnet 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 Sonnet.

Which model performs better on benchmarks?

GPT-5.4 (xhigh) wins 7 out of 12 benchmarks compared to 3 for Claude 3 Sonnet. 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 Sonnet also has lower time-to-first-token (0.00s vs 147.97s).

When should I use Claude 3 Sonnet 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.