Gemini API pricing (Google)

As of November 14, 2026, the Gemini API costs $0.1 to $2 per million input tokens and $0.4 to $12 per million output tokens, across 16 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 4 Hydrogen costs $1.5 input and $7.5 output; Gemini Omni 1.2 Flash costs $1.5 input and $9 output; Gemini 4 Argon costs $2 input and $10 output; Gemini 4 Carbon 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 4 Hydrogen
gemini-4-hydrogen
$1.5$0.075$7.5$0.75$3.751.05M$0.00525
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––131K$0.006
Gemini Omni 1.2 Flash
gemini-omni-1.2-flash
$1.5–$9––131K$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 4 Carbon
gemini-4-carbon
$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.00525 on Gemini 4 Hydrogen, $0.006 on Gemini Omni 1.2 Flash, $0.007 on Gemini 4 Argon, $0.007 on Gemini 4 Carbon 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 4 Hydrogen$0.00195$0.00525$0.0375$0.09$5.25
Gemini Omni 1.2 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 4 Carbon$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. 14 of the 16 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. 14 of the 16 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. Gemini models accept 131K 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 14 models list one price for their whole context window.

Google Gemini API price changes

Since October 22, 2026, when apicost.app started tracking, no Google Gemini model has changed its standard API price. 3 new models were added, most recently Gemini 4 Carbon on Nov 14, 2026. 1 model left the price list, most recently Gemini Omni Flash Preview on Oct 23, 2026.

Dated from the day a change reached the price list. Every provider: LLM API price changes.

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 4 Hydrogen$1.5 / $7.5$0.00525GPT-4.1 $2 / $8 · $0.006 · 1.1× the priceClaude Sonnet 5 $2 / $10 · $0.007 · 1.3× the price
Gemini Omni 1.2 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 4 Carbon$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 14, 2026, the Gemini API costs $0.1 to $2 per million input tokens and $0.4 to $12 per million output tokens, across 16 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 4 Hydrogen costs $1.5 input and $7.5 output; Gemini Omni 1.2 Flash costs $1.5 input and $9 output; Gemini 4 Argon costs $2 input and $10 output; Gemini 4 Carbon 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.

Did Google Gemini raise its API prices?

No. Since October 22, 2026, when apicost.app started tracking, no Google Gemini model has changed its standard API price. 3 new models were added, most recently Gemini 4 Carbon on Nov 14, 2026. 1 model left the price list, most recently Gemini Omni Flash Preview on Oct 23, 2026.

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.

Is the Gemini API cheaper than a Gemini subscription?

It depends on how much you use it. $20 of Gemini API usage pays for about 2,857 typical requests (1,000 input and 500 output tokens) on Gemini 4 Argon, or 66,666 on Gemini 2.5 Flash Lite. At 30 typical requests a day, a month costs $6.30 on Gemini 4 Argon and $0.27 on Gemini 2.5 Flash Lite. Long chats cost more per message than that, because every turn sends the whole conversation again as input tokens. The API is billed separately from any Gemini app subscription.

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.00525 on Gemini 4 Hydrogen, $0.006 on Gemini Omni 1.2 Flash, $0.007 on Gemini 4 Argon, $0.007 on Gemini 4 Carbon 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. 14 of the 16 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?

14 of the 16 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. Gemini models accept 131K 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 14 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)