Last updated: October 25, 2026. Every rate on this page was checked against Google's official Gemini API pricing page (ai.google.dev) on that date.
Gemini 4 Argon, the flagship, runs $2.00/1M input and $10.00/1M output through November 30, 2026, then doubles to $4.00/$20.00 on December 1; it has no free tier. gemini-2.5-flash-lite is the cheapest at $0.10/1M input and $0.40/1M output. The newest Flash, gemini-3.8-flash, runs $0.75/1M input and $3.75/1M output. gemini-3.1-pro runs $2.00/1M input and $12.00/1M output up to 200k context, doubling input above it. Batch halves every rate; Priority runs 1.8x. gemini-3.8-flash and gemini-3.6-flash prices double on January 1, 2027.
Gemini API pricing is per million tokens, split into input and output, and tiered by context length. gemini-2.5-flash-lite is the cheapest at $0.10/1M input and $0.40/1M output. gemini-2.5-flash is $0.30/1M input and $2.50/1M output. The new gemini-3.8-flash is $0.75/1M input and $3.75/1M output. gemini-3.1-pro is $2.00/1M input up to 200k context, jumping to $4.00/1M above it. All rates below are from Google's pricing page at ai.google.dev.
The Full Gemini API Price List
The table below lists every current Gemini text model and its standard pay-as-you-go rate per million tokens. For tiered models, the rate shown is the base tier, which applies to requests up to 200k tokens of context. The over-200k surcharge, processing tiers, and context-caching rates are explained in the sections below. Audio input, where it differs, is noted.
| Model | Context tier | Input $/1M | Output $/1M |
|---|---|---|---|
| gemini-4-argon | flat, to 1M | $2.00 ($4.00 from Dec 1) | $10.00 ($20.00 from Dec 1) |
| gemini-3.8-flash | flat | $0.75 | $3.75 |
| gemini-3.6-flash | flat | $0.75 | $3.75 |
| gemini-3.5-flash-lite | flat | $0.30 | $2.50 |
| gemini-3.1-pro-preview | up to 200k | $2.00 | $12.00 |
| gemini-3.1-flash-lite | flat | $0.25 | $1.50 |
| gemini-3-flash-preview | flat | $0.50 | $3.00 |
| gemini-2.5-pro | up to 200k | $1.25 | $10.00 |
| gemini-2.5-flash | flat | $0.30 | $2.50 |
| gemini-2.5-flash-lite | flat | $0.10 | $0.40 |
Google marks the gemini-3.8-flash and gemini-3.6-flash rates as effective through December 31, 2026, with prices doubling on January 1, 2027 (to $1.50/1M input, $7.50/1M output at standard). If your budget extends into 2027, plan against the doubled rate. gemini-2.0-flash is gone: it shut down June 1, 2026; gemini-2.5-flash-lite matches its old $0.10/$0.40 pricing exactly.
Two patterns stand out. First, output costs 3x to 8x more than input across the lineup, so token-heavy generation tasks (long code, long documents) cost far more than read-heavy tasks (classification, extraction). Second, the gap between the cheapest and most expensive models is large: gemini-2.5-flash-lite output at $0.40/1M is 30x cheaper than gemini-3.1-pro output at $12.00/1M. Gemini 4 Argon output at $10/1M sits below gemini-3.1-pro-preview at $12/1M until December 1, when Argon doubles to $20/1M.
Gemini 4 Argon Pricing
gemini-4-argon is Google's flagship reasoning model, listed for long-horizon coding, math, and multi-step agents with generation up to 1M tokens. It is paid-tier only. Its prices are dated: the current rates run through November 30, 2026, and every Argon rate doubles on December 1.
| Tier | Input through Nov 30 | Output through Nov 30 | Input from Dec 1 | Output from Dec 1 |
|---|---|---|---|---|
| Standard | $2.00 | $10.00 | $4.00 | $20.00 |
| Batch | $1.00 | $5.00 | $2.00 | $10.00 |
| Flex | $1.00 | $5.00 | $2.00 | $10.00 |
| Priority | $3.60 | $18.00 | $7.20 | $36.00 |
Argon supports implicit caching only, with cached input at $0.10/1M ($0.20/1M from December 1). Explicit context caching is not supported. A job that sends 3M input and 0.9M output tokens a day costs $15.00 a day on Argon standard today and $30.00 a day from December 1. The same job on gemini-3.8-flash costs $5.63 a day.
Gemini API Free Tier: Which Models Are Free
The free tier charges nothing for input and output tokens and runs through Google AI Studio. Google uses free-tier content to improve its products; paid-tier content is not used. Rate limits are lower than on the paid tier, and context caching is limited.
| Model | Free tier | Paid standard input / output per 1M |
|---|---|---|
| gemini-4-argon | Not available | $2.00 / $10.00 |
| gemini-3.8-flash | Free of charge | $0.75 / $3.75 |
| gemini-3.6-flash | Free of charge | $0.75 / $3.75 |
| gemini-3.5-flash-lite | Free of charge | $0.30 / $2.50 |
| gemini-3.1-pro-preview | Not available | $2.00 / $12.00 |
| gemini-3.1-flash-lite | Free of charge | $0.25 / $1.50 |
| gemini-3-flash-preview | Free of charge | $0.50 / $3.00 |
| gemini-2.5-pro | Free of charge | $1.25 / $10.00 |
| gemini-2.5-flash | Free of charge | $0.30 / $2.50 |
| gemini-2.5-flash-lite | Free of charge | $0.10 / $0.40 |
The two models without a free tier are the two most expensive ones, Argon and 3.1 Pro Preview. Prototype on gemini-3.8-flash for free, then move to the paid tier when you need higher limits or need your prompts kept out of training.
Grounding with Google Search Pricing
Grounding lets Gemini run Google Search (or Google Maps) queries and cite the results. It is billed per search request on top of tokens, and it is a paid-tier feature on the 3.x and 4 models.
| Models | Google Search | Google Maps |
|---|---|---|
| Gemini 3 and newer (4 Argon, 3.8 Flash, 3.x) | 5,000 free requests per month, shared across models, then $14 per 1,000 | 5,000 free requests per month, shared, then $14 per 1,000 |
| gemini-2.5-pro | 1,500 requests per day free, then $35 per 1,000 grounded prompts | 10,000 requests per day free, then $25 per 1,000 |
| gemini-2.5-flash, 2.5-flash-lite | 1,500 requests per day free (shared), then $35 per 1,000; 500 per day on the free tier | 1,500 requests per day free, then $25 per 1,000 |
On Gemini 3 and newer, one customer request can trigger several search queries, and each query is billed. An agent that grounds 20,000 requests a month at two queries each uses 40,000 queries: 5,000 free, then 35,000 at $14 per 1,000, or $490 a month before tokens.
How Gemini Charges: Per-Token and Tiered
Every Gemini API request is billed on two counters: input tokens (your prompt, system instructions, files, and conversation history) and output tokens (the model's response). You are charged the model's per-million rate for each, prorated to the exact token count. A request that uses 12,000 input tokens and 800 output tokens on gemini-2.5-flash costs 12,000 / 1,000,000 multiplied by $0.30, plus 800 / 1,000,000 multiplied by $2.50, which is $0.0036 plus $0.002, for $0.0056 total.
The wrinkle that breaks naive cost math is the context tier. For gemini-3.1-pro and gemini-2.5-pro, the per-token rate is not fixed. It depends on the total context length of the request. Stay under 200k tokens and you pay the base rate. Cross 200k and the higher rate applies to the whole request.
Models marked "flat" in the table (every Flash and Flash-Lite model) charge one rate regardless of context length. This makes them simpler to budget for, which is another reason high-volume workloads gravitate to the Flash and Flash-Lite tiers.
Batch, Flex, and Priority Tiers
The standard rate is not the only rate. Gemini sells the same models at three other processing tiers: Batch and Flex at half price, Priority at roughly 1.8x.
| Tier | Multiplier | Input | Output | Fits |
|---|---|---|---|---|
| Batch | 0.5x | $0.375 | $1.875 | Async jobs, evals, backfills |
| Flex | 0.5x (most models) | $0.375 | $1.875 | Latency-tolerant online traffic |
| Standard | 1x | $0.75 | $3.75 | Default interactive traffic |
| Priority | ~1.8x | $1.35 | $6.75 | Latency-critical paths |
The multipliers hold across the lineup: gemini-2.5-flash-lite bills $0.05/$0.20 on Batch and $0.18/$0.72 on Priority, and gemini-3.1-pro bills $1.00/$6.00 on Batch (base tier). The spread between Batch and Priority on the same model is 3.6x, so separating traffic that can wait from traffic that cannot is a direct cost lever before any model change.
The Over-200k Context Surcharge
The Pro models raise their price once a request crosses 200,000 tokens of context. The higher rate applies to the entire request, not only the tokens past 200k. A 201k-token request to gemini-3.1-pro is billed entirely at the above-200k rate.
| Model | Input up to 200k | Input above 200k | Output up to 200k | Output above 200k |
|---|---|---|---|---|
| gemini-3.1-pro-preview | $2.00 | $4.00 | $12.00 | $18.00 |
| gemini-2.5-pro | $1.25 | $2.50 | $10.00 | $15.00 |
For gemini-3.1-pro, crossing 200k doubles the input rate and raises output by 50%. For gemini-2.5-pro the input rate doubles and output rises 50%. The Flash and Flash-Lite models have no over-200k tier: an earlier version of this page listed one for gemini-3-flash, but its second listed input rate ($1.00/1M) is the audio rate, not a long-context tier.
If you can keep a request under 200k tokens, do it. Trimming a 210k-token request to 195k on gemini-3.1-pro halves the input rate on the whole request. Chunking, summarization, and retrieval that cap context length below 200k pay for themselves immediately on the Pro models.
Context Caching Pricing
Context caching lets you store a fixed block of input (a long system prompt, a reference document, a codebase snapshot) once and reuse it across many requests at a reduced per-token rate. Gemini bills caching two ways: a per-token rate to read from the cache, plus a per-hour storage fee for keeping the cache warm.
| Model | Cached input $/1M | Storage $/hr |
|---|---|---|
| gemini-3.8-flash | $0.075 | $0.50 |
| gemini-3.6-flash | $0.075 | $0.50 |
| gemini-4-argon | $0.10 (implicit caching only; $0.20 from Dec 1) | none listed |
| gemini-3.5-flash-lite | $0.03 | $1.00 |
| gemini-3.1-pro-preview | $0.20 (up to 200k) / $0.40 (above) | $4.50 |
| gemini-3.1-flash-lite | $0.025 | $1.00 |
| gemini-3-flash-preview | $0.05 | $1.00 |
| gemini-2.5-pro | $0.125 (up to 200k) / $0.25 (above) | $4.50 |
| gemini-2.5-flash | $0.03 | $1.00 |
| gemini-2.5-flash-lite | $0.01 | $1.00 |
Caching pays off when the same large context is reused enough times that the discount on input tokens outweighs the storage fee. For gemini-2.5-flash, cached input at $0.03/1M is 10x cheaper than the $0.30/1M standard input rate. If you send the same 100k-token document to 50 requests in an hour, caching it once and reading it cheaply beats paying full input price 50 times, even after the $1.00/hr storage fee.
Caching does not help one-off requests or workloads where the context changes every call. It is a fit for chat sessions over a fixed document, agents grounded in a static knowledge base, or batch jobs that share a long system prompt.
Audio Input Costs More
For the models that accept audio, audio input tokens are billed at a higher rate than text, image, or video input. This is a separate counter, so a multimodal request can mix rates within a single call.
| Model | Text/image/video input | Audio input |
|---|---|---|
| gemini-3.1-flash-lite | $0.25 | $0.50 |
| gemini-3-flash | $0.50 | $1.00 |
| gemini-2.5-flash | $0.30 | $1.00 |
| gemini-2.5-flash-lite | $0.10 | $0.30 |
On gemini-2.5-flash, audio input is $1.00/1M versus $0.30/1M for text, more than 3x. If your workload streams audio (transcription, voice agents), the audio rate, not the text rate, drives the bill. Budget against the audio column for those use cases.
Worked Cost Example
Take a workload of 1,000,000 input tokens and 200,000 output tokens, all under 200k context per request. The table compares the cost on three tiers using standard base rates from the price list.
| Model | Input cost | Output cost | Total |
|---|---|---|---|
| gemini-2.5-flash-lite | $0.10 | $0.08 | $0.18 |
| gemini-2.5-flash | $0.30 | $0.50 | $0.80 |
| gemini-3.8-flash | $0.75 | $0.75 | $1.50 |
| gemini-3.1-pro-preview | $2.00 | $2.40 | $4.40 |
The same workload costs $0.18 on Flash-Lite, $0.80 on Flash, $1.50 on the new gemini-3.8-flash, and $4.40 on Pro. Flash-Lite is 24x cheaper than Pro here. If a meaningful fraction of these prompts are simple enough for Flash-Lite, sending all of them to Pro overpays by an order of magnitude. The whole pricing structure rewards matching the model to the task.
Monthly Cost Scenarios
The table prices three usage profiles over a 30-day month at standard-tier text rates, no caching, all requests under 200k context. Light and medium assume 1,000 input + 300 output tokens per request (a short chat or extraction call). Heavy assumes an agent workload at 3,000 input + 1,000 output tokens per request.
| Scenario | gemini-2.5-flash-lite | gemini-3.8-flash | gemini-3.1-pro-preview |
|---|---|---|---|
| Light: 100 req/day (3M in, 0.9M out) | $0.66 | $5.63 | $16.80 |
| Medium: 1,000 req/day (30M in, 9M out) | $6.60 | $56.25 | $168.00 |
| Heavy: 10,000 req/day (900M in, 300M out) | $210 | $1,800 | $5,400 |
The arithmetic behind the first gemini-3.8-flash cell: 3M input tokens at $0.75/1M is $2.25, plus 0.9M output tokens at $3.75/1M is $3.375, totaling $5.63. Every other cell is the same two multiplications. Batch halves any of these numbers for traffic that can wait, and the January 2027 doubling turns the gemini-3.8-flash column into $11.25, $112.50, and $3,600 unless Google revises the schedule.
OpenAI-Compatible vs Native Calls
Gemini exposes two API surfaces at the same per-token prices. The native Gemini SDK (google-genai) uses Google's request and response shapes. The OpenAI-compatible endpoint accepts the standard OpenAI Chat Completions format, so existing OpenAI-SDK code can target Gemini by swapping the base URL and model name. Pricing is identical between the two; only the request schema differs.
Calling Gemini through the OpenAI-compatible endpoint
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.GEMINI_API_KEY,
baseURL: "https://generativelanguage.googleapis.com/v1beta/openai/",
});
const response = await client.chat.completions.create({
model: "gemini-2.5-flash",
messages: [{ role: "user", content: "Summarize this changelog." }],
});
// Billed at gemini-2.5-flash rates: $0.30/1M input, $2.50/1M output.
// Same prices as the native google-genai SDK.The OpenAI-compatible surface matters for cost control because it lets one codebase address Gemini, OpenAI, and other providers through the same client. That is the foundation routing builds on: if every model speaks the same request format, a router can pick the cheapest one that clears the quality bar without rewriting call sites.
Cutting the Bill with Routing
The 24x spread between Flash-Lite and Pro is the cost-savings opportunity. Most prompts in a real workload (classification, extraction, simple edits, short answers) clear the bar on Flash-Lite or Flash. A minority (multi-step reasoning, long-context synthesis) need Pro. Sending everything to Pro pays Pro prices for work a $0.10/1M model handles identically.
A model router classifies each prompt by difficulty, then sends it to the cheapest model that can handle it. Easy turns drop to Flash-Lite; hard turns reach Pro. Across a mixed workload this cuts 40-70% off the bill. Morph Router classifies a prompt in ~430ms at $0.005 per request and returns the model to use. It does not proxy the call: your code sends the request to Gemini (or any other provider) with the model it picked.
The router also keeps requests on the right side of the 200k context line where it can, since that boundary doubles the input rate on Pro models. Combined with caching for reused context, routing plus a model-tier policy is the practical way to keep a Gemini bill proportional to the actual difficulty of the work. See how the LLM router works, the broader cost-optimization guide, and the cost calculator.
Route easy turns to Flash-Lite
Classification, extraction, and short answers run on gemini-2.5-flash-lite at $0.10/1M input. Reserve Pro for the prompts that actually need reasoning.
Stay under 200k context
Crossing 200k doubles the input rate on Pro models for the whole request. Chunking and retrieval that cap context below 200k cut the rate in half.
Pick the model per request
Morph Router returns a model name for each prompt. Pass it to the Gemini client you already have, so call sites do not change.
Frequently Asked Questions
How much does Gemini 4 Argon cost?
gemini-4-argon costs $2.00/1M input and $10.00/1M output at the standard tier through November 30, 2026. From December 1, 2026 it is $4.00/1M input and $20.00/1M output. Batch and Flex are half of standard ($1.00/$5.00 now), and Priority is $3.60/$18.00 now. It has no free tier and supports implicit caching only, at $0.10/1M cached input.
How much does Gemini grounding with Google Search cost?
On Gemini 3 and newer models, the first 5,000 search requests per month are free, shared across models, then each 1,000 requests costs $14. One customer request can trigger several search queries, and each query is billed. On gemini-2.5-pro and the 2.5 Flash models, 1,500 grounded requests per day are free, then $35 per 1,000 grounded prompts.
How much does the Gemini API cost?
Gemini API pricing is per million tokens and varies by model. gemini-2.5-flash-lite is the cheapest at $0.10/1M input and $0.40/1M output. gemini-2.5-flash is $0.30/1M input and $2.50/1M output. The newest Flash, gemini-3.8-flash, is $0.75/1M input and $3.75/1M output. gemini-3.1-pro-preview is $2.00/1M input (up to 200k context) and $12.00/1M output. The flagship gemini-4-argon is $2.00/1M input and $10.00/1M output through November 30, 2026, then $4.00/$20.00. These are the standard rates listed on ai.google.dev as of October 25, 2026.
How much does Gemini 3.8 Flash cost?
gemini-3.8-flash costs $0.75/1M input and $3.75/1M output at the standard tier, with context caching at $0.075/1M plus $0.50/hr storage. Batch and Flex halve that to $0.375/1M input and $1.875/1M output; Priority raises it to $1.35/1M input and $6.75/1M output. gemini-3.6-flash carries identical rates. Google marks both models' prices as effective through December 31, 2026, doubling on January 1, 2027.
What is the difference between Gemini 2.5 Flash and Pro pricing?
gemini-2.5-flash costs $0.30/1M input and $2.50/1M output. gemini-2.5-pro costs $1.25/1M input and $10.00/1M output up to 200k context, rising to $2.50/1M input and $15.00/1M output above 200k. Pro is roughly 4x the input cost and 4x the output cost of Flash, in exchange for stronger reasoning. Most easy prompts do not need Pro.
What is the Gemini Batch API discount?
The Batch API runs asynchronous jobs at a 50% discount on input and output across the lineup. gemini-3.8-flash drops from $0.75/$3.75 to $0.375/$1.875 per million input/output, and gemini-2.5-flash-lite from $0.10/$0.40 to $0.05/$0.20. The Flex tier matches Batch pricing for most models. Priority processing runs the other way at roughly 1.8x standard (gemini-3.8-flash: $1.35/$6.75).
Will Gemini API prices increase in 2027?
Yes, for the newest Flash models. Google's pricing page marks the gemini-3.8-flash and gemini-3.6-flash rates ($0.75/1M input, $3.75/1M output) as effective through December 31, 2026, with prices doubling on January 1, 2027. Budgets that extend into 2027 should plan on $1.50/1M input and $7.50/1M output for those models unless Google revises the schedule.
How does Gemini context caching pricing work?
Gemini bills context caching two ways: a per-token rate for cached input, plus a per-hour storage fee. For gemini-2.5-flash, cached input is $0.03/1M with $1.00/hr storage. For gemini-3.8-flash it is $0.075/1M with $0.50/hr storage. For gemini-3.1-pro it is $0.20/1M (up to 200k) or $0.40/1M (above 200k) plus $4.50/hr storage. Caching pays off when you reuse a large fixed context (a long system prompt or document) across many calls.
Does Gemini charge more above 200k tokens?
Yes, on the Pro models. gemini-3.1-pro input goes from $2.00/1M up to 200k to $4.00/1M above 200k, and output goes from $12.00/1M to $18.00/1M. gemini-2.5-pro input goes from $1.25/1M to $2.50/1M and output from $10.00/1M to $15.00/1M. The higher rate applies to the entire request once it crosses 200k, not just the overflow tokens. The Flash and Flash-Lite models charge one flat rate regardless of context length.
How much does Gemini Flash-Lite cost?
gemini-2.5-flash-lite costs $0.10/1M input (text, image, video) and $0.40/1M output. gemini-3.1-flash-lite costs $0.25/1M input and $1.50/1M output. gemini-3.5-flash-lite costs $0.30/1M input and $2.50/1M output. Flash-Lite is the cheapest tier and is built for high-volume, low-complexity work like classification, extraction, and routing.
How much does the Gemini API cost per month?
Depends on volume and model. At 100 requests/day (1,000 input + 300 output tokens each), a month costs about $0.66 on gemini-2.5-flash-lite, $5.63 on gemini-3.8-flash, or $16.80 on gemini-3.1-pro. At 1,000 requests/day the same shape costs $6.60, $56.25, and $168. A heavy agent workload of 10,000 requests/day at 3,000 input + 1,000 output tokens runs $210, $1,800, and $5,400 per month respectively.
Does the Gemini API have a free tier?
Yes. Input and output tokens are free of charge on gemini-3.8-flash, gemini-3.6-flash, gemini-3.5-flash-lite, gemini-3.1-flash-lite, gemini-3-flash-preview, gemini-2.5-pro, gemini-2.5-flash, and gemini-2.5-flash-lite through Google AI Studio. gemini-4-argon and gemini-3.1-pro-preview have no free tier. Free-tier content is used to improve Google products, and rate limits are lower than on the paid tier.
Is gemini-2.0-flash still available?
No. gemini-2.0-flash ($0.10/1M input, $0.40/1M output) shut down on June 1, 2026. Projects that targeted it should move to gemini-2.5-flash-lite, which matches its old pricing exactly, or gemini-2.5-flash for more capability.
What is the cheapest Gemini model?
gemini-2.5-flash-lite at $0.10/1M input and $0.40/1M output is the cheapest text model on the paid tier. Within the current 3.x generation, gemini-3.1-flash-lite is the floor at $0.25/1M input and $1.50/1M output. Both are flat-priced with no over-200k surcharge.
Sources
Related Resources
Pay Gemini Prices Only Where Pro Is Worth It
Morph Router classifies each prompt in ~430ms and returns the cheapest model that clears the bar, at $0.005 per request. Your existing Gemini client makes the call.
