Gemini API pricing
What Google charges for each Gemini text model on the Gemini Developer API, in US dollars per million tokens, with the free tier, context caching, the Batch, Flex and Priority tiers and grounding charges.
Source: Gemini Developer API pricing and deprecations, checked 28 November 2026. Paid-tier list prices; Gemini Enterprise Agent Platform (Vertex AI) prices can differ.
Current models
| Model | Free tier | Input | Output | Context cache | Batch input | Batch output | Priority input | Priority output |
|---|---|---|---|---|---|---|---|---|
Gemini 4 Carbongemini-4-carbon. Price from 1 December 2026; $2 input and $10 output until 30 November | No | $4 | $20 | $0.20 | $2 | $10 | $7.20 | $36 |
Gemini 4 Argongemini-4-argon. Price from 1 December 2026; $2 input and $10 output until 30 November | No | $4 | $20 | $0.20 | $2 | $10 | $7.20 | $36 |
Gemini 4 Neongemini-4-neon | No | $3 | $15 | $0.15 | $1.50 | $7.50 | $5.40 | $27 |
Gemini 4 Hydrogengemini-4-hydrogen | Yes | $1.50 | $7.50 | $0.075 | $0.75 | $3.75 | $2.70 | $13.50 |
Gemini 3.8 Flashgemini-3.8-flash. From 1 January 2027: $1.50 input, $7.50 output, $0.15 cache | Yes | $0.75 | $3.75 | $0.075 | $0.375 | $1.875 | $1.35 | $6.75 |
Gemini 3.6 Flashgemini-3.6-flash. From 1 January 2027: $1.50 input, $7.50 output, $0.15 cache | Yes | $0.75 | $3.75 | $0.075 | $0.375 | $1.875 | $1.35 | $6.75 |
Gemini 3.5 Flash-Litegemini-3.5-flash-lite | Yes | $0.30 | $2.50 | $0.03 | $0.15 | $1.25 | $0.54 | $4.50 |
Per million tokens. Output prices include thinking tokens. Gemini 4 models support implicit context caching only. Flex costs the same as Batch.
Earlier and preview models
| Model | Free tier | Input | Output | Context cache | Batch input | Batch output | Priority input | Priority output |
|---|---|---|---|---|---|---|---|---|
Gemini 3.1 Pro Previewgemini-3.1-pro-preview. Preview model. Prompts over 200K tokens: $4 input, $18 output, $0.40 cache | No | $2 | $12 | $0.20 | $1 | $6 | $3.60 | $21.60 |
Gemini 3 Flash Previewgemini-3-flash-preview. Preview model. Audio input $1 | Yes | $0.50 | $3 | $0.05 | $0.25 | $1.50 | $0.90 | $5.40 |
Gemini 3.1 Flash-Litegemini-3.1-flash-lite. Shuts down 7 May 2027 (replacement 3.5 Flash-Lite). Audio input $0.50 | Yes | $0.25 | $1.50 | $0.025 | $0.125 | $0.75 | $0.45 | $2.70 |
Gemini 2.5 Flash-Litegemini-2.5-flash-lite. Limited to users who used the 2.5 models before. Audio input $0.30 | Yes | $0.10 | $0.40 | $0.01 | $0.05 | $0.20 | $0.18 | $0.72 |
Left out: Gemini 2.5 Pro and 2.5 Flash. From 1 December 2026 Google routes API requests for them to Gemini 3.8 Flash and Gemini 3.5 Flash-Lite and bills them at those models’ rates. Shutdown dates for every vendor: AI model deprecation tracker.
Free tier
The free tier has rate limits and no charge for input or output tokens on Gemini 4 Hydrogen, Gemini 3.8 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash-Lite, Gemini 3 Flash Preview, Gemini 3.1 Flash-Lite, Gemini 2.5 Flash-Lite. Content sent on the free tier is used to improve Google’s products; on the paid tier it is not. Google AI Studio itself is free to use in available regions. The paid tier adds higher rate limits, context caching and the Batch API.
Batch, Flex and Priority
- Batch: 50 percent of Standard on input, output and context caching.
- Flex: the same price as Batch.
- Priority: 1.8 times Standard.
Gemini 3.1 Pro Preview is the only model on this page with a separate price for prompts over 200,000 tokens; it is listed under the model name.
Tools and grounding
- Grounding with Google Search on Gemini 3 and newer: 5,000 free requests a month shared across models, then $14 per 1,000, with a default cap of 1,500 requests a day per project. One prompt can trigger several search queries, each billed.
- Grounding with Google Search on Gemini 2.5: 1,500 free grounded prompts a day, then $35 per 1,000.
- Grounding with Google Maps on Gemini 3 and newer: 5,000 free requests a month, then $14 per 1,000. On Gemini 2.5: $25 per 1,000 after the free daily allowance.
- Code execution, URL context and computer use: no separate fee; the tokens are billed at the model’s rates.
- File search: embeddings at Gemini Embedding rates ($0.15 per million tokens for the first version), and retrieved text as normal tokens.
Gemini image, speech and embedding prices are compared with other vendors on image generation API pricing, text-to-speech API pricing and embedding API pricing.
API compared with a Google AI plan
The API is paid per token; Google AI plans are a monthly price sold through Google One. The plan prices, from Google One:
- Google AI Pro: $19.99/month. 5 TB storage.
- Google AI Ultra: From $99.99/month. Starting at 20 TB storage.
Every vendor’s plans side by side: AI subscription pricing. The same layout for other vendors: OpenAI API pricing, Claude API pricing, DeepSeek API pricing, Grok API pricing, Mistral API pricing. A monthly figure for your own traffic: AI token cost calculator.
Frequently asked questions
How much does the Gemini API cost per million tokens?+
Gemini 4 Carbon: $4 input and $20 output. Gemini 4 Argon: $4 input and $20 output. Gemini 4 Neon: $3 input and $15 output. Gemini 4 Hydrogen: $1.50 input and $7.50 output. Gemini 3.8 Flash: $0.75 input and $3.75 output. Gemini 3.6 Flash: $0.75 input and $3.75 output. Gemini 3.5 Flash-Lite: $0.30 input and $2.50 output. These are paid-tier Standard prices in US dollars; Gemini 3.8 Flash and Gemini 3.6 Flash rise to $1.50 and $7.50 on 1 January 2027.
Is the Gemini API free?+
There is a free tier with rate limits for Gemini 4 Hydrogen, Gemini 3.8 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash-Lite, Gemini 3 Flash Preview, Gemini 3.1 Flash-Lite, Gemini 2.5 Flash-Lite. Gemini 4 Carbon, Argon and Neon and Gemini 3.1 Pro Preview are paid only. On the free tier Google uses your content to improve its products; on the paid tier it does not.
What are the Gemini API pricing tiers?+
Standard is the list price. Batch and Flex cost half of Standard. Priority costs 1.8 times Standard. Each tier applies to input, output and context caching.
Is the Gemini API included in a Google AI Pro or Ultra subscription?+
No. Google AI plans are sold through Google One as a monthly subscription; the Gemini API is billed separately per token through Google AI Studio or Google Cloud billing.
How much does grounding with Google Search cost?+
On Gemini 3 and newer models, 5,000 search requests a month are free across all models, then $14 per 1,000, with a default cap of 1,500 requests a day per project. On Gemini 2.5 models, 1,500 grounded prompts a day are free, then $35 per 1,000.
Related: how to get a Gemini API key for free, AI API rate limits, AI model rankings.