Gemma 4 31B is a 31.27B-parameter model. At Q4_K_M it needs about 19.1 GB of memory. The NVIDIA RTX 5060 Ti 16GB has 15 GB usable, so it only fits with part of the model offloaded to system RAM, which slows it down. Expect about 6.8 tokens/sec (2.6–11), with the first token after 1.4 s for a short prompt. This estimate is projected from the hardware specs; no benchmarks exist yet.
| Quantization | File size | Memory | Generation | First token | Source |
|---|---|---|---|---|---|
| Q4_K_M | 18.3 GB | Partial offload | 6.8 tok/s | 1.4 s | Projected |
| Q8_0 | 32.6 GB | Partial offload | 2.7 tok/s | 1.4 s | Projected |
| FP16 | 61.4 GB | Doesn't fit | Won't run | — | — |
All models on the NVIDIA RTX 5060 Ti 16GB · 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.