GE

Models Google Gemma 3 12b It

GemmaGGUF by MaziyarPanahiUpdated 2025-03-12
Download on Hugging Face
Parameters11.8B
Context128K
Layers48
Architecturegemma3
Smallest quant4.8 GB
Quick answer

Models Google Gemma 3 12b It needs about 11.0 GB of memory at Q4_K_M (a 7.3 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 11 quants, from 4.8 GB (Q2_K) to 23.5 GB. Longer context needs more: at 32K tokens the KV cache alone adds about 12.9 GB.

Gemma 3 12b It in GGUF format for local inference

Gemma 3 12b It is a 12‑billion parameter language model from Google, converted to GGUF by MaziyarPanahi. It supports up to 131072 context tokens and is available in multiple quantizations for different memory budgets.

Good at

  • High‑quality text generation
  • Long‑context handling up to 131072 tokens
  • Multilingual support via original training

Limits

  • No vision capabilities
  • Requires at least 8 GB VRAM for Q4_K_M
  • License is gemma, check usage terms

Best for

  • Chatbot back‑ends
  • Content drafting tools
  • Code generation assistants

Who it’s for. Developers and researchers who need a large language model that can run locally with GPU acceleration. The model is suitable for applications requiring long‑context reasoning and high‑quality text output.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K4.8 GB 8.5 GB
Too big Get file →
Q3_K_S5.5 GB 9.2 GB
Too big Get file →
Q3_K_M6.0 GB 9.7 GB
Too big Get file →
Q3_K_L6.5 GB 10.2 GB
Too big Get file →
Q4_K_S6.9 GB 10.7 GB
Too big Get file →
Q4_K_M7.3 GB 11.0 GB
Too big Get file →
Q5_K_S8.2 GB 12.0 GB
Too big Get file →
Q5_K_M8.4 GB 12.2 GB
Too big Get file →
Q6_K9.7 GB 13.4 GB
Too big Get file →
Q8_012.5 GB 16.2 GB
Too big Get file →
—23.5 GB 27.3 GB
Too big Get file →

For 8 GB VRAM use Q4_K_M (≈11 GB memory). With 12 GB VRAM Q5_K_M is feasible (≈12.2 GB). For 16 GB VRAM Q6_K or Q8_0 can be used, offering higher precision at the cost of more memory.

What GPU do you need for Models Google Gemma 3 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: the best quant that fits is Q5_K_S (8.2 GB file, about 12.0 GB in use).
  • 16 GB VRAM: the best quant that fits is Q6_K (9.7 GB file, about 13.4 GB in use).
  • 24 GB VRAM: the best quant that fits is Q8_0 (12.5 GB file, about 16.2 GB in use).
  • 32 GB VRAM: the best quant that fits is the main file (23.5 GB file, about 27.3 GB in use).

Which Models Google Gemma 3 12b It quant should you choose?

Q4_K_M is the usual starting point for Models Google Gemma 3 12b It: it balances file size and quality well. Here it is a 7.3 GB file.

The Q8_0 file is 12.5 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

Architecturegemma3
Parameters11.8B
Layers48
Trained context131,072 tokens
KV cache (fp16)384 KB per token

Source

Quantized byMaziyarPanahi
FamilyGemma
Licensegemma
Downloads (HF)41,785
Last updated2025-03-12

Frequently asked questions about Models Google Gemma 3 12b It

How much VRAM does Models Google Gemma 3 12b It need?

About 11.0 GB at Q4_K_M with an 8K context window. That is the 7.3 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 Models Google Gemma 3 12b It on an 8 GB GPU?

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

What is the file size of Models Google Gemma 3 12b It GGUF?

It depends on the quant: Q2_K is 4.8 GB, Q3_K_S is 5.5 GB, Q3_K_M is 6.0 GB, Q3_K_L is 6.5 GB, Q4_K_S is 6.9 GB, Q4_K_M is 7.3 GB and 5 more.

What context length does Models Google Gemma 3 12b It support?

The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 3.2 GB at 8K and 12.9 GB at 32K.

Where can I download Models Google Gemma 3 12b It GGUF?

The files are on Hugging Face in the MaziyarPanahi/gemma-3-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 Models Google Gemma 3 12b It 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 Gemma 3 12b It on 8 GB VRAM?

Yes, using the Q4_K_M quantization which requires about 11 GB of VRAM at 8 k context.

Does this model support image input?

No, Gemma 3 12b It is a text‑only model with no vision capabilities.

What is the maximum context length I can use?

The model supports up to 131072 tokens of context.

Other GGUFs of gemma-3-12b-it

Similar models

Browse all →

More from MaziyarPanahi

All by MaziyarPanahi →

More Gemma models

All Gemma →

Other medium models

All medium models →