Verified November 2026

Home › Compare › GPT-5.4 vs GPT-5.2

GPT-5.4 vs GPT-5.2

A straight cost comparison of GPT-5.4 (OpenAI) and GPT-5.2 (OpenAI), per 1,000,000 tokens, verified November 2026.

$2.50GPT-5.4 input / 1M
$1.75GPT-5.2 input / 1M
16%Blended price gap
GPT-5.2Cheaper blended

Rate-by-rate comparison

USD per 1M tokens · November 2026
MetricGPT-5.4GPT-5.2Winner
Input / 1M$2.50$1.75GPT-5.2
Cached input / 1M$0.25$0.175GPT-5.2
Cache write / 1M——Tie
Output / 1M$15$14GPT-5.2
Context window1,050,000400,000GPT-5.4
Batch APIYesYesTie
Long-context tier> 272,000None—

For per-token metrics, the lower number wins. For context window and batch support, the higher or broader option wins. A dash means the provider does not publish that rate: a missing cache-write fee means writes are not billed per token, while a missing cached-input rate means cache hits bill at the full input rate.

Blended cost: 1M input + 250K output

ModelBlended costDifference
GPT-5.4$6.25+$1
GPT-5.2$5.25Cheaper

Ten workloads, two bills

The same two models, priced across ten workloads that differ only in their input:output ratio. Nothing else changes — no retries, no system prompt, no middleware.

WorkloadGPT-5.4GPT-5.2Winner
Classification
100K reqs · 500 in / 10 out
$140$102GPT-5.2
Data extraction
10K reqs · 2K in / 200 out
$80$63GPT-5.2
Support chat
1K reqs · 4K in / 600 out
$19$15.40GPT-5.2
Code review
2K reqs · 8K in / 1.5K out
$85$70GPT-5.2
Summarisation
1K reqs · 20K in / 1K out
$65$49GPT-5.2
Agent loop
5K reqs · 12K in / 2K out
$300$245GPT-5.2
Translation
500 reqs · 15K in / 15K out
$131$118GPT-5.2
Long-document QA
200 reqs · 120K in / 800 out
$62.40$44.24GPT-5.2
Cached RAG
1K reqs · 50K in (45K cached) / 1K out
$38.85$30.70GPT-5.2
Nightly batch
10K reqs · 10K in / 2K out
$275$228GPT-5.2

GPT-5.4 wins 0 of 10, GPT-5.2 wins 10 of 10. The winner is set by the token mix, not by the headline rate.

Where the two bills cross over

GPT-5.2 is cheaper on both sides of the mix: $1.75 vs $2.50 per million input tokens, and $14 vs $15 per million output. No input:output ratio reverses that, so on price alone the other model never becomes the better choice — it has to win on context, latency or output quality.

Cost at four scales

The same support-chat workload (4K input, 600 output per request) at four monthly volumes.

Requests / monthGPT-5.4GPT-5.2Difference
100$1.90$1.54GPT-5.2 cheaper by $0.36
1,000$19$15.40GPT-5.2 cheaper by $3.60
10,000$190$154GPT-5.2 cheaper by $36
100,000$1,900$1,540GPT-5.2 cheaper by $360

What caching does to each bill

Caching only helps the part of the prompt that repeats. This is the support-chat workload (1,000 requests, 4,000 input tokens each) with an increasing share of that prompt served from a warm cache, written once on the first request.

Cached share of the promptGPT-5.4GPT-5.2Winner
0%$19$15.40GPT-5.2
50%$14.50$12.25GPT-5.2
80%$11.81$10.37GPT-5.2
95%$10.46$9.42GPT-5.2

Both models publish a cached-read rate, so the discount is comparable: GPT-5.4 reads cache at $0.25 per million, GPT-5.2 at $0.175.

Which one should you pick?

GPT-5.4 wins on none of the ten workloads above, while GPT-5.2 wins on classification, data extraction, support chat, code review, summarisation, agent loop, translation, long-document qa, cached rag, nightly batch.

Beyond price, the two differ on input rate ($2.50 vs $1.75); output rate ($15 vs $14); cached-input rate ($0.25 vs $0.175); context window (1,050,000 vs 400,000); long-context tier (yes, above 272,000 vs none).

Batch mode is available on GPT-5.4 and GPT-5.2, which halves the nightly job. Both publish cached-input discounts, so a stable system prompt is worth caching on either.

FAQ

Is GPT-5.4 cheaper than GPT-5.2?

On a blended 1M-input-plus-250K-output workload, GPT-5.2 is cheaper by 16% ($5.25 vs $6.25). The gap changes for cache-heavy prompts and for batch jobs, as the workload table shows.

Which handles longer prompts, GPT-5.4 or GPT-5.2?

GPT-5.2 has the larger context window (1,050,000 vs 400,000 tokens). Watch the long-context threshold on GPT-5.4: rates rise once input passes it.

Do both models support prompt caching?

GPT-5.4 bills cached reads at $0.25 per 1M; GPT-5.2 at $0.175.

Related comparisons

Run your own token volumes