Written by Jakub Rusinowski · Last updated April 1, 2025
Model library → Gemma 3n → Gemma 3n E4B
The full-power Gemma 3n variant. Processes text, images, audio, and video. Runs on devices with 4 GB RAM, including mid-range phones and all laptops.
Gemma 3n E4B needs about 6 GB of VRAM at Q4_K_M — quantized weights plus framework overhead, before any KV cache. On Apple Silicon that figure comes out of unified memory.
| Parameters | 4 Billion effective |
| Context window | 32,768 |
| Architecture | MatFormer, multimodal |
| Provider | Google DeepMind |
| Licence | Gemma ToS |
| Specified at | Q4_K_M |
| System RAM | 8 GB |
| Record updated | 2025-04-01 |
Gemma Terms — commercial use permitted. Weights are downloadable and commercial use is permitted, subject to the licence’s acceptable-use terms.
Modelled on a reference NVIDIA RTX 4090 (24 GB), with no KV cache (this record has no published architecture). Speed figures are ESTIMATES from the memory-bandwidth roofline described on the methodology page, not benchmarks we ran — rows marked measured come from published or reader-submitted runs. VRAM here includes the KV cache, so it reads higher than the headline figure above, which does not.
| Quant | Weights | VRAM needed | Est. speed | Fit on 24 GB |
|---|---|---|---|---|
| Q2_K | 2.6 GB | 3.4 GB | ~213 tok/s (est.) | Fits comfortably |
| Q3_K_M | 3.3 GB | 4.1 GB | ~193 tok/s (est.) | Fits comfortably |
| Q4_K_M | 4.7 GB | 5.5 GB | ~164 tok/s (est.) | Fits comfortably |
| Q5_K_M | 5.6 GB | 6.4 GB | ~151 tok/s (est.) | Fits comfortably |
| Q6_K | 6.4 GB | 7.2 GB | ~139 tok/s (est.) | Fits comfortably |
| Q8_0 | 8.3 GB | 9.1 GB | ~118 tok/s (est.) | Fits comfortably |
| F16 | 15.7 GB | 16.5 GB | ~75 tok/s (est.) | Fits comfortably |
Want the memory numbers alone, at every quantization level and your own context length? Use the Gemma 3n E4B VRAM calculator.
or compare on Vast.ai from $0.35/hr (typical low · varies)
As an Amazon Associate we earn from qualifying purchases. Cloud GPU links are referral links — we may earn a commission at no extra cost to you.
The cheapest catalogued GPU that runs Gemma 3n E4B is the Intel Arc B570 (10 GB).
Install Ollama, then run:
ollama run gemma3n:e4b
Weights on Hugging Face: google/gemma-3n-E4B-it.
Best for: phone, vision, audio, edge devices, chat.
← All Gemma 3n models | VRAM calculator | Check your own hardware