ProCreations · vision language · mixture of experts

grug-35b

ProCreations/grug-35b

grug-35b at Q4_K_M is exactly 21,166,758,528 bytes (19.71 GiB / 21.17 GB) — an effective 4.823 bits per weight, not the nominal 4. Its KV cache at 32K is 0.63 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
35.1B
total, not active
Architecture
qwen35moe
40 layers
Context
262,144
native (config.json)
License
mit

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_XXS9.11 GiB9,778,453,4402.228bartowski
IQ2_XS10.06 GiB10,797,145,0242.460bartowski
IQ2_S10.25 GiB11,010,276,2882.509bartowski
IQ2_M11.24 GiB12,066,716,6082.750bartowski
Q2_K11.75 GiB12,617,079,7442.875bartowski
Q2_K_L12.21 GiB13,113,719,7442.988bartowski
IQ3_XXS13.85 GiB14,870,830,0163.389bartowski
Q3_K_S14.45 GiB15,513,516,9923.535bartowski
IQ3_XS15.10 GiB16,218,684,3523.696bartowski
Q3_K_M15.11 GiB16,226,548,6723.698bartowski
Q3_K_L15.73 GiB16,886,496,1923.848bartowski
IQ3_M15.74 GiB16,900,258,7523.851bartowski
IQ4_XS17.51 GiB18,806,447,0404.285bartowski
IQ4_NL18.50 GiB19,861,347,2644.526bartowski
Q4_018.57 GiB19,942,611,9044.544bartowski
Q4_K_S19.18 GiB20,592,729,0244.692bartowski
Q4_K_M19.71 GiB21,166,758,5284.823ProCreations
Q4_K_M19.92 GiB21,391,449,0244.875bartowski
Q4_K_L20.27 GiB21,768,895,4244.961bartowski
Q4_120.46 GiB21,973,769,1525.007bartowski
Q5_K_S22.50 GiB24,156,150,7205.505bartowski
Q5_K_M23.03 GiB24,729,131,6485.635ProCreations
Q5_K_M23.30 GiB25,017,457,6005.701bartowski
Q5_K_L23.59 GiB25,331,334,0805.772bartowski
Q6_K26.56 GiB28,514,153,0886.498ProCreations
Q6_K27.99 GiB30,053,415,8726.848bartowski
Q6_K_L28.22 GiB30,299,749,3126.904bartowski
Q8_034.37 GiB36,903,139,9688.409ProCreations
Q8_034.38 GiB36,914,691,0088.412bartowski
BF162 shards64.61 GiB69,376,637,79215.809bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.08 GiB0.31 GiB4.00×10 / 0 / 30
8,1920.16 GiB0.63 GiB4.00×10 / 0 / 30
16,3840.31 GiB1.25 GiB4.00×10 / 0 / 30
32,7680.63 GiB2.50 GiB4.00×10 / 0 / 30
65,5361.25 GiB5.00 GiB4.00×10 / 0 / 30
131,0722.50 GiB10.00 GiB4.00×10 / 0 / 30

30 of 40 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 18.39 GiB. The real file is 19.71 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
2
Head dim
256
Hidden size
2048
Vocab
248,320
Sliding window
none
SWA period
MLA
no
Experts
256
Experts per token
8
use_sliding_window

Questions people ask

How much VRAM does grug-35b need?
Q4_K_M is exactly 21,166,758,528 bytes (19.71 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-35b's KV cache?
0.63 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.
Is grug-35b a mixture-of-experts model?
Yes — 256 experts, 8 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of grug-35b 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.