2027 buyer's guide · Gemini API

Gemini API pricing in 2027

Gemini's headline rate is only the start. Thinking tokens, long-context thresholds, grounding queries and the free tier's data terms decide what you actually pay.

Abstract illustration of token meters and model price tiers
Illustration: token, cache and grounding cost components. Plugsky Editorial Team.

Google prices the Gemini API in three layers: a free tier, a paid per-token tier, and an enterprise path through Vertex AI with provisioned throughput and volume discounts. The layers look simple until a bill arrives with thinking tokens, cached input, search grounding and a context length above a threshold.

This guide walks through the published rates, the free-tier trade-off, and the charges that surprise teams in the first month. Rates were checked on 23 November 2026. Several are introductory prices with a stated end date, so the date matters as much as the number.

Gemini API rates, checked 23 November 2026
ModelFree tierInput per 1M tokensOutput per 1M tokensBest for
Gemini 4 CarbonNo$2.00 through 30 Nov 2026; $4.00 from 1 Dec 2026$10.00 through 30 Nov 2026; $20.00 from 1 Dec 2026Hardest reasoning and coding tasks
Gemini 4 NeonNo$3.00$15.00Long-context agentic work
Gemini 4 HydrogenYes$1.50$7.50Balanced production workloads
Gemini 3.8 FlashYes$0.75 through 31 Dec 2026; $1.50 from 1 Jan 2027$3.75 through 31 Dec 2026; $7.50 from 1 Jan 2027High-volume multimodal work
Gemini 3.1 Pro PreviewNo$2.00 up to 200k tokens; $4.00 above$12.00 up to 200k tokens; $18.00 aboveLong prompts that need a Pro model
Gemini EmbeddingYes$0.15Not applicableText retrieval and clustering

How a Gemini bill is actually built

Every request bills input tokens and output tokens separately. Output includes thinking tokens for reasoning models, which means a model that thinks longer can cost more even when the visible answer is short. Google states this explicitly on the pricing page: every token the model processes is counted, including thinking tokens and internal tool instructions.

Cached input is a third line. Context caching is available on paid tiers and is priced below standard input, which makes repeated long prompts cheaper if the cache hits. The saving disappears when the prompt changes on every call, so cache design matters more than the headline cache rate.

Grounding is a fourth line. Grounding with Google Search includes 5,000 free search requests per month shared across Gemini 3 and newer models, then $14 per 1,000 requests, subject to a daily cap of 1,500 requests. A request to Gemini can trigger more than one search query, and each query is billed. That is a cost that does not appear in a token estimate.

  • Count thinking tokens when you model output cost.
  • Model cache hit rate, not just the discounted cache price.
  • Add grounding queries if the application uses search.
  • Include failed and retried requests in the volume estimate.

The free tier is a data decision

Google offers a free tier with input and output tokens at no charge for several models, but the terms differ from the paid tier. On the free tier, content is used to improve Google's products. On the paid tier, it is not. A prototype that handles customer data should not use the free tier just because it is free.

The free tier also has lower limits and limited access to certain models. Some models, including Gemini 4 Carbon and 4 Neon, are not available on the free tier at all. If your evaluation depends on the most capable model, you need a billing account before the first test.

The practical split is simple: free tier for public or synthetic data, paid tier for anything covered by a customer contract. Write that rule down before a developer pastes a real support ticket into a demo.

Rate limits and spend caps

Gemini applies rate limits per project, not per API key, across requests per minute, input tokens per minute and requests per day. Requests per day reset at midnight Pacific time. Image models add an images-per-minute limit, and some models add tokens per day.

Paid accounts also have spend-based limits evaluated over a rolling 10-minute window. The published tiers are $10 per 10 minutes for Tier 1 and $200 for Tier 2 and Tier 3. The billing tier caps are $250 for Tier 1, $2,000 for Tier 2 and $20,000 to $100,000 or more for Tier 3. Hitting a spend limit returns a 429, which looks like a rate-limit error in application logs.

That distinction matters for incident response. A 429 may mean too many requests, too many tokens, or too much spend in the window. Log the error body and the current tier, or the on-call engineer will chase the wrong cause.

