# Is Gemma 4 free? Yes, the weights are Apache 2.0

> Google released Gemma 4 under the Apache 2.0 license, so you can download and use it commercially at no cost. Hosted use and hardware are separate.

URL: https://claudegpt.si/news/is-gemma-4-free  
Published: 2026-10-30T18:50:41.462Z  
Author: ClaudeGPT Si Newsroom  
Section: AI Models  
Topics: Google, Gemma, Open-weight models, Licensing  
Publisher: ClaudeGPT Si

## Key takeaways

- Google released Gemma 4 on April 2, 2026 under the OSI-approved Apache 2.0 license, the first Gemma family to use it.
- The weights are free to download from Hugging Face, Kaggle and Ollama, and you pay only for the hardware or cloud you run them on.
- As of October 30, 2026, the Gemini API lists Gemma 4 as free on the free tier, with no paid tier available.

Yes, Gemma 4 is free. Google released the model weights under the Apache 2.0 license, which makes Gemma 4 open source in the sense the Open Source Initiative uses, and lets anyone download it, run it and use it commercially at no charge. Google announced the models on [April 2, 2026](https://blog.google/innovation-and-ai/technology/developers-tools/gemma-4/).

The "free" has two parts, and they are easy to mix up. The weights cost nothing. Running them still costs whatever hardware or cloud time you use, and Google's hosted options have their own terms.

## Is Gemma 4 open source?

Mostly yes. Google's open source team says Gemma 4 is [the first in the Gemma family released under the OSI-approved Apache 2.0 license](https://opensource.googleblog.com/2026/03/gemma-4-expanding-the-gemmaverse-with-apache-20.html). Earlier Gemma versions shipped under Google's own Gemma terms, so this is a real change. The Hugging Face model card for [Gemma 4 31B](https://huggingface.co/google/gemma-4-31B-it) lists the license as Apache 2.0 as well.

Apache 2.0 allows modification, reuse and commercial products. You can read the full text on the [Apache Software Foundation site](https://www.apache.org/licenses/LICENSE-2.0).

One caveat for strict readers. The usual open source definition covers code and its license. Google publishes the weights, and the model card describes them as open weights. The post does not say that the training data is open. Whether that counts as "open source" is a long-running argument, and the license itself is not in doubt.

## Where you can download Gemma 4

According to Google's announcement, the weights are on Hugging Face, Kaggle and Ollama. Google's developer documentation points to Kaggle and Hugging Face, and says official quantization-aware training checkpoints are available there too. Those are versions trained to run at lower precision, so they use less memory.

The announcement lists four models:

| Model | What it is | Context window |
| --- | --- | --- |
| E2B | Small "effective 2B" model for phones and edge devices | 128K tokens |
| E4B | Small "effective 4B" model for edge devices | 128K tokens |
| 26B mixture of experts | Activates about 3.8B parameters per token | Up to 256K tokens |
| 31B dense | The largest model | Up to 256K tokens |

A mixture-of-experts model runs only part of its network for each token, so it is faster than its size suggests. The developer documentation also lists a 12B model, which the announcement does not mention, so check the docs for the current lineup.

## What it costs to run

Nothing is charged for the weights. What you pay for is compute. Google's documentation gives approximate memory needed just to load the weights in 16-bit precision:

| Model | Memory for weights |
| --- | --- |
| E2B | 11.4 GB |
| E4B | 17.9 GB |
| 26B A4B | 57.7 GB |
| 31B | 69.9 GB |

The 26B mixture-of-experts model activates about 4B parameters per token but still has to load all 26B, which is why its memory need is much higher than a 4B model's. The docs also list a 12B model at 26.7 GB. Quantized checkpoints need less. Google does not give a dollar cost for running any of these on your own machine or in the cloud.

## Gemma 4 in the Gemini API: free tier only

If you would rather call Gemma 4 through Google's hosted API, the [Gemini API pricing page](https://ai.google.dev/gemini-api/docs/pricing) has a Gemma 4 section. As of October 30, 2026, it lists input, output and context caching as free of charge on the free tier. Every paid-tier line for Gemma 4 reads "Not available."

That means there is no paid Gemma 4 plan on the Gemini API, and the page gives no rate limits in the part we read. It also says that on the free tier, Google uses your content to improve its products, and on the paid tier it does not. Since Gemma 4 has no paid tier, anything you send through the free API falls under the first rule. If that matters for your data, download the weights and run the model yourself.

The announcement also says you can try the 31B and 26B models in Google AI Studio and deploy on Google Cloud through Vertex AI, Cloud Run or GKE. It does not say what those cost, and Google Cloud deployments will bill for the infrastructure you use.

## What to check before you ship

Apache 2.0 is permissive, but it still comes with conditions such as keeping the license notice and stating changes. Read the license before building a product on it. Google's developer documentation also links a prohibited use policy, so confirm whether it applies to the version you download.

Prices and plans change. Check the pricing page and the model card on the day you decide.

For a wider look at what Google has released, see our [models section](/models).

## Frequently asked questions

### Is Gemma 4 open source?

Google says Gemma 4 is the first Gemma family released under the OSI-approved Apache 2.0 license. The Hugging Face model card lists the same license. Google describes the models as open weights, and the sources we read do not say the training data is open.

### Can I use Gemma 4 commercially?

Google calls the Apache 2.0 license commercially permissive. Keep the license notice, read the license text, and check the prohibited use policy that Google's docs link.

### Is Gemma 4 free in the Gemini API?

As of October 30, 2026, the pricing page lists input, output and context caching as free on the free tier. The paid tier shows as not available. Content on the free tier is used to improve Google's products.

### Where can I download Gemma 4?

Google's announcement lists Hugging Face, Kaggle and Ollama. The developer docs point to Kaggle and Hugging Face.

## Sources

- [Gemma 4 announcement](https://blog.google/innovation-and-ai/technology/developers-tools/gemma-4/), Google
- [Gemma 4: Expanding the Gemmaverse with Apache 2.0](https://opensource.googleblog.com/2026/03/gemma-4-expanding-the-gemmaverse-with-apache-20.html), Google Open Source Blog
- [Gemini API pricing](https://ai.google.dev/gemini-api/docs/pricing), Google AI for Developers
- [Gemma core documentation](https://ai.google.dev/gemma/docs/core), Google AI for Developers
- [google/gemma-4-31B-it model card](https://huggingface.co/google/gemma-4-31B-it), Hugging Face
- [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0), Apache Software Foundation
