HomeCan I run it?Gemma 4 31BGemma 4 31B on an RTX 3060 12GB
No. Gemma 4 31B at Q4_K_M needs about 22.8 GB, and the GeForce RTX 3060 12GB has 12.0 GB usable at a ~4k context.
Can I run Gemma 4 31B on an RTX 3060 12GB?
Gemma 4 31B at Q4_K_M needs about 22.8 GB, and the GeForce RTX 3060 12GB has 12.0 GB usable. That figure is 12 GB of VRAM on the spec sheet, of which 12.0 GB is usable for weights and cache, at 360 GB/s memory bandwidth. Google’s dense Gemma 4 31B. Close in memory to Qwen3-32B, with a different training mix. These are estimates from our formula, not measured benchmarks.
- Quant that fits
- None of Q4, Q8 or FP16 needs 22.8 GB
- Memory needed
- 22.8 GB at Q4_K_M, ~4k context
- Usable VRAM
- 12.0 GB of 12 GB VRAM
- Est. tokens/sec
- n/a does not fit
Memory at each quant
| Quant | Need vs 12.0 GB | Verdict |
|---|---|---|
| Q4_K_M | 22.8 GB | Q4Won’t fit |
| Q8_0 | 39.2 GB | Q8Won’t fit |
| FP16 | 72.9 GB | FP16Won’t fit |
Estimated tokens per second
No speed estimate: Gemma 4 31B does not fit in the 12.0 GB this machine can use, so we do not publish a tokens/sec figure for CPU offload.
Context headroom
We do not have a published KV config for this model, so the memory need is the ~4k-context estimate only. Use the VRAM calculator to explore longer chats.
What to do instead
- Run R1 Distill 14B instead (11.3 GB at Q4). It is a different model, not a drop-in, but it does fit this machine.
- To hold Gemma 4 31B at Q4, you need about 22.8 GB. The GeForce RTX 3090 has 24.0 GB usable ($1499 list price).
- CPU offload can load the weights anyway, but it is slow. We do not publish an offload tokens/sec figure.
- See the best GPU for this model family and the Gemma 4 31B model page.
Other hardware for Gemma 4 31B
- Gemma 4 31B on an RTX 3070 TiWon’t fit
- Gemma 4 31B on an RTX 3080Won’t fit
- Gemma 4 31B on an RTX 3090Tight
- Gemma 4 31B on an RTX 4060 Ti 16GBWon’t fit
- Gemma 4 31B on an RTX 4070 Ti SuperWon’t fit
- Gemma 4 31B on an RTX 4090Tight
Other models on an RTX 3060 12GB
- Qwen3-32B on an RTX 3060 12GBWon’t fit
- Qwen3-30B-A3B on an RTX 3060 12GBWon’t fit
- Qwen3.8-27B on an RTX 3060 12GBWon’t fit
- Gemma 3 27B on an RTX 3060 12GBWon’t fit
- gpt-oss-20b on an RTX 3060 12GBWon’t fit
- Mistral Small 24B on an RTX 3060 12GBWon’t fit
Quick answers
- Can I run Gemma 4 31B on an RTX 3060 12GB?
- No. Gemma 4 31B at Q4_K_M needs about 22.8 GB, and the GeForce RTX 3060 12GB has 12.0 GB usable.
- How much VRAM does Gemma 4 31B need?
- About 22.8 GB at Q4_K_M, 39.2 GB at Q8_0 and 72.9 GB at FP16, estimated for a ~4k context.
- How fast is Gemma 4 31B on an RTX 3060 12GB?
- We do not estimate tokens/sec when the model does not fit. CPU offload is possible but slow.