Will this model run on your hardware?

Can I run Google: Gemma 4 31B locally?

Open this page in a browser to check it against your own GPU or Mac: the tool detects your hardware locally and shows the best quantization that fits, the memory it needs and an estimated speed.

Quantizations and file sizes

QuantizationGGUF file
Q6_K25.2 GB
Q5_K_M21.7 GB
Q4_K_M18.3 GB
Q3_K_M14.7 GB

Run it locally

ollama run hf.co/unsloth/gemma-4-31B-it-GGUF:Q4_K_M
llama serve -hf unsloth/gemma-4-31B-it-GGUF:Q4_K_M

LM Studio: open unsloth/gemma-4-31B-it-GGUF