16 models across 2 tiers

Gemini API rate card, 2026

Current rates for all 16 Gemini models, including cache read/write, batch discounts, and long-context tiers.

Models

16

Cheapest input

$0.10/MTok

Cheapest output

$0.40/MTok

Cache discount

0% - 90% off

Gemini API pricing table

ModelTierInput $/MTokOutput $/MTokCache ReadCache WriteBatchContext
Gemini 2.5 Flash-LiteFast / Budget$0.10$0.40$0.01(90% off)$0.10(no surcharge)$0.05(50% off)1.0M
Gemini 3.1 Flash-LiteFast / Budget$0.25$1.50$0.03(90% off)$0.25(no surcharge)$0.13(50% off)1.0M
Gemini 3.5 Flash-LiteFast / Budget$0.30$2.50$0.03(90% off)$0.30(no surcharge)$0.15(50% off)1.0M
Gemini 2.5 FlashFast / Budget$0.30$2.50$0.03(90% off)$0.30(no surcharge)$0.15(50% off)1.0M
Gemini 3 FlashFast / Budget$0.50$3.00$0.05(90% off)$0.50(no surcharge)$0.25(50% off)1.0M
Gemini 3.6 FlashFast / Budget$0.75$3.75$0.08(90% off)$0.75(no surcharge)$0.38(50% off)1.0M
Gemini 3.7 FlashFast / Budget$0.75$3.75$0.08(90% off)$0.75(no surcharge)$0.38(50% off)1.0M
Gemini 3.8 FlashFast / Budget$0.75$3.75$0.08(90% off)$0.75(no surcharge)$0.38(50% off)1.0M
Gemini Robotics ER 2Fast / Budget$1.00$5.00$0.10(90% off)$1.00(no surcharge)$0.50(50% off)131K
Gemini 2.5 Computer UseFast / Budget$1.25$10.00$1.25(0% off)$1.25(no surcharge)$0.63(50% off)128K
Gemini 2.5 ProMid-tier$1.25$10.00$0.13(90% off)$1.25(no surcharge)$0.63(50% off)1.0M
Gemini 3.5 FlashFast / Budget$1.50$9.00$0.15(90% off)$1.50(no surcharge)$0.75(50% off)1.0M
Gemini Omni 1.1 FlashFast / Budget$1.50$9.00$1.50(0% off)$1.50(no surcharge)$0.75(50% off)1.0M
Gemini Omni FlashFast / Budget$1.50$9.00$1.50(0% off)$1.50(no surcharge)$0.75(50% off)1.0M
Gemini 3.1 ProMid-tier$2.00$12.00$0.20(90% off)$2.00(no surcharge)$1.00(50% off)1.0M
Gemini 3.1 Pro Custom ToolsMid-tier$2.00$12.00$0.20(90% off)$2.00(no surcharge)$1.00(50% off)1.0M

Gemini 2.5 Flash-Lite: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.

Gemini 3.1 Flash-Lite: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.

Gemini 2.5 Flash: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.

Gemini 3.6 Flash: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Benchmarked from the LiveBench 2026-06-25 release (2026-W26) in the first rankings sync.

Gemini 3.7 Flash: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Benchmarked from the LiveBench 2026-06-25 release (2026-W26) in the first rankings sync.

Gemini 3.8 Flash: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Benchmarked from the LiveBench 2026-06-25 release (2026-W26) in the first rankings sync.

Gemini Robotics ER 2: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.

Gemini 2.5 Computer Use: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.

Gemini 2.5 Pro: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.

Gemini Omni 1.1 Flash: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.

Gemini Omni Flash: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.

Gemini 3.1 Pro Custom Tools: Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.

Gemini cache and batch pricing

How caching and batch processing affect your Gemini API costs.

Cache read discount

When a prompt prefix is already cached, the provider charges a reduced rate for those tokens. Gemini cache read discounts range from 0% to 90% off the standard input rate, depending on the model.

Cache write cost

Gemini does not charge a cache write surcharge. Writing tokens to cache costs the same as standard input.

Batch discount

All Gemini models offer a 50% batch discount. Batch requests are processed asynchronously and cost 50% of the standard rate.

Gemini long-context pricing

Some Gemini models apply higher rates once the total prompt exceeds a threshold. Both input and output tokens may be re-priced for the entire request.

ModelThresholdInput multiplierOutput multiplier
Gemini 2.5 Computer Use200.001K tokens2x1.5x
Gemini 2.5 Pro200.001K tokens2x1.5x
Gemini 3.1 Pro200.001K tokens2x1.5x
Gemini 3.1 Pro Custom Tools200.001K tokens2x1.5x

