ibm-granite · text

granite-4.1-30b

ibm-granite/granite-4.1-30b

granite-4.1-30b at Q4_K_M is exactly 17,490,240,736 bytes (16.29 GiB / 17.49 GB) — an effective 4.847 bits per weight, not the nominal 4. Its KV cache at 32K is 8.00 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K9.99 GiB10,723,779,8082.972ibm-granite
Q3_K_S11.71 GiB12,569,273,5683.483ibm-granite
Q3_K_M13.00 GiB13,956,539,6163.868ibm-granite
Q3_K_L14.09 GiB15,129,896,1604.193ibm-granite
Q4_015.23 GiB16,348,341,4724.531ibm-granite
Q4_K_S15.35 GiB16,484,656,3524.569ibm-granite
Q4_K_M16.29 GiB17,490,240,7364.847lmstudio-community
Q4_K_M16.29 GiB17,490,240,7364.847ibm-granite
Q4_116.88 GiB18,126,726,3685.024ibm-granite
Q5_K_S18.54 GiB19,905,111,2645.517ibm-granite
Q5_018.54 GiB19,905,111,2645.517ibm-granite
Q5_K_M19.09 GiB20,493,362,4005.680ibm-granite
Q5_120.19 GiB21,683,496,1606.010ibm-granite
Q6_K22.06 GiB23,684,179,1686.564lmstudio-community
Q6_K22.06 GiB23,684,179,1686.564ibm-granite
Q8_028.57 GiB30,674,969,8248.501ibm-granite
Q8_028.57 GiB30,674,969,8248.501lmstudio-community
BF165 shards53.77 GiB57,736,095,52016.001ibm-granite

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0961.00 GiB1.00 GiB64 / 0 / 0
8,1922.00 GiB2.00 GiB64 / 0 / 0
16,3844.00 GiB4.00 GiB64 / 0 / 0
32,7688.00 GiB8.00 GiB64 / 0 / 0
65,53616.00 GiB16.00 GiB64 / 0 / 0
131,07232.00 GiB32.00 GiB64 / 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 15.12 GiB. The real file is 16.29 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
64
Attention heads
32
KV heads
8
Head dim
128
Hidden size
4096
Vocab
100,352
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does granite-4.1-30b need?
Q4_K_M is exactly 17,490,240,736 bytes (16.29 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.1-30b's KV cache?
8.00 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.1-30b 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.