Gemini API pricing (Google)

As of November 3, 2026, the Gemini API costs $0.1 to $2 per million input tokens and $0.4 to $12 per million output tokens, across 13 Gemini models. Gemini 3.5 Flash Lite costs $0.3 input and $2.5 output; Gemini 3.8 Flash costs $0.75 input and $3.75 output; Gemini Omni 1.1 Flash costs $1.5 input and $9 output; Gemini 4 Argon costs $2 input and $10 output; Gemini 3.1 Pro Preview costs $2 input and $12 output. A typical request of 1,000 input and 500 output tokens costs $0.0003 on Gemini 2.5 Flash Lite and $0.008 on Gemini 3.1 Pro Preview.

Prices updated

Gemini API price per 1M tokens, every model

ModelInputCached inputOutputBatch inputBatch outputContextTypical request
Gemini 2.5 Flash Lite
gemini-2.5-flash-lite
$0.1$0.01$0.4$0.05$0.21.05M$0.0003
Gemini 3.1 Flash Lite
gemini-3.1-flash-lite
$0.25$0.025$1.5$0.125$0.751.05M$0.001
Gemini 2.5 Flash
gemini-2.5-flash
$0.3$0.03$2.5$0.15$1.251.05M$0.00155
Gemini 3.5 Flash Lite
gemini-3.5-flash-lite
$0.3$0.03$2.5$0.15$1.251.05M$0.00155
Gemini 3 Flash Preview
gemini-3-flash-preview
$0.5$0.05$3$0.25$1.51.05M$0.002
Gemini 3.6 Flash
gemini-3.6-flash
$0.75$0.075$3.75$0.375$1.8751.05M$0.00263
Gemini 3.7 Flash
gemini-3.7-flash
$0.75$0.075$3.75$0.375$1.8751.05M$0.00263
Gemini 3.8 Flash
gemini-3.8-flash
$0.75$0.075$3.75$0.375$1.8751.05M$0.00263
Gemini 3.5 Flash
gemini-3.5-flash
$1.5$0.15$9$0.75$4.51.05M$0.006
Gemini Omni 1.1 Flash
gemini-omni-1.1-flash
$1.5–$9––1.05M$0.006
Gemini 2.5 Pro
gemini-2.5-pro
$1.25$0.125$10$0.625$51.05M$0.00625
Gemini 4 Argon
gemini-4-argon
$2$0.1$10$1$51.05M$0.007
Gemini 3.1 Pro Preview
gemini-3.1-pro-preview
$2$0.2$12$1$61.05M$0.008

US dollars per million tokens, sorted by the cost of a typical request of 1,000 input and 500 output tokens.

Calculate the cost of your own prompt →

How much does a Gemini API request cost?

A typical request of 1,000 input and 500 output tokens costs $0.00155 on Gemini 3.5 Flash Lite, $0.00263 on Gemini 3.8 Flash, $0.006 on Gemini Omni 1.1 Flash, $0.007 on Gemini 4 Argon and $0.008 on Gemini 3.1 Pro Preview. A coding agent step with 50K tokens of context and 2K output tokens costs $0.12 on Gemini 3.1 Pro Preview.

ModelShort chat message
300 in, 200 out
Typical request
1K in, 500 out
Long document summary
20K in, 1K out
Coding agent step
50K in, 2K out
1,000 typical requests
Gemini 3.5 Flash Lite$0.00059$0.00155$0.0085$0.02$1.55
Gemini 3.8 Flash$0.000975$0.00263$0.0187$0.045$2.63
Gemini Omni 1.1 Flash$0.00225$0.006$0.039$0.093$6.00
Gemini 4 Argon$0.0026$0.007$0.05$0.12$7.00
Gemini 3.1 Pro Preview$0.003$0.008$0.052$0.12$8.00

At standard rates, for the newest model of each Gemini family. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words. Google Gemini counts tokens with its own tokenizer, so the same text can be a different number of tokens.

How batch, prompt caching and long context change the price

Batch API. 12 of the 13 priced Gemini models have a batch API price. Requests sent as a batch are processed within 24 hours and cost 50% less: Gemini 3.1 Pro Preview drops from $2 input and $12 output to $1 and $6 per million tokens. See batch API pricing.

Prompt caching. 12 of the 13 priced Gemini models charge less for cached input, the part of a prompt that repeats across requests: typically 90% less. Gemini 3.1 Pro Preview charges $0.2 per million cached input tokens instead of $2. See prompt caching pricing.

Long context. Every Gemini model accepts up to 1.05M input tokens. Long prompts cost more on 2 models: Gemini 2.5 Pro charges $2.5 input and $15 output per million tokens once a prompt is over 200K tokens, instead of $1.25 input and $10 output; Gemini 3.1 Pro Preview charges $4 input and $18 output per million tokens once a prompt is over 200K tokens, instead of $2 input and $12 output. A 300K-token prompt with 2K output tokens on Gemini 3.1 Pro Preview costs $1.24, against $0.62 at the standard rate. The other 11 models list one price for their whole context window.

