GE

Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced

GemmaGGUF by HauhauCSUpdated 2026-06-25
Download on Hugging Face
Parameters30.7B
Context256K
Layers60
Architecturegemma4
Smallest quant0.3 GB
Quick answer

Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced needs about 51.4 GB of memory at Q4_K_M (a 18.7 GB file) with an 8K context window, which is more than a 48 GB GPU holds. This repository has 2 quants, from 0.3 GB to 18.7 GB (Q4_K_M). Longer context needs more: at 32K tokens the KV cache alone adds about 128.8 GB.

31B Gemma 4 model with QAT uncensoring and MTP speedup

Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced is a 31‑billion parameter dense model from the Gemma 4 family. It supports text and image input, offers a 256K token context window, and is tuned for agentic coding, reasoning, and creative writing.

Good at

  • Multimodal text and image understanding
  • Large context reasoning
  • Agentic coding and function calling

Limits

  • No vision support without mmproj
  • Requires 8‑k context memory estimates of 33–51.4 GB
  • License is gemma (Apache 2.0)

Best for

  • Local inference on high‑end GPUs
  • Developers building autonomous agents
  • Researchers testing multimodal reasoning

Who it’s for. This model is suited for developers and researchers who need a large, multimodal Gemma 4 variant for local deployment. It is ideal for those who want uncensored behavior with high reliability and fast speculative decoding.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—0.3 GB 33.0 GB
Too big Get file →
Q4_K_M18.7 GB 51.4 GB
Too big Get file →

For 8‑GB VRAM, the Q4_K_M quant (18.69 GB) is the only available option and will need 51.4 GB of RAM at 8‑k context. The unknown quant (0.28 GB) is not supported for inference. Use the Q4_K_M quant for best quality within the given file list.

What GPU do you need for Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: no quant fits at an 8K context.
  • 16 GB VRAM: no quant fits at an 8K context.
  • 24 GB VRAM: no quant fits at an 8K context.
  • 32 GB VRAM: no quant fits at an 8K context.
  • 48 GB VRAM: the best quant that fits is the main file (0.3 GB file, about 33.0 GB in use).

Which Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced quant should you choose?

Q4_K_M is the usual starting point for Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced: it balances file size and quality well. Here it is a 18.7 GB file.

If memory is tight, the smallest file is the first one in the table at 0.3 GB, with the quality trade-offs that come with fewer bits.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturegemma4
Parameters30.7B
Layers60
Trained context262,144 tokens
KV cache (fp16)3840 KB per token

Source

Quantized byHauhauCS
FamilyGemma
Licensegemma
Downloads (HF)85,914
Last updated2026-06-25

Frequently asked questions about Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced

How much VRAM does Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced need?

About 51.4 GB at Q4_K_M with an 8K context window. That is the 18.7 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 33.0 GB, so you would need a larger GPU or CPU offloading.

What is the file size of Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced GGUF?

It depends on the quant: file is 0.3 GB, Q4_K_M is 18.7 GB.

What context length does Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced support?

The GGUF header lists a trained context length of 262,144 tokens (256K). The KV cache grows with the context you use: about 32.2 GB at 8K and 128.8 GB at 32K.

Where can I download Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced GGUF?

The files are on Hugging Face in the HauhauCS/Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced-MTP repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced use?

Hugging Face lists the license as gemma. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run this model on 8 GB VRAM?

No. The Q4_K_M quant requires 51.4 GB of RAM at 8‑k context, which exceeds 8 GB VRAM.

Does this model support vision?

Yes, image input is supported via an mmproj file that must be loaded alongside the model.

What sampling settings are recommended?

Use temperature 0.6, top_k 64, top_p 0.9, min_p 0.05, repeat_penalty 1.1 for best behavior.

Other GGUFs of gemma-4-31B-it

Similar models

Browse all →

More from HauhauCS

All by HauhauCS →

More Gemma models

All Gemma →

Other medium models

All medium models →