Gemini API Pricing: What It Really Costs in 2026
Gemini API pricing in 2026: current per-1M-token rates for Argon, Pro and Flash, the hidden grounding and caching costs, and how it beats GPT and Claude.
Gemini API pricing is per token, and as of December 2026 the rates split sharply by tier. The flagship Gemini 4 Argon costs $4.00 per 1M input tokens and $20.00 per 1M output on the paid tier. The Flash workhorse, Gemini 3.8 Flash, costs $0.75 input and $3.75 output. The verdict: Gemini undercuts the top Claude and GPT tiers on sticker price, stays cheap at the Flash tier, then quietly claws some of it back through grounding surcharges, a long-context tax, and a free tier that trains on your data.
TL;DR
- Flagship Gemini 4 Argon: $4 / $20 per 1M tokens (input/output), effective 1 December 2026 — a doubling from the old $2 / $10 introductory rate, per the Gemini API pricing page.
- Gemini 3.8 Flash: $0.75 / $3.75, but it doubles to $1.50 / $7.50 on 1 January 2027. Lock your cost model to the right date.
- The free tier trains on you. Free-tier prompts and responses can be used to improve Google's products; to opt out you must link billing and move to paid, per Google's billing docs.
- Caching and Batch are the real discounts. Implicit caching cuts repeated-prefix input by 90% (95% on Gemini 4) with no storage fee; the Batch API is ~50% off.
- Price/performance verdict: route high-volume work to Gemini Flash, lean on caching for agents with fat system prompts, but watch grounding ($14 per 1,000 calls after a free allowance) and the >200k-token Pro surcharge — and know the cheapest nano tier belongs to rivals, not Gemini.
Gemini API pricing: how much does the API cost in 2026?
The Gemini API charges separately for input tokens, output tokens (which include "thinking"/reasoning tokens), cached tokens, and tools like Google Search grounding. Below is the current per-1M-token rate card for the main text and multimodal models on the paid Standard tier, taken directly from Google's Gemini API pricing page as of December 2026.
| Model | Input $/1M | Output $/1M | Context | Best for |
|---|---|---|---|---|
| Gemini 4 Argon (flagship reasoning) | $4.00 | $20.00 | 1M | Hardest reasoning, long-horizon agents |
| Gemini 3.1 Pro Preview | $2.00 (≤200k) / $4.00 (>200k) | $12.00 / $18.00 | 1M | Balanced pro work, big documents |
| Gemini 3.8 Flash | $0.75 | $3.75 | 1M | High-volume production workhorse |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | 1M | Cheap classification, extraction |
| Gemini 3.1 Flash-Lite | $0.25 | $1.50 | 1M | Simplest, highest-volume tasks |
| Gemini 2.5 Pro | $1.25 / $2.50 | $10.00 / $15.00 | 1M | Prior-gen reasoning (still live) |
| Gemini 2.5 Flash | $0.30 | $2.50 | 1M | Prior-gen workhorse |
| Gemini 2.5 Flash-Lite | $0.10 | $0.40 | 1M | Cheapest Gemini text tier |
| Gemini Embedding 2 | $0.20 | n/a | — | Embeddings for RAG |
Prices are USD per 1M tokens, paid Standard tier, December 2026. Context windows per the pricing page and the Artificial Analysis leaderboard, which lists a 1M-token window across the current Gemini line. Gemini 3.1 Pro and 2.5 Pro use tiered pricing: prompts over 200,000 tokens cost roughly double.
Two dated changes matter. Gemini 4 Argon moved from $2 / $10 to $4 / $20 on 1 December 2026 — the current rate. Gemini 3.8 Flash holds its introductory $0.75 / $3.75 through 31 December 2026, then doubles on 1 January 2027. If you are sizing a 2027 budget on Flash, use the higher number.
What does Gemini 4 Argon cost per million tokens?
Gemini 4 Argon, Google's flagship reasoning model, costs $4.00 per 1M input tokens and $20.00 per 1M output tokens on the paid Standard tier as of December 2026, per the pricing page. There is no free tier for Argon.
Output is where reasoning models hurt. Argon's output includes thinking tokens, so a single hard task can emit tens of thousands of billed output tokens before you see an answer. At $20 per 1M output, a task that thinks through 30,000 output tokens costs $0.60 in output alone.
If you want the "Pro" workhorse rather than the frontier model, Gemini 3.1 Pro Preview runs $2.00 / $12.00 for prompts up to 200k tokens, then $4.00 / $18.00 above that. The prior-generation Gemini 2.5 Pro is still available at $1.25 / $10.00 (≤200k) — the cheapest way onto a Pro-class model if you don't need the newest reasoning.
That >200k-token jump is the long-context tax. Feed Gemini 3.1 Pro a 300k-token codebase and every input token on that request bills at $4, not $2. Long context is a headline Gemini feature; using it is not free.
Is the Gemini API free? (the free-tier catch)
Yes, partly — and the catch is your data. Gemini Flash and Flash-Lite tiers have a free tier with per-model rate limits, and new accounts start there, per Google's billing docs. But free-tier prompts and responses can be used to improve Google's products. To keep your inputs out of that, you must link a billing account and move to a paid tier.
The frontier models are not free at all. Gemini 4 Argon and Gemini 3.1 Pro Preview have no free tier — you pay from the first token.
Moving to paid is cheap to start: link billing and prepay a $5 minimum, per the billing docs. Spend caps then rise by tier — $250 at Tier 1, $2,000 at Tier 2, and $20,000 to $100,000+ at Tier 3 — with upgrades triggered by cumulative spend and account age. Prepaid credits expire after 12 months and are non-refundable.
For a quick prototype, the free tier is fine. For anything touching customer or proprietary data, treat "free" as "free, if you don't mind Google reading it" — and link billing before you ship. For the full data-handling picture, see our analysis of whether Gemini is safe to use.
How do context caching and the Batch API cut costs?
These two levers move your bill more than picking between model tiers.
Context caching bills repeated input prefixes at a steep discount. Implicit caching is on by default for Gemini 2.5 and newer and needs no setup: when a request shares a prefix with a recent one, the shared tokens bill at the cached rate, per Google's caching docs. The discount is 90% on Gemini 3.8/3.6 Flash and Gemini 3.1 Pro, and 95% on the Gemini 4 line. Implicit caching carries no storage fee, with a best-effort TTL up to 24 hours. The catch: a minimum cacheable prefix of 4,096 tokens on Gemini 3/4 (2,048 on Gemini 2.5). If your system prompt is stable and long, this is close to free money.
Explicit caching (custom TTL via caches.create) is available on Gemini 3 and 2.5 but not Gemini 4, which supports implicit caching only — and explicit caches add a per-hour storage charge on top of the cached-token rate.
The Batch API trades latency for roughly 50% off input and output. Gemini 3.8 Flash drops from $0.75 / $3.75 to $0.375 / $1.875 in batch, per the pricing page. For any asynchronous job — summarization, enrichment, offline evals — batch should be the default. Limits are generous: 100 concurrent batch requests and a 2GB input file, per the rate-limits page.
One cost that runs the other way: Google Search grounding. Gemini 3 and 4 models get 5,000 grounded requests per month free (shared across models), then $14 per 1,000 requests, per the pricing page. On older Gemini 2.5 models it's worse — $35 per 1,000 grounded prompts after a daily free allowance. A grounded chatbot at 100,000 searches/month pays roughly $1,330 in grounding alone, on top of tokens.
Gemini vs OpenAI and Claude: which API is cheaper?
At the flagship tier, Gemini is the cheapest of the majors on sticker price. At the nano tier, it is the most expensive. Here is the capability-matched comparison, all per 1M tokens, December 2026, from each vendor's own pricing page. We've built the same per-token breakdown for Claude, Grok, Qwen and Mistral if you're weighing vendors against each other.
| Tier | Model | Input $/1M | Output $/1M |
|---|---|---|---|
| Flagship | Gemini 4 Argon | $4.00 | $20.00 |
| Flagship | Claude Fable 5.2 | $8.00 | $40.00 |
| Flagship | GPT-6.2 Astra | $8.00 | $40.00 |
| Mid / workhorse | Gemini 3.1 Pro (≤200k) | $2.00 | $12.00 |
| Mid | Claude Sonnet 5.5 | $2.00 | $10.00 |
| Mid | GPT-6.2 Sol | $2.00 | $10.00 |
| Cheap / fast | Gemini 3.8 Flash | $0.75 | $3.75 |
| Cheap | Claude Haiku 5.5 (≤100k) | $0.10 | $0.50 |
| Cheap | GPT-6 Luna | $0.05 | $0.25 |
| Cheap | DeepSeek V4.1 Flash (off-peak) | $0.15 | $0.60 |
Vendor pricing pages, accessed December 2026. DeepSeek charges peak/off-peak rates; peak doubles the Flash figures to $0.30 / $1.20.

