Skip to main content
RapidDev - Software Development Agency
AI API Limits & Performance Matrix10 min readVerified July 10, 2026 — superseded model; data below describes successor Gemini 2.5 Pro

Gemini 1.5 Pro API Rate Limits, Pricing & Performance (July 2026)

Gemini 1.5 Pro has been shut down and is no longer available via API. API calls using 'gemini-1.5-pro' will fail. Migrate to Gemini 2.5 Pro (gemini-2.5-pro): same 1M+ context window, improved reasoning, $1.25/$10.00 per MTok (≤200K tokens) — paid-only since April 1, 2026. Below are the current rate limits and pricing for Gemini 2.5 Pro, the direct successor.

4.9Clutch rating
600+Happy partners
17+Countries served
190+Team members

Deprecated model

Sunsets not published (already retired as of July 2026)

Gemini 1.5 Pro has been shut down and is no longer on Google's current pricing page. It is not available for new API calls. Any code using 'gemini-1.5-pro' as the model string will receive a model-not-found error. Migrate to Gemini 2.5 Pro.

Migrate to:Gemini 2.5 ProDirect successor with the same 1M+ context window, improved reasoning, and current Google support and pricing.
GoogleDeprecated

API model string

gemini-1.5-pro (retired; use gemini-2.5-pro)

Context window

1M+ tokens (was the headline feature at launch)

Max output not published (retired)

Knowledge cutoff
not published
Released
2024 (GA)
Modalities
text/image/audio/video in, text out

Last verified July 10, 2026 — superseded model; data below describes successor Gemini 2.5 Pro

Rate limits by tier

Gemini 1.5 Pro is shut down. The limits below describe its current successor, Gemini 2.5 Pro (api_name: gemini-2.5-pro). Google does not publish stable RPM/TPM numbers — active quotas are project-specific and shown in AI Studio console.

TierRequirementsRPMTPMRPDConcurrentNotes
Free (AI Studio) — Gemini 2.5 ProNo billing account0 (excluded from free tier since April 1, 2026)000Gemini 2.5 Pro is PAID-ONLY as of April 1, 2026. No free quota exists. If you need a free tier, use Gemini 2.5 Flash instead.
PAYG ≤200K tokens — Gemini 2.5 ProGoogle Cloud billing accountnot published (project-specific; shown in AI Studio console)not publishednot publishednot published$1.25 in / $10.00 out per MTok. Prices were raised on July 2, 2026. Long-context surcharge does NOT apply when all requests stay under 200K tokens.
PAYG >200K tokens — Gemini 2.5 ProGoogle Cloud billing accountnot publishednot publishednot publishednot published$2.50 in / $15.00 out per MTok. CRITICAL: surcharge applies to the ENTIRE prompt once any single token crosses the 200K threshold — not just the tokens above 200K.
Batch API — Gemini 2.5 ProBilling accountasync (results within 24h)not publishednot publishednot published50% off: $0.625/$5.00 per MTok (≤200K). Use for non-latency-sensitive workloads.
Enterprise / Vertex AI — Gemini 2.5 ProGCP project + Vertex AI enabled; enterprise agreementnot publishednot publishednot publishednot publishedSeparate Vertex pricing with 10% non-global endpoint premium (effective July 1, 2026). Contact Google Cloud Sales.

Swipe the table sideways to see every limit column.

  • 1.Google no longer publishes stable RPM/TPM numbers for Gemini models. Active limits are project-specific and visible in AI Studio dashboard.
  • 2.The 200K long-context surcharge applies to the WHOLE prompt — crossing the threshold by even one token roughly doubles input cost and increases output cost by 50%.
  • 3.Thinking tokens (Gemini 2.5+) are billed at the output rate. Disable thinking for tasks that do not require step-by-step reasoning.
  • 4.Original Gemini 1.5 Pro pricing is not published (model is retired). Prices above are for successor Gemini 2.5 Pro.

Limits verified against the Google docs, July 10, 2026 — superseded model; data below describes successor Gemini 2.5 Pro.

Token pricing

What you pay per million tokens (USD). Input and output are billed separately.

Input

$1.25

per 1M tokens

Output

$10.00

per 1M tokens

Cached input

$0.13

per 1M cached

