Gemma 4 31B is a 31.27B-parameter model. At Q4_K_M it needs about 19.1 GB of memory. The AMD Radeon AI PRO R9700 32GB has 30 GB usable, so it fits entirely in memory. Expect about 22 tokens/sec (13–31), with the first token after 0.4 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 | 18.3 GB | Fits | 22 tok/s | 0.4 s | Derived |
| Q8_0 | 32.6 GB | Partial offload | 8.4 tok/s | 1.4 s | Projected |
| FP16 | 61.4 GB | Partial offload | 1.7 tok/s | 1.4 s | Projected |
All models on the AMD Radeon AI PRO R9700 32GB · 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.