Can I run it?

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

Tight fit

Tight fit fully on your GeForce RTX 4090 at Q5_K_S, 4K context, about 22–30 tok/s. Weights 19.7 GB plus 1.41 GB of KV cache — 21.6 GB of 22.3 GB usable.

Best quantQ5_K_S
Working context4K
Max that fits4K
Speed22–30 tok/s
Weights19.7 GB
KV cache1.41 GB
Total21.6 GB
Usable22.3 GB

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

Run commands

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

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.