Compare/Claude Sonnet 4.6 vs GPT-5.4

Claude Sonnet 4.6vsGPT-5.4

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

Anthropic

Claude Sonnet 4.6

Input
$3/M
Output
$15/M
Cached
$0.3/M
Context
200K
OpenAI

GPT-5.4

Input
$2.5/M
Output
$15/M
Cached
$0.25/M
Context
1050K

Winner by Category

Cheaper
GPT-5.4
Larger Context
GPT-5.4
Faster (tok/s)
Lower Latency
Benchmarks (0-0)
Tie

Pricing Comparison

MetricClaude Sonnet 4.6GPT-5.4
Input ($/M tokens)$3$2.5
Output ($/M tokens)$15$15
Cached Input ($/M)$0.3$0.25
Context Window200K1050K
Cost for 1M input + 100K output tokens:
Claude Sonnet 4.6$4.50
GPT-5.4$4.00

Speed Comparison

Loading live speed data...

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Loading live benchmark data...
Claude Sonnet 4.60 wins
0 winsGPT-5.4

Features

FeatureClaude Sonnet 4.6GPT-5.4
vision
Function Calling
streaming
JSON Mode