Qwen · vision language

Qwen3.5-9B

Qwen/Qwen3.5-9B

Qwen3.5-9B at Q4_K_M is exactly 5,627,044,256 bytes (5.24 GiB / 5.63 GB) — an effective 4.663 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.7B
Architecture
qwen35
32 layers
Context
262,144
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
UD-IQ2_XXS2.97 GiB3,190,613,2162.644unsloth
UD-IQ2_M3.40 GiB3,649,365,2163.024unsloth
UD-IQ2_M3.70 GiB3,969,560,9283.290unsloth
UD-IQ3_XXS3.74 GiB4,016,235,7443.329unsloth
UD-IQ3_XXS4.00 GiB4,295,536,9923.560unsloth
Q3_K_S4.02 GiB4,316,865,7603.578unsloth
Q3_K_S4.15 GiB4,461,195,6163.697unsloth
Q3_K_M4.35 GiB4,673,643,7443.873427unsloth
Q3_K_M4.50 GiB4,834,783,5844.007unsloth
IQ4_XS4.81 GiB5,168,653,5364.284427unsloth
IQ4_NL5.00 GiB5,371,028,7044.451unsloth
Q4_05.01 GiB5,379,417,3124.458427unsloth
Q4_K_S5.02 GiB5,394,097,3764.470unsloth
IQ4_XS5.09 GiB5,467,189,6004.531442unsloth
Q4_05.17 GiB5,551,599,9684.601442unsloth
Q4_K_S5.19 GiB5,577,290,0804.622unsloth
Q4_K_M5.24 GiB5,627,044,2564.663427lmstudio-community
IQ4_NL5.26 GiB5,644,398,9444.678unsloth
Q4_K_M5.29 GiB5,680,522,4644.708unsloth
Q4_15.44 GiB5,837,251,8084.838unsloth
Q4_K_M5.47 GiB5,868,826,9764.864unsloth
Q4_15.61 GiB6,022,541,6644.991unsloth
Q5_K_S5.92 GiB6,361,146,5925.272unsloth
Q5_K_S6.11 GiB6,559,543,6485.436unsloth
Q5_K_M6.13 GiB6,577,841,3765.451unsloth
Q5_K_M6.27 GiB6,729,445,7285.577442unsloth
Q6_K6.85 GiB7,359,259,0406.099lmstudio-community
Q6_K6.95 GiB7,458,301,1526.181427unsloth
Q6_K7.16 GiB7,684,551,0086.369442unsloth
Q8_08.87 GiB9,527,501,2167.896lmstudio-community
Q8_08.87 GiB9,527,502,0487.896427unsloth
Q8_09.11 GiB9,786,061,1528.110unsloth
BF1616.69 GiB17,920,697,31214.852unsloth
BF1617.14 GiB18,407,321,72815.255unsloth

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 5.06 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 Qwen3.5-9B need?
Q4_K_M is exactly 5,627,044,256 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 Qwen3.5-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 Qwen3.5-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.