Gemini API Pricing: Every Model, Free Tier, Examples
Short answer: Gemini API pricing in November 2026 is $0.10 to $4 per million input tokens and $0.40 to $20 per million output tokens for text models. Gemini 3.8 Flash is $0.75 in and $3.75 out; Gemini 4 Carbon is $2/$10, rising to $4/$20 on December 1, 2026. Most Flash models have a free tier, and the Batch API halves token prices.
TL;DR
- Cheapest: Gemini 2.5 Flash-Lite at $0.10 input / $0.40 output per million tokens.
- Best all-rounder: Gemini 3.8 Flash, $0.75 / $3.75 until December 31, 2026, then $1.50 / $7.50.
- Top models: Gemini 4 Carbon and Argon, $2 / $10 now, $4 / $20 from December 1, 2026. No free tier.
- Free tier: most Flash, Flash-Lite and Hydrogen models, rate limited, prompts may train Google’s models.
- Discounts: Batch and Flex are 50% off; implicit caching is about 90% off cached input.
Every price below comes from Google’s Gemini Developer API pricing page (the old ai.google.dev pricing URL now redirects there), checked on November 14, 2026. Google has two price increases scheduled, so check the page again before you set a budget.
How much does the Gemini API cost per million tokens?
The Gemini API charges per million tokens, separately for input and output, and output always includes the model’s thinking tokens. Prices below are Google’s Standard (paid) tier for text, image and video input, in US dollars, as of November 2026.
| Model | Input ($/1M tokens) | Output ($/1M tokens) | Cached input ($/1M) | Free tier? |
|---|---|---|---|---|
| Gemini 4 Carbon | $2.00, then $4.00 from Dec 1, 2026 | $10.00, then $20.00 | $0.10, then $0.20 (implicit only) | No |
| Gemini 4 Argon | $2.00, then $4.00 from Dec 1, 2026 | $10.00, then $20.00 | $0.10, then $0.20 (implicit only) | No |
| Gemini 4 Hydrogen | $1.50 | $7.50 | $0.075 (implicit only) | Yes |
| Gemini 3.1 Pro Preview, prompts ≤200K | $2.00 | $12.00 | $0.20 | No |
| Gemini 3.1 Pro Preview, prompts >200K | $4.00 | $18.00 | $0.40 | No |
| Gemini 3.8 Flash | $0.75, then $1.50 from Jan 1, 2027 | $3.75, then $7.50 | $0.075, then $0.15 | Yes |
| Gemini 3.6 Flash | $0.75, then $1.50 from Jan 1, 2027 | $3.75, then $7.50 | $0.075, then $0.15 | Yes |
| Gemini 3 Flash Preview | $0.50 | $3.00 | $0.05 | Yes |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $0.03 | Yes |
| Gemini 3.1 Flash-Lite | $0.25 | $1.50 | $0.025 | Yes |
| Gemini 2.5 Pro (deprecated), prompts ≤200K | $1.25 | $10.00 | $0.125 | Yes |
| Gemini 2.5 Flash (deprecated) | $0.30 | $2.50 | $0.03 | Yes |
| Gemini 2.5 Flash-Lite | $0.10 | $0.40 | $0.01 | Yes |
A few details the table can’t hold:
- Audio input costs more on the models that price it separately: $0.50 per million on Gemini 3.1 Flash-Lite, $1.00 on Gemini 3 Flash Preview and 2.5 Flash, $0.30 on 2.5 Flash-Lite.
- Explicit cache storage is billed per hour: $1.00 per million tokens per hour on the Flash-Lite models, $0.50 on 3.8 Flash until December 31 (then $1.00), and $4.50 on 3.1 Pro Preview and 2.5 Pro. Gemini 4 models support implicit caching only, so there’s no storage fee.
- PDFs are billed at the image token rate, per Google’s pricing notes.
- Gemini 2.5 Pro and 2.5 Flash are deprecated. From December 1, 2026, calls to
gemini-2.5-proroute to Gemini 3.8 Flash and are billed at its rates, and calls togemini-2.5-flashroute to Gemini 3.5 Flash-Lite. Gemini 2.5 Flash-Lite is not on that list.
Gemini 4 Carbon is Google’s “most capable reasoning model”; Argon is the “efficient” Gemini 4 model, which Google says uses fewer tokens per turn at the same list price. Hydrogen is the everyday Gemini 4 model with a 1M-token context window, and the only Gemini 4 model on the free tier.
Is the Gemini API free to use?
Yes, for most models: the Gemini API’s free tier needs no billing account and covers Gemini 4 Hydrogen, Gemini 3.8 Flash, 3.6 Flash, 3.5 Flash-Lite, 3.1 Flash-Lite, 3 Flash Preview, the 2.5 models, Gemma 4 and both embedding models. Gemini 4 Carbon, Gemini 4 Argon, Gemini 3.1 Pro Preview and every image and video model are paid only.
Using Google AI Studio itself (the web playground) is also free in every supported region, according to the same page.
Two trade-offs come with the free tier:
- Your prompts may be used to improve Google’s products. Google’s pricing page marks “Used to improve our products” as Yes on the free tier and No on the paid tier. Don’t send customer data or private code through a free key.
- No Google Search grounding on Gemini 3 and newer models. On the free tier, grounding is only available on 2.5 Flash and 2.5 Flash-Lite, up to 500 requests a day between them.
What are the Gemini API free tier rate limits?
Gemini API rate limits apply per Google Cloud project, not per API key, and are measured in requests per minute (RPM), input tokens per minute (TPM) and requests per day (RPD), with daily counts resetting at midnight Pacific time. Going over any one of them returns a 429 error, even if the others have room.
Google’s rate limits page no longer lists fixed free-tier numbers for each model. It says your current limits “can be viewed in Google AI Studio” and change with your tier and account status, and that preview models get tighter limits. Check yours under the rate limit view in AI Studio rather than trusting a number from an old blog post.
How do Gemini API usage tiers work?
Gemini API usage tiers raise your rate limits as you spend more, and each tier has a billing cap. You move up automatically once you qualify, based on spend across Google Cloud on the linked billing account.
| Tier | How you qualify | Billing tier cap | Spend limit per 10 minutes |
|---|---|---|---|
| Free | Active project or free trial | N/A | N/A |
| Tier 1 | Link an active billing account | $250 | $10 |
| Tier 2 | $100 paid, plus 3 days since first payment | $2,000 | $200 |
| Tier 3 | $1,000 paid, plus 30 days since first payment | $20,000 to $100,000+ | $200 |
The 10-minute spend limit is easy to miss: on Tier 1, a burst of long Gemini 4 Carbon calls that costs more than $10 inside 10 minutes gets 429 RESOURCE_EXHAUSTED, even if you’re under every token limit. Google says whether it applies depends on your billing history.
How much does the Gemini Batch API save?
The Gemini Batch API costs exactly half the standard price for input and output tokens, in exchange for asynchronous results. It’s the simplest discount to take for anything that doesn’t need an answer in seconds: nightly classification, evals, back-filling embeddings, bulk summaries.
Google offers two more service tiers on the same page:
- Flex (preview): also 50% off, but the call stays synchronous, with variable latency and best-effort availability. You opt in with
service_tier: "flex", per the Flex inference docs. - Priority: 1.8 times the standard price for faster, more reliable serving. Gemini 3.8 Flash on Priority is $1.35 input and $6.75 output per million tokens until December 31, 2026.
Batch jobs have their own limits: 100 concurrent batch requests, a 2 GB input file limit, and an enqueued-token ceiling per model that grows with your tier (on Tier 1, 5,000,000 tokens for Gemini 4 Carbon and Argon, 3,000,000 for Hydrogen and 3.8 Flash).
What do Gemini tools, grounding and images cost?
Tools are billed on top of tokens. Google Search grounding on Gemini 3 and newer models gives 5,000 free search requests a month, shared across all those models, then costs $14 per 1,000, with a default cap of 1,500 grounded requests per day per project. Gemini 2.5 models use the older scheme: 1,500 free grounded prompts a day, then $35 per 1,000.
| Tool or output | Price as of November 2026 |
|---|---|
| Google Search grounding (Gemini 3+) | 5,000 free/month, then $14 per 1,000 requests |
| Google Maps grounding (Gemini 3+) | 5,000 free/month, then $14 per 1,000 |
| Code execution | No tool fee; generated code and results billed as tokens |
| URL context | Fetched content billed as input tokens |
| File search | Embeddings at Gemini Embedding ($0.15 per 1M tokens) or Gemini Embedding 2 rates, retrieved text as input |
Gemini Embedding (gemini-embedding-001) | $0.15 per 1M input tokens |
| Gemini 3.1 Flash Image (Nano Banana 2) | $0.067 per 1K image, $0.151 per 4K image |
| Nano Banana 2.1 | $0.0336 per 1K image, $0.113 per 4K image |
| Gemini 3 Pro Image (Nano Banana Pro) | $0.134 per 1K or 2K image, $0.24 per 4K image |
Gemma 4, Google’s open model, is free on the free tier and not offered on the paid tier at all. If you need it at production volume, you host it yourself.
What does the Gemini API cost in practice? Worked examples
These examples use the November 2026 list prices above. Real bills run higher when a model thinks a lot, because thinking tokens are billed as output, so measure your own usageMetadata for a day before you trust any estimate.
1. A support chatbot. 10,000 conversations a day, 1,500 input and 500 output tokens each, for 30 days: 450M input and 150M output tokens a month.
| Model | Monthly cost |
|---|---|
| Gemini 2.5 Flash-Lite | $105 |
| Gemini 3.1 Flash-Lite | $337.50 |
| Gemini 3.5 Flash-Lite | $510 |
| Gemini 3.8 Flash (until Dec 31, 2026) | $900 |
| Gemini 3.8 Flash (from Jan 1, 2027) | $1,800 |
| Gemini 4 Hydrogen | $1,800 |
Gemini 3.8 Flash costs about 8.5 times as much as 2.5 Flash-Lite today, and about 17 times from January. Start on a Flash-Lite model and move up only the conversations it gets wrong.
2. A coding agent on Gemini 4 Carbon. 200 calls a day, each with 50,000 input and 4,000 output tokens (10M input and 0.8M output a day). Today that’s $20 + $8 = $28 a day. From December 1, 2026 the same work costs $56 a day. If 80% of the input is a repeated prefix that hits the implicit cache, today’s cost drops to about $12.80 a day (8M cached at $0.10, 2M fresh at $2, plus $8 output).
3. One long document on Gemini 3.1 Pro Preview. A 300,000-token prompt with a 2,000-token answer is billed at the over-200K rate: $1.20 input + $0.036 output = about $1.24. Trim the same document to 150,000 tokens and it costs about $0.32, because both the token count and the rate fall.
4. A nightly batch job. Classify 1 million records at 400 input and 20 output tokens each on Gemini 2.5 Flash-Lite through the Batch API ($0.05 / $0.20): 400M input costs $20 and 20M output costs $4, so $24 a night. At that volume you’ll need to split the job into several batches to stay under the per-model enqueued-token limit.
5. Grounded answers. 20,000 search-grounded requests a month on Gemini 3.8 Flash: the first 5,000 are free and the other 15,000 cost $210, on top of tokens. That’s about 670 a day, inside the 1,500-a-day cap.
How does Gemini API pricing compare with Claude and OpenAI?
Gemini API pricing spans a wider range than most providers: from $0.10/$0.40 per million tokens on Gemini 2.5 Flash-Lite up to $4/$20 on Gemini 4 Carbon after December 1, 2026. Anthropic and OpenAI change their own lists often, so compare against their current pricing pages rather than a snapshot. Our Gemini vs Claude API pricing comparison goes model by model, the Claude API pricing guide covers Anthropic’s side, and the LLM API pricing comparison adds OpenAI and DeepSeek.
How do you keep Gemini API costs down?
Most Gemini API savings come from five settings, not from switching providers:
- Pick the smallest model that passes your evals. A Flash-Lite model costs from about 2.5 times less than Gemini 3.8 Flash to more than 20 times less than Gemini 4 Carbon.
- Cap thinking. Set a thinking budget where the model supports one; thinking tokens are billed as output.
- Batch or Flex anything that can wait. Both are 50% off.
- Put the stable part of the prompt first so implicit caching can bill it at the cached rate.
- Keep Gemini 3.1 Pro Preview prompts under 200,000 tokens. Above that, input and output prices jump.
Then set a monthly project spend cap in AI Studio and a budget alert on the billing account. Our guide to reducing AI API costs covers routing and prompt trimming in more depth.
How do you track Gemini API spend?
Google AI Studio and the linked Cloud Billing account are the source of truth for Gemini API spend: AI Studio shows usage and rate limits per project and lets you set a monthly spend cap per project, and Cloud Billing shows cost and lets you set budget alerts. If you call Gemini through Google Cloud’s Gemini Enterprise Agent Platform instead, Google notes that its prices can differ from the Developer API prices above.
FavTray is a macOS menu bar app of developer and productivity tools, free with daily limits on some tools, $4.99 once for Lifetime. We make FavTray, so weigh our take accordingly. Its AI Usage Tracker is free in full and shows Claude and Codex session limits, reset times and spend in the menu bar, with no FavTray server involved. It does not read your Google Cloud bill, so for Gemini API spend in dollars, AI Studio and Cloud Billing remain the place to look. For a local approach across providers, see tracking AI API costs without a cloud service, or compare FavTray plans on the pricing page.
The short version: start on a Flash-Lite model on the free tier, move to a paid key before any real user data touches it, batch whatever can wait, and plan for the Gemini 4 price change on December 1 and the Gemini 3.8 Flash increase on January 1, 2027.
Frequently Asked Questions
How much does the Gemini API cost?
As of November 2026, Gemini API prices run from $0.10 input and $0.40 output per million tokens (Gemini 2.5 Flash-Lite) to $2 and $10 for the top Gemini 4 Carbon and Argon models, which rise to $4 and $20 on December 1, 2026. The mid-range Gemini 3.8 Flash costs $0.75 and $3.75 until December 31, 2026, then doubles. Batch requests cost half.
Is the Gemini API free?
Partly. Google's Gemini API has a free tier with no card for most Flash and Flash-Lite models, Gemini 4 Hydrogen, Gemini 2.5 Pro, Gemma 4 and the embedding models, within rate limits you can see in Google AI Studio. Gemini 4 Carbon, Gemini 4 Argon, Gemini 3.1 Pro Preview and the image models are paid only. Free-tier prompts may be used to improve Google's products.
What are the Gemini API free tier limits?
Google sets free-tier limits per project, not per API key, as requests per minute, input tokens per minute and requests per day. Daily limits reset at midnight Pacific time. Google no longer publishes a fixed per-model table; the docs say your current limits are shown in Google AI Studio, and preview models get tighter limits. Linking a billing account moves you to Tier 1.
Why is my Gemini API bill higher than I expected?
Usually because of thinking tokens. Google bills them as output tokens on every Gemini model, so a short visible answer can cost several times what its length suggests. Other common causes are prompts over 200,000 tokens on Gemini 3.1 Pro Preview, which doubles the input price, cache storage billed per hour, and Google Search grounding beyond the 5,000 free requests a month.
Is the Gemini Batch API cheaper?
Yes. Google's Batch API charges 50% of the standard price for input and output tokens on every Gemini text model. For example, Gemini 3.8 Flash batch costs $0.375 input and $1.875 output per million tokens until December 31, 2026. Flex inference, a preview tier for synchronous but latency-tolerant calls, gives the same 50% discount. Priority inference costs 1.8 times standard.
Is Gemini API pricing changing in December 2026?
Yes. Google's pricing page lists Gemini 4 Carbon and Argon at $2 input and $10 output per million tokens through November 30, 2026, then $4 and $20 from December 1. Gemini 3.8 Flash and 3.6 Flash double on January 1, 2027. Also on December 1, calls to gemini-2.5-pro and gemini-2.5-flash start routing to newer models at their rates.