Compare/GPT-5.4 vs GPT-5.2

GPT-5.4vsGPT-5.2

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

OpenAI

GPT-5.4

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

GPT-5.2

Input
$1.75/M
Output
$14/M
Cached
$0.175/M
Context
400K

Winner by Category

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

Pricing Comparison

MetricGPT-5.4GPT-5.2
Input ($/M tokens)$2.5$1.75
Output ($/M tokens)$15$14
Cached Input ($/M)$0.25$0.175
Context Window1050K400K
Cost for 1M input + 100K output tokens:
GPT-5.4$4.00
GPT-5.2$3.15

Speed Comparison

Loading live speed data...

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Loading live benchmark data...
GPT-5.40 wins
0 winsGPT-5.2

Features

FeatureGPT-5.4GPT-5.2
vision
Function Calling
streaming
JSON Mode