Yes. Gemma 4 26B-A4B fits on the GeForce RTX 4090 at Q4: 17.3 GB needed against 22.8 GB of usable VRAM, so 5.5 GB to spare. The next quant up, Q8, needs 27.2 GB, which is 4.4 GB more than is usable. With an FP16 KV cache, about 142,000 tokens of context fit beside the 16.9 GB of Q4 weights.
Can the GeForce RTX 4090 run Gemma 4 26B-A4B?
Data updated . Last reviewed the same day, when this catalog snapshot was written.
Memory math
The GeForce RTX 4090 has 24.0 GB of dedicated VRAM on the card. The catalog counts 95% of it, 22.8 GB, as available for weights plus KV cache and leaves the other 1.2 GB out of the budget. A result under 2 GB of headroom is labeled tight.
Gemma 4 26B-A4B stores 25.8B parameters, 3.8B of them active per token. Against 22.8 GB usable, Q4 needs 17.3 GB (5.5 GB spare); Q8 needs 27.2 GB (4.4 GB short); FP16 needs 61.9 GB (39.1 GB short). Q4 is the highest of the three that fits. Q4 comes from gemma-4-26B-A4B-it-UD-Q4_K_M.gguf plus KV cache at 8K.
The Hub repo also has Q5_K_M (gemma-4-26B-A4B-it-UD-Q5_K_M.gguf, 21.5 GB with KV, 1.3 GB spare, tight) and Q6_K (gemma-4-26B-A4B-it-UD-Q6_K_XL.gguf, 23.6 GB with KV, 0.8 GB too big here), between the catalog's Q4 and Q8 steps.
The GeForce RTX 4090
- NVIDIA GPU, released 2022. List price $1,599, about $70 per usable GB. NVIDIA launch MSRP.
- Memory bandwidth 1,008 GB/s: number 2 from the top of the 16 machines in the can-run list.
- Usable memory 22.8 GB: 5 of the 16 machines have more, and 2 others have exactly the same.
The eBay link is a search of used listings, not a price or a recommendation of a seller. RigFit may earn a commission from qualifying eBay purchases made through links on this site, at no extra cost to you. See the disclosure.
Gemma 4 26B-A4B
- Gemma family, mixture-of-experts, 25.8B parameters (3.8B active per token). License Apache-2.0. The model card lists a 262,144-token context window. Hugging Face repo google/gemma-4-26B-A4B-it.
- Sizes come from unsloth/gemma-4-26B-A4B-it-GGUF: Q4_K_M gemma-4-26B-A4B-it-UD-Q4_K_M.gguf is 16.9 GB; Q5_K_M gemma-4-26B-A4B-it-UD-Q5_K_M.gguf is 21.2 GB; Q6_K gemma-4-26B-A4B-it-UD-Q6_K_XL.gguf is 23.3 GB; Q8_0 gemma-4-26B-A4B-it-Q8_0.gguf is 26.9 GB.
- Widely downloaded Gemma 4 MoE. About 3.8B active, 25.8B stored.
Quant ladder
| Quant | Estimate | Headroom | Est. tok/s | Verdict |
|---|---|---|---|---|
| Q4 | 17.3 GB | 5.5 GB | 404 tok/s | Yes |
| Q8 | 27.2 GB | -4.4 GB | — | No |
| FP16 | 61.9 GB | -39.1 GB | — | No |
- GGUF file size plus an FP16 KV-cache estimate at 8,192 tokens. The cache counts only the layers and heads named in the method on the About page.
- Formula estimate: parameter count × bytes per weight × 1.20. No GGUF file size is stored for this quant.
- Tokens/sec is an estimate, a bandwidth roofline: GB/s divided by active weight GB. It is not a measured generation speed, and it is blank for quants that do not fit.
Context length and KV cache
FP16 KV-cache estimate: 0.3 GB at 8,192 tokens and 1.3 GB at 32,768 tokens, about 41 KB per token (5 counted layers). GQA counts two tensors (K and V) for the stored KV heads and head dimension. config.json also sets a sliding window of 1,024 tokens. The figures assume every counted layer stores the full context, so they can overstate cache on sliding layers and understate the context that fits.
Context that fits in 22.8 GB usable VRAM, counting weights plus FP16 KV cache and nothing else (estimate: (usable - weight file) / KV per token, capped at the model's 262,144-token window): Q4: about 142,000 tokens.
Speed estimate
Gemma 4 26B-A4B is a mixture-of-experts model: 25.8B parameters total, 3.8B active per token (15%). Memory has to hold all 25.8B (16.9 GB of Q4 weights), but each token reads only about 2.5 GB of them, so its speed ceiling is about 6.8x higher than a dense model with the same file size.
Estimate, not a benchmark and not from a cited run: 1,008 GB/s divided by 2.5 GB of weights read per token at Q4 (16.9 GB file x 15% active) is a ceiling of 404 tok/s. It ignores prompt processing, KV-cache reads, and software overhead, so real generation is slower.
Offload
The Q4 weights fit in usable VRAM, so this page does not assume a system-RAM offload. Q8 would overflow by 4.4 GB; that is the amount a partial offload would have to carry, and the catalog does not record system RAM or its bandwidth, so it is not counted as a fit.
Ollama
This command pulls the Q4_K_M file from unsloth/gemma-4-26B-A4B-it-GGUF, the Hub repo whose file size is used above. It is not an official Ollama library tag.
ollama run hf.co/unsloth/gemma-4-26B-A4B-it-GGUF:Q4_K_M
Nearby machines for Gemma 4 26B-A4B
- Next machine up in memory: MacBook Pro 14-inch M4 Max 36GB (36.0 GB unified memory, 25.2 GB usable, 410 GB/s, list $3,199), 2.4 GB more usable than here. Yes at Q4, 7.9 GB spare. The best quant stays Q4.
- Next machine down in memory: GeForce RTX 4080 Super (16.0 GB VRAM, 15.2 GB usable, 736 GB/s, list $999), 7.6 GB less usable than here. No, Q4 needs 17.3 GB and 15.2 GB is usable (2.1 GB short). The model no longer fits there at any quant.
- Same 22.8 GB usable: GeForce RTX 3090 (24.0 GB VRAM, 22.8 GB usable, 936 GB/s, list $1,499). Yes at Q4, 5.5 GB spare; the fit is identical, so the difference is bandwidth, price, and platform. Its 936 GB/s against 1,008 GB/s here gives a bandwidth ceiling of 375 tok/s at Q4 versus 404 tok/s here (estimates).
- Same 22.8 GB usable: Radeon RX 7900 XTX (24.0 GB VRAM, 22.8 GB usable, 960 GB/s, list $999). Yes at Q4, 5.5 GB spare; the fit is identical, so the difference is bandwidth, price, and platform. Its 960 GB/s against 1,008 GB/s here gives a bandwidth ceiling of 385 tok/s at Q4 versus 404 tok/s here (estimates).
- Cheapest catalog device at Q4: Radeon RX 7900 XT (19.0 GB usable, list $899).
Nearby models on the GeForce RTX 4090
- Next smaller model by Q4 size: Qwen3.8 27B (27.8B, Q4 17.0 GB) on the GeForce RTX 4090: Yes at Q4, 5.8 GB spare.
- Next larger model by Q4 size: Qwen3.6 27B (27.8B, Q4 17.4 GB) on the GeForce RTX 4090: Yes at Q4, 5.4 GB spare.
- Largest catalog model that still fits at Q4: Nanbeige4.3 33B (33.1B, Q4 22.5 GB): Tight at Q4, 0.3 GB spare.
All hardware for Gemma 4 26B-A4B · All models for the GeForce RTX 4090
Questions
- How much memory does Gemma 4 26B-A4B need at Q4?
- The Q4 figure used here is 17.3 GB, from gemma-4-26B-A4B-it-UD-Q4_K_M.gguf plus KV cache at 8K. GGUF file size plus an FP16 KV-cache estimate at 8,192 tokens. The cache counts only the layers and heads named in the method on the About page.
- Can the GeForce RTX 4090 run Gemma 4 26B-A4B?
- Yes. Gemma 4 26B-A4B fits on the GeForce RTX 4090 at Q4: 17.3 GB needed against 22.8 GB of usable VRAM, so 5.5 GB to spare. The next quant up, Q8, needs 27.2 GB, which is 4.4 GB more than is usable. With an FP16 KV cache, about 142,000 tokens of context fit beside the 16.9 GB of Q4 weights.
- How much context fits when Gemma 4 26B-A4B runs on the GeForce RTX 4090?
- Context that fits in 22.8 GB usable VRAM, counting weights plus FP16 KV cache and nothing else (estimate: (usable - weight file) / KV per token, capped at the model's 262,144-token window): Q4: about 142,000 tokens.
- How fast is Gemma 4 26B-A4B on the GeForce RTX 4090, as a bandwidth estimate?
- Estimate, not a benchmark and not from a cited run: 1,008 GB/s divided by 2.5 GB of weights read per token at Q4 (16.9 GB file x 15% active) is a ceiling of 404 tok/s. It ignores prompt processing, KV-cache reads, and software overhead, so real generation is slower.
- What is the cheapest catalog device that runs Gemma 4 26B-A4B at Q4?
- Radeon RX 7900 XT, list price $899, with 19.0 GB usable.
- What changes with the next machine up from the GeForce RTX 4090?
- MacBook Pro 14-inch M4 Max 36GB (36.0 GB unified memory, 25.2 GB usable, 410 GB/s, list $3,199), 2.4 GB more usable than here. Yes at Q4, 7.9 GB spare. The best quant stays Q4.