GE

mafia gemma 4 12B it

GemmaGGUF by build-small-hackathonUpdated 2026-06-15
Download on Hugging Face
Parameters11.9B
Context256K
Layers48
Architecturegemma4
Smallest quant12.7 GB
Quick answer

mafia gemma 4 12B it needs about 26.1 GB of memory at Q8_0 (a 12.7 GB file) with an 8K context window, so it fits on a 32 GB GPU. Longer context needs more: at 32K tokens the KV cache alone adds about 51.5 GB.

mafia gemma 4 12B it is a 11.9B-parameter Gemma model in GGUF format, quantized by build-small-hackathon. Its trained context length is 256K tokens. The repository has 1 quant file, from 12.7 GB (Q8_0) to 12.7 GB (Q8_0).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q8_012.7 GB 26.1 GB
Too big Get file →

What GPU do you need for mafia gemma 4 12B it?

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: the best quant that fits is Q8_0 (12.7 GB file, about 26.1 GB in use).

Which mafia gemma 4 12B it quant should you choose?

Q8_0 (12.7 GB) is the middle option in this repository. Close to lossless. It costs roughly twice the memory of a 4-bit file, so it suits cases where you have plenty of VRAM.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturegemma4
Parameters11.9B
Layers48
Trained context262,144 tokens
KV cache (fp16)1536 KB per token

Source

FamilyGemma
Licenseapache-2.0
Downloads (HF)123
Last updated2026-06-15

Frequently asked questions about mafia gemma 4 12B it

How much VRAM does mafia gemma 4 12B it need?

About 26.1 GB at Q8_0 with an 8K context window. That is the 12.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 mafia gemma 4 12B it on an 8 GB GPU?

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

What is the file size of mafia gemma 4 12B it GGUF?

It depends on the quant: Q8_0 is 12.7 GB.

What context length does mafia gemma 4 12B it support?

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

Where can I download mafia gemma 4 12B it GGUF?

The files are on Hugging Face in the build-small-hackathon/mafia-gemma-4-12B-it-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does mafia gemma 4 12B it use?

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

Similar models

Browse all →

More from build-small-hackathon

All by build-small-hackathon →

More Gemma models

All Gemma →

Other medium models

All medium models →