Will this model run on your hardware?
Can I run Google: Gemma 4 31B locally?
- 31B parameters
- context up to 256K
- licence: apache-2.0
- Weights: google/gemma-4-31B-it · GGUF: unsloth/gemma-4-31B-it-GGUF
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
| Quantization | GGUF file |
|---|---|
| Q6_K | 25.2 GB |
| Q5_K_M | 21.7 GB |
| Q4_K_M | 18.3 GB |
| Q3_K_M | 14.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