Can I run Gemma 4 E4B locally?
Start here
Built for from the model card, not a ranking by Will It Run?
Coding: writing and fixing code Reasoning: working through a problem in steps Vision: looking at pictures or video Audio: hearing or working with sound Agents: a multi-step job, often with tools
Reasoning, agent workflows, coding, and understanding images and audio.
The words after each colon are our plain-language explanation of that label. The sentence under the labels is a short paraphrase of the model card.
At the common Q4_K_M quantization it needs about 5.8 GB ESTIMATE. That figure is weights plus a 4k context, the same estimate used everywhere else on this site.
The checker asks for your GPU, Mac, or CPU and uses the same estimate. It does not rank models.
This site does not download the model. To run one yourself, use the model card and an app you install. Their docs: Ollama, LM Studio, llama.cpp. This is not a pick of one app. A memory estimate is not a promise that an app can load that file.
Gemma 4 E4B has 8.00 billion parameters (Hugging Face). At the popular Q4_K_M quantization it needs roughly 5.8 GB of GPU memory ESTIMATE. It has been on Hugging Face since 2026-03-02.
Memory needed by quantization
| Quant | Weights | Total needed (est.) |
|---|---|---|
| IQ1_S | 1.6 GB | 2.3 GB |
| IQ2_XXS | 2.1 GB | 2.9 GB |
| IQ2_XS | 2.3 GB | 3.1 GB |
| IQ2_M | 2.7 GB | 3.5 GB |
| Q2_K | 3.2 GB | 4.0 GB |
| IQ3_XXS | 3.1 GB | 3.9 GB |
| Q3_K_S | 3.6 GB | 4.5 GB |
| IQ3_S | 3.4 GB | 4.3 GB |
| IQ3_M | 3.7 GB | 4.5 GB |
| Q3_K_M | 4.0 GB | 4.9 GB |
| IQ4_XS | 4.2 GB | 5.2 GB |
| Q4_0 | 4.5 GB | 5.4 GB |
| Q4_K_M | 4.8 GB | 5.8 GB |
| MXFP4 | 4.6 GB | 5.6 GB |
| Q5_K_M | 5.7 GB | 6.7 GB |
| Q6_K | 6.6 GB | 7.6 GB |
| Q8_0 | 8.5 GB | 9.6 GB |
| F16 | 16.0 GB | 17.5 GB |
KV cache by context length ESTIMATE
| Context | f16 | q8_0 | q4_0 |
|---|---|---|---|
| 4k | 0.10 GB | 0.05 GB | 0.03 GB |
| 8k | 0.15 GB | 0.08 GB | 0.04 GB |
| 16k | 0.27 GB | 0.14 GB | 0.08 GB |
| 32k | 0.51 GB | 0.27 GB | 0.14 GB |
| 64k | 0.98 GB | 0.52 GB | 0.27 GB |
| 128k | 1.92 GB | 1.02 GB | 0.54 GB |
From config.json: 7 KV-caching attention layers, 2 KV heads × 256 head dim, plus 35 sliding-window layers (512 tokens). Max context 128k. The tables above assume 4k context.
Which GPUs and Macs can run it?
Smallest memory that fits, by our ESTIMATE, at a 4k context: Q4_K_M — 6 GB of GPU or Mac memory (4 in this list, tight), Q8_0 — 10 GB of GPU or Mac memory (2 in this list, tight), F16 — 20 GB of GPU or Mac memory (2 in this list). Where a memory size is shown, it is the smallest memory in the table where the estimate says that quantization fits. It is not the fastest card, and it is not a suggestion to buy hardware.
Sorted by memory, smallest first. ✅ fits · ⚠️ fits with little headroom · ❌ doesn't fit on this one device (multiple GPUs or RAM offload may work; check your setup). Apple Silicon uses the same macOS GPU limit as the checker and What fits my GPU?: about 67% of memory below 64 GB and about 75% at 64 GB or more. A row marked smallest Q4_K_M, Q8_0, or F16 is that smallest memory. All fit verdicts are ESTIMATE. CPU only / Intel Mac is not in this table, because the fit depends on system RAM. Check a CPU-only setup.
| Hardware | Memory | Q4_K_M | Q8_0 | F16 |
|---|---|---|---|---|
| GTX 1050 Ti | 4 GB | ❌ | ❌ | ❌ |
| GTX 1650 | 4 GB | ❌ | ❌ | ❌ |
| GTX 1650 Laptop | 4 GB | ❌ | ❌ | ❌ |
| GTX 1650 Super | 4 GB | ❌ | ❌ | ❌ |
| Quadro T1000 | 4 GB | ❌ | ❌ | ❌ |
| RTX 2050 Laptop | 4 GB | ❌ | ❌ | ❌ |
| RTX 3050 Laptop 4GB | 4 GB | ❌ | ❌ | ❌ |
| RX 6400 | 4 GB | ❌ | ❌ | ❌ |
| RX 6500 XT 4GB | 4 GB | ❌ | ❌ | ❌ |
| GTX 1660 Supersmallest Q4_K_M | 6 GB | ⚠️ tight | ❌ | ❌ |
| Intel Arc A380 | 6 GB | ⚠️ tight | ❌ | ❌ |
| RTX 2060 6GB | 6 GB | ⚠️ tight | ❌ | ❌ |
| RTX 3050 6GB | 6 GB | ⚠️ tight | ❌ | ❌ |
| Apple M1 (8 GB) | 8 GB | ❌ | ❌ | ❌ |
| Apple M2 (8 GB) | 8 GB | ❌ | ❌ | ❌ |
| Apple M3 (8 GB) | 8 GB | ❌ | ❌ | ❌ |
| Intel Arc A750 | 8 GB | ✅ | ❌ | ❌ |
| Intel Arc A770 8GB | 8 GB | ✅ | ❌ | ❌ |
| Radeon RX 6600 | 8 GB | ✅ | ❌ | ❌ |
| Radeon RX 6600 XT | 8 GB | ✅ | ❌ | ❌ |
Show all hardware (153 more)
The rest of the list, still sorted by memory, smallest first.
Browse by memory: 8 GB · 12 GB · 16 GB · 24 GB · 32 GB · 48 GB · 80 GB
Will It Run? Pro NOT BUILT YET
A personal setup for your exact hardware (Ollama / llama.cpp configs ready for your coding agent), an alert when a new model fits, and a one-click cloud fallback when it doesn't.
Not built yet. Join the waitlist, $10/mo planned, no charge now. What's planned
Email only. No payment info.
Get the weekly "new models & what it takes to run them" email
Free. One email a week. Unsubscribe anytime.