How Much VRAM Does Gemma 4 E4B Need to Run Locally?
See devices that run itGemma 4 E4B is a dense model with 8B parameters. At Q4 it needs at least 7GB of VRAM, and 8GB is the comfortable amount for an 8K context. The cheapest device that holds it is the GeForce RTX 2080 Ti, with no used-price data yet, at roughly 82.4 tokens/s.
Gemma 4 E4B details
VRAM needed for Gemma 4 E4B by quantization and context
Total at 8K| Quantization | WeightsGB | Total at 8KGB | Total at 32KGB | Total at 128KGB |
|---|---|---|---|---|
| Q4_K_M | 5GGUF | 6.1 | 8.1 | 16 |
| Q5_K_M | 5.5GGUF | 7.1 | 9 | 16.9 |
| Q8_0 | 8.2GGUF | 9.9 | 11.9 | 19.8 |
| FP16 | 15.1GGUF | 17.3 | 19.3 | 27.1 |
Total = weights + KV cache (FP16) + 1GB runtime overhead. Weights marked GGUF are measured file sizes from the repository; the rest are estimated from bytes per parameter. Contexts beyond this model's 128K limit show a dash.
Which GPUs can run Gemma 4 E4B?
Q4_K_M · 8K context · sorted by eBay used price| Device | VRAMGB | Used price | Est. t/s | Suggested context |
|---|---|---|---|---|
| 11 | —No listings | 82.4 | 32K | |
| 16 | —No listings | 94.9 | 128K | |
| 16 | —No listings | 116.4 | 128K | |
| 16 | —No listings | 123.9 | 128K | |
| 16 | —No listings | 60.7 | 128K | |
| 16 | —No listings | 62.2 | 128K | |
| 16 | —No listings | 116.8 | 128K | |
| 20 | —No listings | 76.8 | 128K | |
| 24 | —No listings | 40.6 | 128K | |
| 24 | —No listings | 121.1 | 128K | |
| 24 | —No listings | 129.4 | 128K | |
| 24 | —No listings | 166.8 | 128K | |
| 24 | —No listings | 91 | 128K | |
| 24 | —No listings | 89.4 | 128K | |
| 32 | —No listings | 53.6 | 128K | |
| 32 | —No listings | 53.6 | 128K | |
| 32 | —No listings | 97.2 | 128K | |
| 32 | —No listings | 212.9 | 128K | |
| 32 | —No listings | 212.9 | 128K | |
| 32 | —No listings | 114.2 | 128K | |
| 32 | —No listings | 62.2 | 128K | |
| 32 | —No listings | 56.3 | 128K | |
| 32 | —No listings | 116.4 | 128K | |
| 32 | —No listings | 116.8 | 128K | |
| 40 | —No listings | 189 | 128K | |
| 40 | —No listings | 189.5 | 128K | |
| 48 | —No listings | 129.4 | 128K | |
| 48 | —No listings | 82.5 | 128K | |
| 48 | —No listings | 166.8 | 128K | |
| 64 | —No listings | 182.6 | 128K | |
| 64 | —No listings | 147.8 | 128K | |
| 72 | —No listings | 166.8 | 128K | |
| 84 | —No listings | 190.4 | 128K | |
| 96 | —No listings | 212.9 | 128K | |
| Mac Studio M4 Max 128GB | 128 | —No listings | 58.6 | 128K |
| Mac Studio M5 Max 128GB | 128 | —No listings | 65.5 | 128K |
| MacBook Pro M4 Max 128GB | 128 | —No listings | 58.6 | 128K |
| MacBook Pro M5 Max 128GB | 128 | —No listings | 65.5 | 128K |
| Mac Studio M3 Ultra 512GB | 512 | —No listings | 85.8 | 128K |
Fits when weights + KV cache + runtime overhead is at or below usable memory, single card. "Offload" on MoE models means it runs with expert weights in system RAM (only attention layers and KV cache stay in VRAM); that speed assumes 70 GB/s RAM bandwidth. The context column is the largest tier that fits.
Run Gemma 4 E4B with Ollama, llama.cpp or vLLM
The Ollama library has no official tag for it yet.
llama.cpp pulls the GGUF straight from Hugging Face; -c sets the context length.
llama-server -hf unsloth/gemma-4-E4B-it-GGUF:Q4_K_M -c 8192
vLLM serves the original-precision weights, which needs far more memory than GGUF and usually more than one GPU.
vllm serve google/gemma-4-E4B-it
File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology
FAQ
How much VRAM does Gemma 4 E4B need?
At Q4_K_M with an 8K context Gemma 4 E4B needs about 7GB of VRAM; 8GB leaves comfortable headroom.
What is the cheapest GPU that runs Gemma 4 E4B?
The GeForce RTX 2080 Ti: 11GB of VRAM at roughly 82.4 tokens/s. We have no used-price data for it yet.
Can you run Gemma 4 E4B with Ollama?
Not yet: the Ollama library has no official tag for it. You can load the GGUF with llama.cpp instead.