Gemini 3.8 Flash API pricing and context window
Gemini 3.8 Flash costs $0.75 per 1M input tokens and $3.75 per 1M output tokens on the Gemini API. Cached input reads cost $0.075 per 1M. It accepts up to 1,048,576 input tokens and returns up to 65,536 output tokens. A typical chat request (10K input, 1K output) costs about $0.011. Prices last updated November 27, 2026.
- Input
- $0.75 per 1M tokens
- Output
- $3.75 per 1M tokens
- Cached input
- $0.075 per 1M tokens
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
Pricing options
| Input /1M | Output /1M | vs standard (input / output) | |
|---|---|---|---|
| Batch API | $0.375 | $1.875 | -50% / -50% |
| Flex | $0.375 | $1.875 | -50% / -50% |
| Priority | $1.35 | $6.75 | +80% / +80% |
- The Batch API costs $0.375 input and $1.875 output per 1M: input and output 50% cheaper.
- Prompts shorter than 4,096 tokens are not cached.
Typical task cost
| Task | Cost |
|---|---|
| Chat request (10K in + 1K out) | $0.011 |
| Codebase question (100K in + 2K out) | $0.083 |
| Same question with cached context (100K cached + 2K out) | $0.015 |
| Filling the whole context once (1M in) | $0.786 |
| 1M tokens a month (750K in + 250K out) | $1.50 |
Estimate your own workload in the calculator
Gemini 3.8 Flash compared with the previous and next version
| Model | Input /1M | Output /1M | What changes | |
|---|---|---|---|---|
| Older | Gemini 3.5 Flash | $1.50 +100% | $9.00 +140% | Gemini 3.5 Flash → Gemini 3.8 Flash: input: $1.50 → $0.75; output: $9.00 → $3.75; cached input: $0.15 → $0.075; Batch API input: $0.75 → $0.375+5 more differencesBatch API output: $4.50 → $1.875; Flex input: $0.75 → $0.375; Flex output: $4.50 → $1.875; Priority input: $2.70 → $1.35; Priority output: $16.20 → $6.75 |
Capabilities and details
- Image input: Yes
- Function calling: Yes
- Reasoning: Yes
- Prompt caching: Yes
- PDF input: Yes
- Web search: Yes
- Computer use: Yes
- Structured output: Yes
- Audio input: Yes
- Audio output: No
- Minimum cacheable prompt: 4,096 tokens
- Input types: text, image, audio, video
- Output types: text
- Endpoints: /v1/chat/completions, /v1/completions, /v1/batch
Similar models by price
| Model | Provider | Input /1M | Output /1M | Context window | vs this model (input / output) |
|---|---|---|---|---|---|
| Grok 4.20 | xAI | $1.25 | $2.50 | 1M | +67% / -33% |
| Grok 4.3 | xAI | $1.25 | $2.50 | 1M | +67% / -33% |
| Gemini 2.5 Pro | $1.25 | $10.00 | 1M | +67% / +167% | |
| Gemini 3.1 Pro Preview | $2.00 | $12.00 | 1M | +167% / +220% | |
| Gemini 2.5 Flash-Lite | $0.10 | $0.40 | 1M | -87% / -89% |
Compare Gemini 3.8 Flash
- Gemini 3.8 Flash vs Gemini 3.5 Flash
- Claude Sonnet 5.5 vs Gemini 3.8 Flash
- GPT-6.2 Sol vs Gemini 3.8 Flash
- GPT-5.4 vs Gemini 3.8 Flash
- Gemini 3.8 Flash vs Grok 4.3
Price history
| Date | Input /1M | Output /1M | Cached input /1M |
|---|---|---|---|
| $0.75 | $3.75 | $0.075 |
Tracking started on November 21, 2026. A new row appears only when a price changes.
Embed this price badge
The badge shows the current list price and updates daily. Paste the HTML or Markdown into your site or README.
<a href="https://vibecodingturkey.com/models/gemini-3-8-flash"><img src="https://vibecodingturkey.com/models/badge/gemini-3-8-flash.svg" alt="Gemini 3.8 Flash API price" height="20"></a>[](https://vibecodingturkey.com/models/gemini-3-8-flash)
Questions
How is Gemini 3.8 Flash different from Gemini 3.5 Flash?
Gemini 3.5 Flash → Gemini 3.8 Flash: input: $1.50 → $0.75; output: $9.00 → $3.75; cached input: $0.15 → $0.075; Batch API input: $0.75 → $0.375; Batch API output: $4.50 → $1.875; Flex input: $0.75 → $0.375; Flex output: $4.50 → $1.875. +2 more differences in the table above.
Is there a batch discount for Gemini 3.8 Flash?
Yes. Through the Batch API it costs $0.375 per 1M input and $1.875 per 1M output tokens.
Does Gemini 3.8 Flash support prompt caching?
Yes. Cached input reads cost $0.075 per 1M tokens, 90% less than standard input.
How much does Gemini 3.8 Flash cost per 1M tokens?
$0.75 per 1M input tokens and $3.75 per 1M output tokens on the Gemini API, as of November 27, 2026.