Gemma 4 / Pricing

Gemma 4 & EmbeddingGemma 2 Pricing

Both models are free. What you pay for is the computing that runs them: your own hardware, a rented graphics card, or a hosted provider's per-token rate. Here is every price we could verify, and a calculator for your own numbers.

The models$0Apache 2.0free to download On your machine$0per tokenyou supply the hardware Hosted$0.042per million tokens inand up Tokens used A million tokens is roughly 750,000 words
Free to own; metered only if someone else runs it for you.
The basics

What is free, and what is not

Gemma 4 weights
$0

Free to download, use commercially, fine-tune and redistribute under Apache 2.0.

EmbeddingGemma 2 weights
$0

Also Apache 2.0. No seat fees, revenue thresholds or usage reporting.

On your own machine
$0 / token

No per-token fee. You pay for the hardware and the electricity.

Hosted, from
$0.042 in

Per million tokens for the 26B A4B; $0.22 per million out.

Running a model yourself is the free route if you already own suitable hardware: the 12B needs about 6.7 GB of memory at 4-bit. See the VRAM guide and the install guide.

Calculator

Estimate your monthly bill

Enter how many tokens you expect to send and receive each month. A token is roughly three-quarters of an English word.

Estimated cost
$0.00

Uses the list prices in the tables below. It ignores cache discounts, volume deals and taxes, and the rental comparison assumes one card running all month (730 hours) with no staff or storage costs. Treat it as a rough guide.

Hosted

Every hosted price we could verify

Per million tokens. The same model costs very different amounts depending on who serves it.

Gemma 4 31B

ProviderInputOutputNote
DeepInfra Turbo$0.09$0.34Lowest price
CoreWeave$0.10$0.34
Venice$0.12$0.36
Chutes$0.12$0.37
Crusoe$0.14$0.40
Friendli$0.14$0.40
NovitaAI$0.14$0.40
Parasail$0.15$0.40
DeepInfra$0.20$0.40Standard tier
io.net$0.36$1.09
SambaNova$0.38$1.15Highest throughput listed
Together AI$0.39$0.97Direct, serverless
ModelRun$0.75$1.00Lowest latency listed
SiliconFlow$0.75$1.00

Gemma 4 26B A4B

ProviderInputOutputNote
Darkbloom$0.042$0.22Lowest price
io.net$0.052$0.23Discounted rate
DekaLLM$0.06$0.33
DeepInfra$0.07$0.34
Makora$0.08$0.32
NextBit$0.09$0.30
CoreWeave$0.10$0.30
Cloudflare$0.10$0.30
Venice$0.13$0.40
Parasail$0.13$0.40
NovitaAI$0.13$0.40
SiliconFlow$0.14$0.40
Google Vertex AI$0.15$0.60Google's own cloud

An eight-fold spread

For the 31B, input runs from $0.09 to $0.75 per million tokens for the same weights. It pays to compare.

Price is not everything

Providers differ in speed, uptime, context limit and whether they serve a compressed build. The cheapest may not suit a production app.

The smaller sizes

Hosted 12B, E4B and E2B are less widely offered and their prices could not be confirmed for this page. They are the sizes easiest to run yourself.

From OpenRouter's 31B and 26B A4B listings and Together AI's pricing page, October 7, 2026. Output usually costs three to five times as much as input. How to call these providers is on the API page.

First party

What Google charges

RouteModelsPrice
Google AI Studio, in the browser31B, 26B A4BFree to try, within usage limits
Gemini APIgemma-4-31b-it, gemma-4-26b-a4b-itNo price listed on Google's pricing page; access is rate-limited
Google Vertex AI26B A4B$0.15 in, $0.60 out per million tokens, as listed on OpenRouter
EmbeddingGemma 2-No hosted price yet; Google says a Model Garden listing is coming soon
"No price listed" is not the same as "free for ever". Google's Gemini API pricing page did not mention Gemma models when checked. Do not build a budget on that; check your own account's limits and billing in Google AI Studio.
Run it yourself

Renting a graphics card instead

If you do not own suitable hardware, you can rent it by the hour. You pay for the time, whether or not the model is busy.

Graphics cardMemoryPer hourPer month, always onRuns comfortably
NVIDIA L424 GB$0.49$358E2B, E4B, 12B at 4-bit
RTX A600048 GB$0.53$38726B A4B, 31B at 4-bit
RTX 409024 GB$0.74$54012B; 26B A4B and 31B at 4-bit with a short context
RTX 509032 GB$0.99$72326B A4B, 31B at 4-bit
L40S48 GB$1.09$79626B A4B, 31B at 4-bit, with room for context
A10080 GB$1.59$1,16131B at 8-bit
H100 PCIe80 GB$2.89$2,11031B at full precision
H100 SXM80 GB$3.49$2,54831B at full precision, production
☁️

