Gemma 4 12B It needs about 21.0 GB of memory at Q4_K_M (a 7.7 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 26 quants, from 0.0 GB to 23.8 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 51.5 GB.
Gemma 4 12B It is a 11.9B-parameter Gemma model in GGUF format, quantized by Edmon02. Its trained context length is 128K tokens. The repository has 26 quant files, from 0.0 GB to 23.8 GB (BF16).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| — | 0.0 GB | 13.4 GB | Too big | Get file → | |
| IQ2_S | 4.7 GB | 18.1 GB | Too big | Get file → | |
| IQ2_M | 4.9 GB | 18.3 GB | Too big | Get file → | |
| Q2_K | 5.1 GB | 18.5 GB | Too big | Get file → | |
| IQ3_XXS | 5.1 GB | 18.5 GB | Too big | Get file → | |
| Q2_K_L | 5.3 GB | 18.7 GB | Too big | Get file → | |
| IQ3_XS | 5.5 GB | 18.9 GB | Too big | Get file → | |
| Q3_K_S | 5.7 GB | 19.1 GB | Too big | Get file → | |
| IQ3_M | 6.0 GB | 19.4 GB | Too big | Get file → | |
| Q3_K_M | 6.3 GB | 19.7 GB | Too big | Get file → | |
| Q3_K_L | 6.7 GB | 20.0 GB | Too big | Get file → | |
| IQ4_XS | 6.8 GB | 20.2 GB | Too big | Get file → | |
| Q3_K_XL | 6.9 GB | 20.3 GB | Too big | Get file → | |
| IQ4_NL | 7.1 GB | 20.5 GB | Too big | Get file → | |
| Q4_0 | 7.1 GB | 20.5 GB | Too big | Get file → | |
| Q4_K_S | 7.2 GB | 20.6 GB | Too big | Get file → | |
| Q4_K_M | 7.7 GB | 21.0 GB | Too big | Get file → | |
| Q4_1 | 7.8 GB | 21.1 GB | Too big | Get file → | |
| Q4_K_L | 7.9 GB | 21.3 GB | Too big | Get file → | |
| Q5_K_S | 8.4 GB | 21.8 GB | Too big | Get file → | |
| Q5_K_M | 8.8 GB | 22.2 GB | Too big | Get file → | |
| Q5_K_L | 9.0 GB | 22.4 GB | Too big | Get file → | |
| Q6_K | 10.2 GB | 23.6 GB | Too big | Get file → | |
| Q6_K_L | 10.5 GB | 23.9 GB | Too big | Get file → | |
| Q8_0 | 12.7 GB | 26.1 GB | Too big | Get file → | |
| BF16 | 23.8 GB | 37.2 GB | Too big | Get file → |
What GPU do you need for 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: the best quant that fits is the main file (0.0 GB file, about 13.4 GB in use).
- 24 GB VRAM: the best quant that fits is Q6_K_L (10.5 GB file, about 23.9 GB in use).
- 32 GB VRAM: the best quant that fits is Q8_0 (12.7 GB file, about 26.1 GB in use).
- 48 GB VRAM: the best quant that fits is BF16 (23.8 GB file, about 37.2 GB in use).
Which Gemma 4 12B It quant should you choose?
Q4_K_M is the usual starting point for Gemma 4 12B It: it balances file size and quality well. Here it is a 7.7 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 the first one in the table at 0.0 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
Source
Frequently asked questions about Gemma 4 12B It
How much VRAM does Gemma 4 12B It need?
About 21.0 GB at Q4_K_M with an 8K context window. That is the 7.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 Gemma 4 12B It on an 8 GB GPU?
Not at an 8K context. The smallest file needs about 13.4 GB, so you would need a larger GPU or CPU offloading.
What is the file size of Gemma 4 12B It GGUF?
It depends on the quant: file is 0.0 GB, IQ2_S is 4.7 GB, IQ2_M is 4.9 GB, Q2_K is 5.1 GB, IQ3_XXS is 5.1 GB, Q2_K_L is 5.3 GB and 20 more.
What context length does Gemma 4 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 12.9 GB at 8K and 51.5 GB at 32K.
Where can I download Gemma 4 12B It GGUF?
The files are on Hugging Face in the Edmon02/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 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.