Gemini API (Google AI Studio) pricing
The Gemini API has a free tier; the paid tier bills by use. Per 1M tokens, Gemini 4 Carbon costs $2 input and $10 output ($4 and $20 from December 1, 2026), Gemini 3.8 Flash $0.75 and $3.75, and Gemini 3.5 Flash-Lite $0.30 and $2.50.
Plans and prices
| Plan | Billed monthly | Billed yearly |
|---|---|---|
| FreeFor individuals | Free | |
| PaidFor individuals | Pay as you go | |
| EnterpriseFor companies | Contact sales | |
What each plan includes
Free
- $0 for input and output tokens, up to each model's rate limits
- Covers Gemini 4 Hydrogen, Gemini 3.8 Flash and Gemini 3.5 Flash-Lite
- Gemini 4 Carbon, Gemini 4 Argon and Gemini 3.1 Pro are not included
- Content you send is used to improve Google's products
- Google AI Studio is free in all available regions
Paid
- Prepay from $5; purchased credits expire after 12 months
- The Batch API takes 50% off (Gemini 4 Carbon: $1 input, $5 output)
- Gemini 4 Carbon and Argon rise to $4 input and $20 output on December 1, 2026
- Gemini 3.8 Flash rises to $1.50 input and $7.50 output on January 1, 2027
- Content you send is not used to improve Google's products
Enterprise
- Price quoted by sales
- Runs on Gemini Enterprise Agent Platform
- Dedicated support, provisioned throughput and volume discounts can be added
Usage rates
| Item | Unit | Price |
|---|---|---|
| Gemini 4 Carbon input (through Nov 30, 2026) | 1M tokens | $2 |
| Gemini 4 Carbon output (through Nov 30, 2026) | 1M tokens | $10 |
| Gemini 4 Hydrogen input | 1M tokens | $1.50 |
| Gemini 4 Hydrogen output | 1M tokens | $7.50 |
| Gemini 3.1 Pro Preview input (prompts up to 200K tokens) | 1M tokens | $2 |
| Gemini 3.1 Pro Preview output (prompts up to 200K tokens) | 1M tokens | $12 |
| Gemini 3.8 Flash input (through Dec 31, 2026) | 1M tokens | $0.75 |
| Gemini 3.8 Flash output (through Dec 31, 2026) | 1M tokens | $3.75 |
| Gemini 3.5 Flash-Lite input | 1M tokens | $0.30 |
| Gemini 3.5 Flash-Lite output | 1M tokens | $2.50 |
Questions people ask
Is the Gemini API free?
Yes. On the free tier, input and output on Gemini 4 Hydrogen, Gemini 3.8 Flash and Gemini 3.5 Flash-Lite cost $0 up to each model's rate limits. Gemini 4 Carbon and Gemini 3.1 Pro are paid only.
How much do the Pro-class Gemini models cost?
Gemini 4 Carbon is $2 input and $10 output per 1M tokens, rising to $4 and $20 on December 1, 2026. Gemini 3.1 Pro Preview is $2 input and $12 output for prompts up to 200K tokens.
What do Gemini 3.8 Flash and Flash-Lite cost?
Gemini 3.8 Flash is $0.75 input and $3.75 output per 1M tokens ($1.50 and $7.50 from January 1, 2027). Gemini 3.5 Flash-Lite is $0.30 input and $2.50 output.
Can I use the $300 Google Cloud welcome credit on the Gemini API?
Not on accounts opened after March 2, 2026. The paid tier starts with a prepayment of $5 or more.
Compare ai model apis
| Tool | Free plan | Lowest paid plan (a month) | Team plan (per seat a month) | Plans |
|---|---|---|---|---|
| OpenAI APIOpenAI | No | Pay as you go | – | Pay as you go |
| Claude APIAnthropic | No | Pay as you go | – | Pay as you go |
| Gemini APIGoogle | Yes | Pay as you go | – | Free · Paid · Enterprise |
| DeepSeek APIDeepSeek | No | Pay as you go | – | Pay as you go |
Sources
- aistudio.google.com/docs/pricing read November 17, 2026
- aistudio.google.com/docs/models read November 17, 2026
- aistudio.google.com/docs/billing read November 17, 2026