# Gemini API cost calculator

[Calculate my cost →](https://apicostcheck.com/calculator/?model=gemini-3.5-flash-lite)[Compare Google (Gemini) models side by side](https://apicostcheck.com/compare/?m=gemini-3.5-flash-lite,gemini-3.8-flash,gemini-3.6-flash,gemini-4-argon)

Gemini caches repeated prompt prefixes implicitly. There is no cache-write fee in our data: the first request pays normal input and later hits are billed at 5%–10% of the input price. Caching only starts above a minimum prompt length (4,096 tokens where our data lists one), so short prompts never get the discount, and you cannot force a hit. Google also sells explicit caches with an hourly storage fee; those are not modelled here.

The Batch API takes 50% off input and 50% off output, but cached tokens inside a batch cost 50%–100% of the normal cached rate depending on the model, so Batch and caching do not always stack. Long-context rates apply above 200K for Gemini 3.1 Pro Preview and 1 more (input 2×, output 1.5×), to the whole request; models not named there keep one price at every prompt length. 

The table prices one workload on each model: 10,000 requests a day with 6,000 input and 500 output tokens per request. Columns: no caching; 70% of input read from the cache and 5% written to it; every request sent through the Batch API. For the same traffic [Gemini 3.1 Pro Preview](https://apicostcheck.com/models/gemini-3.1-pro-preview/) costs 6× as much as [Gemini 3.5 Flash Lite](https://apicostcheck.com/models/gemini-3.5-flash-lite/).

| Model | Standard 10,000 req/day · 6,000 in · 500 out [Calculate with your numbers →](https://apicostcheck.com/calculator/?daily=10000&input=6000&output=500&cache=0&write=0&batch=0) | With prompt caching 10,000 req/day · 6,000 in · 500 out · cache 70% [Calculate with your numbers →](https://apicostcheck.com/calculator/?daily=10000&input=6000&output=500&cache=70&write=5&batch=0) | Batch API 10,000 req/day · 6,000 in · 500 out · batch [Calculate with your numbers →](https://apicostcheck.com/calculator/?daily=10000&input=6000&output=500&cache=0&write=0&batch=100) |
| --- | --- | --- | --- |
| [Gemini 3.5 Flash Lite](https://apicostcheck.com/models/gemini-3.5-flash-lite/) | $915/mo | $575/mo | $458/mo |
| [Gemini 3.8 Flash](https://apicostcheck.com/models/gemini-3.8-flash/) | $1,912/mo | $1,062/mo | $956/mo |
| [Gemini 3.6 Flash](https://apicostcheck.com/models/gemini-3.6-flash/) | $1,912/mo | $1,062/mo | $956/mo |
| [Gemini 4 Argon](https://apicostcheck.com/models/gemini-4-argon/) | $5,100/mo | $2,706/mo | $2,550/mo |
| [Gemini 3.1 Pro Preview](https://apicostcheck.com/models/gemini-3.1-pro-preview/) | $5,400/mo | $3,132/mo | $2,700/mo |

Estimates from published per-token rates; check official pricing before budgeting. Data synced from the LiteLLM price list 2026-11-24 01:00 UTC. 

[All Google (Gemini) API prices →](https://apicostcheck.com/providers/gemini/) 

## Cost per 1,000 requests

For 1,000 requests of 6,000 input and 500 output tokens, [Gemini 3.5 Flash Lite](https://apicostcheck.com/models/gemini-3.5-flash-lite/) costs $3.05 at standard rates, $1.92 with caching and $1.53 through the Batch API; [Gemini 3.1 Pro Preview](https://apicostcheck.com/models/gemini-3.1-pro-preview/) costs $18.00, $10.44 and $9.00. Multiply by your own request count, or put your traffic into the calculator. 

## How to cut the bill, in order
- Keep the shared prefix at the start and above the minimum cacheable length; short prompts never hit the implicit cache.
- Send requests about the same document close together to raise implicit hits; for a document queried for hours, compare an explicit cache (storage billed per hour) on Google's pricing page.
- Use Flash or Flash-Lite for volume and latency-sensitive work, Pro for complex reasoning and long documents.
- Batch everything that is not interactive, but check the cached rate inside batches for your model.
- Keep prompts under the long-context threshold with retrieval, and count them with the [token counter](https://apicostcheck.com/token-counter/) before budgeting in the [calculator](https://apicostcheck.com/calculator/). 

[When does caching pay off for your traffic? Use the prompt caching calculator →](https://apicostcheck.com/prompt-caching-calculator/)

## FAQ

### Do I pay to write Gemini's implicit cache?

Not in our data: a cache miss is billed as normal input and hits get the cached rate. Keep the shared part at the start of the prompt and send similar requests close together to raise the hit rate.

### Which Gemini models charge more for long prompts?

Only the models named in the long-context sentence above; all others keep one price at every prompt length in our data. Above the threshold the whole request uses the higher input and output rates.

### Is Gemini Batch cheaper than caching?

For unique prompts, Batch saves more. For prompts that share a long prefix, caching saves more on input. Use both where you can, but check the cached rate inside batches, which is not discounted further on every model.

### Flash or Pro?

Flash and Flash-Lite for high-volume, latency-sensitive work such as chat, classification and extraction; Pro for complex reasoning, code and long documents. They share the same caching and Batch rules, so the choice comes down to quality per dollar: test your prompts on both before committing.

---
Source: https://apicostcheck.com/gemini-api-cost-calculator/ · prices in USD per 1M tokens, synced 2026-11-24 01:00 UTC · Free to reuse under CC BY 4.0 with attribution to apicostcheck.com (a plain or nofollow link is fine). Prices derived from LiteLLM's model price list, MIT License, (c) 2023 Berri AI.
