Gemini 2.5 Flash vs GPT-5 Mini: Detailed Comparison
Choosing between Gemini 2.5 Flash (Google) and
GPT-5 Mini (OpenAI) comes down to three things:
per-token pricing, context window, and which capability matters most for your workload.
Gemini 2.5 Flash costs $0.30/M input vs
$0.25/M for GPT-5 Mini;
context windows are 1.0M vs
400K tokens. Detailed breakdown below.
Side-by-side specs
| Spec | Gemini 2.5 Flash | GPT-5 Mini |
| Provider | Google | OpenAI |
| Released | 2025-04-09 | 2025-08-07 |
| Input price |
$0.30/M |
$0.25/M |
| Output price |
$2.50/M |
$2.00/M |
| Cached input |
$0.0750/M |
$0.0250/M |
| Context window |
1.0M |
400K |
| Max output |
66K |
128K |
| Modalities |
text image audio video |
text image |
| Tokenizer |
gemini |
o200k_base |
Capability matrix
| Capability | Gemini 2.5 Flash | GPT-5 Mini |
| function calling |
Yes |
Yes |
| json mode |
Yes |
Yes |
| vision |
Yes |
Yes |
| streaming |
Yes |
Yes |
| audio |
Yes |
No |
| video |
Yes |
No |
Per-call cost on typical workloads
| Workload (in/out tokens) | Gemini 2.5 Flash | GPT-5 Mini | Cheaper by |
| Standard chat (1K / 500) |
$0.001550 |
$0.001250 |
GPT-5 Mini by $0.000300 |
| RAG (4K / 500) |
$0.002450 |
$0.002000 |
GPT-5 Mini by $0.000450 |
| Long doc (20K / 1K) |
$0.008500 |
$0.007000 |
GPT-5 Mini by $0.001500 |
| Very long context (100K / 2K) |
$0.033750 |
$0.028000 |
GPT-5 Mini by $0.005750 |
When to choose Gemini 2.5 Flash over GPT-5 Mini
- Larger context window (1.0M vs 400K) — relevant when whole documents or long histories must fit in a single call.
- Supports audio — GPT-5 Mini does not.
- Supports video — GPT-5 Mini does not.
When to choose GPT-5 Mini over Gemini 2.5 Flash
- Per-token input cost is 17% lower than Gemini 2.5 Flash.
Related comparisons