Five cost traps in the published rates

The first is the long-context step. Gemini 3.1 Pro Preview charges $2 per million input tokens up to 200k tokens and $4 above that, with output rising from $12 to $18. A prompt that crosses the threshold doubles part of the bill. Trim context or split the task before assuming the lower rate.

The second is the introductory price. Gemini 3.8 Flash is $0.75 input and $3.75 output through 31 December 2026, then $1.50 and $7.50. Gemini 4 Carbon is $2 and $10 through 30 November 2026, then $4 and $20. A budget built on the introductory rate is wrong for January.

The third is thinking. A reasoning model may spend thousands of tokens before it answers. Set a reasoning budget where the API supports one, and measure the output-token distribution, not the average.

The fourth is grounding. Search queries are billed per query, not per user request, and the daily cap can interrupt a workflow that worked in testing.

The fifth is batch. The Batch API is priced at 50% below standard, which is a large saving for offline work, but it is not suitable for interactive traffic. Mixing batch and real-time estimates in one model produces a number that matches neither.

Gemini API or Vertex AI?

The Gemini Developer API is the faster path: a free tier, per-token pricing, context caching and batch. Vertex AI, which Google now markets as the Gemini platform, adds enterprise controls, Model Garden, custom training, agents, provisioned throughput and volume discounts. It also sits inside a Google Cloud account with networking and billing.

Choose the developer API when a small team needs model access and nothing else. Choose Vertex when procurement requires a cloud contract, when you need private networking or custom models, or when steady traffic justifies provisioned throughput. The model rates may look similar; the surrounding cost and control do not.

A common mistake is starting on Vertex because it sounds more enterprise, then paying for platform overhead before the product has traffic. The reverse mistake is staying on the developer API after the security review has failed. Match the platform to the stage, and revisit at each stage change.

When a competitor wins

A flat-rate provider wins when the workload is steady and the model catalogue covers the task. Plugsky's plans at $20, $60 and $120 remove per-token variance and include a private deployment path, which is useful when finance wants a fixed line item.

OpenAI or Anthropic wins when their models score better on your evaluation, or when their tooling is already integrated. OpenAI's own list shows the spread: GPT-6 Luna at $0.10 input and $0.50 output per million tokens, and GPT-6.2 Astra at $8 and $40. Open-model providers such as Together or Fireworks win when you want a specific open model at a lower rate or on dedicated capacity.

The honest answer is that Gemini is often the value option for multimodal and long-context work, and often not the quality leader for every task. Run a blind evaluation on 100 real prompts, then price the top two models. The cheapest model that fails the task is the most expensive choice.

Verdict

Use the Gemini Developer API for fast access and the free tier only with non-sensitive data. Move to paid tiers before handling customer content, and budget for thinking tokens, grounding and the January 2027 price steps. Move to Vertex when you need enterprise controls, private networking or provisioned capacity.

Price the completed task, not the million tokens. A cheap model that needs two retries and a human fix is not cheap.

Frequently asked questions

Is the Gemini API free?

There is a free tier for several models, with lower limits and limited model access. Free-tier content is used to improve Google's products. Paid tiers are per-token and do not use content for product improvement.

Are thinking tokens billed?

Yes. Google states that every token the model processes is counted, including thinking tokens, and output pricing includes them.

What happens above 200k tokens?

Gemini 3.1 Pro Preview charges a higher rate above 200k input tokens: $4 per million input and $18 per million output, versus $2 and $12 below the threshold.

Is the Batch API cheaper?

Yes, Google prices Batch at 50% below standard. It suits offline jobs, not interactive requests.

Why did I get a 429 on a paid account?

It may be a request, token or spend limit. Gemini applies spend-based limits over a rolling 10-minute window, so a burst of expensive requests can trigger a 429 before the per-minute request limit.

Related

Sources

  1. Gemini Developer API pricing · 23 Nov 2026
  2. Gemini API rate limits · 23 Nov 2026
  3. Vertex AI pricing · 23 Nov 2026
  4. OpenAI API pricing · 23 Nov 2026