Skip to content

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

Memory Gemma 4 E2B needs at each precision and context length
PrecisionWeightsWith 8KWith 32KWith 128K
16-bit9.5 GB10.6 GB10.7 GB11.3 GB
8-bit5.1 GB6.1 GB6.3 GB6.8 GB
6-bit3.9 GB5.0 GB5.1 GB5.7 GB
5-bit3.4 GB4.4 GB4.6 GB5.1 GB
4-bit2.9 GB3.9 GB4.1 GB4.6 GB
3-bit2.3 GB3.4 GB3.5 GB4.1 GB
2-bit1.8 GB2.8 GB3.0 GB3.5 GB
1.6-bit1.0 GB2.0 GB2.2 GB2.7 GB

One conversation, 16-bit context cache, runtime overhead included.

What runs it

The best way Gemma 4 E2B runs on common GPUs, Macs and AI boxes
MachineBest fitContextSpeedFirst reply
RTX 3060 12 GB8-bit128K78 tok/s0.3 s
RTX 4060 Ti 16 GB8-bit128K64 tok/s0.2 s
RTX 30908-bit128K180 tok/s0.1 s
RTX 40908-bit128K191 tok/s0.1 s
RTX 50908-bit128K294 tok/s0.1 s
2× RTX 30908-bit128K180 tok/s0.1 s
RTX PRO 6000 Blackwell8-bit128K294 tok/s0.1 s
M4 Max 128 GB8-bit128K90 tok/s0.7 s
M5 Max 128 GB8-bit128K98 tok/s0.2 s
Ryzen AI Max+ 395 128 GB8-bit128K48 tok/s0.4 s
DGX Spark 128 GB8-bit128K61 tok/s0.1 s
M3 Ultra 256 GB8-bit128K120 tok/s0.4 s
M5 Ultra 512 GB8-bit128K152 tok/s0.1 s
H100 SXM8-bit128K433 tok/s0.1 s
DGX Station GB3008-bit128K609 tok/s0.1 s
8× H200 NVL8-bit128K519 tok/s0.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.

More models