GR

Granite 4.1 3b coder

GraniteGGUF by ertghiu256Updated 2026-07-17
Download on Hugging Face
Parameters3.4B
Context128K
Layers40
Architecturegranite
Smallest quant1.7 GB
Quick answer

Granite 4.1 3b coder needs about 3.3 GB of memory at Q4_K_M (a 2.1 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 6 quants, from 1.7 GB (Q3_K_M) to 6.8 GB (F16). Longer context needs more: at 32K tokens the KV cache alone adds about 2.7 GB.

Granite 4.1 3b coder is a 3.4B-parameter Granite model in GGUF format, quantized by ertghiu256. Its trained context length is 128K tokens. The repository has 6 quant files, from 1.7 GB (Q3_K_M) to 6.8 GB (F16).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_M1.7 GB 2.9 GB
Fits Get file →
Q4_K_M2.1 GB 3.3 GB
Fits Get file →
Q5_K_M2.4 GB 3.6 GB
Fits Get file →
Q6_K2.8 GB 4.0 GB
Fits Get file →
Q8_03.6 GB 4.8 GB
Fits Get file →
F166.8 GB 8.0 GB
Tight Get file →

What GPU do you need for Granite 4.1 3b coder?

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: the best quant that fits is Q6_K (2.8 GB file, about 4.0 GB in use).
  • 6 GB VRAM: the best quant that fits is Q8_0 (3.6 GB file, about 4.8 GB in use).
  • 8 GB VRAM: the best quant that fits is F16 (6.8 GB file, about 8.0 GB in use).

Which Granite 4.1 3b coder quant should you choose?

Q4_K_M is the usual starting point for Granite 4.1 3b coder: it balances file size and quality well. Here it is a 2.1 GB file.

The Q8_0 file is 3.6 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 Q3_K_M at 1.7 GB, with the quality trade-offs that come with fewer bits. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturegranite
Parameters3.4B
Layers40
Trained context131,072 tokens
KV cache (fp16)80 KB per token

Source

Quantized byertghiu256
FamilyGranite
Licenseapache-2.0
Downloads (HF)137
Last updated2026-07-17

Frequently asked questions about Granite 4.1 3b coder

How much VRAM does Granite 4.1 3b coder need?

About 3.3 GB at Q4_K_M with an 8K context window. That is the 2.1 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 Granite 4.1 3b coder on an 8 GB GPU?

Yes, with F16: the 6.8 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 Granite 4.1 3b coder GGUF?

It depends on the quant: Q3_K_M is 1.7 GB, Q4_K_M is 2.1 GB, Q5_K_M is 2.4 GB, Q6_K is 2.8 GB, Q8_0 is 3.6 GB, F16 is 6.8 GB.

What context length does Granite 4.1 3b coder support?

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

Where can I download Granite 4.1 3b coder GGUF?

The files are on Hugging Face in the ertghiu256/Granite-4.1-3b-coder-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 Granite 4.1 3b coder 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.

Other GGUFs of Granite-4.1-3b-coder

Similar models

Browse all →

More from ertghiu256

All by ertghiu256 →

More Granite models

All Granite →

Other tiny models

All tiny models →