More
Submit build

Models / Gemma 4 26B-A4B

Best home rig for Gemma 4 26B-A4B

Quick answer

How much VRAM does Gemma 4 26B-A4B need?
The weights are about 15.4 GB at Q4_K_M (25.23B params × 4.89 bits ÷ 8, before context/KV cache). Add memory for context (KV cache) and the runtime. The smallest-memory setup with a measured result here, fully in memory, is RTX 5070 Ti (16 GB) at 59.4 tok/s.

What is the fastest measured hardware for Gemma 4 26B-A4B?
RTX 5090: 235 tok/s generation (llama.cpp, llama-bench tg128 (quant per result)), from https://llamabench.ai/browse/rtx5090.

Last updated:

Current model25.23B total · 4B active22 measured resultsfastest plain decode: 235 tok/s model info ↗

Will it fit my GPU? Best value GPU per euro →

Real, measured generation speeds for Gemma 4 26B-A4B on home hardware, fastest first. Different quants/engines aren't directly comparable.

BuildQuantEnginetok/sPrompt processing (tok/s)CostSource
RTX 5090: 2026 models (llamabench community)llama-bench tg128 (quant per result)llama.cpp235–llamabench.ai ↗
RTX 5090 on Windows 11: Ornith 1.5 35B-A3B at 273 tok/s, Gemma 4 26B-A4B at 232, Qwen3.8 27B 73.6 (137 with MTP)Q4_K_M (text-only build), f16 KVllama-server b10448232.49,719 @8k · est. TTFT @8k ≈0.84 s*kgptalkie.com ↗
MacBook Pro M5 Max 128 GB: Qwen3.6 35B-A3B at 271 tok/s (mlx-serve + MTP), Gemma 4 26B-A4B at 1664-bit MLX (QAT)Rapid-MLX 0.16.1 + DFlash166 ⚡–baobabtech.ai ↗
RTX 4090: 2026 models (llamabench community)llama-bench tg128 (quant per result)llama.cpp164–llamabench.ai ↗
RTX 4090 + Ryzen 9 7950X (96 GB): gpt-oss 20B at 238.6 tok/s, Gemma 4 26B-A4B at 161.4 (llama.cpp CUDA)UD-IQ4_XS (13.6 GB)llama.cpp b11669 (CUDA)161.47,257 @19,000 · est. TTFT @8k ≈1.1 s*measuredlocally.com ↗
RX 9070 XT + Radeon AI PRO R9700 (48 GB, ROCm 7.2): Qwen3.8 27B 71.6 tok/s with MTP at 128K contextQ4 (UD-Q4_K_M per the repo KLD table) + MTPllama.cpp (ROCm), layer split, MTP143.43 ⚡1,203 @128K depthgithub.com ↗
Apple M3 Ultra 60-core 96GB (oMLX oQ4e + MTP): Gemma 4 26B-A4B at 33.6-122.9 tok/s from 1k to 128k context in under 24 GBoMLX oQ4e (4-bit)oMLX v0.8.3, Lightning MTP122.9 ⚡1,852 @1k · est. TTFT @8k ≈4.4 s*omlx.ai ↗
Single Intel Arc Pro B70 32 GB (neural.download lab)UD-Q8_K_XLllama.cpp SYCL (pinned build, oneAPI 2026.0)122.161,168 @7,623 · est. TTFT @8k ≈7.0 s*github.com ↗
TITAN RTX 24 GB (Turing, Ryzen 7 5800X3D): Qwen3.6 35B-A3B at 113.4 tok/s (176.4 with MTP), Qwen3.8 27B Q4_K_M at 30.2 (llama.cpp CUDA)Unsloth UD-IQ4_XSllama.cpp b11222 (CUDA)96.62,674 @512 · est. TTFT @8k ≈3.1 s*bryanlurer.com ↗
Mac mini M5 Pro 64GB (MLX 4-bit): Qwen3.6 35B-A3B at 100.2 tok/s, Gemma 4 26B-A4B at 85.1, Qwen3.8 27B at 17.7 (mean over 1,000 rounds)MLX 4-bit (mlx-community/gemma-4-26b-a4b-it-4bit)mlx-lm (MLX 0.32.x)85.08–huggingface.co ↗
Apple M3 Ultra 60-core 96GB (oMLX oQ4e + MTP): Gemma 4 26B-A4B at 33.6-122.9 tok/s from 1k to 128k context in under 24 GBoMLX oQ4e (4-bit)oMLX v0.8.3, Lightning MTP84.8 ⚡1,736 @16k · est. TTFT @8k ≈4.7 s*omlx.ai ↗
Apple M3 Ultra 60-core 96GB (oMLX oQ4e + MTP): Gemma 4 26B-A4B at 33.6-122.9 tok/s from 1k to 128k context in under 24 GBoMLX oQ4e (4-bit)oMLX v0.8.3, Lightning MTP80.5 ⚡1,899 @4k · est. TTFT @8k ≈4.3 s*omlx.ai ↗
Apple M3 Ultra 60-core 96GB (oMLX oQ4e + MTP): Gemma 4 26B-A4B at 33.6-122.9 tok/s from 1k to 128k context in under 24 GBoMLX oQ4e (4-bit)oMLX v0.8.3, Lightning MTP72.3 ⚡1,552 @32k · est. TTFT @8k ≈5.3 s*omlx.ai ↗
Lenovo Yoga Pro 9n (RTX Spark, 128 GB): gpt-oss 20B at 80.4 tok/s, Qwen3.6 35B-A3B at 72.1 (llama.cpp CUDA, Windows on Arm)UD-IQ4_XS (13.6 GB)llama.cpp b11669 (CUDA, Windows on Arm)60.72,328 @19,000 · est. TTFT @8k ≈3.5 s*measuredlocally.com ↗
RTX 5070 Ti + Ryzen 9 5950X: gpt-oss 20B at 213.2 tok/s, Qwen3.5 9B at 126.6 (llama.cpp CUDA)UD-IQ4_XS (13.6 GB)llama.cpp b11669 (CUDA), partial CPU offload59.42,199 @19,000 · est. TTFT @8k ≈3.7 s*measuredlocally.com ↗
DGX Spark (GB10, 128 GB): 23 models on vLLM at 128K context, Qwen3.6 35B-A3B up to 102 tok/s+ official MTP drafter (k=3)vLLM 0.31.0, 128K ctx, 1 user56.5 ⚡measured TTFT 29.7 s @~46Kctala.github.io ↗
Apple M3 Ultra 60-core 96GB (oMLX oQ4e + MTP): Gemma 4 26B-A4B at 33.6-122.9 tok/s from 1k to 128k context in under 24 GBoMLX oQ4e (4-bit)oMLX v0.8.3, Lightning MTP53.9 ⚡1,273 @64k · est. TTFT @8k ≈6.4 s*omlx.ai ↗
HP ZBook Ultra G1a (Strix Halo laptop, 128 GB): Qwen3.6 35B-A3B at 59.4 tok/s, gpt-oss 120B at 44.74-bitOllama 0.34.051.8–petronellatech.com ↗
Mac mini M6 32 GB: Qwen3.6 35B-A3B at 63 tok/s, Nemotron 3.5 Lightning 45 (LM Studio)QAT (google/gemma-4-26b-a4b-qat)LM Studio45.5–github.com ↗
HP ZBook Ultra G1a (Ryzen AI Max+ 395, 64 GB): gpt-oss 20B at 67.2 tok/s, Qwen3.6 35B-A3B at 52.3 (llama.cpp Vulkan)UD-IQ4_XS (13.6 GB)llama.cpp b11669 (Vulkan)43.3271 @19,000 · est. TTFT @8k ≈30.2 s*measuredlocally.com ↗
Apple M3 Ultra 60-core 96GB (oMLX oQ4e + MTP): Gemma 4 26B-A4B at 33.6-122.9 tok/s from 1k to 128k context in under 24 GBoMLX oQ4e (4-bit)oMLX v0.8.3, Lightning MTP33.6 ⚡936 @128k · est. TTFT @8k ≈8.8 s*omlx.ai ↗
DGX Spark (GB10, 128 GB): 23 models on vLLM at 128K context, Qwen3.6 35B-A3B up to 102 tok/sno speculative decodingvLLM 0.31.0, 128K ctx, 1 user30.8measured TTFT 26.0 s @~46Kctala.github.io ↗

