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.
| Model | Input | Output | Cached | Context | One request | Listed |
|---|---|---|---|---|---|---|
| Gemini 4 HydrogenGoogle AI Studio | $1.50 | $7.50 | $0.075 | 1.05M | $0.2091 | Nov 12, 2026 |
| Gemini 4 CarbonGoogle AI Studio | $4 | $20 | $0.20 | 1.05M | $0.5575 | Nov 10, 2026 |
| Gemini Omni 1.2 FlashGoogle AI Studio | $1.50 | $9 | $1.50 | 131K | $0.27 | Nov 5, 2026 |
| Gemini Omni 1.1 FlashGoogle AI Studio | $1.50 | $9 | $1.50 | 131K | $0.27 | Nov 4, 2026 |
| Gemini 4 ArgonGoogle AI Studio | $4 | $20 | $0.20 | 1.05M | $0.5575 | Oct 13, 2026 |
| Gemini 3.8 FlashGoogle AI Studio | $1.50 | $7.50 | $0.15 | 1.05M | $0.2119 | Sep 2, 2026 |
| Gemini 3.7 FlashGoogle AI Studio | $1.50 | $7.50 | $0.15 | 1.05M | $0.2119 | Aug 13, 2026 |
| Gemini 3.5 Flash LiteGoogle AI Studio | $0.30 | $2.50 | $0.03 | 1.05M | $0.0474 | Jul 21, 2026 |
| Gemini 3.6 FlashGoogle AI Studio | $0.75 | $3.75 | $0.075 | 1.05M | $0.1059 | Jul 21, 2026 |
| Gemini 3.5 FlashGoogle AI Studio | $1.50 | $9 | $0.15 | 1.05M | $0.2194 | May 19, 2026 |
| Gemini 3.1 Flash LiteGoogle AI Studio | $0.25 | $1.50 | $0.025 | 1.05M | $0.0366 | May 7, 2026 |
| Gemma 4 26B A4BGoogle | $0.15 | $0.60 | $0.15 | 262K | $0.0255 | Apr 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.
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.
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
Related guides
Frequently asked questions
How much does the Gemini API cost?
Is the Gemini API free?
What do Hydrogen, Carbon and Argon mean?
Does the Gemini API cache prompts?
Why are Gemma models on a Gemini page?
Which Gemini model has the largest context window?
Where do these prices come from?
Related tools
LLM VRAM Calculator
Calculate the VRAM needed to run or fine-tune any LLM at any quantization.
Use toolPower Cost Estimator
Estimate annual electricity costs for your PC, Server, or TV.
Use toolData Transfer Calculator
Estimate transfer times for files over USB, WiFi, Ethernet, and more.
Use toolJSON Formatter
Validate, format, and minify JSON. Browse it as a tree, run JSONPath queries, compare two documents, or validate against a JSON Schema.
Use tool