GPT-5 Mini and Gemini 3.5 Flash-Lite are both the current default answer to "which cheap model should handle classification, extraction, and simple Q&A." Their headline prices are close enough that most teams pick whichever provider they're already using and move on. We ran the actual per-task math using official pricing, and the gap is bigger — and more consistent — than the headline numbers suggest.

TL;DR

1. GPT-5 Mini is cheaper on both input and output tokens — roughly 17-20% cheaper across every task shape we modeled, not just one.
2. Gemini 3.5 Flash-Lite's context window is 2.5x larger (1M vs 400K tokens), which can flip the total-cost comparison for RAG and long-document workloads that would otherwise need extra retrieval passes.
3. Both offer a roughly 50% Batch API discount for non-realtime work, applied on top of whichever base rate is already lower.

The Official Numbers

GPT-5 Mini (OpenAI)

Input$0.25 / MTok
Output$2.00 / MTok
Context window400K tokens
Max output128K tokens

Gemini 3.5 Flash-Lite (Google)

Input$0.30 / MTok
Output$2.50 / MTok
Context window1M tokens
Max output65,536 tokens

At face value: GPT-5 Mini is about 17% cheaper on input and 20% cheaper on output. Neither price advantage is dramatic on its own — but because GPT-5 Mini is cheaper on both sides of the ratio, the gap doesn't close or reverse depending on whether a task is input-heavy or output-heavy. That's the part most quick comparisons miss by only quoting the input price.

What That Means Across Real Task Shapes

Cost per request at $/1,000 requests, three representative shapes:

Task ShapeTokens (in/out)GPT-5 MiniGemini 3.5 Flash-LiteCheaper
Classification 500 / 10 $0.145 $0.175 GPT-5 Mini, −17%
Summarization 3,000 / 150 $1.05 $1.275 GPT-5 Mini, −18%
Long-form generation 200 / 1,500 $3.05 $3.81 GPT-5 Mini, −20%

Across all three shapes — input-heavy, balanced, and output-heavy — GPT-5 Mini comes out consistently 17-20% cheaper on raw token cost. There's no task shape in this range where the gap reverses, because Gemini 3.5 Flash-Lite doesn't win on either side of the price ratio.

Curious what this looks like on your actual traffic?

Preto shows real cost per request, not just token prices — across whichever models and providers you're mixing.

See Your Real Cost Per Request

Not just token prices. See what each model actually costs per task.

Where the Comparison Actually Flips: Context Window

Per-token price isn't the whole cost story once a workload needs more context than a single request comfortably holds. Gemini 3.5 Flash-Lite's 1 million token window is 2.5x GPT-5 Mini's 400,000 — for RAG pipelines, long-document analysis, or any workload where the full context doesn't fit in 400K tokens, GPT-5 Mini forces a choice: chunk the document and run multiple passes, or truncate and lose context.

Both options have a real cost. Multiple passes mean paying the per-request overhead (and often re-sending shared context) more than once. Truncation risks quality loss that doesn't show up in a token-price comparison at all. For workloads that genuinely need more than 400K tokens of context in a single call, Gemini's larger window can offset its higher per-token rate — sometimes by a wide margin, since avoiding a second full pass over a large document often costs more than the entire per-token price gap.

For workloads well under 400K tokens per request — which is the large majority of classification, extraction, and short-to-medium generation tasks — the context window advantage doesn't apply, and GPT-5 Mini's lower token price is the more relevant number.

This is one comparison in a much larger pricing landscape — see the full 2026 LLM pricing cheat sheet for every major model side by side. And if you're running a frontier model on a task either of these cheap-tier models would handle identically, that gap is usually the single largest waste source in production LLM traffic.

The Practical Rule

If your typical request comfortably fits under roughly 300K tokens of context, GPT-5 Mini's consistent 17-20% per-token savings make it the default choice. If your workload regularly needs more context than that in a single call — large document analysis, RAG over big corpora without aggressive chunking — model the cost of the extra retrieval passes GPT-5 Mini's smaller window would force, and compare that total against Gemini's higher token rate. The right answer is workload-dependent, but it's a calculation worth actually running rather than defaulting to whichever provider you're already using.

Prices on both sides move often enough that it's worth re-running this comparison quarterly rather than treating it as settled — token pricing across both providers has changed multiple times within a single year.

Frequently Asked Questions

Is GPT-5 Mini or Gemini 3.5 Flash-Lite cheaper?
On raw per-token pricing, GPT-5 Mini is cheaper on both input and output: $0.25/$2.00 per million tokens versus Gemini 3.5 Flash-Lite's $0.30/$2.50 — roughly 17-20% cheaper across the board. The gap holds across classification, summarization, and generation task shapes because GPT-5 Mini is cheaper on both sides of the ratio.
Does Gemini's larger context window change the cost comparison?
It can, for context-heavy workloads. Gemini 3.5 Flash-Lite ships with a 1 million token context window versus GPT-5 Mini's 400,000. For workloads that would otherwise need chunking or multiple retrieval passes to fit GPT-5 Mini's smaller window, the extra round-trips can offset Gemini's higher per-token price.
What is GPT-5 Mini's maximum output length?
128,000 tokens, roughly double Gemini 3.5 Flash-Lite's 65,536 token output ceiling — relevant for long-form generation tasks where a single response needs to exceed Gemini's output cap.
Do both models support a Batch API discount?
Yes — both OpenAI and Google offer roughly a 50% discount for asynchronous batch processing on non-realtime workloads, applied on top of whichever model's standard per-token rate is already lower for your task shape.

Stop guessing which model is actually cheaper for your workload.

Preto tracks real cost per request across every model and provider you use — so the comparison isn't a one-time blog post calculation, it's live in your dashboard.

See Your Real Cost Per Request

Free forever up to 10K requests. No credit card required.

Gaurav Dagade
Gaurav Dagade

Founder of Preto.ai. 11 years engineering leadership. Previously Engineering Manager at Bynry. Building the cost intelligence layer for AI infrastructure.

LinkedIn · Twitter