Compare prices for the same model
USD per 1 million uncached text tokens. Each cell lists input / output. Short-context Standard rates; cache, tools, regional fees, taxes and funding fees are excluded.
| Exact model | Official provider | OpenRouter | API429 |
|---|---|---|---|
Gemini 3.8 Flashgemini-3.8-flash | $0.75 / $3.75Standard; text; output includes thinking; introductory rates through 2026-12-31; $1.50/$7.50 from January 1, 2027Source | $0.825 / $4.13Public catalog rateOpenRouter checked: 2026-11-21Source | $0.225 / $1.13Base rate; full conditions below |
Gemini 2.5 Flashgemini-2.5-flash | $0.3 / $2.5Standard; text; earlier generationSource | $0.3 / $2.5Public catalog rateOpenRouter checked: 2026-11-21Source | $0.09 / $0.75Base rate; full conditions below |
Gemini 2.5 Flash Litegemini-2.5-flash-lite | $0.1 / $0.4Standard; textSource | $0.1 / $0.4Public catalog rateOpenRouter checked: 2026-11-21Source | $0.03 / $0.12Base rate; full conditions below |
Gemini 3.1 Flash Litegemini-3.1-flash-lite | $0.25 / $1.5Standard; text input, output including thinking; excludes Batch, cache and toolsSource | No verified exact match | $0.075 / $0.45Base rate; full conditions below |
Gemini 3.1 Pro Previewgemini-3.1-pro-preview | $2 / $12Standard; text; input ≤200,000 tokensSource | $2 / $12Base tier; context overrides applyOpenRouter checked: 2026-11-21Source | $0.6 / $3.6$0.6 / 1,000,000 input tokens · Context up to 200,000 tokens inclusive |
Gemini 3.5 Flash Litegemini-3.5-flash-lite | $0.3 / $2.5Standard; textSource | $0.3 / $2.5Public catalog rateOpenRouter checked: 2026-11-21Source | $0.09 / $0.75Base rate; full conditions below |
Gemini 4 Argongemini-4-argon | $2 / $10Standard; text; output includes thinking; checked 2026-11-21; introductory rates through 2026-11-30; $4/$20 from December 1Source | No verified exact match | $0.6 / $3Base rate; full conditions below |
Gemini 2.5 Flash Thinkinggemini-2.5-flash-thinking | Not verified in this review | No verified exact match | $0.09 / $0.75Base rate; full conditions below |
Gemini 3 Flashgemini-3-flash | Not verified in this review | No verified exact match | $0.15 / $0.9Base rate; full conditions below |
OpenRouter amounts are model-list rates, excluding its separately listed platform fees. A missing quote means it was not verified for this comparison; it does not establish that the provider has no such model. Unverified reference figures are not filled with older or inferred prices.
The same workload, three budgets
Example: gemini-3.8-flash, 10 million input and 2 million output tokens across many short-context requests. No cache, tools or extra operations; this is not one 10-million-token prompt.
A changed token mix or context tier changes the result. For actual budgets, add billable reasoning, cache writes and tool use from your usage records.
How to calculate Gemini API costs
For rates per million tokens: cost = input tokens / 1,000,000 × input rate + output tokens / 1,000,000 × output rate + other billable operations. If caching has separate rates, split uncached input and cached tokens according to the selected tariff so they are not counted twice.
Illustrative arithmetic, not a model quote: with input at $0.10 and output at $0.50 per million tokens, 2,000 input and 500 output tokens cost $0.00045; a thousand such requests cost $0.45. For your budget, use the selected ID’s table rates and actual usage. Match the applicable context tier and processing mode.
Choosing a model by cost per accepted result
Compare models on the same task set and define an acceptable result first. Include output length, retries and accepted-output rate: the lowest token rate does not necessarily produce the cheapest completed workflow. For a monthly estimate, multiply cost per task by expected volume and allow for repeated calls.
The API429 table lists published paid rates. Free access or a consumer-chat subscription has separate terms and does not become API429 balance. If a charge differs from your estimate, compare the exact ID, request settings, usage and account record; share the request ID and time with support without your secret key.
Standard, free access and Batch
Google’s free tier has its own limits and conditions. It does not establish the price of an arbitrary production workload. Batch and Flex differ from Standard processing; use their own rates and limits if the job can wait.
Google publishes introductory rates for Gemini 3.8 and 3.6 Flash through December 31, 2026. Do not treat them as permanent costs. This table compares the current Standard rates rather than the rates scheduled for January.
Text, thinking, caching and Google Cloud
Output pricing includes billable thinking tokens; audio, images, search and cache storage can have separate rates. Pro pricing also depends on prompt length. The short-context table is not a complete multimodal estimate.
Gemini Developer API pricing does not establish the same price or contract for Vertex AI / Google Cloud. If an integration requires a native Google format, region or agent feature, check API429’s compatibility matrix for the specific method.
All published Google / Gemini rates in API429
These rows come from the live public API429 catalog, including conditional rates. Publication is separate from access under your key. GET /v1/models confirms your permitted models.
| Model | Rate and condition |
|---|---|
Gemini 3.8 Flashgemini-3.8-flash | $0.225 / 1,000,000 cache-write input tokens $0.0225 / 1,000,000 cached input tokens $0.0201 / 1 images · size=1K $0.0303 / 1 images · size=2K $0.0453 / 1 images · size=4K $0.225 / 1,000,000 input tokens $1.125 / 1,000,000 output tokens |
Gemini 2.5 Flashgemini-2.5-flash | $0.09 / 1,000,000 cache-write input tokens $0.009 / 1,000,000 cached input tokens $0.09 / 1,000,000 input tokens $0.75 / 1,000,000 output tokens |
Gemini 2.5 Flash Litegemini-2.5-flash-lite | $0.03 / 1,000,000 cache-write input tokens $0.003 / 1,000,000 cached input tokens $0.03 / 1,000,000 input tokens $0.12 / 1,000,000 output tokens |
Gemini 3.1 Flash Litegemini-3.1-flash-lite | $0.075 / 1,000,000 cache-write input tokens $0.0075 / 1,000,000 cached input tokens $0.075 / 1,000,000 input tokens $0.45 / 1,000,000 output tokens |
Gemini 3.1 Pro Previewgemini-3.1-pro-preview | $0.6 / 1,000,000 cache-write input tokens · Context up to 200,000 tokens inclusive $0.6 / 1,000,000 cache-write input tokens · Context over 200,000 tokens $0.06 / 1,000,000 cached input tokens · Context up to 200,000 tokens inclusive $0.12 / 1,000,000 cached input tokens · Context over 200,000 tokens $0.6 / 1,000,000 input tokens · Context up to 200,000 tokens inclusive $1.2 / 1,000,000 input tokens · Context over 200,000 tokens $3.6 / 1,000,000 output tokens · Context up to 200,000 tokens inclusive $5.4 / 1,000,000 output tokens · Context over 200,000 tokens |
Gemini 3.5 Flash Litegemini-3.5-flash-lite | $0.09 / 1,000,000 cache-write input tokens $0.009 / 1,000,000 cached input tokens $0.09 / 1,000,000 input tokens $0.75 / 1,000,000 output tokens |
Gemini 4 Argongemini-4-argon | $0.03 / 1,000,000 cached input tokens $0.0201 / 1 images · size=1K $0.0303 / 1 images · size=2K $0.0453 / 1 images · size=4K $0.6 / 1,000,000 input tokens $3 / 1,000,000 output tokens |
Gemini 2.5 Flash Thinkinggemini-2.5-flash-thinking | $0.09 / 1,000,000 cache-write input tokens $0.009 / 1,000,000 cached input tokens $0.09 / 1,000,000 input tokens $0.75 / 1,000,000 output tokens |
Gemini 3 Flashgemini-3-flash | $0.15 / 1,000,000 cache-write input tokens $0.015 / 1,000,000 cached input tokens $0.15 / 1,000,000 input tokens $0.9 / 1,000,000 output tokens |
API429 catalog generated: . Public source.
Connect the model and check the result
Create an API429 key and check the permitted model IDs before migrating a workload. Keep the key on your server. Review the request contract and inspect actual usage and charges on a small representative job before increasing volume.
Sources and comparison method
Reference rates checked November 21, 2026. Unconfirmed numeric quotes are withheld. Recheck after a model release, promotion or pricing change. Reference figures are hidden after their review deadline; current API429 prices load from the public catalog. Neither individual contracts nor discounts are inferred.
