gemini-3.8-flash
gemini-3.8-flash is Google's model at $0.75 input and $3.75 output per million tokens, with a 1049K context window. On a typical 3:1 input-to-output mix that blends to roughly $1.50 per million tokens, placing it in the mid-range band of the 76 models tracked here — cheaper than 45% of them.
By price, gemini-3.8-flash ranks 38th cheapest of 76 on input and 42nd on output.. Its blended rate sits 50% below the catalog average.
In real billing terms: a support chatbot handling 50,000 turns a month (2,000 input / 500 output tokens each) costs about $169 per month on gemini-3.8-flash, while a RAG workload of 20,000 queries (8,000 input / 800 output tokens each) runs about $180. Because output is priced 5.0× input here, long-generation tasks scale cost fastest — cap output length before you optimise anything else.
A 1049K context window holds roughly 1,399 pages of A4 text (at ~750 tokens per page), ranking 3rd of 76 here. That is enough to drop in an entire technical manual or several source files at once, which suits long-document summarization and codebase-wide analysis.
We track 8 Google models, and gemini-3.8-flash's blended rate sits 30% below that provider's average. If your task tolerates a little less headroom, Phi-4-mini (Microsoft) blends about 98% cheaper at a quality score of 68, and is worth benchmarking first. Going the other way, Phi-4 scores 76 on quality for about 94% less.
The closest model in Google's line-up is gemini-3.7-flash ($0.75 input / $3.75 output). The two are near-identical on price, context and quality score, so let measured performance on your own task decide.
Estimated monthly cost
Monthly API spend across four common workloads, next to the cheapest model we track.
| Workload | Usage assumption | This model | Cheapest model |
|---|---|---|---|
| Support chatbot | 2,000 input / 500 output tokens per turn, 50,000 turns per month | $169 | $3.00 |
| RAG document Q&A | 8,000 input / 800 output tokens per query, 20,000 queries per month | $180 | $3.84 |
| Coding assistant | 12,000 input / 2,000 output tokens per request, 10,000 requests per month | $165 | $3.20 |
| Batch summarization | 4,000 input / 400 output tokens per item, 200,000 items per month | $900 | $19 |
Derived directly from the rates on this page. Excludes prompt caching, batch discounts and free tiers.
How it compares
The alternatives worth benchmarking alongside it, from the same dataset.
| Model | Provider | Blended /1M | Quality | Price delta |
|---|---|---|---|---|
| gemini-3.8-flash | $1.50 | — | — | |
| Phi-4-miniCheaper option | Microsoft | $0.025 | 68 | -98% |
| Phi-4Higher quality | Microsoft | $0.088 | 76 | -94% |
| gemini-3.7-flashSame provider | $1.50 | — | +0% |
Best for
Modalities
Where it fits — and where it doesn't
Good fit
- Long documents: a 1049K window ingests a full contract, paper or large codebase in one pass.
- Multimodal input: handles images, screenshots and scanned documents directly.
Poor fit
- No obvious disqualifiers — still benchmark on your own data before committing.
Frequently asked questions
How much does the gemini-3.8-flash API cost?
gemini-3.8-flash costs $0.75 per million input tokens and $3.75 per million output tokens. On a 3:1 input-to-output mix that blends to about $1.50 per million tokens.
What does gemini-3.8-flash cost per month?
It depends on volume. Using the four worked scenarios on this page: a support chatbot runs about $169/month, RAG document Q&A about $180/month, a coding assistant about $165/month, and batch summarization about $900/month. Plug your own token counts into the cost calculator for a tailored figure.
How large is the gemini-3.8-flash context window?
1049K tokens — roughly 1,399 pages of A4 text at ~750 tokens per page, ranking 3rd of the 76 models tracked here.
gemini-3.8-flash or Phi-4-mini — which is better value?
Phi-4-mini blends to about $0.025 per million tokens versus $1.50 for gemini-3.8-flash — roughly 98% cheaper — at a quality score of 68 against —. If that quality gap does not show up on your task, take the cheaper one; if it does, stay with gemini-3.8-flash. Benchmark both on your own data before deciding.
What is gemini-3.8-flash best suited for?
Long documents: a 1049K window ingests a full contract, paper or large codebase in one pass. Less suitable: No obvious disqualifiers — still benchmark on your own data before committing.
How current is this gemini-3.8-flash pricing?
Pricing here was last verified on 2026-09-03 against OpenRouter. llmprice.app runs a daily collection job, but providers can change rates between runs — confirm against Google's official pricing page before you commit.
Estimate the real cost of this model
Bring tokens per request and monthly volume into the calculator to compare total model costs.
Related models
Continue by provider and use case.
gemini-3.6-flash
gemini-3.1-flash-lite
Pricing, speed and quality scores change over time. Confirm official documentation before production use.