Skip to main content

Provider pricing guide

Gemini API Pricing Calculator & Flash vs Pro Cost Guide

Gemini Flash and Pro can have materially different input, output, long-context, cache, and batch rates. Compare the same workload before selecting a model tier.

Open Gemini cost calculator
Example comparison basis: 1M input tokens + 1M output tokens. This is a rate comparison, not a quality or capability ranking.
AI model pricing comparison filtered by provider and modality
Provider / modelInputOutputCached / batchUnit priceExample costVerified / sourceUse

Google Gemini

Gemini 2.5 Flash

Cheapest
$0.30 / 1M$2.50 / 1M$0.03 cache$2.80Verified

Jun 21, 2026

Google Gemini API pricing
Calculate

Google Gemini

Gemini 2.5 Pro

Highest
$1.25 / 1M$10.00 / 1M$0.125 cache$11.25Verified

Jun 21, 2026

Google Gemini API pricing
Calculate

Pricing FAQ

Is Gemini Flash cheaper than Gemini Pro?

For the catalog rates shown here, Flash has lower standard token rates. Capability, latency, long-context usage, and quality requirements still determine the practical choice.

Does Gemini long-context pricing differ?

Some Gemini models publish higher rates after an input-token threshold. TokenMath shows and applies the long-context tier when it exists in the pricing record.

Are Gemini API prices live on this page?

No. This page uses a versioned snapshot with a last-verified date and a direct Google source link.