Gemini API vs OpenAI and Claude

It depends on the model. The cheapest Gemini model, Gemini 2.5 Flash Lite, costs $0.0003 per typical request; the cheapest OpenAI model, GPT-5 nano, costs $0.00025. Gemini 3.1 Pro Preview ($0.008) is closest in price to GPT-5.6 Terra ($0.008): about the same.

Gemini modelInput / outputTypical requestClosest OpenAI modelClosest Claude model
Gemini 3.5 Flash Lite$0.3 / $2.5$0.00155GPT-5 mini $0.25 / $2 · $0.00125 · 1.2× cheaperClaude Haiku 4.5 $1 / $5 · $0.0035 · 2.3× the price
Gemini 3.8 Flash$0.75 / $3.75$0.00263GPT-5.4 mini $0.75 / $4.5 · $0.003 · 1.1× the priceClaude Haiku 4.5 $1 / $5 · $0.0035 · 1.3× the price
Gemini Omni 1.1 Flash$1.5 / $9$0.006GPT-4.1 $2 / $8 · $0.006 · about the sameClaude Sonnet 5 $2 / $10 · $0.007 · 1.2× the price
Gemini 4 Argon$2 / $10$0.007GPT-6 Sol $2 / $10 · $0.007 · about the sameClaude Sonnet 5 $2 / $10 · $0.007 · about the same
Gemini 3.1 Pro Preview$2 / $12$0.008GPT-5.6 Terra $2 / $12 · $0.008 · about the sameClaude Sonnet 5 $2 / $10 · $0.007 · 1.1× cheaper

For each Gemini model, the model from the other provider whose typical request costs the nearest, with its input / output price per million tokens, its typical request, and how that compares with the Gemini model.

Questions and answers

How much does the Gemini API cost?

As of November 3, 2026, the Gemini API costs $0.1 to $2 per million input tokens and $0.4 to $12 per million output tokens, across 13 Gemini models. Gemini 3.5 Flash Lite costs $0.3 input and $2.5 output; Gemini 3.8 Flash costs $0.75 input and $3.75 output; Gemini Omni 1.1 Flash costs $1.5 input and $9 output; Gemini 4 Argon costs $2 input and $10 output; Gemini 3.1 Pro Preview costs $2 input and $12 output. A typical request of 1,000 input and 500 output tokens costs $0.0003 on Gemini 2.5 Flash Lite and $0.008 on Gemini 3.1 Pro Preview.

What is the cheapest Gemini model?

Gemini 2.5 Flash Lite (gemini-2.5-flash-lite), at $0.1 per million input tokens and $0.4 per million output tokens.

How much does a Gemini API request cost?

A typical request of 1,000 input and 500 output tokens costs $0.00155 on Gemini 3.5 Flash Lite, $0.00263 on Gemini 3.8 Flash, $0.006 on Gemini Omni 1.1 Flash, $0.007 on Gemini 4 Argon and $0.008 on Gemini 3.1 Pro Preview. A coding agent step with 50K tokens of context and 2K output tokens costs $0.12 on Gemini 3.1 Pro Preview.

Is the Gemini batch API cheaper?

Yes. 12 of the 13 priced Gemini models have a batch API price. Requests sent as a batch are processed within 24 hours and cost 50% less: Gemini 3.1 Pro Preview drops from $2 input and $12 output to $1 and $6 per million tokens.

How much does prompt caching save on the Gemini API?

12 of the 13 priced Gemini models charge less for cached input, the part of a prompt that repeats across requests: typically 90% less. Gemini 3.1 Pro Preview charges $0.2 per million cached input tokens instead of $2.

Does long context cost more on the Gemini API?

Yes, on some models. Every Gemini model accepts up to 1.05M input tokens. Long prompts cost more on 2 models: Gemini 2.5 Pro charges $2.5 input and $15 output per million tokens once a prompt is over 200K tokens, instead of $1.25 input and $10 output; Gemini 3.1 Pro Preview charges $4 input and $18 output per million tokens once a prompt is over 200K tokens, instead of $2 input and $12 output. A 300K-token prompt with 2K output tokens on Gemini 3.1 Pro Preview costs $1.24, against $0.62 at the standard rate. The other 11 models list one price for their whole context window.

Is the Gemini API cheaper than OpenAI?

It depends on the model. The cheapest Gemini model, Gemini 2.5 Flash Lite, costs $0.0003 per typical request; the cheapest OpenAI model, GPT-5 nano, costs $0.00025. Gemini 3.1 Pro Preview ($0.008) is closest in price to GPT-5.6 Terra ($0.008): about the same.

Is the Gemini API free?

Google has a free tier for some Gemini models in Google AI Studio, with lower rate limits, and free-tier prompts may be used to improve Google's products. The paid tier is billed per token at the prices on this page. Check Google's pricing page for which models the free tier covers today.

Source: Google Gemini pricing, via the LiteLLM price list.

Other providers

OpenAI API pricingClaude API pricing (Anthropic)Mistral API pricingDeepSeek API pricingGrok API pricing (xAI)