unsloth · text

Qwen3.5-2B

unsloth/Qwen3.5-2B

Qwen3.5-2B at Q4_K_M is exactly 1,312,164,384 bytes (1.22 GiB / 1.31 GB) — an effective 4.616 bits per weight, not the nominal 4. Its KV cache at 32K is 0.38 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
TQ2_00.75 GiB799,960,6082.814theprint
Q2_K0.92 GiB990,491,1683.485theprint
Q2_K0.92 GiB990,491,1683.485theprint
Q2_K0.92 GiB990,491,1683.485theprint
Q3_K_S0.97 GiB1,046,349,3443.681theprint
Q3_K_S0.97 GiB1,046,349,3443.681theprint
Q3_K_S0.97 GiB1,046,349,3443.681theprint
Q3_K_M1.05 GiB1,127,802,4003.967theprint
Q3_K_M1.05 GiB1,127,802,4003.967theprint
Q3_K_M1.05 GiB1,127,802,4003.967theprint
Q3_K_L1.11 GiB1,195,304,4804.205theprint
Q3_K_L1.11 GiB1,195,304,4804.205theprint
Q3_K_L1.11 GiB1,195,304,4804.205theprint
IQ4_XS1.15 GiB1,234,377,2484.342theprint
Q4_K_S1.16 GiB1,246,308,8964.384theprint
Q4_K_S1.16 GiB1,246,308,8964.384theprint
Q4_K_S1.16 GiB1,246,308,8964.384theprint
IQ4_NL1.18 GiB1,270,688,2884.470theprint
IQ4_NL1.18 GiB1,270,688,2884.470theprint
IQ4_NL1.18 GiB1,270,688,2884.470theprint
Q4_K_M1.22 GiB1,312,164,3844.616theprint
Q4_K_M1.22 GiB1,312,164,3844.616theprint
Q4_K_M1.22 GiB1,312,164,3844.616theprint
Q5_K_S1.32 GiB1,415,932,4484.981theprint
Q5_K_S1.32 GiB1,415,932,4484.981theprint
Q5_K_S1.32 GiB1,415,932,4484.981theprint
Q5_K_M1.35 GiB1,454,787,1045.118theprint
Q5_K_M1.35 GiB1,454,787,1045.118theprint
Q5_K_M1.35 GiB1,454,787,1045.118theprint
Q6_K1.50 GiB1,606,323,7445.651theprint
Q6_K1.50 GiB1,606,323,7445.651theprint
Q6_K1.50 GiB1,606,323,7445.651theprint
Q8_01.93 GiB2,076,674,5927.306theprint
Q8_01.93 GiB2,076,674,5927.306theprint
Q8_01.93 GiB2,076,674,5927.306theprint
BF163.63 GiB3,897,387,55213.711theprint
BF163.63 GiB3,897,387,55213.711theprint
BF163.63 GiB3,897,387,55213.711theprint

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.05 GiB0.19 GiB4.00×6 / 0 / 18
8,1920.09 GiB0.38 GiB4.00×6 / 0 / 18
16,3840.19 GiB0.75 GiB4.00×6 / 0 / 18
32,7680.38 GiB1.50 GiB4.00×6 / 0 / 18
65,5360.75 GiB3.00 GiB4.00×6 / 0 / 18
131,0721.50 GiB6.00 GiB4.00×6 / 0 / 18

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

Architecture

from config.json
Layers
24
Attention heads
8
KV heads
2
Head dim
256
Hidden size
2048
Vocab
248,320
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Qwen3.5-2B need?
Q4_K_M is exactly 1,312,164,384 bytes (1.22 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Qwen3.5-2B's KV cache?
0.38 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 Qwen3.5-2B 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.