Gemini 2.5 Pro API pricing and context window
Gemini 2.5 Pro costs $1.25 per 1M input tokens and $10.00 per 1M output tokens on the Gemini API. Cached input reads cost $0.125 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.023. Prices last updated November 27, 2026.
- Input
- $1.25 per 1M tokens
- Output
- $10.00 per 1M tokens
- Cached input
- $0.125 per 1M tokens
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
Deprecated; shuts down on December 1, 2026. Successor: Gemini 3.8 Flash.
Pricing options
| Input /1M | Output /1M | vs standard (input / output) | |
|---|---|---|---|
| Prompt over 200K tokens | $2.50 | $15.00 | +100% / +50% |
| Batch API | $0.625 | $5.00 | -50% / -50% |
| Flex | $0.625 | $5.00 | -50% / -50% |
| Priority | $2.25 | $18.00 | +80% / +80% |
- Prompts over 200,000 tokens are billed at $2.50 input and $15.00 output per 1M for the whole request.
- The Batch API costs $0.625 input and $5.00 output per 1M: input and output 50% cheaper.
- Prompts shorter than 2,048 tokens are not cached.
Typical task cost
| Task | Cost |
|---|---|
| Chat request (10K in + 1K out) | $0.023 |
| Codebase question (100K in + 2K out) | $0.145 |
| Same question with cached context (100K cached + 2K out) | $0.033 |
| Long prompt (220K in + 2K out) | $0.58 |
| Filling the whole context once (1M in) | $2.62 |
| 1M tokens a month (750K in + 250K out) | $3.44 |
Estimate your own workload in the calculator
Gemini 2.5 Pro compared with the previous and next version
| Model | Input /1M | Output /1M | What changes | |
|---|---|---|---|---|
| Newer | Gemini 3.1 Pro Preview | $2.00 +60% | $12.00 +20% | Gemini 2.5 Pro → Gemini 3.1 Pro Preview: input: $1.25 → $2.00; output: $10.00 → $12.00; cached input: $0.125 → $0.20; long-context input: $2.50 → $4.00+10 more differenceslong-context output: $15.00 → $18.00; long-context cached input: $0.25 → $0.40; Batch API input: $0.625 → $1.00; Batch API output: $5.00 → $6.00; Flex input: $0.625 → $1.00; Flex output: $5.00 → $6.00; Priority input: $2.25 → $3.60; Priority output: $18.00 → $21.60; minimum cacheable prompt: 2,048 → 4,096; 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
- Minimum cacheable prompt: 2,048 tokens
- Input types: text, image, audio, video
- Output types: text
- Endpoints: /v1/chat/completions, /v1/completions
Similar models by price
| Model | Provider | Input /1M | Output /1M | Context window | vs this model (input / output) |
|---|---|---|---|---|---|
| GPT-5 | OpenAI | $1.25 | $10.00 | 272K | 0% / 0% |
| GPT-5.1 | OpenAI | $1.25 | $10.00 | 272K | 0% / 0% |
| Gemini 3.5 Flash | $1.50 | $9.00 | 1M | +20% / -10% | |
| Gemini 3.8 Flash | $0.75 | $3.75 | 1M | -40% / -63% | |
| Gemini 3 Flash Preview | $0.50 | $3.00 | 1M | -60% / -70% |
Price history
| Date | Input /1M | Output /1M | Cached input /1M |
|---|---|---|---|
| $1.25 | $10.00 | $0.125 |
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-pro"><img src="https://vibecodingturkey.com/models/badge/gemini-2-5-pro.svg" alt="Gemini 2.5 Pro API price" height="20"></a>[](https://vibecodingturkey.com/models/gemini-2-5-pro)
Questions
How is Gemini 2.5 Pro different from Gemini 3.1 Pro Preview?
Gemini 2.5 Pro → Gemini 3.1 Pro Preview: input: $1.25 → $2.00; output: $10.00 → $12.00; cached input: $0.125 → $0.20; long-context input: $2.50 → $4.00; long-context output: $15.00 → $18.00; long-context cached input: $0.25 → $0.40. +8 more differences in the table above.
Does Gemini 2.5 Pro cost more for long prompts?
Yes. Once a prompt passes 200,000 tokens, the whole request is billed at $2.50 input and $15.00 output per 1M. A 220K-token prompt with a 2K answer costs about $0.58.
When will Gemini 2.5 Pro be shut down?
Gemini 2.5 Pro is deprecated and shuts down on December 1, 2026. The listed successor is Gemini 3.8 Flash.
Is there a batch discount for Gemini 2.5 Pro?
Yes. Through the Batch API it costs $0.625 per 1M input and $5.00 per 1M output tokens.