GE

Gemma 4 12B EsperGrug

GemmaGGUF by mradermacherUpdated 2026-10-06
Download on Hugging Face
Parameters11.9B
Context256K
Layers48
Architecturegemma4
Smallest quant4.8 GB
Quick answer

Gemma 4 12B EsperGrug needs about 20.8 GB of memory at Q4_K_M (a 7.4 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 11 quants, from 4.8 GB (Q2_K) to 12.7 GB (Q8_0). Longer context needs more: at 32K tokens the KV cache alone adds about 51.5 GB.

Gemma 4 12B EsperGrug – a 12B LLM with reasoning, tools, and vision.

Gemma 4 12B EsperGrug is a 11.9B parameter model trained on 262144 context tokens. It supports reasoning, tool use, and vision tasks. The model is released under the apache-2.0 license.

Good at

  • reasoning
  • tools
  • vision

Limits

  • no mixture of experts
  • trained context 262144 tokens
  • apache-2.0 license

Best for

  • code generation
  • data analysis
  • image description

Who it’s for. Developers and researchers needing a versatile 12B model for text and image tasks. The model is suitable for local deployment with sufficient GPU memory.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K4.8 GB 18.2 GB
Too big Get file →
Q3_K_S5.5 GB 18.9 GB
Too big Get file →
Q3_K_M6.1 GB 19.5 GB
Too big Get file →
Q3_K_L6.6 GB 20.0 GB
Too big Get file →
IQ4_XS6.7 GB 20.1 GB
Too big Get file →
Q4_K_S7.0 GB 20.4 GB
Too big Get file →
Q4_K_M7.4 GB 20.8 GB
Too big Get file →
Q5_K_S8.3 GB 21.7 GB
Too big Get file →
Q5_K_M8.5 GB 21.9 GB
Too big Get file →
Q6_K9.8 GB 23.2 GB
Too big Get file →
Q8_012.7 GB 26.1 GB
Too big Get file →

For 8k context, the Q4_K_M quant (~7.38 GB file, 20.8 GB memory) balances size and performance. If memory is limited, Q2_K (~4.83 GB file, 18.2 GB memory) offers a lighter option. Higher quality quants such as Q5_K_M or Q6_K provide better accuracy at higher memory costs.

What GPU do you need for Gemma 4 12B EsperGrug?

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

Which Gemma 4 12B EsperGrug quant should you choose?

Q4_K_M is the usual starting point for Gemma 4 12B EsperGrug: it balances file size and quality well. Here it is a 7.4 GB file.

The Q8_0 file is 12.7 GB, about 1.7 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is Q2_K at 4.8 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

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

Quantized bymradermacher
FamilyGemma
Licenseapache-2.0
Downloads (HF)205
Last updated2026-10-06

Frequently asked questions about Gemma 4 12B EsperGrug

How much VRAM does Gemma 4 12B EsperGrug need?

About 20.8 GB at Q4_K_M with an 8K context window. That is the 7.4 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 Gemma 4 12B EsperGrug on an 8 GB GPU?

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

What is the file size of Gemma 4 12B EsperGrug GGUF?

It depends on the quant: Q2_K is 4.8 GB, Q3_K_S is 5.5 GB, Q3_K_M is 6.1 GB, Q3_K_L is 6.6 GB, IQ4_XS is 6.7 GB, Q4_K_S is 7.0 GB and 5 more.

What context length does Gemma 4 12B EsperGrug 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 Gemma 4 12B EsperGrug GGUF?

The files are on Hugging Face in the mradermacher/gemma-4-12B-EsperGrug-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 Gemma 4 12B EsperGrug 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.

Can I run this model on 8 GB VRAM?

No. The smallest quant requires 18.2 GB of VRAM at 8k context. You need at least 18 GB of VRAM to run any quant of this model.

What is the maximum context length?

The model was trained on 262144 context tokens, which is the maximum context length it can handle.

How do I use the GGUF files?

Refer to TheBloke's README for instructions on loading GGUF files with llama.cpp and concatenating multi‑part files.

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Gemma models

All Gemma →

Other medium models

All medium models →