Gemini 3.5 Flash vs GPT-5 API pricing
Updated
Gemini 3.5 Flash: USD 1.50 input, USD 9 output per 1M tokens (DeepInfra and 2 others). GPT-5: USD 1.25 input, USD 10 output per 1M tokens (OpenAI and 2 others). At 3 input tokens per output token, GPT-5 costs 1.9% more than Gemini 3.5 Flash (USD 3.438 vs USD 3.375 per 1M).
How do Gemini 3.5 Flash and GPT-5 differ on price?
- Cheapest input price: GPT-5 USD 1.25 against USD 1.50 per 1M tokens, so Gemini 3.5 Flash costs 1.2× as much (20% more).
- Cheapest output price: Gemini 3.5 Flash USD 9 against USD 10 per 1M tokens, so GPT-5 costs 1.11× as much (11% more).
- Among the 201 indexed models, Gemini 3.5 Flash ranks 164th cheapest and GPT-5 165th on the 3:1 blend.
- The cheaper model changes at 4 input tokens per output token.
- Both list cached-input discounts: Gemini 3.5 Flash at 2 standard prices of 3, from USD 0.15 (GMI Cloud, 90% below that provider's input price); GPT-5 at 3 standard prices of 3, from USD 0.125 (OpenAI, 90% below that provider's input price).
- Only Gemini 3.5 Flash has a stated context window (1,048,576 tokens); no provider of GPT-5 states one on its pricing page.
- Both have 3 providers with a standard price; no provider sells both, so using both means two accounts.
- Shopping around matters equally: on both, the dearest standard price is 1× the cheapest.
- OpenAI's own API is one of 3 providers tied for the lowest standard price we found for GPT-5, USD 3.438 at 3:1.
- Gemini 3.5 Flash has a batch price at 1 provider, from USD 1.688 at 3:1 (Google Vertex AI); GPT-5 has a batch price at 2 providers, from USD 1.719 at 3:1 (OpenAI).
- For the one-developer coding agent preset, the gap is USD 189.00 a year in GPT-5's favour (Gemini 3.5 Flash USD 1,444 a month, GPT-5 USD 1,429).
Gemini 3.5 Flash and GPT-5 prices side by side
USD per 1M tokens, standard tier. "Cheapest" is the lowest price at 3 input tokens to 1 output token; each line can come from a different provider.
| Price | Gemini 3.5 Flash | GPT-5 |
|---|---|---|
| Model page | Gemini 3.5 Flash Google · 3 providers | GPT-5 (2025-08-07) OpenAI · 3 providers |
| Cheapest standard price, blended 3:1 | USD 3.375 lower USD 1.50 in / USD 9 out at DeepInfra and 2 others DeepInfra page checked 2026-11-14 | USD 3.438 USD 1.25 in / USD 10 out at OpenAI and 2 others OpenAI page checked 2026-11-14 |
| Cheapest input | USD 1.50 DeepInfra source | USD 1.25 lower OpenAI source |
| Cheapest cached input | USD 0.15 GMI Cloud source | USD 0.125 lower OpenAI source |
| Cheapest output | USD 9 lower DeepInfra source | USD 10 OpenAI source |
| Maker's own API | Google publishes no paid standard price on its own API that we found. | USD 1.25 / USD 10 OpenAI source |
| Median standard price | USD 1.50 / USD 9 input / output, 3 prices | USD 1.25 / USD 10 input / output, 3 prices |
| Context window | 1,048,576 tokens, largest stated; from 1,000,000 at some providers | No provider states one on its pricing page. |
| Providers with a standard price | 3 | 3 |
- Lower marks the lower price on a line; tie, equal prices. Other tiers and free rows are on the model pages.
Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).
What do Gemini 3.5 Flash and GPT-5 cost for a real workload?
30 days at each model's cheapest standard price for the workload (presets of the cost calculator; cached input at the cached price where listed).
| Workload | Gemini 3.5 Flash | GPT-5 | Difference |
|---|---|---|---|
| Support chatbot 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 224.10 GMI Cloud | USD 231.75 OpenAI | USD 7.65 Gemini 3.5 Flash lower |
| RAG over documents 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 397.80 GMI Cloud | USD 369.00 OpenAI | USD 28.80 GPT-5 lower |
| Coding agent (one developer) 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 1,444 GMI Cloud | USD 1,429 OpenAI | USD 15.75 GPT-5 lower |
The cheaper model depends on the workload: Gemini 3.5 Flash for Support chatbot, GPT-5 for RAG over documents, GPT-5 for Coding agent (one developer). Cache-heavy work rewards a low cached-input price. The widest gap is on RAG over documents: the dearer model costs 7.8% more than the cheaper one.
Does the cheaper model change with your input:output ratio?
The cheaper model changes with the mix: below 4 input tokens per output token, Gemini 3.5 Flash is cheaper; above 4, GPT-5 is cheaper. At the site's 3:1 blend, Gemini 3.5 Flash is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.
| Input : output tokens | Gemini 3.5 Flash | GPT-5 |
|---|---|---|
| 1 : 3 (long answers) | USD 7.125 lower DeepInfra | USD 7.813 OpenAI |
| 1 : 1 | USD 5.25 lower DeepInfra | USD 5.625 OpenAI |
| 3 : 1 (the site’s blend) | USD 3.375 lower DeepInfra | USD 3.438 OpenAI |
| 10 : 1 (retrieval, long prompts) | USD 2.182 DeepInfra | USD 2.045 lower OpenAI |
| 30 : 1 (agents, big contexts) | USD 1.742 DeepInfra | USD 1.532 lower OpenAI |
USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.
What do Gemini 3.5 Flash and GPT-5 cost per character in other languages?
Not measured: the real cost by language dataset covers only tokenizers we could measure from published files, and Gemini 3.5 Flash is not among them. Count tokens on your own text with the counters below.
Check it on your own traffic
- Gemini 3.5 Flash API pricing: all 3 providers and other tiers.
- GPT-5 (2025-08-07) API pricing: all 3 providers and other tiers.
- Cost calculator with Gemini 3.5 Flash and GPT-5 preloaded
- Token counter
- GPT token counter
- Prompt caching calculator
More comparisons: Gemini 3.6 Flash vs Gemini 3.5 Flash · Gemini 3.5 Flash vs Gemini 2.5 Flash · GPT-5 vs GPT-4.1 · GPT-5.2 vs GPT-5 · GPT-5 Pro vs GPT-5 · GPT-5 Nano vs GPT-5 · every Gemini 3.5 Flash comparison · every GPT-5 comparison · all 662 price comparisons
Questions
Is Gemini 3.5 Flash cheaper than GPT-5?
Yes. On a blend of 3 input tokens to 1 output token, Gemini 3.5 Flash costs USD 3.375 per 1M tokens and GPT-5 USD 3.438, at each model's cheapest standard price. For input alone, GPT-5 is cheaper (USD 1.25 against USD 1.50 per 1M); for output alone, Gemini 3.5 Flash is (USD 9 against USD 10). This compares price only, not quality.
What do Gemini 3.5 Flash and GPT-5 cost per 1M tokens?
Gemini 3.5 Flash: from USD 1.50 input and USD 9 output at DeepInfra and 2 others; median of 3 standard prices USD 1.50 / USD 9. GPT-5: from USD 1.25 input and USD 10 output at OpenAI and 2 others; OpenAI's own API charges USD 1.25 / USD 10; median of 3 standard prices USD 1.25 / USD 10. Each price is read from the provider's own pricing page; the source is linked in the table.
Which providers sell both Gemini 3.5 Flash and GPT-5?
None of the providers we track sells both at a standard price. Gemini 3.5 Flash is cheapest at DeepInfra and 2 others and GPT-5 at OpenAI and 2 others, so running both means two accounts.
Which is cheaper for a coding agent or a chatbot, Gemini 3.5 Flash or GPT-5?
For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 1,444 a month on Gemini 3.5 Flash (GMI Cloud) against USD 1,429 on GPT-5 (OpenAI), a difference of USD 15.75. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 224.10 a month on Gemini 3.5 Flash (GMI Cloud) against USD 231.75 on GPT-5 (OpenAI), a difference of USD 7.65. Each uses the cheapest standard price for that workload, cached input included. Try your own numbers.
At what input:output ratio does the cheaper of Gemini 3.5 Flash and GPT-5 change?
The cheaper model changes with the mix: below 4 input tokens per output token, Gemini 3.5 Flash is cheaper; above 4, GPT-5 is cheaper. At the site's 3:1 blend, Gemini 3.5 Flash is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.
Do Gemini 3.5 Flash and GPT-5 have cached input pricing?
Gemini 3.5 Flash from USD 0.15 per 1M cached input tokens (GMI Cloud; 2 of 3 standard prices list a discount). GPT-5 from USD 0.125 per 1M cached input tokens (OpenAI; 3 of 3 standard prices list a discount). Cached tokens are billed at the input price where no cache price is published.