OpenAIGPT-5 miniVSOpenAIGPT-5.4 nano
Our Take
We recommend choosing GPT-5.4 nano because it outperforms or matches GPT-5 mini across reasoning, coding, and context capacity while being cheaper or equal in cost. Choose GPT-5.4 nano for superior overall value.
▶WHY?
Benchmark Calculations & Evidence:
Coding Benchmarks: Both models were evaluated on the SWE-bench Pro benchmark. GPT-5.4 nano scored 52.4%, while GPT-5 mini scored 45.7%.
Reasoning Benchmarks: Both models were evaluated on the GPQA Diamond benchmark. GPT-5.4 nano scored 82.8%, while GPT-5 mini scored 81.6%.
Context Window: GPT-5.4 nano supports a 400k context window compared to 400k for GPT-5 mini.
Cost Comparison: GPT-5.4 nano blended CPM is $0.2/$1.25 compared to $0.25/$2 for GPT-5 mini.
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)
$0.69Input: $0.25 | Output: $2.00Context Window
400k tokensBenchmarks & Scores
Coding (swe-bench-pro)Winner (+6.7%)
52.4%complex codebases, multi-file repositories, and architectural planning
Reasoning (gpqa-diamond)Winner (+1.2%)
82.8%graduate-level science QA
Cost & Context
Cost (per 1M tokens)1.5x cheaper
$0.46Input: $0.20 | Output: $1.25Context Window
400k tokensFrequently Asked Questions about GPT-5 mini vs GPT-5.4 nano
GPT-5.4 nano is cheaper than GPT-5 mini. GPT-5.4 nano has a blended cost of $0.46/1M tokens, which is about 1.5x cheaper than GPT-5 mini at $0.69/1M tokens.
GPT-5.4 nano is better for coding tasks on this benchmark. It scores 52.4% 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 nano.
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.