ibm-granite · text

granite-4.0-1b

ibm-granite/granite-4.0-1b

granite-4.0-1b at Q4_K_M is exactly 1,023,645,440 bytes (0.95 GiB / 1.02 GB) — an effective 5.019 bits per weight, not the nominal 4. Its KV cache at 32K is 2.50 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
1.6B
Architecture
granite
40 layers
Context
131,072
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
UD-IQ1_S0.44 GiB471,455,8402.311unsloth
UD-IQ1_M0.46 GiB494,196,8322.423unsloth
UD-IQ2_XXS0.50 GiB536,385,6322.630unsloth
UD-IQ2_M0.60 GiB644,749,4083.161unsloth
UD-IQ3_XXS0.65 GiB700,782,6883.436unsloth
Q2_K0.65 GiB701,699,8403.440ibm-granite
Q2_K0.65 GiB701,700,1923.440unsloth
Q2_K_L0.65 GiB701,700,1923.440unsloth
Q3_K_S0.73 GiB785,585,9203.852ibm-granite
Q3_K_S0.73 GiB785,586,2723.852unsloth
Q3_K_M0.80 GiB860,362,4964.218ibm-granite
Q3_K_M0.80 GiB860,362,8484.218unsloth
Q3_K_L0.86 GiB926,160,6404.541ibm-granite
IQ4_XS0.87 GiB936,974,4324.594unsloth
Q4_00.91 GiB974,984,9604.780ibm-granite
Q4_00.91 GiB977,606,7524.793unsloth
IQ4_NL0.91 GiB980,228,1924.806unsloth
Q4_K_S0.91 GiB980,752,1284.808ibm-granite
Q4_K_S0.91 GiB980,752,4804.808unsloth
Q4_K_M0.95 GiB1,023,645,4405.019ibm-granite
Q4_K_M0.95 GiB1,023,645,7925.019unsloth
Q4_10.99 GiB1,064,113,9205.217ibm-granite
Q4_10.99 GiB1,064,114,2725.217unsloth
Q5_01.07 GiB1,153,242,8805.654ibm-granite
Q5_K_S1.07 GiB1,153,242,8805.654ibm-granite
Q5_K_S1.07 GiB1,153,243,2325.654unsloth
Q5_K_M1.10 GiB1,178,310,4005.777ibm-granite
Q5_K_M1.10 GiB1,178,310,7525.777unsloth
Q5_11.16 GiB1,242,371,8406.091ibm-granite
Q6_K1.25 GiB1,342,641,9206.583ibm-granite
Q6_K1.25 GiB1,342,642,2726.583unsloth
Q8_01.62 GiB1,737,791,2328.520ibm-granite
Q8_01.62 GiB1,737,791,5848.520unsloth
BF163.04 GiB3,267,401,47216.019ibm-granite
BF163.04 GiB3,267,401,56816.019unsloth

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.31 GiB0.31 GiB40 / 0 / 0
8,1920.63 GiB0.63 GiB40 / 0 / 0
16,3841.25 GiB1.25 GiB40 / 0 / 0
32,7682.50 GiB2.50 GiB40 / 0 / 0
65,5365.00 GiB5.00 GiB40 / 0 / 0
131,07210.00 GiB10.00 GiB40 / 0 / 0

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 0.85 GiB. The real file is 0.95 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
40
Attention heads
16
KV heads
4
Head dim
128
Hidden size
2048
Vocab
100,352
Sliding window
none
SWA period
MLA
no
Experts
0
Experts per token
0
use_sliding_window

Questions people ask

How much VRAM does granite-4.0-1b need?
Q4_K_M is exactly 1,023,645,440 bytes (0.95 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is granite-4.0-1b's KV cache?
2.50 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Which quantization of granite-4.0-1b should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.