Loading...


Updated 18 Sep 2026 • 6 mins read

Google Gemini API pricing is token-based and varies sharply by model, from low-cost Flash-Lite to higher-accuracy Pro. This 2026 guide breaks down per-model input and output rates, the tiered pricing on Pro, the cost of thinking tokens, context caching and Search grounding, a vendor comparison, and practical ways to cut your bill.
Google's Gemini API has become one of the most cost-competitive ways to build with a frontier model, but the pricing page is easy to misread. Rates change with each model, output costs several times more than input, and the newer reasoning models charge for the tokens they spend thinking. A small change in which model you call can swing your bill by 10x.
That makes Gemini pricing less of a sticker question and more of a FinOps one. For anyone building a product on the API, the real cost depends on model choice, prompt size, output length, and whether you use features like context caching and Search grounding.
This guide breaks down Gemini API pricing by model for 2026, explains the tiered pricing on Pro, shows what actually drives your bill, compares Gemini against OpenAI and Anthropic, and lays out practical ways to cut costs without losing quality.
Quick answer: Gemini API pricing is pay-per-token and depends entirely on the model. Gemini 3.1 Pro is the high-accuracy tier at $2 per million input tokens and $12 output for standard prompts, rising to $4 and $18 above 200K tokens. The current Gemini 3.x Flash models are the workhorse tier at about $0.75 input and $3.75 output on introductory pricing through December 31, 2026 (then $1.50 and $7.50), and the Flash-Lite tiers run from $0.10 to $0.30 input. Output is far more expensive than input on every model, and it includes the model's thinking tokens. There is a free tier in Google AI Studio for Flash models; Pro models are paid-only. Always confirm current rates on Google's official Gemini API pricing page, because models and prices change often.
The Gemini API is billed per million tokens on a standard paid tier, with a free tier (Flash and Flash-Lite) for prototyping; Pro models have been paid-only since April 1, 2026.
Gemini 3.1 Pro is $2 input and $12 output per million up to 200K tokens, and $4 and $18 above that; it supports a 2-million-token context window, the largest in production.
The current Gemini 3.x Flash models are about $0.75 and $3.75 on introductory pricing through December 31, 2026, then $1.50 and $7.50; Flash-Lite tiers run $0.10 to $0.30 input.
Every Gemini model includes a 1-million-token context window, even the cheapest, which is unusual among frontier providers.
Thinking tokens are billed at output rates, batch is 50 percent off, and cached input reads cost about 10 percent of the base rate, so real costs depend heavily on how you use it.
Gemini is billed per token, not per request. A token is a chunk of text, roughly four characters or three-quarters of a word in English. Every call has two metered parts:
Output is the expensive side. On most models, output tokens cost several times more than input, so a chatty model that reasons at length can cost far more than the input rate suggests. There are also two billing surfaces for the same models: the Gemini API through Google AI Studio, and Vertex AI for enterprise governance. Per-token rates are broadly similar; Vertex adds enterprise controls and its own commitments.
Free tier: Google AI Studio offers a free tier with lower rate limits, useful for prototyping. On the free tier, your prompts and responses may be used to improve Google's products. On the paid tier, your data is not used for training. If you handle anything sensitive, build on the paid tier.
| Plan | Price | Notes |
|---|---|---|
| Free | $0 | Gemini 3.5 Flash default, 100 monthly AI credits, 15 GB storage |
| Google AI Plus | $7.99/mo | Budget tier — the only sub-$20 plan among major assistants |
| Google AI Pro | $19.99/mo | Gemini 3.1 Pro, 1M context, Deep Research, Gems, Canvas |
| Google AI Ultra | $99.99/mo | Cut from $249.99 at I/O 2026; 20 TB storage; ~5× Pro limits |
Here is the per-model breakdown for the Gemini 2.5 family, the current generation. Rates are per million tokens for standard text prompts. Confirm live numbers on Google's Gemini API pricing page, since Google updates models and rates regularly.
| Model | Input / 1M | Output / 1M | Best for |
|---|---|---|---|
| GPT-5-nano | $0.05 | $0.40 | High-volume simple tasks: tagging, routing |
| GPT-4.1-nano | $0.10 | $0.40 | Cheap classification and extraction |
| GPT-5 | $1.25 | $10.00 | Balanced general work |
| GPT-5.6 Terra | ~$2.00 | ~$12.00 | Common production choice in the GPT-5.6 family |
| GPT-5.4 | $2.50 | $15.00 | Production workhorse |
| GPT-5.5 | $5.00 | $30.00 | Frontier reasoning (cached input $0.50) |
| text-embedding-3-small | $0.02 | n/a | Embeddings and semantic search |
The pattern to internalize: Pro is for the work that genuinely needs it, Flash handles most production traffic, and Flash-Lite is for cheap, high-volume jobs where a smaller model is good enough. Choosing the right model per task, rather than defaulting everything to Pro, is the single biggest lever on your bill.
Gemini 3.1 Pro uses tiered pricing based on how large your prompt is. Short and medium prompts bill at the lower rate; once a single prompt crosses roughly 200K tokens, both input and output step up to a higher rate. It also supports a 2-million-token context window, the largest of the major flagships.
| Prompt size | Input / 1M | Output / 1M (incl. thinking) |
|---|---|---|
| Up to 200K tokens | $2.00 | $12.00 |
| Above 200K tokens | $4.00 | $18.00 |
Two things surprise teams here. First, the jump is per prompt, so a few very large requests can quietly bill at double the rate while your dashboards still show an average. Second, the output price includes thinking tokens. A hard reasoning task can generate far more internal thinking than visible answer, so a 500-token reply might bill as several thousand output tokens. If you do not need deep reasoning on a given call, a Flash model or a lower thinking budget usually wins on cost.
Most production traffic does not need the Pro model. The Flash tiers exist precisely so you do not overpay for routine work. The current Gemini 3.x Flash models are the balanced choice, priced at about $0.75 input and $3.75 output per million on introductory pricing through December 31, 2026 (then $1.50 and $7.50), with strong quality well below Pro on output. They are the right default for chat, summarization, extraction, and most app features, and because they are thinking models the same thinking-token caution applies, so tune the thinking budget down on simple calls.
Gemini 3.5 Flash-Lite ($0.30 input, $2.50 output) and 3.1 Flash-Lite ($0.25 and $1.50) are the budget tiers, built for high-throughput, latency-sensitive work like classification, routing, tagging, and simple transformations. The legacy Gemini 2.5 Flash-Lite at $0.10 and $0.40 remains the cheapest option only until it retires on October 16, 2026, so new work should target the 3.x tiers.
| Model | Input cost | Output cost | Estimated monthly total |
|---|---|---|---|
| Gemini 3.1 Flash-Lite | $0.25/M x 1,000M = $250 | $1.50/M x 250M = $375 | ~$625 |
| Gemini 3.8 Flash (intro) | $0.75/M x 1,000M = $750 | $3.75/M x 250M = $938 | ~$1,690 |
| Gemini 3.1 Pro | $2.00/M x 1,000M = $2,000 | $12.00/M x 250M = $3,000 | ~$5,000 |
Per-token rates are only the starting point. These five factors decide what you actually pay:
Token math feels abstract until you put numbers to it. Here is a simple estimate for a product that handles 500,000 requests per month, where each request sends about 2,000 input tokens and receives about 500 output tokens, including thinking. The same workload costs very differently depending on the model you route it to.
| Model | Input cost | Output cost | Estimated monthly total |
|---|---|---|---|
| Gemini 2.5 Flash-Lite | $0.10/M × 1,000M = $100 | $0.40/M × 250M = $100 | ~$200 |
| Gemini 2.5 Flash | $0.30/M × 1,000M = $300 | $2.50/M × 250M = $625 | ~$925 |
| Gemini 2.5 Pro | $1.25/M × 1,000M = $1,250 | $10.00/M × 250M = $2,500 | ~$3,750 |
The same traffic ranges from roughly $200 to $3,750 a month depending purely on model choice. That 18x spread is the entire argument for routing carefully and measuring cost per feature, not just total spend. It also shows why output dominates: on Flash and Pro, the output line is larger than the input line even though there are far fewer output tokens.
Most Gemini bills can be reduced meaningfully without hurting quality. In rough order of impact:
Gemini's headline advantage is price, especially on the Flash tiers. Here is how the flagship and workhorse models compare on published list rates. Treat these as approximate, since every provider updates pricing often.
| Model | Input / 1M | Output / 1M | Tier |
|---|---|---|---|
| Gemini 3.5 Flash | $1.50 | $9.00 | Workhorse (new default) |
| Gemini 3.1 Pro | $2.00 | $12.00 | Flagship (2M context) |
| OpenAI GPT-5.5 | $5.00 | $30.00 | Flagship |
| Claude Opus 4.8 | $5.00 | $25.00 | Flagship |
| Claude Sonnet 5 | $3.00 | $15.00 | Workhorse / mid |
| OpenAI GPT-6 Astra | $10.00 | $50.00 |
On raw token price, Gemini Flash sits well below the OpenAI and Anthropic flagships, which is why high-volume products often standardize on it. The flagship comparison is closer once you account for quality differences per task. The practical takeaway is the same one that applies to every provider: the cheapest model that meets your quality bar wins, and what matters most is total AI spend visibility across all the models you run, not any single sticker price.
Gemini is one of the most affordable ways to build with a frontier model, but the bill is driven by model choice, output length, and features like caching and grounding, not the headline rate.
Route work to the cheapest model that clears your quality bar, watch output and thinking tokens, and keep AI spend allocated. In 2026, visibility is the real cost lever.
There is a free tier through Google AI Studio with lower rate limits, which is good for prototyping. On the free tier your data may be used to improve Google's products. Production and sensitive workloads should use the paid tier, where data is not used for training
About $2 input and $12 output for standard prompts, stepping to $4/$18 once a single prompt exceeds ~200K tokens. It offers up to a 2M-token context — the largest of the major flagships.
Which Gemini model is the cheapest? Gemini 2.5 Flash-Lite remains the lowest-cost tier at $0.10/$0.40. Among the newer generation, Gemini 3 Flash ($0.50/$3) is the cheapest capable workhorse and Gemini 3.5 Flash ($1.50/$9) is the usual new default.
Generating tokens is more compute-intensive than reading them, so providers price output higher across the board. On Gemini 2.5 models, the output price also covers the model's internal thinking tokens, which can be several times the visible answer.
About $2 input and $12 output for standard prompts, stepping to $4 and $18 once a single prompt exceeds roughly 200K tokens. It offers a 2M-token context window, the largest of the major flagships, and thinking tokens are billed as output.
Gemini 2.5 Flash-Lite is the lowest-cost tier at $0.10 input and $0.40 output, but it retires on October 16, 2026. Among current models, Gemini 3.1 Flash-Lite ($0.25 and $1.50) is the cheapest, the 3.x Flash models ($0.75 and $3.75 on introductory pricing) are the usual default, and 3.1 Pro ($2 and $12) is the flagship.