How much VRAM does Gemma 4 E2B need?
Gemma 4 E2B needs 2.9 GB for its weights at 4-bit, 3.9 GB with an 8K context and 4.1 GB with 32K. At 8-bit, 6.1 GB.
- Parameters
- 5.1B
- Active per token
- 2.3B
- Longest context
- 128K
- Released
- Mar 2026
- License
- Apache 2.0
- Strongest at
- Chat
Memory at each precision
| Precision | Weights | With 8K | With 32K | With 128K |
|---|---|---|---|---|
| 16-bit | 9.5 GB | 10.6 GB | 10.7 GB | 11.3 GB |
| 8-bit | 5.1 GB | 6.1 GB | 6.3 GB | 6.8 GB |
| 6-bit | 3.9 GB | 5.0 GB | 5.1 GB | 5.7 GB |
| 5-bit | 3.4 GB | 4.4 GB | 4.6 GB | 5.1 GB |
| 4-bit | 2.9 GB | 3.9 GB | 4.1 GB | 4.6 GB |
| 3-bit | 2.3 GB | 3.4 GB | 3.5 GB | 4.1 GB |
| 2-bit | 1.8 GB | 2.8 GB | 3.0 GB | 3.5 GB |
| 1.6-bit | 1.0 GB | 2.0 GB | 2.2 GB | 2.7 GB |
One conversation, 16-bit context cache, runtime overhead included.
What runs it
| Machine | Best fit | Context | Speed | First reply |
|---|---|---|---|---|
| RTX 3060 12 GB | 8-bit | 128K | 78 tok/s | 0.3 s |
| RTX 4060 Ti 16 GB | 8-bit | 128K | 64 tok/s | 0.2 s |
| RTX 3090 | 8-bit | 128K | 180 tok/s | 0.1 s |
| RTX 4090 | 8-bit | 128K | 191 tok/s | 0.1 s |
| RTX 5090 | 8-bit | 128K | 294 tok/s | 0.1 s |
| 2× RTX 3090 | 8-bit | 128K | 180 tok/s | 0.1 s |
| RTX PRO 6000 Blackwell | 8-bit | 128K | 294 tok/s | 0.1 s |
| M4 Max 128 GB | 8-bit | 128K | 90 tok/s | 0.7 s |
| M5 Max 128 GB | 8-bit | 128K | 98 tok/s | 0.2 s |
| Ryzen AI Max+ 395 128 GB | 8-bit | 128K | 48 tok/s | 0.4 s |
| DGX Spark 128 GB | 8-bit | 128K | 61 tok/s | 0.1 s |
| M3 Ultra 256 GB | 8-bit | 128K | 120 tok/s | 0.4 s |
| M5 Ultra 512 GB | 8-bit | 128K | 152 tok/s | 0.1 s |
| H100 SXM | 8-bit | 128K | 433 tok/s | 0.1 s |
| DGX Station GB300 | 8-bit | 128K | 609 tok/s | 0.1 s |
| 8× H200 NVL | 8-bit | 128K | 519 tok/s | 0.1 s |
Best fit is the highest quality, up to 8-bit, that leaves 16K of context. First reply is the wait for a 2K prompt. Speeds are rough, plus or minus 25%.
How to run it
- Ollama
ollama run gemma4:e2b- llama.cpp
llama-server -hf unsloth/gemma-4-E2B-it-GGUF- vLLM
vllm serve google/gemma-4-E2B-it- MLX (Mac)
mlx_lm.chat --model mlx-community/gemma-4-e2b-it-4bit
Questions
How much VRAM does Gemma 4 E2B need?
Gemma 4 E2B needs 2.9 GB for its weights at 4-bit, 3.9 GB with an 8K context and 4.1 GB with 32K. At 8-bit, 6.1 GB.
Can Gemma 4 E2B run on an RTX 4090?
Yes. At 8-bit it holds 128K of context and writes about 191 tokens a second.