Hosted is cheaper when

Your volume is low or comes in bursts. At a few cents per million tokens, light use costs far less than a card left switched on.

🏠

Self-hosting wins when

You have steady, high volume, already own the hardware, need the smaller models, or cannot send data to a third party.

🧾

Count the extras

Storage for the weights, monitoring, and the time of whoever keeps it running. A rented card is rarely the whole bill.

On-demand prices from RunPod's pricing page, October 7, 2026; monthly figures are the hourly price times 730. "Runs comfortably" is this site's guidance, based on Google's memory figures. Setting one up is covered under self-hosting; the 26B A4B is the efficient pick for serving - see the model comparison.

EmbeddingGemma 2 · released October 6, 2026
The search model

EmbeddingGemma 2 pricing

EmbeddingGemma 2 is free and small, so the model itself costs almost nothing to run. With embeddings, the cost that grows is storage: every document you index becomes a vector you have to keep.

Storage for one million vectors 768 numbers1.5 GB 512 numbers1 GB 256 numbers500 MB 128 numbers250 MB
Shorter vectors cut storage by up to six times.
Licence fee
$0

Apache 2.0, including commercial use.

Per-token fee
$0

When you run it yourself. No hosted price exists yet.

Download
1.3 GB

Or 378 MB for text only, on Ollama.

Memory
567 MB

Google's figure for the full model on a Pixel 11 Pro, with quantisation.

Vector storage calculator

Storage needed
0 GB

Why this matters for cost

Paid embedding services charge for every token you embed, and again whenever you re-index. With an open model you can re-embed as often as you like for the price of the computing.

It runs on what you have

A laptop, a phone or a small server is enough. You do not need a graphics card to get started.

Budget for re-embedding

Vectors from version 1 and version 2 are not interchangeable. If you upgrade, plan the computing time to index everything again.

Storage figures from Google's EmbeddingGemma 2 developer guide: about 1.5 GB for a million 768-number vectors and 250 MB at 128. The calculator scales those; a vector database adds its own overhead. Quality by vector length is on the limitations page; setup is in how to use and on the Ollama page.

Watch for these

The costs nobody lists

🧠

Thinking is billed

Reasoning is generated text, charged at the output rate. A short visible answer can sit on top of a much longer hidden one.

🔁

History is re-sent

Each turn sends the whole conversation again as input, so long chats cost more with every message.

🧹

Old reasoning adds up

Google's guidance is to drop earlier reasoning before the next turn. If you keep it, you pay for it again as input.

📚

Big prompts

A 256K window invites pasting whole documents. Retrieving only the relevant passages - EmbeddingGemma 2's job - cuts input cost.

This is general guidance on how per-token billing works, not a statement about any one provider. Ways to keep prompts lean are in prompting and capabilities.

FAQ

Pricing questions

More answers on the full FAQ page.

Is Gemma 4 free?

The model is: the weights are Apache 2.0 and free to download and use commercially. Running it costs something - your own hardware and electricity, or a hosted provider's per-token rate from $0.042 per million input tokens.

Is EmbeddingGemma 2 free?

Yes. It is Apache 2.0 and there is no hosted, paid version from Google yet. You run it yourself, which needs very little hardware.

What is the cheapest way to use Gemma 4?

Your own machine, if a model fits: see the download hub. Otherwise the 26B A4B at the lowest hosted rate, $0.042 in and $0.22 out per million tokens.

Is there a free tier?

Google AI Studio is free to try in the browser, within limits. Google's API pricing page lists no price for Gemma models. This page found no free hosted tier on OpenRouter for the 31B or 26B A4B.

Why is the 26B cheaper than the 31B?

The 26B A4B activates only about 3.8B of its parameters for each token, so it takes less computing to serve. See features.

Should I self-host to save money?

Usually not for cost alone. A rented card costs the same whether busy or idle, and light use is far cheaper hosted. Self-host for privacy, offline use, the smaller models or steady high volume.

Are thinking tokens charged?

Yes, as output. Turn thinking down for simple tasks to save money.

How current are these prices?

They were recorded on October 7, 2026 from the providers' own listings. Prices move often; follow the source links before you commit. Bigger hosted models cost more - see Gemma 4 vs Qwen3.8-Max and Gemma 4 vs Claude Code.

The cheapest token is the one you run yourself

Both models are free to download and run on hardware you already own.

Top