Gemini and Gemma API pricing, newest model first

By TechCompare · Updated · How we check

A 150,000 token prompt with a 5,000 token answer and a quarter of the input cached costs $0.2090625 on Gemini 4 Hydrogen, the newest model. Gemini 2.5 Flash Lite, the lowest cost model Google sells itself, runs it for $0.013625.

Every Gemini and Gemma model and its API price

Newest first. Prices are per 1M tokens. One request is 150K tokens in and 5K out, with 25% of the input cached.

ModelInputOutputCachedContextOne requestListed
Gemini 4 HydrogenGoogle AI Studio$1.50$7.50$0.0751.05M$0.2091Nov 12, 2026
Gemini 4 CarbonGoogle AI Studio$4$20$0.201.05M$0.5575Nov 10, 2026
Gemini Omni 1.2 FlashGoogle AI Studio$1.50$9$1.50131K$0.27Nov 5, 2026
Gemini Omni 1.1 FlashGoogle AI Studio$1.50$9$1.50131K$0.27Nov 4, 2026
Gemini 4 ArgonGoogle AI Studio$4$20$0.201.05M$0.5575Oct 13, 2026
Gemini 3.8 FlashGoogle AI Studio$1.50$7.50$0.151.05M$0.2119Sep 2, 2026
Gemini 3.7 FlashGoogle AI Studio$1.50$7.50$0.151.05M$0.2119Aug 13, 2026
Gemini 3.5 Flash LiteGoogle AI Studio$0.30$2.50$0.031.05M$0.0474Jul 21, 2026
Gemini 3.6 FlashGoogle AI Studio$0.75$3.75$0.0751.05M$0.1059Jul 21, 2026
Gemini 3.5 FlashGoogle AI Studio$1.50$9$0.151.05M$0.2194May 19, 2026
Gemini 3.1 Flash LiteGoogle AI Studio$0.25$1.50$0.0251.05M$0.0366May 7, 2026
Gemma 4 26B A4BGoogle$0.15$0.60$0.15262K$0.0255Apr 3, 2026

Listed is the day OpenRouter added the model. Prices checked Nov 14, 2026.

Google sells Gemini through the Gemini API in Google AI Studio and through Vertex AI on Google Cloud. This page lists all 25 Google models OpenRouter carries, newest first, with the open weight Gemma line in the same table. Each row shows Google's own price where Google sells the model.

Gemini 4 uses element names. Gemini 4 Hydrogen is the workhorse for high volume agents and coding, at $1.50 input and $7.50 output per million tokens. Gemini 4 Carbon is a frontier model for coding and hard reasoning, at $4 and $20. Gemini 4 Argon is Google's flagship reasoning model, at $4 and $20.

Newest
Gemini 4 Hydrogen
$1.50 in, $7.50 out per 1M
Lowest cost per request
Gemini 2.5 Flash Lite
$0.0136 for the request in the table
Largest context
Gemini 4 Hydrogen
1.05M tokens

Calculator

Cost Comparison

Based on 150,000 input tokens (25% cached), 5,000 output tokens, and 100 requests.Prices come live from OpenRouter at each maker's own price where it's listed. Temporary deals are left out.

Loading model prices

How to read the Gemini and Gemma prices

Rows show Google's paid tier price where Google sells the model, and the host that charges least where it doesn't, which the Gemma rows often show. Input and output are per million tokens.

Google is running a 50% discount on Gemini 4 Carbon right now, which brings it to $2 input and $10 output per million. The table shows list prices, so the deal comes off what you see there. Deals like this come and go, so check the end date on Google's pricing page before you plan around one.

Gemini caches repeated prompt prefixes on its own, and those hits bill at the cached rate. You can also create a cache yourself and pay an hourly storage fee to keep it. On Gemini 4 Hydrogen a cached token costs $0.075 per million, 95% off the normal input rate.

Some models change rate with prompt size. Gemini 3.1 Pro Preview bills a prompt past 200,000 tokens at $4 input and $18 output per million, so a long document can change the bill a lot on that model. Gemini 4 Hydrogen reads up to 1.05M tokens, the largest window in the family.

Gemma is Google's open weight line. Google sells Gemma 4 26B A4B at $0.15 input and $0.60 output per million, and you can also download it and run it on your own hardware. The Gemini Omni Flash rows are different again: they're video generation models, and their token rates don't map to a chat request.

Verdict

Start with Gemini 4 Hydrogen for agent and coding work, and try Gemini 2.5 Flash Lite on the simple, high volume parts. Keep Gemini 4 Argon or Gemini 4 Carbon for the problems that need real reasoning, and measure the cost per accepted answer, not per token.

Prototype on the free tier if your data allows it, then switch to paid before real users show up. Keep long prefixes stable so caching can catch them, and send anything that can wait through the Batch API.

More LLM pricing scenarios

Frequently asked questions

How much does the Gemini API cost?
It depends on the model. Gemini 4 Hydrogen, the newest, costs $1.50 per million input tokens and $7.50 per million output tokens. Gemini 2.5 Flash Lite is the lowest cost model Google sells for a 150,000 token prompt with a 5,000 token answer, at $0.10 input and $0.40 output per million.
Is the Gemini API free?
There's a free tier in Google AI Studio with tight rate limits, good for testing. Google may use free tier prompts and answers to improve its products, so keep private data on the paid tier, which is what the table prices.
What do Hydrogen, Carbon and Argon mean?
They're the Gemini 4 model names. Gemini 4 Hydrogen is the high volume workhorse, Gemini 4 Carbon is a frontier model for coding and agents, and Gemini 4 Argon is the flagship reasoning model. Right now they list $1.50, $4 and $4 per million input tokens.
Does the Gemini API cache prompts?
Yes, in two ways. Implicit caching works on its own and bills repeated prefixes at the cached rate. Explicit caching lets you create a cache yourself, for a storage fee per hour. On Gemini 4 Hydrogen a cached token costs $0.075 per million.
Why are Gemma models on a Gemini page?
Both come from Google, and Gemma is the open weight sibling. You can download Gemma and run it yourself, or pay a host per token. Google also sells Gemma 4 26B A4B on its own API at $0.15 input per million.
Which Gemini model has the largest context window?
Gemini 4 Hydrogen, the newest, has the largest window at 1.05M tokens. Gemini 4 Hydrogen has no separate long prompt rate listed right now.
Where do these prices come from?
From OpenRouter's model list, which we check on a regular schedule. A row shows Google's paid tier rate where Google sells the model, and the host that charges least where it doesn't. Vertex AI can bill differently, so check Google Cloud's rate card if you buy there.