Run unsloth/gemma-4-31B-it-qat-GGUF locally

License: apache-2.0 ⬇ 373,229 ❤ 125
Parameters30.7B
Context262,144

unsloth/gemma-4-31B-it-qat-GGUF is a very large instruction-tuned chat model with 30.7 billion parameters, built on the gemma4 architecture. It is released under the apache-2.0 license and has been downloaded 373,229 times.

To run unsloth/gemma-4-31B-it-qat-GGUF locally at a 4,096-token context, its quantized versions need between 3.73 GB (Q4_0, lowest quality) and 19.57 GB (Q4_K_XL, highest quality) of memory, weights plus KV cache and a system margin included.

For most users the best balance is F32, needing about 5.62 GB. That means unsloth/gemma-4-31B-it-qat-GGUF fits entirely in the VRAM of a 6 GB GPU or larger, running fully on the GPU.

→ Guide: How much VRAM do you need?

All quantizations

Quant.Bits QualityWeights KVTotal Speed~Verdict
Q4_0 0.07 Very low 0.26 GB 2.67 GB 3.73 GB 1534.2 t/s Fits in VRAM
GGUF 0.07 Very low 0.26 GB 2.67 GB 3.73 GB 1534.2 t/s Fits in VRAM
Q8_0 0.13 Very low 0.48 GB 2.67 GB 3.95 GB 834.5 t/s Fits in VRAM
F16 0.56 Very low 2.01 GB 2.67 GB 5.48 GB 199.4 t/s Fits in VRAM
BF16 0.56 Very low 2.01 GB 2.67 GB 5.48 GB 199.2 t/s Fits in VRAM
F32 0.6 Very low 2.14 GB 2.67 GB 5.62 GB 186.5 t/s Fits in VRAM
Q4_K_XL 4.51 Good 16.1 GB 2.67 GB 19.57 GB 3.1 t/s Offload

KV cache estimated (architecture unavailable). Speed is a rough estimate bounded by memory bandwidth.

Frequently asked questions

How much VRAM do you need to run unsloth/gemma-4-31B-it-qat-GGUF?

You need about 5.62 GB of VRAM to run unsloth/gemma-4-31B-it-qat-GGUF entirely on the GPU using the F32 quantization (at a 4,096-token context). Smaller quantizations lower the requirement at the cost of quality.

Can I run unsloth/gemma-4-31B-it-qat-GGUF on an 8 GB GPU?

Yes. With 8 GB of VRAM you can run unsloth/gemma-4-31B-it-qat-GGUF fully on the GPU using F32 (about 5.62 GB).

Can I run unsloth/gemma-4-31B-it-qat-GGUF on a 16 GB GPU?

Yes. With 16 GB of VRAM you can run unsloth/gemma-4-31B-it-qat-GGUF fully on the GPU using F32 (about 5.62 GB).

Can I run unsloth/gemma-4-31B-it-qat-GGUF on a 24 GB GPU?

Yes. With 24 GB of VRAM you can run unsloth/gemma-4-31B-it-qat-GGUF fully on the GPU using Q4_K_XL (about 19.57 GB).

What is the best quantization for unsloth/gemma-4-31B-it-qat-GGUF?

If memory allows, higher bits-per-weight means better quality. A common sweet spot is a Q4_K_M or Q5_K_M quantization, which keeps most of the quality while roughly halving the memory versus 8-bit. Pick the highest quantization that still fits in your VRAM.