The flagship story is real: Argon at $4 / $20 is half the sticker of Claude Fable 5.2 and GPT-6.2 Astra ($8 / $40 each). But the "cheap" row flips the narrative — Gemini 3.8 Flash is the priciest small model here, 7.5x Claude Haiku's input and 15x GPT-6 Luna's. Gemini Flash is more capable than those nano tiers, so it isn't an apples-to-apples loss, but if your task is simple classification, Gemini is not the cheapest token.
Sticker price isn't cost-per-task. On the Artificial Analysis leaderboard (December 2026), measured cost to complete a standard task set tells a different story. GPT-6.2 Astra scored 62 on the Intelligence Index at $4.00/task; Claude Fable 5.2 led at 65 but cost $26.54/task. Gemini's measured runs were middling: Gemini 4 Hydrogen (Xhigh) scored 54 at $3.16/task, and Gemini 4 Argon (High) scored 51 at $7.06/task — more per task than Astra while scoring lower. Note these are specific reasoning-effort settings and measure token burn, not the per-token sticker. DeepSeek V4.1 Flash anchored the value end at 32 for $0.60/task.

What will Gemini actually cost you? (worked examples)
Numbers beat intuition. Two realistic workloads on Gemini 3.8 Flash at current ($0.75 / $3.75) rates.
Example 1 — Support chatbot. 1,500 input + 500 output tokens per turn, 50,000 turns/day (1.5M/month).
- Input: 1,500 × 1.5M = 2,250M tokens × $0.75 = $1,687.50
- Output: 500 × 1.5M = 750M tokens × $3.75 = $2,812.50
- Monthly total: $4,500
Now turn on implicit caching, assuming 1,000 of the 1,500 input tokens are a stable system prompt (90% off → $0.075):
- Cached input: 1,500M × $0.075 = $112.50
- Fresh input: 750M × $0.75 = $562.50
- Output (unchanged): $2,812.50
- Monthly total: $3,487.50 — a $1,012 (≈22%) saving for zero code beyond a stable prefix.
Budget warning: the same uncached workload jumps to ~$9,000/month after 1 January 2027, when Flash pricing doubles.
Example 2 — Batch document summarization. 100,000 documents, 8,000 input + 400 output tokens each, via the Batch API ($0.375 / $1.875).
- Input: 8,000 × 100,000 = 800M tokens × $0.375 = $300
- Output: 400 × 100,000 = 40M tokens × $1.875 = $75
- Job total: $375 — versus $750 running the same job synchronously. Batch halves it.
Our take
Gemini's pricing is a barbell, and reading it as a single "is Gemini cheap?" question gets you the wrong answer. At the two ends — frontier reasoning and high-volume Flash — Gemini is genuinely well-priced. In the middle, and once you add the tools that make these models useful, the sticker price starts lying to you.
Start with where Gemini actually wins. The flagship Gemini 4 Argon at $4 / $20 is half the list price of Claude Fable 5.2 and GPT-6.2 Astra. If you are building long-horizon agents on a frontier model and your token volume is real, that 50% gap compounds into serious money. A 10,000-task/month agent at 20k input + 5k output per task costs $1,800/month on Argon versus $3,600 on either $8/$40 rival — a clean win on paper. The second win is the one teams under-exploit: implicit caching. A 90-95% discount on repeated prefixes, on by default, with no storage fee, is the best structural discount in the market right now. Agentic workloads with fat, stable system prompts — tools, instructions, retrieved context — are exactly the shape that benefits, and most teams leave it on the table. Pair that with a 1M-token context window as standard and a 50% Batch discount, and Gemini's cost architecture is better than its sticker suggests.
Now the part the sticker hides. First, grounding is a metered surcharge, not a feature toggle. After 5,000 free Search calls a month, you pay $14 per 1,000 — and a grounded assistant at moderate scale can spend more on Search than on tokens. If your product leans on Google Search grounding, model it as a line item, because it behaves like one. Second, the long-context tax: Gemini 3.1 Pro and 2.5 Pro double their input rate above 200k tokens. The headline sells you a 1M-token window; the invoice reminds you that filling it costs double past the first 200k. Third, cost-per-token is not cost-per-task. Artificial Analysis's December 2026 runs put Gemini 4 Argon (High) at $7.06 per task — above GPT-6.2 Astra's $4.00 — despite Argon's lower per-token price, because reasoning models bill their thinking and token efficiency varies. Benchmark your prompts; a cheaper per-token rate can lose on a verbose model.
So who should route to Gemini, and who away? Route to Gemini Flash for high-volume production work where you control the prompt and can cache — summarization, extraction, RAG answer generation, internal agents. The caching economics and Batch discount make it hard to beat on total cost at that tier. Route to Gemini 4 Argon if you need a frontier reasoner and the half-price-vs-Claude/GPT sticker survives your own cost-per-task test. Route away if your task is dead-simple classification at massive volume — Claude Haiku ($0.10 / $0.50), GPT-6 Luna ($0.05 / $0.25), or DeepSeek Flash ($0.15 / $0.60) are flatly cheaper per token, and the capability gap won't matter on trivial work. Route away too if you need absolute top-of-leaderboard quality regardless of price; Claude Fable 5.2 (Intelligence Index 65) still sits above every Gemini variant Artificial Analysis measured, if you can stomach $26/task.
On cost versus quality against the field: Gemini is the value-to-capability pick in the upper-middle, GPT-6.2 Sol and Astra are the efficiency leaders on measured cost-per-task, Claude is the premium quality play, and DeepSeek owns the floor. Gemini rarely loses on any single axis, which is precisely why it's a strong default — and precisely why you can overpay by not matching the tier to the task.
Our verdict. Best for: high-volume Flash workloads with stable prompts, caching-heavy agents, and teams that want a half-price frontier reasoner and will verify cost-per-task. Avoid if: your workload is trivial classification at scale (rivals are cheaper per token), you lean heavily on Search grounding without budgeting the surcharge, or you need the single highest-quality model on the board. And whatever you pick, link billing before you send real data — the free tier's price is paid in training rights, not dollars.
Frequently Asked Questions
What is Google Gemini API pricing?
Gemini API pricing is per-token, billed separately for input, output (including reasoning tokens), cached tokens, and tools. As of December 2026, paid-tier rates run from $0.10 / $0.40 per 1M tokens on Gemini 2.5 Flash-Lite up to $4 / $20 on the flagship Gemini 4 Argon, per Google's pricing page.
How much does Gemini 4 Argon cost per million tokens?
Gemini 4 Argon, the current flagship, costs $4.00 per 1M input tokens and $20.00 per 1M output tokens on the paid Standard tier (effective 1 December 2026, up from $2 / $10). Output includes thinking tokens, so reasoning-heavy tasks bill more output than you might expect. There is no free tier.
Is the Gemini API free to use?
Flash and Flash-Lite tiers have a free tier with per-model rate limits, but free-tier prompts and responses can be used to improve Google's products. To opt out, link billing and move to paid (a $5 prepay minimum). The frontier models — Gemini 4 Argon and 3.1 Pro — have no free tier.
Is the Gemini API cheaper than OpenAI?
At the flagship tier, yes on sticker: Gemini 4 Argon ($4 / $20) is half of GPT-6.2 Astra ($8 / $40). At the cheap tier, no — GPT-6 Luna ($0.05 / $0.25) badly undercuts Gemini 3.8 Flash ($0.75 / $3.75). On Artificial Analysis's measured cost-per-task, GPT-6.2 Astra beat Gemini 4 Argon. It depends entirely on tier and workload.
How can I reduce Gemini API costs?
Four levers: turn on implicit caching (90-95% off repeated prefixes, no storage fee); use the Batch API for async work (~50% off); drop to Flash or Flash-Lite for tasks that don't need frontier reasoning; and budget grounding separately ($14 per 1,000 Search calls after 5,000 free). Keep prompts under 200k tokens on Pro to dodge the tiered surcharge.