sandepaAI_gemma4_coder_12b 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 25 quants, from 0.0 GB to 9.8 GB (Q6_K). Longer context needs more: at 32K tokens the KV cache alone adds about 51.5 GB.
Gemma 4 12B coder model in GGUF format
sandepaAI_gemma4_coder_12b is a 11.9B parameter Gemma 4 model fine‑tuned for coding, reasoning, and tool use. It supports a 262144 token context window and is distributed as GGUF files with multiple quantization options.
Good at
- Coding tasks
- Reasoning and problem solving
- Tool invocation
Limits
- No vision support in this GGUF release
- Requires at least 8k context for accurate memory usage
- Apache 2.0 license restricts commercial redistribution
Best for
- Local code generation on laptops
- On‑device reasoning with limited GPU memory
- Educational coding assistants
Who it’s for. Developers and researchers who need a local, instruction‑tuned coding model with a large context window. The model is ideal for environments where GPU memory is constrained but a full 12B model is desired.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| — | 0.0 GB | 13.4 GB | Too big | Get file → | |
| IQ1_S | 3.0 GB | 16.4 GB | Too big | Get file → | |
| IQ1_M | 3.2 GB | 16.6 GB | Too big | Get file → | |
| IQ2_XXS | 3.6 GB | 17.0 GB | Too big | Get file → | |
| IQ2_XS | 3.9 GB | 17.3 GB | Too big | Get file → | |
| IQ2_S | 4.1 GB | 17.5 GB | Too big | Get file → | |
| IQ2_M | 4.4 GB | 17.8 GB | Too big | Get file → | |
| Q2_K_S | 4.5 GB | 17.9 GB | Too big | Get file → | |
| Q2_K | 4.8 GB | 18.2 GB | Too big | Get file → | |
| IQ3_XXS | 4.8 GB | 18.2 GB | Too big | Get file → | |
| IQ3_XS | 5.3 GB | 18.7 GB | Too big | Get file → | |
| IQ3_S | 5.5 GB | 18.9 GB | Too big | Get file → | |
| Q3_K_S | 5.5 GB | 18.9 GB | Too big | Get file → | |
| IQ3_M | 5.7 GB | 19.1 GB | Too big | Get file → | |
| Q3_K_M | 6.1 GB | 19.5 GB | Too big | Get file → | |
| Q3_K_L | 6.6 GB | 20.0 GB | Too big | Get file → | |
| IQ4_XS | 6.6 GB | 20.0 GB | Too big | Get file → | |
| IQ4_NL | 7.0 GB | 20.4 GB | Too big | Get file → | |
| Q4_0 | 7.0 GB | 20.4 GB | Too big | Get file → | |
| Q4_K_S | 7.0 GB | 20.4 GB | Too big | Get file → | |
| Q4_K_M | 7.4 GB | 20.8 GB | Too big | Get file → | |
| Q4_1 | 7.7 GB | 21.0 GB | Too big | Get file → | |
| Q5_K_S | 8.3 GB | 21.7 GB | Too big | Get file → | |
| Q5_K_M | 8.5 GB | 21.9 GB | Too big | Get file → | |
| Q6_K | 9.8 GB | 23.2 GB | Too big | Get file → |
For 8 GB VRAM, use IQ1_S (file size 2.98 GB, estimated 16.4 GB memory at 8k context). If 12 GB VRAM is available, IQ2_XS (3.89 GB, 17.3 GB memory) or Q2_K (4.83 GB, 18.2 GB memory) are suitable. For 16 GB VRAM, Q3_K_M (6.09 GB, 19.5 GB memory) or Q4_K_M (7.38 GB, 20.8 GB memory) provide a balance of size and performance.
What GPU do you need for sandepaAI_gemma4_coder_12b?
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 (9.8 GB file, about 23.2 GB in use).
Which sandepaAI_gemma4_coder_12b quant should you choose?
Q4_K_M is the usual starting point for sandepaAI_gemma4_coder_12b: it balances file size and quality well. Here it is a 7.4 GB file.
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 sandepaAI_gemma4_coder_12b
How much VRAM does sandepaAI_gemma4_coder_12b 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 sandepaAI_gemma4_coder_12b 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 sandepaAI_gemma4_coder_12b GGUF?
It depends on the quant: file is 0.0 GB, IQ1_S is 3.0 GB, IQ1_M is 3.2 GB, IQ2_XXS is 3.6 GB, IQ2_XS is 3.9 GB, IQ2_S is 4.1 GB and 19 more.
What context length does sandepaAI_gemma4_coder_12b 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 sandepaAI_gemma4_coder_12b GGUF?
The files are on Hugging Face in the mradermacher/sandepaAI_gemma4_coder_12b-i1-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 sandepaAI_gemma4_coder_12b 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?
Yes, the IQ1_S quant uses 2.98 GB file size and requires about 16.4 GB memory at 8k context, which fits within 8 GB VRAM when using CPU offload.
Does this model support image input?
No, the GGUF files provided do not include vision support; only text and coding tasks are supported.
What license applies to this model?
The model is released under the Apache 2.0 license, allowing free use with attribution.