Can I run it?
Can I run gemma 4 31B it on GeForce RTX 4070?
Tight fit
Tight fit fully on your GeForce RTX 4070 at UD-IQ2_XXS, 8K context, about 17–23 tok/s. Weights 7.95 GB plus 2.03 GB of KV cache — 10.4 GB of 10.9 GB usable.
Best quantUD-IQ2_XXS
Working context8K
Max that fits8K
Speed17–23 tok/s
Weights7.95 GB
KV cache2.03 GB
Total10.4 GB
Usable10.9 GB
gemma 4 31B it details · GeForce RTX 4070 page · How this estimate is made
Run commands
llama.cpp
llama-server -hf unsloth/gemma-4-31B-it-GGUF:UD-IQ2_XXS -c 8192 -ngl 60
Ollama
ollama run gemma
LM Studio
lms get unsloth/gemma-4-31B-it-GGUF # Then load quant UD-IQ2_XXS
Assumptions
- Estimate, not a benchmark. Decode speed uses a memory-bandwidth model at 55–75% of peak.
- KV cache is FP16. Engine overhead assumes llama.cpp (0.3 GB + 1% of the weights). Ollama is closer to 0.9 GB + 3%, LM Studio closer to 1 GB + 3%.
- UD-IQ2_XXS size is the real GGUF file size from Hugging Face.
- 0.5 GB is reserved because this GPU also drives a display, then 5% of the rest is left free.
- Speed is quoted at 8K context, not at the maximum context that still fits.
Larger models that also fit
- Can I run Qwen3.6 35B A3B on GeForce RTX 4070? — Tight fit, UD-IQ2_XXS, 252–344 tok/s
- Can I run Qwen3.5 35B A3B on GeForce RTX 4070? — Tight fit, UD-IQ2_XXS, 254–347 tok/s
- Can I run Qwen2.5 32B Instruct on GeForce RTX 4070? — Tight fit, IQ2_XXS, 27–37 tok/s
Updated 2026-10-24. Profile on this page is the device default plus 32 GB of DDR5-5600 system RAM.