Batch discount

50%

on batch jobs

  • Pricing is for successor Gemini 2.5 Pro (≤200K token requests). Gemini 1.5 Pro pricing is not published (retired).
  • Long-context surcharge: input rises to $2.50/MTok and output to $15.00/MTok for prompts exceeding 200K tokens. Surcharge applies to the ENTIRE prompt.
  • Context cache reads: ~$0.125/MTok (~10% of standard input price). Cache storage billed separately.
  • Prices raised July 2, 2026. Verify current rates at ai.google.dev/pricing.
  • Thinking tokens billed at output rate ($10.00/MTok for ≤200K). Set thinking budgets to control output-token volume.

Side-project chatbot (successor Gemini 2.5 Pro)

$16.25

per month

Assumptions

5M in / 1M out/month, all ≤200K token requests

5M × $1.25/1M + 1M × $10/1M = $6.25 + $10.00

Document processing with 70% cache hits

$147.75

per month

Assumptions

60M in / 12M out/month; 42M tokens served from cache

(18M × $1.25 + 42M × $0.125)/1M + 12M × $10/1M = $22.50 + $5.25 + $120.00

Enterprise scale

$1,300

per month

Assumptions

400M in / 80M out/month, average request ≤200K tokens

400M × $1.25/1M + 80M × $10/1M = $500 + $800

Run your own numbers

Drag your real monthly token volumes and watch the bill update live — priced against rival models at the same usage.

30M
1M500M
5M
0.1M100M

Estimated gemini-1.5-pro (retired; use gemini-2.5-pro) spend

$88/mo

Input: $38

Output: $50

30M in × $1.25 + 5M out × $10.00 = $88

Same volume, priced across models

  • Gemini 2.5 FlashCheapest$22
  • gemini-1.5-pro (retired; use gemini-2.5-pro)This model$88
  • Claude 4 Sonnet$110
  • GPT-5.5$300

Rivals priced at their published input/output rates for the same monthly volumes. Prompt caching is model-specific, so it is applied to gemini-1.5-pro (retired; use gemini-2.5-pro) only. Estimates for comparison; real bills vary with request shape and long-context surcharges.

gemini-1.5-pro (retired; use gemini-2.5-pro) vs the alternatives

Gemini 2.5 Pro (successor) vs leading multimodal APIs on context, price, and capabilities.

Aspectgemini-1.5-pro (retired; use gemini-2.5-pro)Gemini 2.5 FlashClaude 4 SonnetGPT-5.5
Context window1M+1M (Gemini 2.5 Flash)1M (Claude 4 Sonnet)1M (GPT-5.5)
Input $/MTok (≤200K)$1.25$0.30 (Flash)$2.00 (Sonnet intro)$5.00 (GPT-5.5)
Output $/MTok$10.00$2.50 (Flash)$10.00 (Sonnet intro)$30.00 (GPT-5.5)
Long-context surcharge >200Kyes (2× input, 1.5× output, whole prompt)no surcharge (Flash flat)no surcharge (Anthropic 1M)yes >272K (GPT-5.5)
Free tiernone (paid-only since Apr 1, 2026)yes (~1,500 RPD)nonenone
Batch discount50%50%50%50%
Thinking / reasoningyes (billed as output)yes (billed as output)yes (extended thinking)yes (o-series)

Swipe the table sideways to see every model.

Hitting a 429? The playbook

The exact errors you'll see

429 Too Many RequestsRESOURCE_EXHAUSTEDQuota exceeded for quota metric 'generate_requests_per_minute'You have exceeded your current quota, please check your plan and billing details

Why it happens & how to fix it

Using retired gemini-1.5-pro API string

Update your model string to 'gemini-2.5-pro' immediately. The old model is shut down — any call to gemini-1.5-pro will return a model-not-found or 404 error, not a 429.

No billing account (Gemini 2.5 Pro is paid-only)

Add a Google Cloud billing account to your project. Gemini 2.5 Pro has been paid-only since April 1, 2026. If you need a free tier, use Gemini 2.5 Flash instead.

Project RPM quota exceeded

Implement a request queue with token-bucket throttling. Request a quota increase in Google Cloud Console → IAM & Admin → Quotas → Generative Language API.

