Google Gemini and Gemma · LLM API pricing

Gemini 2.5 Pro API pricing: cheapest provider

3 providers sell Gemini 2.5 Pro. Google Gemini API is cheapest, and listed prices are close.

  • Cheapest$3.44per 1M · Google Gemini API
  • Input · output$1.25 / $10.00per 1M tokens
  • Price gap1.0×across 3 providers
  • Accuracy85.3%GPQA
  • Context1Mmax tokens
$3.44 Google Gemini APIclose prices$3.44 Oracle Cloud Generative AI
Already paying for Gemini 2.5 Pro? Check if you overpay →

Standard list prices in USD from each provider's pricing page · last price change Sep 28, 2026 · How we collect and rank prices

Ranked for your volume

Gemini 2.5 Pro monthly cost by provider

Change the monthly tokens and the ranking updates instantly, using each provider's standard list price.

More requirements: caching, context, features, provider

Share this page URL to keep your scenario. 3 of 3 providers meet these assumptions.

ProviderEstimated / monthInput / 1MOutput / 1MCached input / 1MContext
1
DeepInfraInference provider - lowest for your volumePricing page
$32.50$1.25$10.00Not listed1,000,000
$32.50$1.25$10.00$0.1251,048,576
$32.50$1.25$10.00Not listed1,048,576

Order depends on listed price for your volume only. No provider pays for its position.

Input volume includes the cached share, not an additional token volume. This is a list-price estimate, not a quote: cache-write charges, cache eligibility/TTL, batch discounts, long-context surcharges, regional pricing and taxes are excluded. Check the provider's terms for your workload before switching.

Accuracy: GPQA Diamond (graduate-level science questions) measured by Epoch AI (CC BY 4.0) on gemini-2.5-pro, run Nov 16, 2025. The model is the same at every provider, though quantized deployments can score lower.

Price history

The cheapest price has not changed since tracking started on Sep 28, 2026: $3.44 per 1M tokens at Google Gemini API. All price changes

Switch to the cheapest provider

Switch to Google Gemini API

Already using the OpenAI SDK? Change the base URL, key and model name:

from openai import OpenAI
import os

client = OpenAI(
    base_url="https://generativelanguage.googleapis.com/v1beta/openai",
    api_key=os.environ["GEMINI_API_KEY"],
)
response = client.chat.completions.create(
    model="gemini-2.5-pro",
    messages=[{"role": "user", "content": "Hello"}],
)
Base URL from Google Gemini API's API docs, model name from the open pricing datasets. Check the model page in Google Gemini API's docs before you switch production traffic.

Compare Gemini 2.5 Pro with another model

Or pick any model

Before you pick a provider

The developer's own API (Google Gemini API) has the lowest listed blended price for Gemini 2.5 Pro.

Context windows differ by provider, from 1M to 1M tokens. A cheaper host may not accept your longest prompts.

1 of 3 providers list a cached-input price. Repeated system prompts or documents can cost much less there than the standard input rate shown above.