← AI Hashrate

Can RX 7900 XTX 24GB run gemma-4-31B-it?

AMD · 24 GB GDDR6 · 960 GB/s bandwidth · Google · 30.7B · model ctx up to 256K

Partly — gemma-4-31B-it at Q4 fits the RX 7900 XTX 24GB (24 GB GDDR6) at 4K context (≈ 20.96 GB) but not at the default 8K (≈ 24.03 GB needed). Use a shorter context or partial offload. Decode at Q4/8K: ≈ 56.7 tok/s (estimated, batch 1). FP16 needs ≈ 68.54 GB — does not fit on this card. Estimates come from memory-bandwidth math; rows tagged measured override estimates. Relative ranking is more reliable than absolute tok/s. Methodology.

Fit & speed by quant and context

QuantContextVRAM neededFits?tok/s (decode)
Q44K20.96 GBYes19.9 est.
Q48K default24.03 GBNo56.7 est.
Q432K42.45 GBNo18.2 est.
FP164K65.47 GBNo2.1 est.
FP168K default68.54 GBNo1.9 est.
FP1632K86.96 GBNo1.2 est.

Fits = weights + KV(ctx) + 1 GB overhead ≤ 95% of VRAM. Measured anchors are context-agnostic; the fit verdict is recomputed per context. A missing tok/s means the model is far beyond this card (offload-only territory).

VRAM breakdown at 8K context

QuantWeightsKV cacheOverheadTotal neededRX 7900 XTX 24GB VRAM
Q416.89 GB6.14 GB1 GB24.03 GB24 GB
FP1661.4 GB6.14 GB1 GB68.54 GB24 GB

Other GPUs that run gemma-4-31B-it

All GPUs for gemma-4-31B-it →

Other models for the RX 7900 XTX 24GB

All models on the RX 7900 XTX 24GB →