AiCostCompare

GPT-5.4

by OpenAI · openai/gpt-5.4 · #286 cheapest of 325 paid models

Prices updated Jul 22, 2026, 1:31 AM UTC · refreshed hourly

GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system. It features a 1M+ token context window (922K input, 128K output) with support for...

Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5Gemini 3.6 Flash

Pricing

Input

$2.50

per 1M tokens

Output

$15.00

per 1M tokens

Blended (3:1)

$5.63

3 input : 1 output

Cache read

$0.25

per 1M cached tokens

Cache write

per 1M tokens

Cache & batch economics

Effective prices for GPT-5.4 with prompt caching.

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$5.63$0.27
50%$4.78$0.1575−42%
90%$4.11$0.0675−75%

*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates for this provider’s batch API. Confirm on the vendor’s pricing page.

What a request costs

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$0.00575$5.75
Document summary8,0001,000$0.035$35.00
Codebase question (RAG)30,0002,000$0.105$105.00
Long-context analysis150,0005,000$0.45$450.00

Performance

Intelligence Index

51.4

AA composite quality

Coding Index

71.1

Math Index

Agentic Index

41.1

Output speed

152 tok/s

median

Time to first token

129.43s

median

Time to first answer

129.43s

after reasoning tokens

Artificial Analysis benchmarks

BenchmarkScore
GPQA Diamond92.0%
Humanity's Last Exam41.6%
SciCode56.6%
IFBench73.9%
AA-LCR (Long Context Reasoning)74.0%
Terminal-Bench Hard57.6%
Terminal-Bench 2.178.3%
τ²-Bench (Telecom)87.1%
τ³-Bench Banking30.3%

Design Arena Elo

CategoryElo
Website1,247
Web apps1,122
Full-stack1,076
Mobile apps1,147
Android native1,020
UI components1,281
Data viz1,268
SVG1,241
3D1,160
Game dev1,298
Godot game dev1,135
Code categories1,245
ASCII art1,241

Specs

Context window

1.05M

tokens

Max output

128K

tokens

Input modalities

text, image, file

Tokenizer

GPT