Long-context requests consuming more quota units

Requests with prompts over 200K tokens are weighted more heavily against project quota. Keep prompts under 200K where possible — this also avoids the 2× input cost surcharge.

Retry strategy

Google AI documentation recommends exponential backoff before hitting limits. Pattern: start at 1 second, double each retry, cap at 64 seconds, add ±20% jitter to avoid thundering-herd. Honor the Retry-After header when present. Use Google's official client libraries (Node: @google/generative-ai; Python: google-generativeai) which handle retries automatically.

retry.ts
1// retry.ts — Gemini 2.5 Pro (successor to 1.5 Pro) with exponential backoff
2// IMPORTANT: use 'gemini-2.5-pro' — 'gemini-1.5-pro' is retired and will return errors
3
4const API_KEY = process.env.GOOGLE_API_KEY!;
5const MODEL = 'gemini-2.5-pro'; // NOT gemini-1.5-pro (retired)
6const BASE_URL = `https://generativelanguage.googleapis.com/v1beta/models/${MODEL}:generateContent`;
7
8async function generateContent(prompt: string, maxRetries = 5): Promise<unknown> {
9 let delay = 1000;
10 for (let attempt = 0; attempt <= maxRetries; attempt++) {
11 const response = await fetch(`${BASE_URL}?key=${API_KEY}`, {
12 method: 'POST',
13 headers: { 'Content-Type': 'application/json' },
14 body: JSON.stringify({
15 contents: [{ role: 'user', parts: [{ text: prompt }] }],
16 }),
17 });
18 if (response.ok) return response.json();
19 if (response.status === 404) {
20 throw new Error('Model not found — ensure you are using gemini-2.5-pro, not gemini-1.5-pro (retired)');
21 }
22 if (response.status !== 429 || attempt === maxRetries) {
23 throw new Error(`Gemini 2.5 Pro error ${response.status}: ${await response.text()}`);
24 }
25 const retryAfter = response.headers.get('Retry-After');
26 const jitter = 0.8 + Math.random() * 0.4;
27 const waitMs = retryAfter ? parseInt(retryAfter) * 1000 : delay * jitter;
28 console.warn(`Rate limited. Retrying in ${Math.round(waitMs)}ms (attempt ${attempt + 1})`);
29 await new Promise((r) => setTimeout(r, waitMs));
30 delay = Math.min(delay * 2, 64_000);
31 }
32 throw new Error('Max retries exceeded');
33}

How to raise your limits

The ladder from the starter tier to enterprise — what each rung takes, and what it unlocks.

1

Free (not available for 2.5 Pro)

n/a

Free tier was removed for Gemini 2.5 Pro on April 1, 2026. Use Gemini 2.5 Flash for a free tier.

Unlocks: n/a — must add billing for 2.5 Pro

2

PAYG

Minutes after billing is enabled

Google Cloud Console → create or link a billing account → AI Studio project → quota

Unlocks: Pay-per-token at $1.25/$10/MTok (≤200K)

3

Higher quotas

1–5 business days

Google Cloud Console → IAM & Admin → Quotas → Generative Language API → Request increase

Unlocks: Custom per-project RPM/TPM

4

Vertex AI

Same day

Enable Vertex AI API on GCP project; use vertexai Python or Node SDK. Pricing: cloud.google.com/vertex-ai/pricing

Unlocks: VPC Service Controls, data residency, enterprise SLA; note 10% non-global endpoint premium

5

Enterprise

Negotiated

Contact Google Cloud Sales at cloud.google.com/contact

Unlocks: Dedicated capacity, custom SLAs, committed use discounts, higher quotas

Cut your token spend

Migrate immediately from gemini-1.5-pro

Eliminate all model-not-found errors — 100% of 1.5 Pro calls currently fail

Change the model string in your API calls from 'gemini-1.5-pro' to 'gemini-2.5-pro'. This is the minimum change needed; test for behavioral differences in your specific use case.

Context caching for repeated prefixes

90% savings on the cached portion at ~$0.125/MTok (vs $1.25 standard)

Cache system prompts or document prefixes that appear in many requests. Cache reads cost ~10% of the standard input price. Critical for document Q&A and RAG pipelines.

Hard-limit prompt length below 200K tokens

