Gemma 4 26B A4B is a 25.81B-parameter mixture-of-experts model (3.8B active per token). At Q4_K_M it needs about 17.7 GB of memory. The Mac Studio M3 Ultra 512GB has 384 GB usable, so it fits entirely in memory. Expect about 171 tokens/sec (99–242), with the first token after 0.3 s for a short prompt. This estimate is interpolated from benchmarks of similar setups.
| Quantization | File size | Memory | Generation | First token | Source |
|---|---|---|---|---|---|
| Q4_K_M | 16.9 GB | Fits | 171 tok/s | 0.3 s | Derived |
| Q8_0 | 26.9 GB | Fits | 108 tok/s | 0.3 s | Derived |
| FP16 | 50.5 GB | Fits | 57 tok/s | 0.3 s | Derived |
All models on the Mac Studio M3 Ultra 512GB · Gemma 4 26B A4B on all hardware
Estimates for a short prompt on a single device. Measured numbers come from community benchmarks (r/LocalLLaMA, localscore.ai and more); others are derived from similar setups or projected from specs. Open source on GitHub.