Gemini 2.5 Flash API pricing and context window
Gemini 2.5 Flash costs $0.30 per 1M input tokens and $2.50 per 1M output tokens on the Gemini API. Cached input reads cost $0.03 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.0055. Prices last updated November 27, 2026.
- Input
- $0.30 per 1M tokens
- Output
- $2.50 per 1M tokens
- Cached input
- $0.03 per 1M tokens
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
Deprecated; shuts down on December 1, 2026. Successor: Gemini 3.5 Flash-Lite.
Pricing options
| Input /1M | Output /1M | vs standard (input / output) | |
|---|---|---|---|
| Batch API | $0.15 | $1.25 | -50% / -50% |
| Flex | $0.15 | $1.25 | -50% / -50% |
| Priority | $0.54 | $4.50 | +80% / +80% |
- The Batch API costs $0.15 input and $1.25 output per 1M: input and output 50% cheaper.
Typical task cost
| Task | Cost |
|---|---|
| Chat request (10K in + 1K out) | $0.0055 |
| Codebase question (100K in + 2K out) | $0.035 |
| Same question with cached context (100K cached + 2K out) | $0.008 |
| Filling the whole context once (1M in) | $0.315 |
| 1M tokens a month (750K in + 250K out) | $0.85 |
Estimate your own workload in the calculator
Gemini 2.5 Flash compared with the previous and next version
| Model | Input /1M | Output /1M | What changes | |
|---|---|---|---|---|
| Newer | Gemini 3 Flash Preview | $0.50 +67% | $3.00 +20% | Gemini 2.5 Flash → Gemini 3 Flash Preview: input: $0.30 → $0.50; output: $2.50 → $3.00; cached input: $0.03 → $0.05; Batch API input: $0.15 → $0.25+6 more differencesBatch API output: $1.25 → $1.50; Flex input: $0.15 → $0.25; Flex output: $1.25 → $1.50; Priority input: $0.54 → $0.90; Priority output: $4.50 → $5.40; shutdown date: December 1, 2026 → none |
Capabilities and details
- Image input: Yes
- Function calling: Yes
- Reasoning: Yes
- Prompt caching: Yes
- PDF input: Yes
- Web search: Yes
- Structured output: Yes
- Audio input: Yes
- Audio output: No
- 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) |
|---|---|---|---|---|---|
| Mistral Large 3 | Mistral | $0.50 | $1.50 | 256K | +67% / -40% |
| Mistral Large 4 | Mistral | $0.70 | $2.10 | 1M | +133% / -16% |
| Gemini 2.5 Pro | $1.25 | $10.00 | 1M | +317% / +300% | |
| Gemini 2.5 Flash-Lite | $0.10 | $0.40 | 1M | -67% / -84% | |
| Gemini 3.1 Pro Preview | $2.00 | $12.00 | 1M | +567% / +380% |
Price history
| Date | Input /1M | Output /1M | Cached input /1M |
|---|---|---|---|
| $0.30 | $2.50 | $0.03 |
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-2-5-flash"><img src="https://vibecodingturkey.com/models/badge/gemini-2-5-flash.svg" alt="Gemini 2.5 Flash API price" height="20"></a>[](https://vibecodingturkey.com/models/gemini-2-5-flash)
Questions
How is Gemini 2.5 Flash different from Gemini 3 Flash Preview?
Gemini 2.5 Flash → Gemini 3 Flash Preview: input: $0.30 → $0.50; output: $2.50 → $3.00; cached input: $0.03 → $0.05; Batch API input: $0.15 → $0.25; Batch API output: $1.25 → $1.50; Flex input: $0.15 → $0.25. +4 more differences in the table above.
When will Gemini 2.5 Flash be shut down?
Gemini 2.5 Flash is deprecated and shuts down on December 1, 2026. The listed successor is Gemini 3.5 Flash-Lite.
Is there a batch discount for Gemini 2.5 Flash?
Yes. Through the Batch API it costs $0.15 per 1M input and $1.25 per 1M output tokens.
Does Gemini 2.5 Flash support prompt caching?
Yes. Cached input reads cost $0.03 per 1M tokens, 90% less than standard input.