Can I run it?

Can I run gemma 4 31B it on GeForce RTX 5090?

Tight fit

Tight fit fully on your GeForce RTX 5090 at UD-Q6_K_XL, 8K context, about 28–38 tok/s. Weights 25.6 GB plus 2.03 GB of KV cache — 28.2 GB of 29.9 GB usable.

Best quantUD-Q6_K_XL
Working context8K
Max that fits8K
Speed28–38 tok/s
Weights25.6 GB
KV cache2.03 GB
Total28.2 GB
Usable29.9 GB

gemma 4 31B it details · GeForce RTX 5090 page · How this estimate is made

Run commands

llama.cpp
llama-server -hf unsloth/gemma-4-31B-it-GGUF:UD-Q6_K_XL -c 8192 -ngl 60
Ollama
ollama run gemma
LM Studio
lms get unsloth/gemma-4-31B-it-GGUF
# Then load quant UD-Q6_K_XL

Assumptions

Larger models that also fit

Updated 2026-10-24. Profile on this page is the device default plus 32 GB of DDR5-5600 system RAM.