GE

Instinct Python Coder Gemma4 12B Qwen3.8 27B

GemmaGGUF by projectjUpdated 2026-09-12
Download on Hugging Face
Parameters11.9B
Context256K
Layers48
Architecturegemma4
Smallest quant7.4 GB
Quick answer

Instinct Python Coder Gemma4 12B Qwen3.8 27B 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 2 quants, from 7.4 GB (Q4_K_M) to 12.7 GB (Q8_0). Longer context needs more: at 32K tokens the KV cache alone adds about 51.5 GB.

Instinct Python Coder Gemma4 12B Qwen3.8 27B – a 12B dense model optimized for Python coding

Instinct Python Coder Gemma4 12B Qwen3.8 27B is a 12B parameter model based on unsloth/gemma-4-12b-it. It is trained for coding and reasoning tasks and supports a context window of 262144 tokens. The model is available in Q4_K_M and Q8_0 quantizations.

Good at

  • Python coding
  • Reasoning
  • Short context handling

Limits

  • No vision support
  • Requires 8k context for memory estimates
  • License: gemma

Best for

  • Local Python code generation
  • Rapid prototyping
  • Educational coding tools

Who it’s for. Developers and researchers who need a lightweight Python coder that runs locally. The model is suitable for laptops and servers with moderate VRAM.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_M7.4 GB 20.8 GB
Too big Get file →
Q8_012.7 GB 26.1 GB
Too big Get file →

For 8 GB VRAM use Q4_K_M (file size 7.38 GB, estimated memory 20.8 GB at 8k context). For larger VRAM budgets use Q8_0 (file size 12.67 GB, estimated memory 26.1 GB at 8k context). Memory estimates are approximate.

What GPU do you need for Instinct Python Coder Gemma4 12B Qwen3.8 27B?

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 Q4_K_M (7.4 GB file, about 20.8 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 Instinct Python Coder Gemma4 12B Qwen3.8 27B quant should you choose?

Q4_K_M is the usual starting point for Instinct Python Coder Gemma4 12B Qwen3.8 27B: 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.

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 byprojectj
FamilyGemma
Licensegemma
Downloads (HF)2,022
Last updated2026-09-12

Frequently asked questions about Instinct Python Coder Gemma4 12B Qwen3.8 27B

How much VRAM does Instinct Python Coder Gemma4 12B Qwen3.8 27B 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 Instinct Python Coder Gemma4 12B Qwen3.8 27B on an 8 GB GPU?

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

What is the file size of Instinct Python Coder Gemma4 12B Qwen3.8 27B GGUF?

It depends on the quant: Q4_K_M is 7.4 GB, Q8_0 is 12.7 GB.

What context length does Instinct Python Coder Gemma4 12B Qwen3.8 27B 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 Instinct Python Coder Gemma4 12B Qwen3.8 27B GGUF?

The files are on Hugging Face in the projectj/Instinct-Python-Coder-Gemma4-12B-Qwen3.8-27B repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Instinct Python Coder Gemma4 12B Qwen3.8 27B 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 this model on 8 GB VRAM?

The Q4_K_M quantization requires about 20.8 GB of VRAM at 8k context, so 8 GB is insufficient.

Does this model support image input?

No, the provided GGUF files do not include multimodal capabilities.

What is the context window size?

The model supports up to 262144 tokens as its trained context length.

Other GGUFs of gemma-4-12b-it

Similar models

Browse all →

More from projectj

All by projectj →

More Gemma models

All Gemma →

Other medium models

All medium models →