Gemma 4 12B is a 11.96B-parameter model. At Q4_K_M it needs about 7.9 GB of memory. The NVIDIA RTX 5090 32GB has 30 GB usable, so it fits entirely in memory. Expect about 148 tokens/sec (118–179), with the first token after 0.3 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 | 7.1 GB | Fits | 148 tok/s | 0.3 s | Measured |
| Q8_0 | 12.7 GB | Fits | 62 tok/s | 0.3 s | Derived |
| FP16 | 23.8 GB | Fits | 33 tok/s | 0.3 s | Derived |
All models on the NVIDIA RTX 5090 32GB · Gemma 4 12B 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.