Prompt processing = prefill speed reported by the source, @ prompt length. * est. TTFT @8k is calculated from measured prefill, not measured. Why it matters.

Quality cost of each quant for Gemma 4 26B-A4B

How far each quantization drifts from the full-precision (BF16) model, as published by the quant maker. Lower KL divergence (KLD) is closer to the original; same-top-token % is how often the quant picks the same next token as BF16. Q4_K_M is usually the sweet spot; below Q4 the drift grows fast, which is why RigBase only lists Q4-or-higher speed results.

QuantFile sizeMean KLD vs BF16Same top token
QAT UD-Q4_K_XL (Unsloth)14.25 GB0.0978885.63%
QAT Q4_0 (plain llama.cpp conversion)14.44 GB0.3609470.2%

Source: unsloth.ai ↗. Unsloth (quant publisher) Gemma 4 QAT docs: KLD on wikitext. Both rows are 4-bit files made from Google's QAT checkpoint: Unsloth's UD-Q4_K_XL versus a plain llama.cpp Q4_0 conversion. Unsloth publishes no higher-precision QAT file, saying higher precisions did not improve accuracy. KLD from different publishers, datasets or llama.cpp builds isn't directly comparable.

Rent before you buy: try this model on a cloud GPU for a few dollars first: Runpod (referral link; sign up with Google to get the new-user bonus)

