Gemma 4 E4B
Gemma 4 E4B needs roughly 5.3 GB VRAM at Q4_K_M quantization (17.0 GB at FP16). 117 GPUs we track can run it fully in VRAM at 8k context.
117 GPUs run this natively · 1 with CPU offload
Gemma 4 E4B is a 7.52B parameter dense model developed by Google. Released 2 April 2026 under Apache 2.0 as one of Google's two on-device Gemma 4 models. The E stands for effective parameters: 4.5B run per token, but the checkpoint stores about 8B once its Per-Layer Embedding (PLE) tables are counted (the text-only GGUF holds 7.52B), and those tables must sit in memory even though each token only looks up a few rows. 42 layers in a repeating pattern of five 512-token sliding-window layers and one full-attention layer, with the last 18 layers sharing earlier layers' KV cache. Text, image, and audio input at 128K context.
To run Gemma 4 E4B locally: Size the card for the 7.52B of loaded weights, not the 4.5B in the name: Q4_K_M weights are about 4.6 GB and the total is 5.30 GB at 8k context, Q5_K_M is 6.17 GB, and Q6_K is 7.09 GB, so an 8 GB card tops out at Q6_K. Published GGUF files agree: Q4_K_M is 4.98 GB from unsloth and 5.41 GB from bartowski, and Q8_0 is about 8.0 GB. Because sliding-window layers and KV sharing leave only 24 layers with a cache, the full 131,072-token window adds just 2.17 GB of KV cache. Decode speed follows the 4.5B effective parameters, so it runs faster than a dense 7.5B model would. Vision and audio load from a separate mmproj file; Ollama's gemma4:e4b download is 6.6 GB.
Google reports MMLU-Pro 69.4, GPQA Diamond 58.6, and LiveCodeBench v6 52.0, a large step over the Gemma 3 4B it replaces. These are vendor-measured figures from the model card.
VRAM at each quantization
Figures below assume 8k context. This model's hybrid attention stack caches only some layers, so KV cache grows much slower than linearly as context increases.
| Quant | Weights | KV cache | Total |
|---|---|---|---|
| FP32 | 30.1 GB | 0.16 GB | 33.9 GB |
| BF16 | 15.0 GB | 0.16 GB | 17.0 GB |
| FP16 | 15.0 GB | 0.16 GB | 17.0 GB |
| Q8_0 | 8.0 GB | 0.16 GB | 9.1 GB |
| Q6_K | 6.2 GB | 0.16 GB | 7.1 GB |
| Q5_K_Mrec | 5.3 GB | 0.16 GB | 6.2 GB |
| Q4_K_M | 4.6 GB | 0.16 GB | 5.3 GB |
| Q3_K_M | 3.6 GB | 0.16 GB | 4.2 GB |
| Q2_K | 2.9 GB | 0.16 GB | 3.4 GB |
| NVFP4cuda | 3.8 GB | 0.16 GB | 4.4 GB |
KV cache is calculated at 8k context (FP16). Note that NVFP4 only runs on CUDA GPUs. Turn on TurboQuant in the calculator above for lower KV cache estimates.
Benchmarks
GPUs that run Gemma 4 E4B natively (117)
- NVIDIA RTX 5090BF16 · 120.1 t/s
- NVIDIA RTX 5080NVFP4 · 186.3 t/s
- NVIDIA RTX 5070 TiNVFP4 · 179.5 t/s
- NVIDIA RTX 5070NVFP4 · 151.8 t/s
- NVIDIA RTX 5060 Ti 16GBNVFP4 · 116 t/s
Show 112 more
- NVIDIA RTX 5060 Ti 8GBNVFP4 · 116 t/s
- NVIDIA RTX 5060NVFP4 · 116 t/s
- NVIDIA RTX 5050NVFP4 · 90.4 t/s
- NVIDIA RTX 4090BF16 · 77.9 t/s
- NVIDIA RTX 4080Q8_0 · 96.6 t/s
- NVIDIA RTX 4070 Ti SUPERQ8_0 · 92 t/s
- NVIDIA RTX 4070 TiQ8_0 · 73.2 t/s
- NVIDIA RTX 4070 SUPERQ8_0 · 73.2 t/s
- NVIDIA RTX 4070Q8_0 · 73.2 t/s
- NVIDIA RTX 4060 Ti 16GBQ8_0 · 45.4 t/s
- NVIDIA RTX 4060Q6_K · 53.8 t/s
- NVIDIA RTX 3090BF16 · 73.3 t/s
- NVIDIA RTX 3090 TiBF16 · 77.9 t/s
- NVIDIA RTX 3080 10GBQ8_0 · 101 t/s
- NVIDIA RTX 3060 12GBQ8_0 · 55.2 t/s
- NVIDIA B300 288GBBF16 · 136.2 t/s
- NVIDIA B200 180GBBF16 · 136.2 t/s
- NVIDIA H200 141GBBF16 · 121.8 t/s
- NVIDIA H100 80GBBF16 · 109.3 t/s
- NVIDIA A100 80GBBF16 · 89.7 t/s
- NVIDIA A100 40GBBF16 · 78.5 t/s
- NVIDIA L40SBF16 · 55.3 t/s
- NVIDIA RTX A6000BF16 · 62.2 t/s
- NVIDIA RTX 4000 AdaBF16 · 28.5 t/s
- NVIDIA RTX 4500 AdaBF16 · 37.6 t/s
- NVIDIA RTX 5000 AdaBF16 · 48.6 t/s
- NVIDIA RTX 6000 AdaBF16 · 74.9 t/s
- NVIDIA RTX Pro 6000BF16 · 120.1 t/s
- NVIDIA DGX Spark (128GB)BF16 · 24.6 t/s
- AMD Radeon RX 9070 XTQ8_0 · 88.6 t/s
- AMD Radeon RX 7900 XTXBF16 · 74.9 t/s
- AMD Radeon RX 7900 XTBF16 · 64.4 t/s
- AMD Radeon RX 7900 GREQ8_0 · 81.5 t/s
- AMD Radeon RX 7800 XTQ8_0 · 86.9 t/s
- AMD Radeon RX 6800 XTQ8_0 · 74.2 t/s
- AMD Radeon PRO W7800BF16 · 48.6 t/s
- AMD Radeon PRO W7900BF16 · 68.7 t/s
- AMD Instinct MI300XBF16 · 124.9 t/s
- AMD Radeon AI PRO R9700 32GBBF16 · 53.3 t/s
- AMD Strix Halo (128GB)BF16 · 23.2 t/s
- AMD Strix Halo (96GB)BF16 · 23.2 t/s
- AMD Strix Halo (64GB)BF16 · 23.2 t/s
- AMD Strix Halo (32GB)BF16 · 23.2 t/s
- Apple M5 Ultra (512GB)BF16 · 104.9 t/s
- Apple M5 Ultra (256GB)BF16 · 104.9 t/s
- Apple M5 Ultra (96GB)BF16 · 104.9 t/s
- Apple M5 Max (128GB)BF16 · 53.7 t/s
- Apple M5 Max (64GB)BF16 · 53.7 t/s
- Apple M5 Max (48GB)BF16 · 53.7 t/s
- Apple M5 Max (36GB)BF16 · 40.2 t/s
- Apple M5 Pro (64GB)BF16 · 26.8 t/s
- Apple M5 Pro (48GB)BF16 · 26.8 t/s
- Apple M5 Pro (24GB)Q8_0 · 49.7 t/s
- Apple M5 (32GB)BF16 · 13.4 t/s
- Apple M5 (16GB)Q6_K · 31.8 t/s
- Apple M6 (32GB)BF16 · 14.9 t/s
- Apple M6 (16GB)Q6_K · 35.3 t/s
- Apple M4 Max (128GB)BF16 · 47.7 t/s
- Apple M4 Max (64GB)BF16 · 47.7 t/s
- Apple M4 Max (48GB)BF16 · 47.7 t/s
- Apple M4 Max (36GB)BF16 · 35.8 t/s
- Apple M4 Pro (48GB)BF16 · 23.9 t/s
- Apple M4 Pro (24GB)Q8_0 · 44.2 t/s
- Apple M4 (32GB)BF16 · 10.5 t/s
- Apple M4 (16GB)Q6_K · 24.9 t/s
- Apple M3 Ultra (512GB)BF16 · 71.6 t/s
- Apple M3 Ultra (256GB)BF16 · 71.6 t/s
- Apple M3 Ultra (96GB)BF16 · 71.6 t/s
- Apple M3 Max (128GB)BF16 · 35 t/s
- Apple M3 Max (96GB)BF16 · 26.2 t/s
- Apple M3 Max (64GB)BF16 · 35 t/s
- Apple M3 Max (48GB)BF16 · 35 t/s
- Apple M3 Max (36GB)BF16 · 26.2 t/s
- Apple M3 Pro (36GB)BF16 · 13.1 t/s
- Apple M3 Pro (18GB)Q8_0 · 24.3 t/s
- Apple M3 (24GB)Q8_0 · 16.2 t/s
- Apple M3 (16GB)Q6_K · 20.8 t/s
- Apple M2 Ultra (192GB)BF16 · 69.9 t/s
- Apple M2 Ultra (64GB)BF16 · 69.9 t/s
- Apple M2 Max (96GB)BF16 · 35 t/s
- Apple M2 Max (64GB)BF16 · 35 t/s
- Apple M2 Max (32GB)BF16 · 35 t/s
- Apple M2 Pro (32GB)BF16 · 17.5 t/s
- Apple M2 Pro (16GB)Q6_K · 41.6 t/s
- Apple M2 (24GB)Q8_0 · 16.2 t/s
- Apple M2 (16GB)Q6_K · 20.8 t/s
- Apple M1 Ultra (128GB)BF16 · 69.9 t/s
- Apple M1 Ultra (64GB)BF16 · 69.9 t/s
- Apple M1 Max (64GB)BF16 · 35 t/s
- Apple M1 Max (32GB)BF16 · 35 t/s
- Apple M1 Pro (32GB)BF16 · 17.5 t/s
- Apple M1 Pro (16GB)Q6_K · 41.6 t/s
- Apple M1 (16GB)Q6_K · 14.1 t/s
- Intel Arc B580 12GBQ8_0 · 67.4 t/s
- Intel Arc B570 10GBQ8_0 · 57.8 t/s
- Intel Arc Pro B70 32GBBF16 · 50.9 t/s
- Intel Arc Pro B60 24GBBF16 · 33.4 t/s
- Intel Arc Pro B50 16GBQ8_0 · 36.3 t/s
- Intel Arc A770 16GBQ8_0 · 79.7 t/s
- Intel Arc A770 8GBQ6_K · 90.4 t/s
- Intel Arc A750 8GBQ6_K · 90.4 t/s
- Intel Arc A580 8GBQ6_K · 90.4 t/s
- Intel Arc A380 6GBQ4_K_M · 49.5 t/s
- Intel Arc A310 4GBQ2_K · 50.9 t/s
- Intel Arc Pro A60 12GBQ8_0 · 58.4 t/s
- Intel Arc Pro A50 6GBQ4_K_M · 50.9 t/s
- Intel Arc Pro A40 6GBQ4_K_M · 50.9 t/s
- Intel Data Center GPU Max 1550BF16 · 108.5 t/s
- Intel Data Center GPU Max 1100BF16 · 68.9 t/s
- Intel Arc 140V (32GB)BF16 · 12.7 t/s
- Intel Arc 140V (16GB)Q6_K · 29 t/s
- Intel Arc 130V (16GB)Q6_K · 29 t/s
Plus 1 GPU that runs it with CPU offload (slower)
- CPU only (system RAM)BF16 · 4.4 t/s
No GPU? Rent an RTX 3080 10GB from $0.17/hr ↗
Prices as of Oct 17, 2026. Rates change; check RunPod for current pricing. Affiliate link: CanItRun may earn a commission. Doesn't affect the fit calculation above.
Notes
The E stands for effective parameters: 4.5B run per token, but about 7.5B of text weights load (Per-Layer Embedding tables are resident yet only looked up), and the audio and vision encoders add roughly 0.45B more in the separate mmproj file. Ollama's Q4_K_M is a 6.6 GB download for that reason. Sliding-window attention (512 tokens) plus KV sharing across the last 18 layers keeps the long-context cache small.
Continue reading
Frequently asked questions
- What are the VRAM requirements for Gemma 4 E4B?
- Gemma 4 E4B requires approximately 5.3 GB of VRAM at Q4_K_M quantization, 9.1 GB at Q8, and 17.0 GB at FP16. These numbers assume 8k context window; its hybrid attention stack caches far fewer than all layers, so VRAM grows much slower than linearly with context.
- How many parameters does Gemma 4 E4B have?
- Gemma 4 E4B has 7.52 billion parameters.
- How capable is Gemma 4 E4B?
- With an MMLU-Pro score of 69.4, Gemma 4 E4B delivers solid general-purpose performance suitable for most everyday tasks and professional use.
- Can Gemma 4 E4B run on a 16 GB GPU?
- Yes. Gemma 4 E4B needs 5.3 GB at Q4_K_M, which fits in a 16 GB GPU like the RTX 4080 or RTX 5070 Ti.
- What is the smallest quantization for Gemma 4 E4B that fits in 24 GB of VRAM?
- At BF16, Gemma 4 E4B needs 17.0 GB, the highest-quality quantization that fits in 24 GB of VRAM.
- What GPU do I need to run Gemma 4 E4B locally?
- A 16 GB GPU is enough. At Q4_K_M, Gemma 4 E4B needs 5.3 GB VRAM. Good options: RTX 4080 (16 GB), RTX 5070 Ti (16 GB).
- Can I run Gemma 4 E4B in the cloud?
- Yes. The cheapest RunPod setup we found that holds Gemma 4 E4B entirely in GPU memory at 8k context is 1× RTX 3080 10GB at Q8_0, at roughly 101 tokens per second and from $0.17 per hour for the whole pod. Prices as of Oct 17, 2026; RunPod rates change, so check their pricing page for the current figure.