Gemini cost by use case

Estimated cost per API call across common workloads, using default token counts for each use case.

Use caseFlash-LiteFlash-LiteFlash-LiteFlashFlashFlashFlashFlash2UseProFlashFlashFlashProTools
Code Generation$0.001800$0.006500$0.0106$0.0106$0.0130$0.0165$0.0165$0.0165$0.0220$0.0425$0.0425$0.0390$0.0390$0.0390$0.0520$0.0520
Unit Test Generation$0.002300$0.008250$0.0134$0.0134$0.0165$0.0210$0.0210$0.0210$0.0280$0.0538$0.0538$0.0495$0.0495$0.0495$0.0660$0.0660
SQL Generation$0.000550$0.001875$0.002950$0.002950$0.003750$0.004875$0.004875$0.004875$0.006500$0.0119$0.0119$0.0113$0.0113$0.0113$0.0150$0.0150
API Generation$0.002700$0.009750$0.0159$0.0159$0.0195$0.0248$0.0248$0.0248$0.0330$0.0638$0.0638$0.0585$0.0585$0.0585$0.0780$0.0780
Code Refactoring$0.002000$0.007000$0.0112$0.0112$0.0140$0.0180$0.0180$0.0180$0.0240$0.0450$0.0450$0.0420$0.0420$0.0420$0.0560$0.0560
Code Review$0.001300$0.004250$0.006500$0.006500$0.008500$0.0112$0.0112$0.0112$0.0150$0.0263$0.0263$0.0255$0.0255$0.0255$0.0340$0.0340
PR Review$0.002000$0.006500$0.009900$0.009900$0.0130$0.0173$0.0173$0.0173$0.0230$0.0400$0.0400$0.0390$0.0390$0.0390$0.0520$0.0520
Security Review$0.001600$0.005250$0.008050$0.008050$0.0105$0.0139$0.0139$0.0139$0.0185$0.0325$0.0325$0.0315$0.0315$0.0315$0.0420$0.0420
Bug Detection$0.001300$0.004250$0.006500$0.006500$0.008500$0.0112$0.0112$0.0112$0.0150$0.0263$0.0263$0.0255$0.0255$0.0255$0.0340$0.0340
Document Summarization$0.001400$0.004000$0.005500$0.005500$0.008000$0.0112$0.0112$0.0112$0.0150$0.0225$0.0225$0.0240$0.0240$0.0240$0.0320$0.0320
PDF Summarization$0.002100$0.006000$0.008250$0.008250$0.0120$0.0169$0.0169$0.0169$0.0225$0.0338$0.0338$0.0360$0.0360$0.0360$0.0480$0.0480
Meeting Notes$0.001600$0.005000$0.007400$0.007400$0.0100$0.0135$0.0135$0.0135$0.0180$0.0300$0.0300$0.0300$0.0300$0.0300$0.0400$0.0400

Recent Gemini price changes

Gemini 3.5 Flash input increased

$0.15 to $1.50/MTok

Jul 15, 2026

Gemini 3.5 Flash output increased

$0.60 to $9.00/MTok

Jul 15, 2026

Gemini 3.5 Flash output decreased

$0.75 to $0.60/MTok

Jun 10, 2026

Gemini 3.1 Pro input launched

$2.00/MTok at launch

Apr 22, 2026

View full Gemini pricing history

Track your Gemini spend

See exactly how much you spend on Gemini models and where you can save. Two-line wrapper install, no API keys shared.

Gemini API pricing FAQ

How much does the Gemini API cost?

Gemini API pricing starts at $0.10/MTok for input and $0.40/MTok for output. Prices vary by model tier: flagship models cost more but deliver higher quality, while fast/budget models are significantly cheaper for high-volume workloads.

Does Gemini offer batch discounts?

Yes. Gemini supports batch processing, which sends requests asynchronously at a reduced rate. The batch discount is 50% off standard pricing across all Gemini models.

What is the Gemini cache read discount?

Gemini cache read discounts vary by model, ranging from 0% to 90% off the standard input rate.

How many Gemini models are available?

There are currently 16 Gemini models available through the API, spanning 2 tiers: Fast / Budget, Mid-tier.

Is there a free tier for the Gemini API?

Gemini API pricing is pay-per-use based on token consumption. There is no permanent free tier, but new accounts typically receive introductory credits. Tokeven helps you track exactly what you spend so nothing is wasted.

Does Gemini charge more for long context?

Yes. Some Gemini models apply a long-context surcharge when the total prompt exceeds a token threshold. Both input and output rates increase for the entire request. Check the long-context pricing table above for exact thresholds and multipliers per model.