Gemma 4 31B is a 31.27B-parameter model. At Q4_K_M it needs about 19.1 GB of memory. The AMD Ryzen AI Max+ 395 128GB (Strix Halo) has 119 GB usable, so it fits entirely in memory. Expect about 11 tokens/sec (9.7–12), with the first token after 0.4 s for a short prompt. This estimate is based on community benchmarks of this exact setup.
| Quantization | File size | Memory | Generation | First token | Source |
|---|---|---|---|---|---|
| Q4_K_M | 18.3 GB | Fits | 11 tok/s | 0.4 s | Measured |
| Q8_0 | 32.6 GB | Fits | 6.2 tok/s | 0.4 s | Measured |
| FP16 | 61.4 GB | Fits | 3.5 tok/s | 0.4 s | Measured |
All models on the AMD Ryzen AI Max+ 395 128GB (Strix Halo) · Gemma 4 31B 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.