Leaderboard / Google
Gemma 4 E2B
Google · Gemma 4 · released 2026-04-02 · data checked 2026-11-01
Gemma 4 E2B is a 5.1B-parameter dense model from Google (United States), released 2026-04-02 under the Apache-2.0 license. It scores 31.9 on the Small LM Index, #21 of 26 small models. It needs about 3.7 GB of memory at 4-bit with an 8K-token context.
2.3B effective parameters (5.1B including per-layer embeddings). Built for phones and browsers.
Benchmarks
Each bar shows this model's score. The tick marks the best small model on that benchmark. Sources: 6 reported by Google. How we label sources.
Not reported: estimated
What the index model expects from this model's other scores. Not a measurement.
Specifications
- Lab
- Google (US · United States)
- Architecture
- Dense transformer
- Total parameters
- 5.1B
- Active parameters
- All (dense)
- Size class
- Small
- Context window
- 128K tokens
- Input modalities
- text, image, audio
- Reasoning
- Hybrid (thinking on/off)
- License
- Apache-2.0
- Openness
- Open weights
- Memory to run
- ~3.7 GB at 4-bit, 8K context (more sizes)
- Hugging Face
- 3.3M downloads (30 days) · 1.1K likes
Compare with
- Gemma 4 E2B vs Gemma 3n E2B (5.4B, index 14.3)
- Gemma 4 E2B vs Gemma 3 4B (4.3B, index 17.5)
- Gemma 4 E2B vs Nanbeige4.2 3B (4.2B, index 70.4)
- Gemma 4 E2B vs Spark-X2.6 4B (4.1B, index 67.5)
Sources
Something wrong here? Report it.
Run it locally
Uses ggml-org/gemma-4-E2B-it-GGUF (Q4_0). Swap the tag for another size: BF16, Q4_0, Q8_0.
ollama run hf.co/ggml-org/gemma-4-E2B-it-GGUF:Q4_0llama-server -hf ggml-org/gemma-4-E2B-it-GGUF:Q4_0pip install -U mlx-lm
mlx_lm.chat --model mlx-community/gemma-4-e2b-it-4bitvllm serve google/gemma-4-E2B-itMemory needed: weights, context cache and runtime buffers.
| Quantization | 4K context | 32K context | 128K context |
|---|---|---|---|
| 16-bit F16 | 11 GB | 11 GB | 11 GB |
| 8-bit Q8_0 | 6.0 GB | 6.1 GB | 6.4 GB |
| 4-bit Q4_K_M | 3.7 GB | 3.8 GB | 4.1 GB |