Memory math: how much VRAM / RAM does Gemma 4 26B-A4B need?

Gemma 4 26B-A4B has 25.23B parameters, about 4B active per token (source: GGUF param count via llamabench.ai). Weight size = parameters × bits-per-weight ÷ 8, before context (KV cache) and runtime overhead.

FormatBits/weightWeightsSmallest common memory size that holds the weights alone
Q8_08.5026.8 GB32 GB
Q6_K6.5620.7 GB24 GB
Q5_K_M5.7018.0 GB24 GB
Q4_K_M4.8915.4 GB16 GB
Q3_K_M4.0012.6 GB16 GB
Q2_K3.1610.0 GB12 GB

Bits-per-weight for GGUF quants are llama.cpp's own figures (llama.cpp quantize README). "As measured" rows apply the source's stated bits-per-weight to the parameter count; real files differ slightly because some layers stay at higher precision. Try other combinations in the VRAM calculator.

Why it can still run on smaller GPUs: it is a mixture-of-experts model, so only about 4B of its 25.23B parameters are used for each generated token. Runtimes such as llama.cpp (--n-cpu-moe), ExLlamaV3 or Project Maya can keep most expert weights in system RAM and only the shared layers and hot experts in VRAM. Then you need VRAM + system RAM ≥ weights, and speed is limited mainly by RAM bandwidth.

FAQ

How much VRAM does Gemma 4 26B-A4B need?

The weights are about 15.4 GB at Q4_K_M (25.23B params × 4.89 bits ÷ 8, before context/KV cache). Add memory for context (KV cache) and the runtime. The smallest-memory setup with a measured result here, fully in memory, is RTX 5070 Ti (16 GB) at 59.4 tok/s.

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

RTX 5090: 235 tok/s generation (llama.cpp, llama-bench tg128 (quant per result)), from https://llamabench.ai/browse/rtx5090.

Which GPUs have measured results for Gemma 4 26B-A4B?

Apple M3 Ultra, DGX Spark (GB10), Intel Arc Pro B70, RTX 4090, RTX 5070 Ti, RTX 5090, RTX Spark N1X, Strix Halo (Radeon 8060S).

Can it run on… Apple M3 Ultra · DGX Spark (GB10) · Intel Arc Pro B70 · RTX 4090 · RTX 5070 Ti · RTX 5090 · RTX Spark N1X · Strix Halo (Radeon 8060S)

Related: what GPU do you need for 2026 models · all builds

Search answer: How much VRAM do you need for Gemma 4 26B-A4B? · Will it fit my GPU?