OpenAIGPT-5 miniVSOpenAIGPT-5.4
Our Take
We recommend GPT-5.4 if you need peak intelligence for reasoning and coding tasks, or the 8.2x cheaper GPT-5 mini to optimize your budget for high-volume pipelines. While GPT-5.4 holds a clear performance lead, it carries a heavy price premium. Choose GPT-5.4 for complex logic, or GPT-5 mini for budget efficiency.
▶WHY?
Benchmark Calculations & Evidence:
Coding Benchmarks: Both models were evaluated on the SWE-bench Pro benchmark. GPT-5.4 scored 57.7%, while GPT-5 mini scored 45.7%.
Reasoning Benchmarks: Both models were evaluated on the GPQA Diamond benchmark. GPT-5.4 scored 92.8%, while GPT-5 mini scored 81.6%.
Cost Efficiency: GPT-5 mini pricing ($0.25/M input, $2/M output) is 8.2x cheaper than GPT-5.4 ($2.5/M input, $15/M output).
Was this recommendation helpful?
Benchmarks & Scores
Coding (swe-bench-pro)
45.7%complex codebases, multi-file repositories, and architectural planning
Reasoning (gpqa-diamond)
81.6%graduate-level science QA
Cost & Context
Cost (per 1M tokens)8.2x cheaper
$0.69Input: $0.25 | Output: $2.00Context Window
400k tokensBenchmarks & Scores
Coding (swe-bench-pro)Winner (+12.0%)
57.7%complex codebases, multi-file repositories, and architectural planning
Reasoning (gpqa-diamond)Winner (+11.2%)
92.8%graduate-level science QA
Cost & Context
Cost (per 1M tokens)
$5.63Input: $2.50 | Output: $15.00Context WindowLarger
1.05M tokensFrequently Asked Questions about GPT-5 mini vs GPT-5.4
GPT-5 mini is cheaper than GPT-5.4. GPT-5 mini has a blended cost of $0.69/1M tokens, which is about 8.2x cheaper than GPT-5.4 at $5.63/1M tokens.
GPT-5.4 is better for coding tasks on this benchmark. It scores 57.7% on swe-bench-pro (complex codebases, multi-file repositories, and architectural planning) compared to GPT-5 mini which scores 45.7%.
Related Matchups
Explore similar comparisons for GPT-5 mini and GPT-5.4.
Do you want to find a model for your constraints?
Use our interactive model finder to filter LLMs by reasoning capability, coding performance, cost, and context length.