Prevents 2× input cost + 1.5× output surcharge for the ENTIRE prompt

Add a token count check before each API call. Crossing 200K by even one token doubles your input cost for that entire request. Monitor with AI Studio logs.

Use Gemini 2.5 Flash for high-volume tasks

75%+ cheaper ($0.30 vs $1.25 input, $2.50 vs $10.00 output)

Flash has the same 1M context window, no long-context surcharge, and a free tier. Route only tasks that genuinely require Pro reasoning to 2.5 Pro.

Batch API for non-realtime workloads

50% cost reduction

Use the async Batch API for document processing, bulk classification, or overnight jobs. Results returned within 24h at $0.625/$5.00 per MTok (≤200K).

Control thinking tokens

Thinking can multiply output tokens 3–10×, multiplying costs

Disable thinking mode for tasks that do not require step-by-step reasoning. Thinking tokens are billed at the full output rate ($10/MTok for ≤200K).

Monitor grounding usage

Google Search grounding costs $14/1K queries above 5K/month free

Set usage alerts in Google Cloud Console if you are using grounded generation. The first 5,000 prompts/month are free; costs scale quickly at high volume.

Frequently asked questions

Is Gemini 1.5 Pro still available?

No. Gemini 1.5 Pro has been shut down and is no longer available via the Google AI API. API calls using the 'gemini-1.5-pro' model string will fail with a model-not-found error. Migrate to 'gemini-2.5-pro' immediately.

How do I migrate from Gemini 1.5 Pro to 2.5 Pro?

The minimum change is updating the model string in your API calls from 'gemini-1.5-pro' to 'gemini-2.5-pro'. Then: (1) add a Google Cloud billing account if you haven't (2.5 Pro is paid-only since April 1, 2026), (2) review your prompt lengths against the 200K long-context surcharge threshold, and (3) test for any behavioral differences. Most migrations are straightforward model-string replacements.

What are the rate limits for Gemini 2.5 Pro?

Google does not publish stable RPM or TPM numbers for Gemini 2.5 Pro. Your active quota is project-specific and shown in AI Studio dashboard. To increase limits, go to Google Cloud Console → IAM & Admin → Quotas → Generative Language API and request an increase (typically 1–5 business days).

How much does Gemini 2.5 Pro cost?

As of July 2, 2026 (when prices were raised): $1.25 per million input tokens and $10.00 per million output tokens for requests under 200K tokens. Requests over 200K tokens cost $2.50/$15.00 per MTok — and this surcharge applies to the ENTIRE prompt, not just the tokens above the threshold. Context cache reads cost ~$0.125/MTok. A 50% batch discount is available.

Is Gemini 2.5 Pro free?

No. Gemini 2.5 Pro has been paid-only since April 1, 2026. There is no free tier. If you need a free tier for prototyping, use Gemini 2.5 Flash instead (approximately 1,500 requests/day free, though exact limits are not published by Google).

What is the 200K token surcharge for Gemini 2.5 Pro?

When any single request has more than 200K tokens, the input price doubles from $1.25 to $2.50/MTok and the output price rises from $10.00 to $15.00/MTok — and this applies to the WHOLE prompt, not just the tokens above 200K. Crossing the threshold by a single token nearly doubles the cost of that request. Hard-limit prompt length below 200K where possible.

How can RapidDev help with Gemini API migration?

RapidDev specializes in API quota engineering and model migrations. If you're moving a production system from Gemini 1.5 Pro to 2.5 Pro and need help with cost modeling, prompt optimization, or context caching architecture, reach out at rapidevelopers.com/contact for a free scoping call.

RapidDev

We build AI apps that don't hit rate limits

  • Retry, backoff & caching built in
  • Multi-provider fallback routing
  • Fixed price, you own the code
Get a free estimate

30-min call. No commitment.

Still weighing your options?

Talk to a team that ships on all of these platforms. A free consultation gets you an honest recommendation for your specific project — even if the answer is a tool, not us.

Book a free consultation

We put the rapid in RapidDev

Need a dedicated strategic tech and growth partner? Discover what RapidDev can do for your business! Book a call with our team to schedule a free, no-obligation consultation. We'll discuss your project and provide a custom quote at no cost.