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 25 quants, from 4.0 GB (IQ2_S) to 23.5 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 12.9 GB.
Gemma 3 12b It – 12 billion‑parameter LLM with vision support
Gemma 3 12b It is a 12 billion‑parameter language model from the Gemma family. It supports vision tasks and can be run with llama.cpp. The model is available in multiple GGUF quantizations, ranging from 4 GB to 23 GB file sizes.
Good at
- Large‑context language modeling
- Vision‑enabled text generation
- Versatile quantization options
Limits
- Vision only, no audio or video
- Requires 8 k context for memory estimates
- License is gemma, not open source
Best for
- Chatbots needing image input
- Rapid prototyping with low‑memory quants
- Research on multimodal LLMs
Who it’s for. Developers and researchers who need a multimodal LLM that can be run locally with llama.cpp. The model is suitable for projects that require both text and image understanding on modest hardware.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| IQ2_S | 4.0 GB | 7.7 GB | Tight | Get file → | |
| IQ2_M | 4.3 GB | 8.0 GB | Too big | Get file → | |
| Q2_K | 4.8 GB | 8.5 GB | Too big | Get file → | |
| IQ3_XXS | 4.8 GB | 8.5 GB | Too big | Get file → | |
| Q2_K_L | 5.0 GB | 8.7 GB | Too big | Get file → | |
| IQ3_XS | 5.2 GB | 8.9 GB | Too big | Get file → | |
| Q3_K_S | 5.5 GB | 9.2 GB | Too big | Get file → | |
| IQ3_M | 5.7 GB | 9.4 GB | Too big | Get file → | |
| Q3_K_M | 6.0 GB | 9.7 GB | Too big | Get file → | |
| Q3_K_L | 6.5 GB | 10.2 GB | Too big | Get file → | |
| IQ4_XS | 6.6 GB | 10.3 GB | Too big | Get file → | |
| Q3_K_XL | 6.7 GB | 10.4 GB | Too big | Get file → | |
| IQ4_NL | 6.9 GB | 10.6 GB | Too big | Get file → | |
| Q4_0 | 6.9 GB | 10.6 GB | Too big | Get file → | |
| Q4_K_S | 6.9 GB | 10.7 GB | Too big | Get file → | |
| Q4_K_M | 7.3 GB | 11.0 GB | Too big | Get file → | |
| Q4_K_L | 7.5 GB | 11.3 GB | Too big | Get file → | |
| Q4_1 | 7.6 GB | 11.3 GB | Too big | Get file → | |
| Q5_K_S | 8.2 GB | 12.0 GB | Too big | Get file → | |
| Q5_K_M | 8.4 GB | 12.2 GB | Too big | Get file → | |
| Q5_K_L | 8.7 GB | 12.4 GB | Too big | Get file → | |
| Q6_K | 9.7 GB | 13.4 GB | Too big | Get file → | |
| Q6_K_L | 9.9 GB | 13.6 GB | Too big | Get file → | |
| Q8_0 | 12.5 GB | 16.2 GB | Too big | Get file → | |
| BF16 | 23.5 GB | 27.3 GB | Too big | Get file → |
For 8 GB VRAM, use IQ2_S (4.02 GB) or IQ2_M (4.31 GB). For 12 GB VRAM, Q3_K_S (5.46 GB) or Q4_K_S (6.94 GB) are good choices. For 16 GB VRAM, Q4_K_L (7.54 GB) or Q5_K_S (8.23 GB) provide higher quality. Memory estimates are approximate.
What GPU do you need for 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: the best quant that fits is IQ2_M (4.3 GB file, about 8.0 GB in use).
- 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_L (9.9 GB file, about 13.6 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 BF16 (23.5 GB file, about 27.3 GB in use).
Which Gemma 3 12b It quant should you choose?
Q4_K_M is the usual starting point for 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 IQ2_S at 4.0 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
Source
Frequently asked questions about Gemma 3 12b It
How much VRAM does 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 Gemma 3 12b It on an 8 GB GPU?
Yes, with IQ2_M: the 4.3 GB file needs about 8.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of Gemma 3 12b It GGUF?
It depends on the quant: IQ2_S is 4.0 GB, IQ2_M is 4.3 GB, Q2_K is 4.8 GB, IQ3_XXS is 4.8 GB, Q2_K_L is 5.0 GB, IQ3_XS is 5.2 GB and 19 more.
What context length does 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 Gemma 3 12b It GGUF?
The files are on Hugging Face in the bartowski/google_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 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, use the IQ2_S or IQ2_M quantizations, which are about 4 GB in size and require roughly 8 GB of VRAM at 8 k context.
Does this model support image input?
Yes, it has vision capabilities as indicated in the model card. Use the provided clip support for image processing.
What is the context length of this model?
The trained context length is 131,072 tokens, but memory estimates are given for an 8 k context.