Updated

Gemini API pricing

How Gemini API charges, what to know before you commit, and what you'd pay at your usage — next to what the alternatives would cost for the same thing.

How it charges

Checked 2026-10-11 on ai.google.dev ↗ · USD, list prices
In short

Pay per token on the paid tier, from $0.25 / $1.50 per million input/output tokens on Gemini 3.1 Flash-Lite to $2 / $12 on 3.1 Pro Preview; a free tier covers some models.

Free plan
No, pay as you go
Side project
$2.75/mo Gemini 3.1 Flash-Lite
Growing
$28/mo Gemini 3.1 Flash-Lite
Scaling
$550/mo Gemini 3.1 Flash-Lite
What the model leaves out

Paid-tier Standard text prices. Gemini 3.8 Flash is $0.75 / $3.75 through December 31, 2026 and rises to $1.50 / $7.50 on January 1, 2027. Gemini 3.1 Pro Preview costs $4 / $18 for prompts over 200K tokens. Batch and Flex are 50% off. A free tier exists but may use prompts to improve Google's products.

Before you commit
  • Gemini 3.8 Flash doubles to $1.50 / $7.50 per million tokens on January 1, 2027.
  • Output prices include thinking tokens.
  • Free-tier content is used to improve Google's products; paid-tier content is not.
  • Gemini 3.1 Pro Preview prompts over 200K tokens cost $4 / $18 per million, and Google Search grounding is $14 per 1,000 requests after 5,000 free a month.
PlanMonthly feeInput tokens per monthOutput tokens per month
Gemini 3.1 Pro PreviewNone$2 per million tokens$12 per million tokens
Gemini 3.8 FlashNone$0.75 per million tokens$3.75 per million tokens
Gemini 3.5 Flash-LiteNone$0.3 per million tokens$2.5 per million tokens
Gemini 3.1 Flash-LiteNone$0.25 per million tokens$1.5 per million tokens

What you'd pay

Gemini 3.1 Flash-Lite50 million tokens × $0.25 per million tokens + 10 million tokens × $1.5 per million tokens$28/mo

Cost as you grow

$0$100$500$1,000$2,0001510501005001k5k
Gemini APIDeepSeekMistral AIGroqClaudeOpenAI APIx: input tokens per month (million tokens), other usage scaled with it · cheapest usable plan at each point, list prices

Questions

Is Gemini API free for LLM API?

No — there's no free plan, but no monthly fee either: you pay for what you use (Gemini 3.1 Pro Preview: input tokens $2 per million tokens, output tokens $12 per million tokens).

How much does Gemini API cost for LLM API?

Pay per token on the paid tier, from $0.25 / $1.50 per million input/output tokens on Gemini 3.1 Flash-Lite to $2 / $12 on 3.1 Pro Preview; a free tier covers some models. At list prices: input tokens 5 million tokens, output tokens 1 million tokens: $2.75/month (Gemini 3.1 Flash-Lite); input tokens 50 million tokens, output tokens 10 million tokens: $28/month (Gemini 3.1 Flash-Lite); input tokens 1 billion tokens, output tokens 200 million tokens: $550/month (Gemini 3.1 Flash-Lite).