o4-mini vs GPT-5.4 mini pricing
Side-by-side LLM API pricing.GPT-5.4 mini is cheaper on input ($0.75 vs $1.10 /1M), and o4-mini is cheaper on output ($4.40 vs $4.50 /1M). On a blended average, GPT-5.4 mini is lower — but which wins for you depends on your input/output mix, so check the example workloads below or run the calculator.
| Attribute | o4-mini | GPT-5.4 mini |
|---|---|---|
| Provider | OpenAI | OpenAI |
| Tier | Reasoning | Budget |
| Status | GA | GA |
| Context window | 200K | — |
| Input /1M | $1.10 | $0.75 |
| Output /1M | $4.40 | $4.50 |
| Cached input /1M | $0.275 | $0.075 |
| Batch input /1M | $0.55 | $0.375 |
| Batch output /1M | $2.20 | $2.25 |
| Blended (avg in+out) | $2.75 | $2.63 |
| 1M in + 1M out | $5.50 | $5.25 |
| 1M in (90% cached) + 100K out | $0.7975 | $0.5925 |
List prices, USD, directional. Rates are provider list prices per 1M tokens and are meant for comparison, not billing. Batch rates shown as 50% off are derived where a provider offers batch but does not publish a separate figure. Preview, promo, intro, peak/off-peak, long-context, and third-party-host prices are labeled where they apply. Token counts vary by tokenizer, so per-token price is not always a like-for-like cost. Always confirm with the provider before relying on a number. Prices as of 2026-08-03.
Which should you pick?
For a balanced job (1M input + 1M output), GPT-5.4 mini costs $5.25 versus $5.50. If your prompts are large and reused, prompt caching changes the maths — the cache-heavy row above shows a 90%-cached input scenario. If your work can run asynchronously, both providers' batch rates cut the bill further where offered.
Full price matrices: o4-mini pricing → · GPT-5.4 mini pricing → · Back to the LLM pricing hub →