47 model prices
  1. Home
  2. Models
  3. Google
  4. Gemini 2.5 Flash

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.

Last updated: Provider pricing pagePricing data: LiteLLM (MIT)

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 /1MOutput /1Mvs 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%

Typical task cost

TaskCost
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

ModelInput /1MOutput /1MWhat changes
NewerGemini 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

Similar models by price

ModelProviderInput /1MOutput /1MContext windowvs this model (input / output)
Mistral Large 3Mistral$0.50$1.50256K+67% / -40%
Mistral Large 4Mistral$0.70$2.101M+133% / -16%
Gemini 2.5 ProGoogle$1.25$10.001M+317% / +300%
Gemini 2.5 Flash-LiteGoogle$0.10$0.401M-67% / -84%
Gemini 3.1 Pro PreviewGoogle$2.00$12.001M+567% / +380%

Price history

DateInput /1MOutput /1MCached 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

Gemini 2.5 Flash API price

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>
[![Gemini 2.5 Flash API price](https://vibecodingturkey.com/models/badge/gemini-2-5-flash.svg)](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.