Pricing comparison
GPT-5.4 mini vs Gemini 2.5 Flash
Per-token pricing, full-workload cost ladders, and monthly volume projections. Numbers sourced directly from each provider's rate card.
OpenAI
GPT-5.4 mini
- Input
- $0.75 / 1M
- Output
- $4.50 / 1M
- Cached input
- $0.075 / 1M
- Context
- 400K
- Max output
- 128K
Gemini 2.5 Flash
- Input
- $0.30 / 1M
- Output
- $2.50 / 1M
- Cached input
- $0.030 / 1M
- Context
- 1M
- Max output
- -
Cost per request
Four common workload shapes, input tokens and a 1:2 output ratio (a standard chat/completion pattern). Long-context surcharges apply automatically where the provider charges them.
| Scenario | Tokens (in / out) | GPT-5.4 mini | Gemini 2.5 Flash | Winner |
|---|---|---|---|---|
| Short prompt | 100 / 200 | $0.0010 | $0.0005 | Gemini 2.5 Flash |
| Typical request | 1,000 / 2,000 | $0.0098 | $0.0053 | Gemini 2.5 Flash |
| Long document | 10,000 / 5,000 | $0.0300 | $0.0155 | Gemini 2.5 Flash |
| Large prompt | 100,000 / 10,000 | $0.1200 | $0.0550 | Gemini 2.5 Flash |
Monthly bill at scale
Projected monthly cost at typical request volume, assuming the "typical request" shape above (1k in, 2k out).
| Traffic | Req / month | GPT-5.4 mini | Gemini 2.5 Flash | Delta |
|---|---|---|---|---|
| Small SaaS | 1,000 | $9.75 | $5.30 | Gemini 2.5 Flash -$4.45 |
| Growing product | 10,000 | $97.50 | $53.00 | Gemini 2.5 Flash -$44.50 |
| Heavy usage | 100,000 | $975.00 | $530.00 | Gemini 2.5 Flash -$445.00 |
Which should you use?
For the typical chat-shape request (~1k input, 2k output), Gemini 2.5 Flash comes out 84% cheaper. If you're picking one as the default, that's usually the right choice on cost alone.
Gemini 2.5 Flash wins on both sides of the bill - cheaper input and cheaper output. If the quality gap is in your favour, there's no cost argument for the other side.
Context window differs: Gemini 2.5 Flash holds 1M of input vs 400K on the other side. If you regularly push past the smaller ceiling, the comparison ends there.
Live cost calculator
Type in any token counts - both prices update instantly. Uses base input/output rates (no cache discount, no long-context tier).
GPT-5.4 mini
$0.0030
per request
Gemini 2.5 Flash
$0.0015
per request
Try both in the estimator →
Drop your actual prompt in, tokens are counted with the provider's own tokenizer, and the dollar number matches what lands on your invoice.
Frequently asked
- Which is cheaper, GPT-5.4 mini or Gemini 2.5 Flash?
- On a typical 1,000-input / 2,000-output request, Gemini 2.5 Flash costs ~$0.0053 vs ~$0.0098 on GPT-5.4 mini. Input or output rates can flip the answer for very lopsided workloads - see the cost ladder above.
- What's the difference in per-token pricing?
- GPT-5.4 mini charges $0.75 per 1M input tokens and $4.50 per 1M output tokens. Gemini 2.5 Flash charges $0.30 / $2.50 per 1M.
- Which has the bigger context window?
- Gemini 2.5 Flash is larger (1M) vs 400K on the other.
- Is there a cached-input discount on either?
- GPT-5.4 mini caches at $0.075 per 1M (90% off). Gemini 2.5 Flash caches at $0.030 per 1M (90% off). Workloads with repeated static prefixes see the biggest savings.
- How fresh is this comparison?
- GPT-5.4 mini was re-verified on 2026-04-06 and Gemini 2.5 Flash on 2026-04-06 against each provider's published rate card. Calcis re-checks every row on a rolling schedule and re-deploys when a provider changes pricing.
GPT-5.4 mini verified 2026-04-06 · Gemini 2.5 Flash verified 2026-04-06. Rate cards at OpenAI and Google.