Gemma 4: open models sized for your own hardware
Gemma 4 is Google's open-weight family in five sizes, under Apache 2.0. See which size fits a laptop, workstation or small server, and what to use it for.
Google’s Gemma 4 is a family of open-weight models in five sizes, from small models meant for laptops and phones to a 31 billion parameter model that targets workstations. It was released on 2 April 2026 under Apache 2.0. For a business that wants AI on its own hardware, with documents that never leave the building, it is one of the easiest families to start with.
The licence is part of the reason. Earlier Gemma releases used Google’s own custom terms, and Gemma 4 moved to Apache 2.0, a standard licence many software projects already use. If the difference between open weights and open source is new to you, our post on open weight versus open source covers it.
Five sizes, one family
The table below uses the figures from the model cards and Hugging Face’s launch post.
| Model | Size | Context | Inputs |
|---|---|---|---|
| Gemma 4 E2B | About 2.3 billion effective parameters | 128K tokens | Text, image, audio |
| Gemma 4 E4B | About 4.5 billion effective parameters | 128K tokens | Text, image, audio |
| Gemma 4 12B | 11.95 billion parameters | 256K tokens | Text, image, audio |
| Gemma 4 26B A4B | 25.2 billion total, 3.8 billion active | 256K tokens | Text, image |
| Gemma 4 31B | 30.7 billion parameters | 256K tokens | Text, image |
The “E” models are the smallest. They and the 12B are the sizes that also accept audio. Hugging Face’s launch post calls the 12B “12B Unified”. The 26B A4B is a mixture-of-experts model, the design we described in our Kimi K3 post: it holds 25.2 billion parameters but uses about 3.8 billion for each token. Its memory needs are set by the full set of parameters, not only the active ones.
Context length is how much text the model can consider in one request. A 256K window is large enough for long manuals or a bundle of contracts, but a longer window does not make answers more accurate by itself.
Google’s model card reports 85.2% on MMLU Pro and 84.3% on GPQA Diamond for the 31B instruction-tuned model. These are the company’s own figures, and they say more about general knowledge than about your documents.
What the Apache 2.0 licence means here
Hugging Face’s launch post describes the models as “truly open with Apache 2 licenses”, and the 31B model card links its licence as Apache 2.0. In practice, that means commercial use, modification and redistribution without revenue thresholds or user caps, which some other large families in this series attach to their licences.
Two things still need a look. Apache 2.0 does not grant use of Google’s trademarks or product names. And Google’s licence page links separate terms of use and a prohibited use policy. Read those pages before you ship a product on the model.
Memory: what fits on your hardware
The main practical question is memory. Google’s documentation gives the memory needed to load each model’s weights. The figures include a 20% overhead, but they do not cover the context or the software that serves the model.
- E2B: 2.9 GB at Q4_0
- E4B: 4.5 GB at Q4_0
- 12B: 6.7 GB at Q4_0
- 26B A4B: 14.4 GB at Q4_0, or 57.7 GB at BF16
- 31B: 17.5 GB at Q4_0, or 69.9 GB at BF16
Q4_0 is a quantised format: the model’s numbers are stored with about 4 bits each instead of 16 at BF16. The files become much smaller and fit on more hardware, at some cost in accuracy. The only way to know whether that cost matters for your work is to test on your own documents.
At Q4_0, the 26B A4B and 31B fit within the memory of a capable workstation or a small server with a good graphics card. Google describes the 12B, 26B A4B and 31B as targeting consumer GPUs and workstations, and the smaller models as designed for laptops and mobile devices.
Who Gemma 4 suits
Gemma 4 suits a business that wants to keep data in-house and has, or is willing to buy, one good workstation. It is not a replacement for the largest hosted models on the hardest tasks. It is a good fit for routine work where the data is sensitive and the volume is steady. Three uses stand out.
Private document questions. Staff ask about your policies, contracts, product manuals or past proposals, and the answers come from your own files. The documents never leave your server. This is the kind of assistant our AI chatbot service builds.
Drafting. First drafts of emails, quotes, job descriptions and product descriptions, which a person reviews before anything is sent.
Classification. Sorting incoming enquiries, support tickets or uploaded documents into categories, so that the right person sees them first.
If your hardware is a laptop, the E2B and E4B models are the place to try classification and short drafting. If you have a workstation, compare the 26B A4B and the 31B on the same questions. Our post on the Qwen3.8 model family covers another open-weight family with a 27B model to test against.
Where to start
Pick one workflow that uses documents people already have, such as an internal policy library. Run the two largest models that fit your machine, ask questions you already know the answers to, and note where each one is wrong. Keeping the data in-house is a real advantage, but it does not remove the need for access control, backups and a person who checks the output. Pick the model that is right most often on your own questions, not the one with the best benchmark.
Sources
Start with the people doing the work.
We build software, AI chatbots, and AI agents around the systems you already run, with people keeping the judgment.