GPT-5.4 vs GPT-5.4 mini: pricing compared

For a 30-step coding agent run, GPT-5.4 mini is 3.3x cheaper ($0.38 vs $1.28). Prices verified 2026-11-17.

GPT-5.4GPT-5.4 mini
ProviderOpenAIOpenAI
Input / 1M$2.50$0.75
Cached input / 1M$0.25$0.075
Output / 1M$15.00$4.50
Batch discount50%50%
Context window1.05M400K
Long-context tierabove 272Knone

Cost on real workloads

WorkloadGPT-5.4GPT-5.4 mini
10,000 chatbot replies
2,000 input + 400 output tokens each, 50% of the prompt cached
$87.50$26.25
One 30-step coding agent run
12K system + tools prompt, 1K output and 3K tool result per step, caching on
$1.28$0.38
1M documents classified (batch)
600 input + 20 output tokens each, batch API where available
$900$270

Price is only half the decision: a cheaper model that needs more steps or retries can cost more per finished task. Run your own numbers in the calculator (both models pinned), or see how both rank in the use-case guides. Every other model is in the pricing comparison, and the token counter shows how many tokens your prompt is on each.

FAQ

Is GPT-5.4 cheaper than GPT-5.4 mini?

For a typical 30-step coding agent run with caching, GPT-5.4 mini costs $0.38 and GPT-5.4 costs $1.28, so GPT-5.4 mini is 3.3x cheaper. Per 1M tokens, GPT-5.4 is $2.50 / $15.00 and GPT-5.4 mini is $0.75 / $4.50.

Which has the bigger context window?

GPT-5.4: 1,050,000 tokens. GPT-5.4 mini: 400,000 tokens.