<!-- Markdown mirror of https://getrigbase.com/models/gemma-4-26b-a4b/ . Source of truth is the HTML page. Data licence: CC BY 4.0, please cite RigBase (https://getrigbase.com/models/gemma-4-26b-a4b/). -->
Source: https://getrigbase.com/models/gemma-4-26b-a4b/
Last updated: 2026-11-29

[Models](https://getrigbase.com/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: 29 Nov 2026

Current model 25.23B total · 4B active 22 measured results fastest plain decode: 235 tok/s  [model info ↗](https://llamabench.ai/browse/rtx5090)

[Will it fit my GPU?](https://getrigbase.com/can-it-run/) [Best value GPU per euro →](https://getrigbase.com/guides/best-value-gpu-local-llm-europe/)

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

| Build | Quant | Engine | tok/s | Prompt processing (tok/s) | Cost | Source |
|---|---|---|---|---|---|---|
| [RTX 5090: 2026 models (llamabench community)](https://getrigbase.com/builds/llamabench-rtx-5090/) | llama-bench tg128 (quant per result) | llama.cpp | **235** | – |  | [llamabench.ai ↗](https://llamabench.ai/browse/rtx5090) |
| [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)](https://getrigbase.com/builds/rtx-5090-windows-qwen38-ornith-gemma4-kgptalkie/) | Q4_K_M (text-only build), f16 KV | llama-server b10448 | **232.4** | 9,719 @8k · est. TTFT @8k ≈0.84 s* |  | [kgptalkie.com ↗](https://kgptalkie.com/tutorials/llm-benchmarking/qwen-3-8-27b-llama-cpp-speed-settings) |
| [MacBook Pro M5 Max 128 GB: Qwen3.6 35B-A3B at 271 tok/s (mlx-serve + MTP), Gemma 4 26B-A4B at 166](https://getrigbase.com/builds/macbook-pro-m5-max-128gb-moe-servers-baobab/) | 4-bit MLX (QAT) | Rapid-MLX 0.16.1 + DFlash | **166** ⚡ | – |  | [baobabtech.ai ↗](https://baobabtech.ai/posts/local-moe-m5-max-qwen-gemma-speed) |
| [RTX 4090: 2026 models (llamabench community)](https://getrigbase.com/builds/llamabench-rtx-4090/) | llama-bench tg128 (quant per result) | llama.cpp | **164** | – |  | [llamabench.ai ↗](https://llamabench.ai/browse/rtx4090) |
| [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)](https://getrigbase.com/builds/rtx-4090-ryzen-9-7950x-96gb-measuredlocally/) | UD-IQ4_XS (13.6 GB) | llama.cpp b11669 (CUDA) | **161.4** | 7,257 @19,000 · est. TTFT @8k ≈1.1 s* |  | [measuredlocally.com ↗](https://measuredlocally.com/rtx-4090-desktop.html) |
| [RX 9070 XT + Radeon AI PRO R9700 (48 GB, ROCm 7.2): Qwen3.8 27B 71.6 tok/s with MTP at 128K context](https://getrigbase.com/builds/9800x3d-rx-9070-xt-plus-r9700-rocm-llamacpp/) | Q4 (UD-Q4_K_M per the repo KLD table) + MTP | llama.cpp (ROCm), layer split, MTP | **143.43** ⚡ | 1,203 @128K depth |  | [github.com ↗](https://github.com/kr4ckhe4d/local-llm-benchmarks/blob/main/r9700%2Brx9070.md) |
| [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 GB](https://getrigbase.com/builds/omlx-m3-ultra-60c-96gb-gemma-4-26b-a4b-oq4e-mtp/) | oMLX oQ4e (4-bit) | oMLX v0.8.3, Lightning MTP | **122.9** ⚡ | 1,852 @1k · est. TTFT @8k ≈4.4 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/1antnym6) |
| [Single Intel Arc Pro B70 32 GB (neural.download lab)](https://getrigbase.com/builds/intel-arc-pro-b70-neural-download-lab/) | UD-Q8_K_XL | llama.cpp SYCL (pinned build, oneAPI 2026.0) | **122.16** | 1,168 @7,623 · est. TTFT @8k ≈7.0 s* |  | [github.com ↗](https://github.com/steveseguin/b70-optimization-lab) |
| [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)](https://getrigbase.com/builds/titan-rtx-24gb-ryzen-7-5800x3d-qwen36-qwen38-lfm25-blurer/) | Unsloth UD-IQ4_XS | llama.cpp b11222 (CUDA) | **96.6** | 2,674 @512 · est. TTFT @8k ≈3.1 s* |  | [bryanlurer.com ↗](https://bryanlurer.com/posts/llm-bench/) |
| [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)](https://getrigbase.com/builds/mac-mini-m5-pro-64gb-mlx-1000-rewrites-pratikgx/) | MLX 4-bit (mlx-community/gemma-4-26b-a4b-it-4bit) | mlx-lm (MLX 0.32.x) | **85.08** | – |  | [huggingface.co ↗](https://huggingface.co/datasets/pratikgx/1000-rewrites-later) |
| [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 GB](https://getrigbase.com/builds/omlx-m3-ultra-60c-96gb-gemma-4-26b-a4b-oq4e-mtp/) | oMLX oQ4e (4-bit) | oMLX v0.8.3, Lightning MTP | **84.8** ⚡ | 1,736 @16k · est. TTFT @8k ≈4.7 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/1antnym6) |
| [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 GB](https://getrigbase.com/builds/omlx-m3-ultra-60c-96gb-gemma-4-26b-a4b-oq4e-mtp/) | oMLX oQ4e (4-bit) | oMLX v0.8.3, Lightning MTP | **80.5** ⚡ | 1,899 @4k · est. TTFT @8k ≈4.3 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/1antnym6) |
| [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 GB](https://getrigbase.com/builds/omlx-m3-ultra-60c-96gb-gemma-4-26b-a4b-oq4e-mtp/) | oMLX oQ4e (4-bit) | oMLX v0.8.3, Lightning MTP | **72.3** ⚡ | 1,552 @32k · est. TTFT @8k ≈5.3 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/1antnym6) |
| [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)](https://getrigbase.com/builds/lenovo-yoga-pro-9n-rtx-spark-128gb-measuredlocally/) | UD-IQ4_XS (13.6 GB) | llama.cpp b11669 (CUDA, Windows on Arm) | **60.7** | 2,328 @19,000 · est. TTFT @8k ≈3.5 s* |  | [measuredlocally.com ↗](https://measuredlocally.com/rtx-spark.html) |
| [RTX 5070 Ti + Ryzen 9 5950X: gpt-oss 20B at 213.2 tok/s, Qwen3.5 9B at 126.6 (llama.cpp CUDA)](https://getrigbase.com/builds/rtx-5070-ti-ryzen-9-5950x-32gb-measuredlocally/) | UD-IQ4_XS (13.6 GB) | llama.cpp b11669 (CUDA), partial CPU offload | **59.4** | 2,199 @19,000 · est. TTFT @8k ≈3.7 s* |  | [measuredlocally.com ↗](https://measuredlocally.com/rtx-5070-ti-desktop.html) |
| [DGX Spark (GB10, 128 GB): 23 models on vLLM at 128K context, Qwen3.6 35B-A3B up to 102 tok/s](https://getrigbase.com/builds/dgx-spark-vllm-23-models-ctala-oct-2026/) | + official MTP drafter (k=3) | vLLM 0.31.0, 128K ctx, 1 user | **56.5** ⚡ | measured TTFT 29.7 s @~46K |  | [ctala.github.io ↗](https://ctala.github.io/local-llm-agentic-workflows/benchmarks/) |
| [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 GB](https://getrigbase.com/builds/omlx-m3-ultra-60c-96gb-gemma-4-26b-a4b-oq4e-mtp/) | oMLX oQ4e (4-bit) | oMLX v0.8.3, Lightning MTP | **53.9** ⚡ | 1,273 @64k · est. TTFT @8k ≈6.4 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/1antnym6) |
| [HP ZBook Ultra G1a (Strix Halo laptop, 128 GB): Qwen3.6 35B-A3B at 59.4 tok/s, gpt-oss 120B at 44.7](https://getrigbase.com/builds/hp-zbook-ultra-g1a-strix-halo-laptop-petronella/) | 4-bit | Ollama 0.34.0 | **51.8** | – |  | [petronellatech.com ↗](https://petronellatech.com/blog/dgx-spark-vs-strix-halo-vs-gorgon-halo-local-llm-benchmarks/) |
| [Mac mini M6 32 GB: Qwen3.6 35B-A3B at 63 tok/s, Nemotron 3.5 Lightning 45 (LM Studio)](https://getrigbase.com/builds/mac-mini-m6-32gb-lm-studio-oct-2026/) | QAT (google/gemma-4-26b-a4b-qat) | LM Studio | **45.5** | – |  | [github.com ↗](https://github.com/HDZucht/Mac-Mini-M6-LLM-benchmarks) |
| [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)](https://getrigbase.com/builds/hp-zbook-ultra-g1a-strix-halo-64gb-measuredlocally/) | UD-IQ4_XS (13.6 GB) | llama.cpp b11669 (Vulkan) | **43.3** | 271 @19,000 · est. TTFT @8k ≈30.2 s* |  | [measuredlocally.com ↗](https://measuredlocally.com/strix-halo.html) |
| [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 GB](https://getrigbase.com/builds/omlx-m3-ultra-60c-96gb-gemma-4-26b-a4b-oq4e-mtp/) | oMLX oQ4e (4-bit) | oMLX v0.8.3, Lightning MTP | **33.6** ⚡ | 936 @128k · est. TTFT @8k ≈8.8 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/1antnym6) |
| [DGX Spark (GB10, 128 GB): 23 models on vLLM at 128K context, Qwen3.6 35B-A3B up to 102 tok/s](https://getrigbase.com/builds/dgx-spark-vllm-23-models-ctala-oct-2026/) | no speculative decoding | vLLM 0.31.0, 128K ctx, 1 user | **30.8** | measured TTFT 26.0 s @~46K |  | [ctala.github.io ↗](https://ctala.github.io/local-llm-agentic-workflows/benchmarks/) |

Prompt processing = prefill speed reported by the source, @ prompt length. * est. TTFT @8k is calculated from measured prefill, not measured. [Why it matters](https://getrigbase.com/can-it-run/#prefill).

## 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.

| Quant | File size | Mean KLD vs BF16 | Same top token |
|---|---|---|---|
| QAT UD-Q4_K_XL (Unsloth) | 14.25 GB | **0.09788** | 85.63% |
| QAT Q4_0 (plain llama.cpp conversion) | 14.44 GB | **0.36094** | 70.2% |

Source: [unsloth.ai ↗](https://unsloth.ai/docs/models/gemma-4/qat). 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.
Ad · this space is available **Sponsor this spot: reach people building local AI rigs.** One clearly-labeled slot per page, no tracking scripts.  [Sponsor this spot →](https://getrigbase.com/advertise/#inquiry)

**Rent before you buy:** try this model on a cloud GPU for a few dollars first: [Runpod](https://runpod.io?ref=77qcpl2c) (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](https://llamabench.ai/browse/rtx5090): GGUF param count via llamabench.ai). Weight size = parameters × bits-per-weight ÷ 8, before context (KV cache) and runtime overhead.

| Format | Bits/weight | Weights | Smallest common memory size that holds the weights alone |
|---|---|---|---|
| Q8_0 | 8.50 | 26.8 GB | 32 GB |
| Q6_K | 6.56 | 20.7 GB | 24 GB |
| Q5_K_M | 5.70 | 18.0 GB | 24 GB |
| Q4_K_M | 4.89 | **15.4 GB** | 16 GB |
| Q3_K_M | 4.00 | 12.6 GB | 16 GB |
| Q2_K | 3.16 | 10.0 GB | 12 GB |

Bits-per-weight for GGUF quants are llama.cpp's own figures ([llama.cpp quantize README](https://github.com/ggml-org/llama.cpp/blob/master/tools/quantize/README.md)). "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](https://getrigbase.com/can-it-run/).

**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](https://getrigbase.com/can-i-run/gemma-4-26b-a4b-on-apple-m3-ultra/) · [DGX Spark (GB10)](https://getrigbase.com/can-i-run/gemma-4-26b-a4b-on-dgx-spark-gb10/) · [Intel Arc Pro B70](https://getrigbase.com/can-i-run/gemma-4-26b-a4b-on-intel-arc-pro-b70/) · [RTX 4090](https://getrigbase.com/can-i-run/gemma-4-26b-a4b-on-rtx-4090/) · [RTX 5070 Ti](https://getrigbase.com/can-i-run/gemma-4-26b-a4b-on-rtx-5070-ti/) · [RTX 5090](https://getrigbase.com/can-i-run/gemma-4-26b-a4b-on-rtx-5090/) · [RTX Spark N1X](https://getrigbase.com/can-i-run/gemma-4-26b-a4b-on-rtx-spark-n1x/) · [Strix Halo (Radeon 8060S)](https://getrigbase.com/can-i-run/gemma-4-26b-a4b-on-strix-halo-radeon-8060s/)

Related: [what GPU do you need for 2026 models](https://getrigbase.com/guides/what-gpu-for-qwen3-6-gemma-4-gpt-oss/) · [all builds](https://getrigbase.com/builds/)

**Search answer:** [How much VRAM do you need for Gemma 4 26B-A4B?](https://getrigbase.com/vram/gemma-4-26b-a4b/) · [Will it fit my GPU?](https://getrigbase.com/can-it-run/)
