RigBaseBuildsGPUsCan it run?GuidesBest rig for…By budgetRent before you buySubmit a buildNewsletterAdvertise

Can RTX 4090 run Gemma 4 31B?

Yes. Measured 43.8 tok/s generation (llama.cpp, llama-bench tg128 (quant per result); source).

Every measured result for Gemma 4 31B on RTX 4090

BuildQuant / setupEnginetok/s
RTX 4090: 2026 models (llamabench community)llama-bench tg128 (quant per result)llama.cpp43.8source

Memory: RTX 4090 has 24 GB. Gemma 4 31B weights are about 18.8 GB at Q4_K_M (30.7B params × 4.89 bits ÷ 8, before context/KV cache). Arithmetic, not a measurement; long contexts need more. Check other quants in the VRAM calculator.

Speeds are decode (generation) tokens/sec as reported by each source; quant, engine and context differ, so small gaps are noise.

All measured speeds for Gemma 4 31B: best home rig for Gemma 4 31B.

Gemma 4 31B on other hardware: RTX 5090 · Strix Halo (Radeon 8060S)

Other models measured on RTX 4090: Flint 40B-A2.5B · GLM 4.7 Flash · Gemma 4 12B · Gemma 4 26B-A4B · LFM2.5 24B-A2B · Nemotron 3.5 Bolt 74B-A9B · Qwen3.5 9B · Qwen3.6 27B · Qwen3.6 35B-A3B · gpt-oss 20B

Not enough VRAM? Rent before you buy. Run Gemma 4 31B on a bigger GPU on a rented 24–96 GB cloud GPU by the hour and see the real speed before spending €1,000+. Try it on Runpod
Referral link: if you sign up with Google and add $10, Runpod gives you and RigBase bonus credit (terms). It never affects our data.