Gemma 4 26B A4B VRAM requirements: which GPUs can run it locally?
The smallest GPU memory that runs Gemma 4 26B A4B well is 18 GB (Q4_K_M, e.g. M3 Pro). 47 of 132 GPUs run it well and 25 more are a tight fit. It's a mixture-of-experts model, so all weights must fit in memory but speed depends only on the active experts.
MMLU 82.6
VRAM needed per quantization
| Quantization | Weights | 16K context | 32K context | Full 256K |
|---|---|---|---|---|
| Q4_K_M | 15.9 GB | 16.2 GB | 16.5 GB | 20.7 GB |
| Q8_0 | 25.0 GB | 25.3 GB | 25.6 GB | 29.9 GB |
Weights plus fp16 KV cache. Leave ~1 GB headroom for the inference engine.
Run it locally
Each command downloads the GGUF from Hugging Face, then Ollama starts a chat and llama.cpp starts an OpenAI-compatible server with a web UI on port 8080. Both fetch the vision projector (mmproj) automatically.
ollama run hf.co/bartowski/google_gemma-4-26B-A4B-it-GGUF:Q4_K_M llama-server -hf bartowski/google_gemma-4-26B-A4B-it-GGUF:Q4_K_M ollama run hf.co/unsloth/gemma-4-26B-A4B-it-GGUF:Q8_0 llama-server -hf unsloth/gemma-4-26B-A4B-it-GGUF:Q8_0 Cheapest GPUs that can run Gemma 4 26B A4B
Lowest launch MSRP among GPUs that run its smallest quantization (Q4_K_M) well, with at least 16K context.
As an Amazon Associate, I earn from qualifying purchases.
GPUs that can run Gemma 4 26B A4B
Best quantization that fits on each GPU, with the context and speed it gets. For chips with several memory sizes, the smallest that works is shown.
NVIDIA
- RTX 4060 Ti 16GB 16 GB Q4_K_M 6K context · ~66 tok/s tight fit
- RTX 4070 Ti SUPER 16 GB Q4_K_M 6K context · ~127 tok/s tight fit
- RTX 4080 16 GB Q4_K_M 6K context · ~132 tok/s tight fit
- RTX 4080 SUPER 16 GB Q4_K_M 6K context · ~135 tok/s tight fit
- RTX 5060 Ti 16GB 16 GB Q4_K_M 6K context · ~95 tok/s tight fit
- RTX 5070 Ti 16 GB Q4_K_M 6K context · ~153 tok/s tight fit
- RTX 5080 16 GB Q4_K_M 6K context · ~159 tok/s tight fit
- RTX 2000 Ada 16 GB Q4_K_M 6K context · ~54 tok/s tight fit
- RTX A4000 16 GB Q4_K_M 6K context · ~95 tok/s tight fit
- RTX PRO 2000 Blackwell 16 GB Q4_K_M 6K context · ~66 tok/s tight fit
- Tesla T4 16 GB Q4_K_M 6K context · ~72 tok/s tight fit
- Tesla V100 16GB 16 GB Q4_K_M 6K context · ~153 tok/s tight fit
- RTX 4000 Ada 20 GB Q4_K_M 217K context · ~80 tok/s
- RTX 3090 24 GB Q4_K_M 256K context · ~157 tok/s
- RTX 3090 Ti 24 GB Q4_K_M 256K context · ~164 tok/s
- RTX 4090 24 GB Q4_K_M 256K context · ~164 tok/s
- RTX 4500 Ada 24 GB Q4_K_M 256K context · ~92 tok/s
- RTX A5000 24 GB Q4_K_M 256K context · ~139 tok/s
- RTX PRO 4000 Blackwell 24 GB Q4_K_M 256K context · ~127 tok/s
- RTX Spark 24 GB Q4_K_M 256K context · ~69 tok/s
- Tesla P40 24 GB Q4_K_M 256K context · ~77 tok/s
- RTX 5090 32 GB Q8_0 256K context · ~186 tok/s
- RTX 5000 Ada 32 GB Q8_0 256K context · ~88 tok/s
- RTX PRO 4500 Blackwell 32 GB Q8_0 256K context · ~122 tok/s
- Tesla V100 32GB 32 GB Q8_0 256K context · ~122 tok/s
- L40S 48 GB Q8_0 256K context · ~118 tok/s
- RTX 6000 Ada 48 GB Q8_0 256K context · ~127 tok/s
- RTX A6000 48 GB Q8_0 256K context · ~109 tok/s
- RTX PRO 5000 Blackwell 48 GB Q8_0 256K context · ~158 tok/s
- RTX PRO 5000 Blackwell 72GB 72 GB Q8_0 256K context · ~158 tok/s
- RTX PRO 5500 Blackwell 84 GB Q8_0 256K context · ~162 tok/s
- RTX PRO 6000 Blackwell 96 GB Q8_0 256K context · ~186 tok/s
- DGX Spark (GB 10) 128 GB Q8_0 256K context · ~47 tok/s
AMD
- AMD BC-250 16 GB Q4_K_M 6K context · ~95 tok/s tight fit
- Radeon RX 6800 16 GB Q4_K_M 6K context · ~104 tok/s tight fit
- Radeon RX 6800 XT 16 GB Q4_K_M 6K context · ~104 tok/s tight fit
- Radeon RX 6900 XT 16 GB Q4_K_M 6K context · ~104 tok/s tight fit
- Radeon RX 6950 XT 16 GB Q4_K_M 6K context · ~114 tok/s tight fit
- Radeon RX 7600 XT 16 GB Q4_K_M 6K context · ~66 tok/s tight fit
- Radeon RX 7800 XT 16 GB Q4_K_M 6K context · ~120 tok/s tight fit
- Radeon RX 7900 GRE 16 GB Q4_K_M 6K context · ~114 tok/s tight fit
- Radeon RX 9060 XT 16GB 16 GB Q4_K_M 6K context · ~72 tok/s tight fit
- Radeon RX 9070 16 GB Q4_K_M 6K context · ~123 tok/s tight fit
- Radeon RX 9070 XT 16 GB Q4_K_M 6K context · ~123 tok/s tight fit
- Radeon RX 7900 XT 20 GB Q4_K_M 217K context · ~142 tok/s
- Radeon RX 7900 XTX 24 GB Q4_K_M 256K context · ~159 tok/s
- Radeon AI PRO R9700 32 GB Q8_0 256K context · ~95 tok/s
- Ryzen AI Max (Strix Halo) 32 GB Q8_0 256K context · ~44 tok/s
- Ryzen AI Max 400 (Gorgon Halo) 64 GB Q8_0 256K context · ~47 tok/s
Intel
- Arc A770 16GB 16 GB Q4_K_M 6K context · ~112 tok/s tight fit
- Arc Pro B65 32 GB Q8_0 256K context · ~91 tok/s
- Arc Pro B70 32 GB Q8_0 256K context · ~91 tok/s
Apple
- M1 16 GB Q4_K_M 6K context · ~18 tok/s tight fit
- M3 Pro 18 GB Q4_K_M 112K context · ~38 tok/s
- M2 24 GB Q4_K_M 256K context · ~26 tok/s
- M3 24 GB Q4_K_M 256K context · ~26 tok/s
- M4 24 GB Q4_K_M 256K context · ~31 tok/s
- M4 Pro 24 GB Q4_K_M 256K context · ~63 tok/s
- M5 24 GB Q4_K_M 256K context · ~38 tok/s
- M5 Pro 24 GB Q4_K_M 256K context · ~70 tok/s
- M6 24 GB Q4_K_M 256K context · ~42 tok/s
- M1 Max 32 GB Q8_0 256K context · ~65 tok/s
- M1 Pro 32 GB Q8_0 256K context · ~35 tok/s
- M2 Max 32 GB Q8_0 256K context · ~65 tok/s
- M2 Pro 32 GB Q8_0 256K context · ~35 tok/s
- M3 Max 36 GB Q8_0 256K context · ~51 tok/s
- M4 Max 36 GB Q8_0 256K context · ~67 tok/s
- M5 Max 36 GB Q8_0 256K context · ~73 tok/s
- M1 Ultra 64 GB Q8_0 256K context · ~86 tok/s
- M2 Ultra 64 GB Q8_0 256K context · ~86 tok/s
- M3 Ultra 96 GB Q8_0 256K context · ~87 tok/s
- M5 Ultra 96 GB Q8_0 256K context · ~116 tok/s