← Back to Calculator

GPT-5.4 mini vs GPT-5.4 nano

Detailed comparison of API pricing, technical specifications, and benchmark scores. Updated 2026-07-09.

Cost at a Glance

GPT-5.4 mini is 3.6× more expensive than GPT-5.4 nano — switching could save 72.5% on your monthly API bill.

At 5M input + 2M output tokens per month:

GPT-5.4 mini$12.75/movsGPT-5.4 nano$3.50/mo

Choosing GPT-5.4 nano could save you $9.25/mo

Price Comparison (per 1M tokens)

Input (per 1M tokens)
$0.75vs$0.20
Output (per 1M tokens)
$4.50vs$1.25
Cache Write (per 1M tokens)
$0.94vs$0.25
Cache Read (per 1M tokens)
$0.07vs$0.02
Batch Input (per 1M tokens)
$0.38vs$0.10
Batch Output (per 1M tokens)
$2.25vs$0.63

Prices are per 1 million tokens. Actual costs depend on your monthly token volume. Use the calculator →

Specifications

Context Window
400Kvs400K
Max Output Tokens
128Kvs128K
Knowledge Cutoff
2025-08vs2025-08
Modalities
Text, ImagevsText, Image
Prompt Caching
YesvsYes
Batch API
YesvsYes
Thinking / Reasoning
YesvsYes

Benchmark Scores

SWE-bench Verified
72.0vs65.0
MMLU-Pro
78.0vs74.0
HumanEval
89.0vs85.0

Benchmark scores from official provider reports. Higher is better. Missing scores indicate the provider has not published that benchmark yet.

Use Cases

GPT-5.4 mini

fastcheapcodinggeneral

GPT-5.4 nano

cheapestfastsimple

About the Providers

GPT-5.4 mini is developed by OpenAI. GPT-5.4 nano is developed by OpenAI. Both models are from the same provider, representing different tiers in the OpenAI model lineup. For the most up-to-date pricing, always check the official API documentation from each provider.

Compare More AI Models