Gemma 4 E2B — VRAM, speed & local setup
Written by Jakub Rusinowski · Last updated
Gemma 4's most compact variant — the 'Efficient 2B' (~5.1B total params, ~2.3B effective compute via per-layer embeddings) fits in ~5 GB at Q4 and runs on phones, tablets, or any GPU with 6 GB VRAM. Supports text + image input. Outperforms Gemma 3 4B on reasoning and instruction following. Best for offline assistants, edge applications, and Raspberry Pi-style deployments.
Gemma 4 E2B needs about 4 GB of VRAM at Q4 (QAT) — quantized weights plus framework overhead, before any KV cache. On Apple Silicon that figure comes out of unified memory.
VRAM and speed by quantization
Quoted against NVIDIA RTX 4090 (24 GB). Weights plus overhead only: this model's architecture is unpublished, so no KV cache is added.
| Quant | Memory | VRAM | Speed (est.) | Fit |
|---|---|---|---|---|
| Q2_K 2.63 bpw | 2.5 GB | ~195 tok/s | Fits | |
| Q3_K_M 3.41 bpw | 3 GB | ~173 tok/s | Fits | |
| Q4_K_M 4.83 bpw | 3.9 GB | ~143 tok/s | Fits | |
| Q5_K_M 5.67 bpw | 4.4 GB | ~130 tok/s | Fits | |
| Q6_K 6.56 bpw | 5 GB | ~118 tok/s | Fits | |
| Q8_0 8.50 bpw | 6.2 GB | ~99 tok/s | Fits | |
| F16 16.00 bpw | 11 GB | ~61 tok/s | Fits |
Black marker = usable memory on the NVIDIA RTX 4090 (24 GB). Estimates from the memory-bandwidth roofline on the methodology page. Gemma 4 E2B VRAM calculator →
Get Gemma 4 E2B running
The cheapest catalogued GPU that runs Gemma 4 E2B is the Intel Arc B570 (10 GB).
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.
How to run Gemma 4 E2B
Install Ollama, then run:
ollama run gemma4:e2bSpecifications
Verified — Checked against the primary source — the model card or the vendor spec page — and corroborated by a second independent source.
- Parameters
- 5.1 Billion (~2.3B effective)
- Context window
- 128,000
- Architecture
- Dense Transformer + Vision Encoder (per-layer embeddings)
- Provider
- Licence
- Apache 2.0
- Practical deployment
- Edge device (phone, SBC)
- Specified at
- Q4 (QAT)
- System RAM
- 8 GB
- Record updated
- 2026-03-31
Commercial use permitted. No usage restrictions beyond attribution.
Quality and use cases
Scores as published by the model’s authors or an independent evaluator — quality, not throughput, and not measured by us.
| Benchmark | Score | Provenance |
|---|---|---|
| MMLU | 66.4 / 100 % | reported |
| HumanEval | 58.2 / 100 % | reported |
Can I run Gemma 4 E2B on my GPU?
- Gemma 4 E2B on AMD Radeon RX 7800 XT
- Gemma 4 E2B on AMD Radeon RX 7900 XT
- Gemma 4 E2B on AMD Radeon RX 7900 XTX
- Gemma 4 E2B on AMD Radeon RX 9060 XT 16GB
- Gemma 4 E2B on AMD Radeon RX 9060 XT 8GB
- Gemma 4 E2B on AMD Radeon RX 9070
- Gemma 4 E2B on AMD Radeon RX 9070 XT
- Gemma 4 E2B on Apple M1
- Gemma 4 E2B on Apple M1 Pro
- Gemma 4 E2B on Apple M2
- Gemma 4 E2B on Apple M2 Pro
- Gemma 4 E2B on Apple M3
- Gemma 4 E2B on Apple M3 Pro
- Gemma 4 E2B on Apple M4
- Gemma 4 E2B on Apple M4 Pro
- Gemma 4 E2B on Apple M5
- Gemma 4 E2B on Intel Arc B570
- Gemma 4 E2B on Intel Arc B580
- Gemma 4 E2B on NVIDIA GeForce RTX 3060 (12GB)
- Gemma 4 E2B on NVIDIA GeForce RTX 3070
- Gemma 4 E2B on NVIDIA GeForce RTX 3070 Ti
- Gemma 4 E2B on NVIDIA GeForce RTX 3080 (10GB)
- Gemma 4 E2B on NVIDIA GeForce RTX 3090
- Gemma 4 E2B on NVIDIA GeForce RTX 4060
- Gemma 4 E2B on NVIDIA GeForce RTX 4060 Ti 16GB
- Gemma 4 E2B on NVIDIA GeForce RTX 4070
- Gemma 4 E2B on NVIDIA GeForce RTX 4070 Super
- Gemma 4 E2B on NVIDIA GeForce RTX 4070 Ti
- Gemma 4 E2B on NVIDIA GeForce RTX 4070 Ti Super
- Gemma 4 E2B on NVIDIA GeForce RTX 4080
- Gemma 4 E2B on NVIDIA GeForce RTX 4080 Super
- Gemma 4 E2B on NVIDIA GeForce RTX 4090
- Gemma 4 E2B on NVIDIA GeForce RTX 5060
- Gemma 4 E2B on NVIDIA GeForce RTX 5060 Ti 16GB
- Gemma 4 E2B on NVIDIA GeForce RTX 5060 Ti 8GB
- Gemma 4 E2B on NVIDIA GeForce RTX 5070
- Gemma 4 E2B on NVIDIA GeForce RTX 5070 Ti
- Gemma 4 E2B on NVIDIA GeForce RTX 5080
- Gemma 4 E2B on NVIDIA GeForce RTX 5090
Other Gemma 4 sizes
Gemma 4 E2B — frequently asked questions
How much VRAM does Gemma 4 E2B need?
About 4 GB at Q4 (QAT) — quantized weights plus framework overhead, before any KV cache. The cache grows with context length and is added on top; the table above folds it in. Apple Silicon counts unified memory toward the same figure.
Does Gemma 4 E2B run on an RTX 4090 (24 GB)?
Yes. Gemma 4 E2B needs about 4 GB at Q4 (QAT), inside a 24 GB card, at an estimated 143 tokens/sec.
How do I run Gemma 4 E2B locally?
Install Ollama and run `ollama run gemma4:e2b`. That pulls the weights and starts a local OpenAI-compatible endpoint; after the download nothing leaves the machine.
What other sizes does Gemma 4 come in?
Gemma 4 E2B (4 GB), Gemma 4 E4B (6 GB), Gemma 4 26B-A4B (16 GB), Gemma 4 31B (20 GB), Gemma 4 12B (Unified) (8 GB). Every size shares the family's training and licence; the larger ones score higher and need proportionally more memory.