More
Submit build

Models / Gemma 4 26B-A4B / VRAM

How much VRAM do you need for Gemma 4 26B-A4B?

Last updated:

Weight math from the model card, plus every measured RigBase result for Gemma 4 26B-A4B. Leave extra room for context (KV cache).

Quick answer: at Q4_K_M the weights are about 15.4 GB (25.23B params × 4.89 bits ÷ 8, llama.cpp quantize table). only about 4B parameters are active per token (MoE). the smallest-memory build with a measured result here is RTX 4090 (24 GB) at 164 tok/s. Open the VRAM calculator →

Weight size by quant

QuantBits/weightWeights only
Q8_08.5026.8 GB
Q6_K6.5620.7 GB
Q5_K_M5.7018.0 GB
Q4_K_M4.8915.4 GB
Q3_K_M4.0012.6 GB
Q2_K3.1610.0 GB

Bits-per-weight for GGUF rows: llama.cpp quantize README. Parameter count: GGUF param count via llamabench.ai. We advise staying at Q4 or above for chat quality — see Is Q4 good enough?.

Measured speeds for Gemma 4 26B-A4B

HardwareQuantEnginetok/s
RTX 5090 · 32 GBllama-bench tg128 (quant per result)llama.cpp235
RTX 5090 32GB · 32 GBQ4_K_M (text-only build), f16 KVllama-server b10448232.4
Apple M5 Max (unified) · 128 GB4-bit MLX (QAT)Rapid-MLX 0.16.1 + DFlash166 ⚡
RTX 4090 · 24 GBllama-bench tg128 (quant per result)llama.cpp164
RX 9070 XT 16 GB + Radeon AI PRO R9700 32 GB · 48 GBQ4 (UD-Q4_K_M per the repo KLD table) + MTPllama.cpp (ROCm), layer split, MTP143.43 ⚡
Intel Arc Pro B70 32 GB · 32 GBUD-Q8_K_XLllama.cpp SYCL (pinned build, oneAPI 202122.16
Nvidia GB10 (unified) · 128 GB+ official MTP drafter (k=3)vLLM 0.31.0, 128K ctx, 1 user56.5 ⚡
AMD Ryzen AI Max+ PRO 395 (Radeon 8060S iGPU, 32 GB dedicate · 128 GB4-bitOllama 0.34.051.8
Apple M6 (12-core GPU, unified) · 32 GBQAT (google/gemma-4-26b-a4b-qat)LM Studio45.5
Nvidia GB10 (unified) · 128 GBno speculative decodingvLLM 0.31.0, 128K ctx, 1 user30.8

⚡ = speculative decoding (MTP, DFlash…). Full list: best home rig for Gemma 4 26B-A4B.

Related

All Gemma 4 26B-A4B builds VRAM + KV calculator By VRAM size GGUF vs AWQ vs FP8 vs NVFP4 How much system RAM?

FAQ

How much VRAM do you need for Gemma 4 26B-A4B?

Weights alone are about 15.4 GB at Q4_K_M (25.23B × 4.89 bits ÷ 8). Add memory for the KV cache (context) and the runtime. The smallest-memory measured result in RigBase is 24 GB (RTX 4090) at 164 tok/s. Going below Q4 usually hurts quality for chat; see the Q4 guide.

What is the fastest measured speed for Gemma 4 26B-A4B?

RTX 5090: 235 tok/s plain decode (llama-bench tg128 (quant per result), llama.cpp).

Does system RAM replace VRAM?

Only for overflow. When the whole model fits in GPU or unified memory, system RAM barely matters for decode speed. See the system-RAM guide.

Not enough VRAM? Rent before you buy. Run Gemma 4 26B-A4B on a rented 24–96 GB cloud GPU by the hour and see the real speed before spending €1,000+. Try it on Runpod
Referral link: if you sign up with Google and add $10, Runpod gives you and RigBase bonus credit (terms). It never affects our data.