Google frontier Flash model with native 1M context, sub-second latency, and multimodal video support
| Scenario | Input Tokens | Output Tokens | Uncached Cost | With Prompt Caching |
|---|---|---|---|---|
| Short Chat Query | 1,000 | 500 | $0.00262 | $0.00195 |
| Document Summarization | 10,000 | 2,000 | $0.0150 | $0.00825 |
| Codebase & Context Analysis | 100,000 | 20,000 | $0.1500 | $0.0825 |
| Batch Corpus Processing | 1,000,000 | 100,000 | $1.125 | $0.4500 |
Ideal for production workloads demanding budget capabilities, deep context depth (1.05M tokens), and reliability from Google. Excellent when predictable tokenomics and prompt caching support are paramount.
If your use-case requires sub-second streaming latency or ultra-high frequency classification at micro-cent pricing, consider lighter budget options such as Gemini Flash-Lite or Claude Haiku. For deep formal logic, consider dedicated reasoning models like o3.
For Gemini 3.8 Flash, 1 million input tokens costs $0.75, while 1 million output tokens costs $3.75. If using prompt caching, repetitive input prefixes are discounted to $0.07 per million.
Gemini 3.8 Flash features a maximum context window of 1,048,576 tokens (~786,432 words), with a maximum output limit of 16,384 tokens per completion.
Gemini 3.8 Flash utilizes the Google Gemini SentencePiece (256k vocabulary). Token counting on TokenMath runs client-side to ensure maximum privacy.
Yes. Gemini 3.8 Flash supports prompt caching with a cached input rate of $0.07/1M (saving up to 90% on repeated input context).