Google Gemma
Google DeepMind's open-weight model family; Gemma 4 runs from phones to PCs in E2B to 31B sizes under Apache 2.0, with 256K context
Overview
Gemma is Google DeepMind's family of open-weight models, built from the same research as Gemini, that you download and run yourself. The current generation, Gemma 4, comes in five sizes: E2B and E4B for phones and IoT devices, and 12B, a 26B mixture-of-experts model (about 4B active) and a 31B dense model for personal computers. The small models take 128K tokens of context and the larger ones 256K; the model cards list text and image input with text output, and Google calls the 12B "a unified, encoder-free multimodal model." Gemma 4 ships under Apache 2.0 (the Hugging Face license tag on the model cards), while older Gemma generations stay under the Gemma Terms of Use, which adds a prohibited-use policy that must be passed on to anyone you redistribute to. Around the core models Google ships task variants such as EmbeddingGemma 2, TranslateGemma (55 languages), MedGemma 1.5, FunctionGemma, VaultGemma and DiffusionGemma. Google says the Gemma family passed 1 billion downloads and more than 100,000 community variants in August 2026. Also from Google DeepMind: Google DeepMind, the closed Gemini API models, and Google Gemini, the consumer assistant. See also: TensorFlow, JAX and Keras.
The Verdict
Who Should Use Gemma?
Best For
- On-device and edge apps (E2B and E4B)
- Teams that want a permissive Apache 2.0 model from a major lab
- Multilingual products and fine-tuned task models
- Local use on a single GPU or a laptop
Not Ideal For
- Agent workflows that lean on heavy tool calling (users report weak tool use)
- Tasks that need deep factual recall from a small model
- Teams that want a managed API with no hosting work
What's Great
- Apache 2.0 license on Gemma 4, a move away from the custom Gemma terms
- Wide size range, from phone-class E2B to a 31B dense model
- 256K context on the 12B, 26B and 31B models
- Large ecosystem: 1B+ downloads and 100,000+ variants
Watch Out For
- Older Gemma models keep the Gemma Terms of Use and its prohibited-use policy
- r/LocalLLaMA users report slower speed than some Qwen models, weak factual depth and weak tool calling
- Some users hit memory issues in LM Studio and llama.cpp
Pricing
View all features & details
Gemma 4 Models
- E2B and E4B: 128K context, for mobile and IoT
- 12B Unified: 256K context, encoder-free multimodal
- 26B A4B (mixture of experts): 256K context
- 31B Dense (30.7B parameters): 256K context
- QAT checkpoints (June 2026) and multi-token prediction drafters (May 2026)
Task Variants
- EmbeddingGemma 2 (Oct 2026)
- DiffusionGemma (Jun 2026)
- TranslateGemma, 55 languages (Jan 2026)
- MedGemma 1.5 4B (Jan 2026)
- FunctionGemma and T5Gemma 2 (Dec 2025), VaultGemma (Sep 2025)
Where to Get It
- Hugging Face (google org) and Kaggle
- Google AI Studio for a quick trial
- Google Cloud for managed deployment
- JAX reference code on GitHub (google-deepmind/gemma, Apache-2.0)
Real-World Usage
Adoption
- 1 billion+ downloads of the Gemma family over two years
- 100,000+ published community variants
Hugging Face Downloads (Nov 2026 snapshot)
- gemma-4-31B-it: 6.81M
- gemma-4-26B-A4B-it: 5.37M
- gemma-4-E4B-it: 4.28M
How It Compares
| Feature | Gemma 4 | Qwen3.8 (open) | Mistral Small 4 | Phi-4 family |
|---|---|---|---|---|
| License | Apache 2.0 | Apache 2.0 (27B) | Apache 2.0 | MIT |
| Largest open size | 31B dense | 2.4T MoE | 119B MoE | 15B |
| Max context | 256K | 262K, extendable to 1M | 256K | 128K |
| Phone-class model | Yes (E2B, E4B) | No | No | Yes (mini) |
| Maker | Google DeepMind | Alibaba | Mistral AI | Microsoft |
Sources: Gemma · Gemma 4 31B card · Gemma Terms of Use · 1 billion downloads · GitHub
Is this your tool? Add a badge