Google · mixture of experts · Apache-2.0
What runs Gemma 4 26B-A4B IT
Gemma 4 MoE with 25.2B total and 3.8B active parameters. The most downloaded Gemma 4 size, quick on 16-24 GB GPUs and 32 GB Macs.
- Parameters
- 25.2B, 3.8B active
- 4-bit file
- 15.9 GB
- Q4_K_M
- Needs at 8k context
- 17.4 GB
- context memory estimated
- Longest context
- 262,144 tokens
Context memory: 10,240 bytes per token, an estimate from the config: 5 global layers x 2 KV heads x 512 x 2 bytes, K only; 25 sliding-window layers are fixed-size. 25 of 30 layers use 1,024-token sliding-window attention; 5 global layers use 2 KV heads of dim 512 with keys shared as values. Only the global layers grow with context. Card gives no per-token figure. How context memory works.
Measured on this hardware
Machines that hold the 4-bit file with 8,192 tokens of context and have published runs on the same chip or cards, fastest first. Median of single-user runs with plain decoding.
| Machine | Fit | Price | Generation |
|---|---|---|---|
| Dell Pro Max Tower T2 with NVIDIA RTX PRO 6000 BlackwellNVIDIA workstation | Fits | ~$13,909 | 197 tok/smedian of 1 run |
| 1x RTX PRO 6000 BlackwellSingle GPU | Fits | ~$20,833 | 197 tok/smedian of 1 run |
| 1x RTX 5090Single GPU | Fits | ~$3,234 + unpriced parts | 122 tok/smedian of 2 runs |
| RTX 5090 + EPYC 9355P with 768 GB DDR5 (MoE offload)Hybrid GPU + RAM | Fits | ~$3,763 + unpriced parts | 122 tok/smedian of 2 runs |
| 1x RTX 3090 (used)Single GPU | Fits | ~$2,944 + unpriced parts | 119 tok/smedian of 1 run |
| RTX 3090 (used) + 128 GB DDR5 on AM5 (MoE offload)Hybrid GPU + RAM | Fits | ~$4,833 + unpriced parts | 119 tok/smedian of 1 run |
| Apple Mac Studio (M5 Max, 40-core GPU)Apple unified memory | Fitsassumed limitfrom 48 GB | ~$3,099–$5,099 | 116 tok/smedian of 3 runs |
| Apple MacBook Pro 14-inch (M5 Max, 40-core GPU)Apple unified memory | Fitsassumed limitfrom 48 GB | ~$4,699–$6,699 | 116 tok/smedian of 3 runs |
| Apple MacBook Pro 16-inch (M5 Max, 40-core GPU)Apple unified memory | Fitsassumed limitfrom 48 GB | ~$4,999–$6,999 | 116 tok/smedian of 3 runs |
| Apple Mac mini (M5 Pro, 20-core GPU)Apple unified memory | Fitsassumed limitfrom 48 GB | ~$1,899–$2,899 | 71 tok/smedian of 2 runs |
| Framework Desktop (Ryzen AI Max+ 395)AMD unified memory | Fitsassumed limitfrom 64 GB | ~$1,959–$3,449 | 52 tok/smedian of 2 runs |
| GMKtec EVO-X2 (Ryzen AI Max+ 395)AMD unified memory | Fitsassumed limitfrom 64 GB | ~$2,600–$4,000 | 52 tok/smedian of 2 runs |
| Beelink GTR9 Pro (Ryzen AI Max+ 395)AMD unified memory | Fits | ~$4,699 | 52 tok/smedian of 2 runs |
| Minisforum MS-S1 MAX (Ryzen AI Max+ 395)AMD unified memory | Fits | ~$4,899 | 52 tok/smedian of 2 runs |
| Corsair AI Workstation 300 (Ryzen AI Max+ 395)AMD unified memory | Fits | ~$4,800 | 52 tok/smedian of 2 runs |
| HP Z2 Mini G1a (Ryzen AI Max+ PRO 395)AMD unified memory | Fits | ~$4,999 | 52 tok/smedian of 2 runs |
Estimated, not measured
These fit but nobody has published a run we could match. The figure is memory bandwidth divided by the bytes read per token, scaled by the share of that ceiling measured runs reach. How estimates work.
| Machine | Fit | Price | Generation |
|---|---|---|---|
| Dell Pro Precision with GB300NVIDIA workstation | Fits | ~$159,283 | ~1,302–1,663 tok/sestimate |
| 2x RTX 5090Multi-GPU | Fits | ~$4,109 + unpriced parts | ~174–253 tok/sestimate |
| Apple Mac Studio (M5 Ultra, 64-core GPU)Apple unified memory | Fitsassumed limitfrom 96 GB | ~$5,499–$9,499 | ~155–277 tok/sestimate |
| Apple Mac Studio (M5 Ultra, 80-core GPU)Apple unified memory | Fitsassumed limitfrom 96 GB | ~$6,799–$10,799 | ~155–277 tok/sestimate |
| 4x Instinct MI50 32GB (used) on EPYC 7003Multi-GPU | Fits | ~$1,998 + unpriced parts | ~99–145 tok/sestimate |
| 2x Radeon RX 7900 XTXMulti-GPU | Fits | ~$5,637 | ~93–136 tok/sestimate |
| 2x RTX 3090 (used)Multi-GPU | Fits | ~$3,639 + unpriced parts | ~91–132 tok/sestimate |
| 4x RTX 3090 (used) on EPYC 7003, open frameMulti-GPU | Fits | ~$2,178 + unpriced parts | ~91–132 tok/sestimate |
| Apple Mac Studio (M5 Max, 32-core GPU)Apple unified memory | Fitsassumed limit | ~$2,499 | ~60–106 tok/sestimate |
| Apple MacBook Pro 14-inch (M5 Max, 32-core GPU)Apple unified memory | Fitsassumed limit | ~$4,099 | ~60–106 tok/sestimate |
| Apple MacBook Pro 16-inch (M5 Max, 32-core GPU)Apple unified memory | Fitsassumed limit | ~$4,399 | ~60–106 tok/sestimate |
| tiny corp tinybox red flashGPU desktop (prebuilt) | Fits | ~$22,000 | ~62–91 tok/sestimate |
| Framework Desktop (Ryzen AI Max+ PRO 495)AMD unified memory | Fitsassumed limit | ~$6,799 | ~50–64 tok/sestimate |
| NVIDIA DGX SparkNVIDIA GB10 | Fitsassumed limit | ~$4,699 | ~50–64 tok/sestimate |
| Dell Pro Precision with GB10NVIDIA GB10 | Fitsassumed limit | ~$5,523 | ~50–64 tok/sestimate |
| 2x Intel Arc Pro B60Multi-GPU | Fits | ~$4,367 | ~44–64 tok/sestimate |
| Framework Desktop (Ryzen AI Max 385)AMD unified memory | Fitsassumed limit | ~$1,269 | ~47–60 tok/sestimate |
| Apple Mac mini (M5 Pro, 16-core GPU)Apple unified memory | Fitsassumed limitfrom 48 GB | ~$1,699–$2,699 | ~40–71 tok/sestimate |
Fits, no speed figure
Files
| Quant | Format | Size | Repo |
|---|---|---|---|
| 4bit | MLX | 14.3 GB | mlx-community/gemma-4-26B-A4B-it-4bit |
| Q4_K_M | GGUF | 15.9 GB | bartowski/google_gemma-4-26B-A4B-it-GGUF |
| Q5_K_M | GGUF | 18.0 GB | bartowski/google_gemma-4-26B-A4B-it-GGUF |
| Q6_K | GGUF | 21.3 GB | bartowski/google_gemma-4-26B-A4B-it-GGUF |
| Q8_0 | GGUF | 25.0 GB | bartowski/google_gemma-4-26B-A4B-it-GGUF |
| 8bit | MLX | 26.0 GB | mlx-community/gemma-4-26B-A4B-it-8bit |
Sources
- huggingface.co: model card: parameters, context length, license and attention layout; release month
- huggingface.co: downloads (last 30 days), license tag, safetensors param count
- huggingface.co: layer count, KV heads and head size
- huggingface.co: GGUF file sizes (shards summed)
- huggingface.co: MLX 4bit safetensors sizes
- huggingface.co: MLX 8bit safetensors sizes