Gemini 2.5 Pro
Google's advanced thinking model for complex reasoning, coding, and long context.
Google DeepMind has replaced this model with Gemini 4 Hydrogen.
Context window
1,048,576 tokens (1M) input; up to 65K output
Input / 1M tokens
$1.25
Output / 1M tokens
$10.00
Provider
Google DeepMind
Tiered by prompt size: input $1.25/1M and output $10.00/1M for prompts up to 200K tokens; input $2.50/1M and output $15.00/1M for prompts over 200K tokens (paid tier). Google deprecated gemini-2.5-pro on November 2, 2026: it is no longer selectable in Google AI Studio, and from December 1, 2026 API requests to it route to gemini-3.8-flash and are billed at Gemini 3.8 Flash rates (Gemini API changelog). · Data verified 2026-11-08
Gemini 2.5 Pro is Google's flagship reasoning model from the 2.5 generation, featuring built-in 'thinking' for stronger accuracy on complex tasks. It handles advanced reasoning, coding, mathematics, and scientific problems, and supports a 1M-token context window with multimodal input (text, image, audio, video). It reached general availability in mid-2025 and was later overtaken by the Gemini 3.x and Gemini 4 models. Google deprecated it on November 2, 2026 and names Gemini 3.8 Flash as its replacement: from December 1, 2026 its API requests are routed to Gemini 3.8 Flash.
Capability index
Relative estimates (0-100) to place this model against its peers, grounded in published benchmarks.
How to access it
Callable as 'gemini-2.5-pro' through the Gemini API until December 1, 2026, when Google starts routing those requests to gemini-3.8-flash. No longer selectable in Google AI Studio since November 2, 2026; Google advises switching the model string to gemini-3.8-flash before the cutover. Since September 18, 2026, Gemini 2.5 API access has been limited to projects that used the models recently.
Strengths
- ✓Strong multi-step reasoning with built-in thinking
- ✓1M-token context window for large documents and codebases
- ✓Multimodal input across text, image, audio, and video
- ✓Solid coding and STEM performance
Best for developers who...
When to choose it (and when not to)
Reach for Gemini 2.5 Pro when...
- →Complex reasoning, analysis, or STEM tasks that benefit from a thinking model
- →Processing very long inputs (long documents, large repos)
- →Multimodal tasks needing high quality
Look elsewhere if...
- ✕New projects: Google deprecated it on November 2, 2026 and reroutes its API traffic to Gemini 3.8 Flash from December 1, 2026
- ✕Latency- or cost-sensitive high-volume workloads (use Gemini 3.8 Flash)
- ✕You want Google's newest frontier performance (consider Gemini 4 Argon)
- ✕You need an open-weight or self-hosted model
How to use it
- ›Let the model think for hard problems; you can steer reasoning depth
- ›Keep prompts under 200K tokens where possible to stay in the cheaper pricing tier
- ›Provide structured instructions and examples for coding and formatting tasks
- ›Use system instructions to fix persona and output format
Quickstart
Pythonfrom google import genai
client = genai.Client(api_key="YOUR_API_KEY")
response = client.models.generate_content(
model="gemini-2.5-pro",
contents="Explain the tradeoffs between quicksort and mergesort.",
)
print(response.text)Install with `pip install google-genai`. Get an API key at aistudio.google.com.
API model id: gemini-2.5-pro
Benchmarks
| Benchmark | Score | Notes |
|---|---|---|
| Context window | 1M tokens | Supports up to ~1,048,576 input tokens |
| Pricing tier break | 200K tokens | Price increases for prompts above 200K tokens |
Tools powered by Gemini 2.5 Pro
Compare Gemini 2.5 Pro
Compare Gemini 2.5 Pro with any other model
Build a comparison →All model comparisons →