3AM Marketer
AI

Google Gemini API Pricing: 2027 Rates and Routing

Google Gemini API pricing changes on December 1, 2026, as Gemini 4 Carbon doubles to $4.00/$20.00 per 1M tokens and legacy 2.5 models route to 3.5 Flash-Lite and 3.8 Flash.

$4 / 1M
5 sources, checked 14 Nov 2026.

Google Gemini API pricing shifts on December 1, 2026, when Gemini 4 Carbon doubles from $2.00/$10.00 to $4.00/$20.00 per 1 million tokens and legacy Gemini 2.5 models automatically route to Gemini 3.5 Flash-Lite and Gemini 3.8 Flash. Teams budgeting for 2027 also face a 10-minute billing pipeline latency on Prepay accounts and a November 13, 2026 rule that charges for timed-out Gemini 4 completions exceeding 32K tokens.123

Billing mechanics and Tier 2 and Tier 3 requirements

New accounts begin on the Free Tier, which provides access to certain models in the Gemini API and AI Studio up to the models' free tier rate limits. Moving to Paid Tiers requires linking a billing account and using Prepay, which unlocks higher rate limits, advanced models, and ensures your prompts and responses are not used to improve Google products.1

Prepay and Postpay billing plans for the Gemini API and AI Studio took effect March 23, 2026. When a Prepay credit balance reaches $0, all API keys in all projects linked to that billing account stop working simultaneously and return an HTTP 402 Payment Required error. Reaching Tier 2 paid access requires a $100 spend and 3 days from the first successful payment, while Tier 3 requires a $1,000 spend and 30 days from the first successful payment.1

A table showing Gemini API usage tiers, qualification requirements, and billing caps.
Screenshot of aistudio.google.com, captured 2026-11-14

Gemini 4 and 3 series unit pricing per 1M tokens

Model costs vary widely across the Gemini 3 and Gemini 4 families, with Gemini 4 Carbon's December 1, 2026 price hike creating a sharp gap between flagship and mid-tier options. According to our LLM API pricing timeline, 1 million input plus 1 million output tokens costs $0.50 on Gemini 2.5 Flash-Lite compared to $24.50 on the specialized Gemini 3.5 Transcribe Live audio model, a 49-fold spread across modalities.25

For workloads that do not require Carbon, teams running high-volume classification or extraction can drop to Gemini 3.8 Flash at $0.75 input and $3.75 output, or Gemini 3.1 Flash-Lite at $0.25 input and $1.50 output.25

A pricing table for Gemini 4 models listing global input and output rates per 1 million tokens.
Screenshot of cloud.google.com, captured 2026-11-14

Automatic model routing starting December 1, 2026

Effective December 1, 2026, all API requests to gemini-2.5-flash will automatically route to gemini-3.5-flash-lite, while requests to gemini-2.5-pro will automatically route to gemini-3.8-flash.3

Avoiding 10-minute Prepay latency and 32K timeout charges

Prepay billing is subject to overages during an approximately 10 minute billing pipeline latency. Long-running tasks like batch mode and agents may continue to consume credits beyond your balance before the $0 cutoff triggers the HTTP 402 error.1

Normally, you are charged only for requests that return a 200 response code, while 4xx and 5xx errors are not billed for input or output. However, effective November 13, 2026, when a Gemini 4 completion exceeds 32K tokens in length, users are charged for retrievable token usage even if the request ultimately fails due to client or server timeouts.2

Omni 1.2 Flash video and Google Search grounding

Billing for Gemini Omni 1.2 Flash is based on total output token consumption at a rate of 5,792 tokens per second of 720p video, which equates to approximately $0.07 per second under Standard pricing of $12.00 per 1M tokens, a key factor when budgeting for multimodal AI app costs.4

Grounding with Google Search includes 5,000 Grounding Queries per month at no charge, aggregated across all Gemini 3 and Gemini 4 models. Grounding Queries exceeding the 5,000 query free limit are billed at $14 per 1,000 Grounding Queries, which teams evaluating AI search optimization tools should factor into monthly forecasts.2

Questions

Is Gemini API totally free?

New accounts begin on the Free Tier, which provides access to certain models in the Gemini API and AI Studio up to the models' free tier rate limits. Moving to Paid Tiers requires linking a billing account and ensures your prompts and responses are not used to improve Google products.

How does Gemini API billing work?

Prepay and Postpay billing plans took effect March 23, 2026, with Tier 2 requiring $100 spend and 3 days of history and Tier 3 requiring $1,000 spend and 30 days. Prepay accounts stop working with an HTTP 402 error when the balance hits $0, though they remain subject to an approximately 10 minute billing pipeline latency.