RunsOnMy ModelsGPUs & MacsBy VRAMBest GPUCan I run…?OllamaStart hereAPI pricesVRAM calculatorNew

Can Gemma 4 31B IT run on the Ryzen AI Max+ 395 128GB?

Yes. At 8K context the best fit is F16, using about 60.1 GB of the 109 GB usable on the Ryzen AI Max+ 395 128GB. Estimated speed ceiling: ~4 tokens/sec.

+ 1.1 GB with image input. The figures on this page are for text only. With image input enabled, the vision projector (mmproj) file loads alongside the model: F16 at 8K context then needs about 61.2 GB (still fits). llama.cpp's -hf downloads and loads it automatically unless you add --no-mmproj. Calculator with image input on.

Memory by quant and context

Quant4K ctx8K ctx32K ctx128K ctxMax tok/s (est., 8K)
2-bit (Q2_K) •14.1 GB Fits14.7 GB Fits18.4 GB Fits33.4 GB Fits20
3-bit (Q3_K_M) •17.1 GB Fits17.8 GB Fits21.5 GB Fits36.5 GB Fits16
4-bit (Q4_K_M) •20.6 GB Fits21.2 GB Fits24.9 GB Fits39.9 GB Fits13
5-bit (Q5_K_M) •23.4 GB Fits24.0 GB Fits27.7 GB Fits42.7 GB Fits11
6-bit (Q6_K) •27.2 GB Fits27.8 GB Fits31.6 GB Fits46.6 GB Fits10
8-bit (Q8_0) •32.7 GB Fits33.3 GB Fits37.1 GB Fits52.1 GB Fits8
16-bit (F16/BF16) •59.5 GB Fits60.1 GB Fits63.9 GB Fits78.9 GB Fits4

• real GGUF file size from bartowski/google_gemma-4-31B-it-GGUF. Speed is a bandwidth ceiling (256 GB/s), not a benchmark. Methodology.

What fits instead

"Runs" and "fits" mean the whole model in GPU memory at 8K context (4-bit or better for the model pick). Prices are US launch MSRPs, not today's street prices. "Popular" means the 60 most-downloaded models we track.

More

Gemma 4 31B IT on every GPU and Mac · Every model that runs on the Ryzen AI Max+ 395 128GB · Other models that fit 64 GB VRAM · Try other settings in the calculator

Guides: Best GPU for local LLMs by budget · Can I run gpt-oss, Llama 70B or Qwen3? · Mac vs PC for local LLMs

Data: Hugging Face Hub (google/gemma-4-31B-it), AMD specs. Model data last checked 2026-11-18; refreshed hourly.