Gemini 2.5 Pro API Pricing
As of October 10, 2026, Gemini 2.5 Pro costs $1.25 per 1M input tokens and $10.00 per 1M output tokens on Google AI Studio, with cache reads at $0.125 per 1M tokens. It has a 1,048,576-token context window and returns up to 65,536 tokens per response.
- Input
- $1.25 / 1M tokens
- Output
- $10.00 / 1M tokens
- Cache read
- $0.125 / 1M tokens
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
- Providers
- 7
- Added to LiteLLM
- June 2025
Gemini 2.5 Pro pricing by provider
7 listings across 7 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Cache write | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|---|---|
| Google AI Studio | gemini/gemini-2.5-pro | $1.25 | $10.00 | $0.125 | – | $0.625 | $5.00 | 1M |
| Google Vertex AI | vertex_ai/gemini-2.5-pro | $1.25 | $10.00 | $0.125 | – | $0.625 | $5.00 | 1M |
| Databricks | databricks/databricks-gemini-2-5-pro | $1.25 | $10.00 | $0.125 | $1.25 | – | – | 1M |
| DeepInfra | deepinfra/google/gemini-2.5-pro | $1.25 | $10.00 | – | – | – | – | 1M |
| Oracle Cloud (OCI) | oci/google.gemini-2.5-pro | $1.25 | $10.00 | – | – | – | – | 1M |
| Perplexity | perplexity/google/gemini-2.5-pro | – | – | – | – | – | – | – |
| Vercel AI Gateway | vercel_ai_gateway/google/gemini-2.5-pro | $1.25 | $10.00 | $0.125 | – | – | – | 1M |
Other Gemini 2.5 Pro prices on Google AI Studio
| Priority input | $2.25 per 1M tokens |
| Priority output | $18.00 per 1M tokens |
| Flex input | $0.625 per 1M tokens |
| Flex output | $5.00 per 1M tokens |
| Input above 200K tokens | $2.50 per 1M tokens |
| Output above 200K tokens | $15.00 per 1M tokens |
| Cache read above 200K tokens | $0.25 per 1M tokens |
| Web search | $35.00 per 1K searches |
What Gemini 2.5 Pro costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Google AI Studio | $7.50 |
| Databricks | $7.50 |
| Google Vertex AI | $7.50 |
| DeepInfra | $7.50 |
| Google AI Studio batch | $3.75 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Google AI Studio | $14.50 |
| Databricks | $14.50 |
| Google Vertex AI | $14.50 |
| DeepInfra | $14.50 |
Gemini 2.5 Pro features
Input: text, image, audio, video. Output: text.
- Function calling
- Structured output
- Image input
- PDF input
- Audio input
- Video input
- Reasoning
- Prompt caching
- Web search
Use Gemini 2.5 Pro with LiteLLM
Call Gemini 2.5 Pro through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="gemini/gemini-2.5-pro",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: gemini-2.5-pro
litellm_params:
model: gemini/gemini-2.5-pro
api_key: os.environ/GEMINI_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "gemini-2.5-pro",
"messages": [{"role": "user", "content": "Hello!"}]
}'Gemini 2.5 Pro FAQ
How much does Gemini 2.5 Pro cost?
Gemini 2.5 Pro costs $1.25 per 1M input tokens and $10.00 per 1M output tokens on Google AI Studio, with cache reads at $0.125 per 1M tokens. Batch requests cost $0.625 per 1M input tokens and $5.00 per 1M output tokens. Above 200K input tokens, input costs $2.50 and output costs $15.00 per 1M tokens.
What is the context window of Gemini 2.5 Pro?
Gemini 2.5 Pro has a 1,048,576-token context window and returns up to 65,536 tokens per response.
Which providers offer Gemini 2.5 Pro?
Gemini 2.5 Pro is available from 7 providers through LiteLLM: Google AI Studio, Google Vertex AI, Databricks, DeepInfra, Oracle Cloud (OCI), Perplexity and Vercel AI Gateway. The lowest price is on Databricks.
How do I call Gemini 2.5 Pro with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="gemini/gemini-2.5-pro", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Gemini 2.5 Pro support?
Gemini 2.5 Pro supports function calling, structured output, image input, PDF input, audio input, video input, reasoning, prompt caching and web search.
When did LiteLLM add Gemini 2.5 Pro?
Gemini 2.5 Pro was added to LiteLLM's model price file in June 2025.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
- ai.google.dev/gemini-api/docs/pricing
- cloud.google.com/gemini-enterprise-agent-platform/generative-ai/pricing
- www.databricks.com/product/pricing/proprietary-foundation-model-serving
- www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing
LiteLLM docs: Google AI Studio, Google Vertex AI, Databricks, DeepInfra, Oracle Cloud (OCI), Perplexity.
Provider pages: Google AI Studio, Google Vertex AI, Databricks, DeepInfra, Oracle Cloud (OCI), Perplexity, Vercel AI Gateway.
