Skip to content

How much VRAM does Gemma 4 E4B need?

Gemma 4 E4B needs 4.5 GB for its weights at 4-bit, 5.7 GB with an 8K context and 6.1 GB with 32K. At 8-bit, 9.1 GB.

Parameters
8B
Active per token
4.5B
Longest context
128K
Released
Mar 2026
License
Apache 2.0
Strongest at
Chat, Coding, Docs

Memory at each precision

Memory Gemma 4 E4B needs at each precision and context length
PrecisionWeightsWith 8KWith 32KWith 128K
16-bit14.9 GB16.1 GB16.4 GB17.9 GB
8-bit7.9 GB9.1 GB9.5 GB11.0 GB
6-bit6.1 GB7.3 GB7.7 GB9.2 GB
5-bit5.3 GB6.5 GB6.8 GB8.3 GB
4-bit4.5 GB5.7 GB6.1 GB7.6 GB
3-bit3.6 GB4.8 GB5.2 GB6.7 GB
2-bit2.8 GB4.0 GB4.3 GB5.8 GB
1.6-bit1.5 GB2.7 GB3.1 GB4.6 GB

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

What runs it

The best way Gemma 4 E4B runs on common GPUs, Macs and AI boxes
MachineBest fitContextSpeedFirst reply
RTX 3060 12 GB8-bit128K43 tok/s0.7 s
RTX 4060 Ti 16 GB8-bit128K35 tok/s0.4 s
RTX 30908-bit128K103 tok/s0.2 s
RTX 40908-bit128K110 tok/s0.1 s
RTX 50908-bit128K177 tok/s0.1 s
2× RTX 30908-bit128K103 tok/s0.1 s
RTX PRO 6000 Blackwell8-bit128K177 tok/s0.1 s
M4 Max 128 GB8-bit128K53 tok/s1.4 s
M5 Max 128 GB8-bit128K58 tok/s0.4 s
Ryzen AI Max+ 395 128 GB8-bit128K26 tok/s0.8 s
DGX Spark 128 GB8-bit128K33 tok/s0.3 s
M3 Ultra 256 GB8-bit128K73 tok/s0.8 s
M5 Ultra 512 GB8-bit128K96 tok/s0.2 s
H100 SXM8-bit128K277 tok/s0.1 s
DGX Station GB3008-bit128K422 tok/s0.1 s
8× H200 NVL8-bit128K345 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:e4b
llama.cpp
llama-server -hf unsloth/gemma-4-E4B-it-GGUF
vLLM
vllm serve google/gemma-4-E4B-it
MLX (Mac)
mlx_lm.chat --model mlx-community/gemma-4-e4b-it-4bit

Questions

How much VRAM does Gemma 4 E4B need?

Gemma 4 E4B needs 4.5 GB for its weights at 4-bit, 5.7 GB with an 8K context and 6.1 GB with 32K. At 8-bit, 9.1 GB.

Can Gemma 4 E4B run on an RTX 4090?

Yes. At 8-bit it holds 128K of context and writes about 110 tokens a second.

More models