How much VRAM does Gemma 4 26B-A4B (MoE, fast) need?
Gemma 4 26B-A4B (MoE, fast) needs about 16.5 GB of video memory at Q4 with a 4K context, so it runs fully on any graphics card with 20 GB or more. At full FP16 quality it needs about 52.5 GB. It supports up to 256K tokens of context.
- 16.5 GB at Q4, 4K context
- 20 GB smallest GPU
- 32 GB smallest Mac
- 256K max context
ollama run gemma4:26b
Figures checked 19 Nov 2026 against the model's published configuration · Sources and method
Memory needed by quality and context length
| Quality | 4K context | 16K context | 32K context | 128K context | 256K context |
|---|---|---|---|---|---|
| Q4 (Q4_K_M) | 16.5 GB | 16.8 GB | 17.1 GB | 19.1 GB | 21.7 GB |
| Q5 (Q5_K_M) | 19.3 GB | 19.5 GB | 19.9 GB | 21.8 GB | 24.4 GB |
| Q8 (Q8_0) | 28.3 GB | 28.6 GB | 28.9 GB | 30.9 GB | 33.5 GB |
| FP16 (full) | 52.5 GB | 52.8 GB | 53.1 GB | 55.1 GB | 57.7 GB |
Estimates for llama.cpp / Ollama (GGUF): weights + KV cache (FP16) + about 0.6 GB for the runtime. A model can use about 95% of a card's memory. Q4 is the usual sweet spot; Q8 is close to full quality.
Which graphics cards run it?
Fully on the GPU at Q4 with a 4K context: any card with 20 GB or more, for example RX 7900 XT (everything a 20 GB card runs). For Q8 (near full quality), 32 GB or more.
RX 7900 XT: check price on AmazonSapphire Pulse RX 7900 XT 20GB · affiliate link
On a Mac: 32 GB of unified memory or more.
Similar-size models
Mistral Small 3 24B · Devstral Small 2 24B (coding) · Gemma 2 27B · Gemma 3 27B
Sources and method
- Gemma 4 26B-A4B (MoE, fast): 25.81 billion parameters and the attention layout (layers, KV heads, head size) from the Hugging Face model card and config (google/gemma-4-26B-A4B-it); KV cache 0.02 GB per 1,000 tokens, plus 0.21 GB of fixed sliding-window cache. Checked 19 Nov 2026. Context limit (256K) from Ollama's library page, checked 18 Nov 2026.
- Memory estimate: quantised weights (Q4_K_M 4.85 bits, Q5_K_M 5.7 bits, Q8_0 8.5 bits, FP16 16 bits per parameter) + KV cache at FP16 for the context length + about 0.6 GB for the runtime. A model can use about 95% of a card's memory. Estimates, not measurements.
- Checked against real runs: on our own RTX 3060 12 GB (LM Studio, Q4_K_M, 4K to 32K context), the estimate was within about 1% of the memory measured for Qwen3.5 9B and Gemma 4 E4B. See the 12 GB results.
Spotted a figure that does not match the model card? Use the "Tell us" link at the bottom of the page.
Questions people ask
How much VRAM does Gemma 4 26B-A4B (MoE, fast) need?
About 16.5 GB at Q4 (Q4_K_M), 19.3 GB at Q5, 28.3 GB at Q8 and 52.5 GB at FP16, with a 4K-token context. A longer context adds about 0.1 GB for every 4K tokens.
Can Gemma 4 26B-A4B (MoE, fast) run on an 8 GB graphics card?
Only slowly. Even at Q4 it needs about 16.5 GB, more than the roughly 7.6 GB a model can use on an 8 GB card, so part of it runs on the CPU from system RAM.
Can I run Gemma 4 26B-A4B (MoE, fast) on a Mac?
Yes, on an Apple Silicon Mac with 32 GB of unified memory or more, where macOS lets the GPU use about 21 GB by default. Run it with "ollama run gemma4:26b".
How do I run Gemma 4 26B-A4B (MoE, fast) with Ollama?
Install Ollama, then run "ollama run gemma4:26b". Ollama downloads a Q4 version by default, which is the usual sweet spot of quality and memory.
Guides with real examples
- What a 12 GB RTX 3060 runs: our measurementsMemory and speed we measured on our own RTX 3060 for three local AI models, how close our estimates came, and what that means for your card.
- What a local AI PC costs in India (November 2026)A worked 16 GB build priced from Indian store listings, what it costs to run on a CESC bill, and when renting a cloud GPU is cheaper.
- Where our numbers come fromThe formulas, sources, checks and limits behind every TechTulna tool, and how we earn money.
Spotted a wrong number? Tell us and we'll fix it.