ProCreations · vision language

grug-9b

ProCreations/grug-9b

grug-9b at Q4_K_M is exactly 5,629,109,056 bytes (5.24 GiB / 5.63 GB) — an effective 4.786 bits per weight, not the nominal 4. Its KV cache at 32K is 1.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
9.4B
Architecture
qwen35
32 layers
Context
262,144
native (config.json)
License
mit

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M3.51 GiB3,769,427,0723.205bartowski
Q2_K3.79 GiB4,064,273,5363.455bartowski
IQ3_XXS3.98 GiB4,276,020,3523.635bartowski
IQ3_XS4.25 GiB4,560,528,5123.877bartowski
Q3_K_M4.31 GiB4,623,524,6723.931ProCreations
Q3_K_S4.35 GiB4,669,318,2723.970bartowski
IQ3_M4.40 GiB4,722,533,5044.015bartowski
Q3_K_M4.58 GiB4,920,190,0804.183bartowski
Q2_K_L4.71 GiB5,057,553,5364.300bartowski
Q3_K_L4.76 GiB5,111,030,9124.345bartowski
IQ4_XS4.88 GiB5,242,643,5844.457bartowski
IQ4_NL5.10 GiB5,478,900,8644.658bartowski
Q4_05.11 GiB5,482,833,0244.661bartowski
Q4_K_S5.21 GiB5,598,176,3844.759bartowski
Q4_K_M5.24 GiB5,629,109,0564.786ProCreations
Q4_K_M5.50 GiB5,910,783,1045.025bartowski
Q4_15.54 GiB5,944,861,8245.054bartowski
Q5_K_M6.02 GiB6,467,969,8565.499ProCreations
Q5_K_S6.08 GiB6,526,428,2885.549bartowski
Q4_K_L6.21 GiB6,665,675,9045.667bartowski
Q5_K_M6.38 GiB6,852,928,6405.826bartowski
Q6_K6.85 GiB7,359,259,4566.257ProCreations
Q5_K_L6.97 GiB7,480,681,6006.360bartowski
Q6_K7.17 GiB7,700,259,9686.547bartowski
Q6_K_L7.63 GiB8,192,926,8486.965bartowski
Q8_08.87 GiB9,527,501,6328.100ProCreations
Q8_08.89 GiB9,545,983,1048.116bartowski
BF1616.69 GiB17,920,697,21615.236bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.13 GiB0.50 GiB4.00×8 / 0 / 24
8,1920.25 GiB1.00 GiB4.00×8 / 0 / 24
16,3840.50 GiB2.00 GiB4.00×8 / 0 / 24
32,7681.00 GiB4.00 GiB4.00×8 / 0 / 24
65,5362.00 GiB8.00 GiB4.00×8 / 0 / 24
131,0724.00 GiB16.00 GiB4.00×8 / 0 / 24

24 of 32 layers use linear attention, which keeps a fixed-size recurrent state instead of a per-token cache. Those layers do not grow with context at all — treating them as ordinary attention, as a flat formula does, overstates this model's cache by roughly 4.0× at long context.

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 4.93 GiB. The real file is 5.24 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
32
Attention heads
16
KV heads
4
Head dim
256
Hidden size
4096
Vocab
248,320
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does grug-9b need?
Q4_K_M is exactly 5,629,109,056 bytes (5.24 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is grug-9b's KV cache?
1.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 grug-9b 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.