TryLLMCost
All 20 Calculators/Provider Calculators
Google Gemini API Pricing

Google Gemini API Cost Calculator (2.5 Pro, 2.5 Flash & Flash-Lite)

Compare Google Gemini 2.5 Pro, 2.5 Flash, and 2.0 Flash-Lite token costs across 1M-context workloads, context caching, and high-margin SaaS deployments.

Reference public API rates (2025–2026) — editable inline
23 tok
39 tok
~513 tok
60%
0–90%
Async Batch API (24h SLA)
Live Token EstimatorEnglish Prose
OpenAI (o200k)
63
Claude (~1.08x)
68
Gemini (~1.03x)
65
Input Words
35
Characters
280
Out Tokens
513
Cheapest Match (1k calls):Gemini 2.0 Flash-Lite · $0.16
#Model & ProviderContext / SpeedInput $/1M (edit)Output $/1M (edit)Cached $/1M1 Call1,000 Calls100,000 Callsvs GPT-4o
1
Gemini 2.0 Flash-LiteFocus
Google·Fast / Budget
1.0M ctx
210 tok/s
$0.019$0.0002$0.16$16.11-97%
2
Gemini 2.5 FlashFocus
Google·Balanced
1.0M ctx
165 tok/s
$0.037$0.0003$0.32$32.22-94%
3
Gemini 2.5 ProFocus
Google·Reasoning
1.0M ctx
88 tok/s
$0.31$0.0053$5.32$532.47+2%

Tip: Click any Input or Output $/1M cell to test custom enterprise discounts, Bedrock/Vertex tiers, or Gemini 2.5 Pro >200k long-context rates inline.

Key Cost Benchmarks & Pricing Dynamics

1M Context Window Native
1,048,576 Tokens

All three Gemini 2.x models support 1M-token context natively—ideal for entire codebases, PDFs, and videos.

Gemini 2.5 Flash Margin
$0.15 / $0.60 per 1M

Non-thinking Gemini 2.5 Flash delivers strong reasoning at 1/16th the input price of GPT-4o.

Long-Context Tier Threshold
>200k Token Step-Up

On Gemini 2.5 Pro, prompts exceeding 200k tokens double in input rate ($2.50/1M); edit the rate inline to test >200k.

Focused Models in This Calculator

Gemini 2.5 ProGoogle
Input/1M
$1.25
Output/1M
$10.00
Cached/1M
$0.31
1.0M context~88 tok/s

1M-context repo analysis, PDF/video ingestion, reasoning

Gemini 2.5 FlashGoogle
Input/1M
$0.15
Output/1M
$0.60
Cached/1M
$0.037
1.0M context~165 tok/s

High-margin SaaS agents, RAG synthesis, fast multimodal

Gemini 2.0 Flash-LiteGoogle
Input/1M
$0.075
Output/1M
$0.30
Cached/1M
$0.019
1.0M context~210 tok/s

Massive-scale batch classification, translation, ETL

Production FinOps Optimization Playbook

Keep Gemini 2.5 Pro Prompts Under 200k Tokens When Possible

Gemini 2.5 Pro bills $1.25/1M input below 200k tokens and $2.50/1M above 200k. Trimming irrelevant pages or chunking above 180k tokens avoids an immediate 2x cost cliff.

Toggle Thinking Budget Carefully on 2.5 Flash

Gemini 2.5 Flash bills $0.60/1M output with thinking off versus $3.50/1M with thinking enabled. Edit the output price cell inline to benchmark both modes.

Use Flash-Lite for High-Volume Pre-Filtering

At $0.075/$0.30 per 1M tokens, Gemini 2.0 Flash-Lite can score 100,000 documents for pennies before passing top candidates to Gemini 2.5 Pro.

Frequently Asked Questions

How much does Gemini 2.5 Flash cost compared to GPT-4o mini?

Both list at $0.15/1M input and $0.60/1M output for standard non-thinking usage, while Gemini 2.5 Flash offers a 1M context window (vs 128k on GPT-4o mini) and 75% cached input discounts ($0.0375/1M).

Does Google Gemini support context caching?

Yes. Both explicit and implicit context caching reduce cached input token rates by 75% across Gemini 2.5 Pro and 2.5 Flash.

How can I calculate >200k context pricing for Gemini 2.5 Pro?

Click directly on Gemini 2.5 Pro's Input or Output price cell in the table above to override $1.25/$10.00 to $2.50/$15.00 inline and see instant recalculated totals.

Is Gemini 2.0 Flash-Lite good for production SaaS?

Yes for classification, translation, entity extraction, and routing pipelines where sub-second latency and extreme unit-economics efficiency matter most.

Transparent SaaS Pricing

Free Forever Calculator. Upgrade When Spend Scales.

Model 25 LLMs with zero login today. Upgrade to Pro or Team for automated API price-drop alerts, saved CFO scenarios, and live usage overrun guards.

Free

No Signup
$0/ forever

Everything you need for architecture sizing, prompt tokenization, and SaaS margin checks.

  • Unlimited comparisons across 25+ models
  • Live client-side prompt token counter (EN/Code/CJK)
  • Prompt caching (0–90%) & Batch API 50% toggles
  • AI Agent & SaaS Gross Margin Simulator
  • 80/20 Model Routing Optimizer + inline rate edits
  • Unlimited CSV financial exports
Use Free Calculator Now
Most Popular

Pro

Founders & PMs
$15/ month

Never get blindsided by provider price changes or margin erosion across investor reviews.

  • Everything in Free, plus cloud-saved scenarios
  • Compare multiple multi-agent architecture versions
  • Weekly API price-drop & new-model email alerts
  • 1-click branded CFO / Board Deck PDF export
  • Custom enterprise discount profiles (AWS/Vertex/OpenAI)
  • Historical token price tracker & depreciation notices

Team

Live Guardrails
$39/ month

Connect real production token telemetry and catch runaway agent loops before the bill lands.

  • Everything in Pro for up to 10 team seats
  • Zero-latency live usage telemetry proxy endpoint
  • Real-time Slack & webhook budget overrun alerts
  • Per-customer / per-tenant gross margin leaderboard
  • Automatic anomaly detection on infinite agent loops
  • Scheduled weekly FinOps digest to #ai-infra