can-i-run-this-llm

Can I run this LLM?

Can a NVIDIA RTX 4090 (24GB) run Gemma 4 31B?

Gemma · Apache 2.0 · estimated for a 24.0 GB machine at 4K context.

Yes, but it's tight.

Best fit: Gemma 4 31B at Q3_K_M · 13.2 GB · 33–50 tok/s on a NVIDIA RTX 4090 (24GB).

Every quantization on this machine

QuantSizeSpeedFit
Q3_K_M13.2 GB33–50 tok/sTight / slow
Q4_K_M18.6 GB27–40 tok/sWon't fit
Q5_K_M21.9 GB24–36 tok/sWon't fit
Q6_K25.3 GB22–32 tok/sWon't fit
Q8_032.6 GB18–27 tok/sWon't fit
FP1661.4 GB11–16 tok/sWon't fit

Ran Gemma 4 31B on a NVIDIA RTX 4090 (24GB)? Add your real numbers →