Qwen · vision language

Qwen3.5-9B-Base

Qwen/Qwen3.5-9B-Base

Qwen3.5-9B-Base at Q4_K_M is exactly 5,627,044,480 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
IQ3_XS1.46 GiB1,564,363,6481.296titan0115
I1-IQ1_S2.55 GiB2,742,641,9842.273mradermacher
I1-IQ1_M2.68 GiB2,877,269,3122.385mradermacher
TQ1_02.68 GiB2,881,069,6962.388titan0115
I1-IQ2_XXS2.89 GiB3,101,648,1922.571mradermacher
TQ2_02.99 GiB3,205,374,5922.656titan0115
I1-IQ2_XS3.06 GiB3,285,345,6002.723mradermacher
I1-IQ2_S3.19 GiB3,427,968,3202.841mradermacher
I1-IQ2_M3.36 GiB3,607,471,4242.990mradermacher
Q2_K3.39 GiB3,638,518,4003.015titan0115
I1-Q2_K_S3.44 GiB3,697,239,3603.064mradermacher
I1-Q2_K3.56 GiB3,827,262,7843.172mradermacher
I1-IQ3_XXS3.67 GiB3,938,166,0803.264mradermacher
I1-IQ3_XS3.95 GiB4,243,416,3843.517mradermacher
Q3_K_S3.97 GiB4,259,406,4643.530titan0115
I1-Q3_K_S3.97 GiB4,259,407,1683.530mradermacher
IQ3_S3.97 GiB4,263,862,9123.534titan0115
I1-IQ3_S4.07 GiB4,370,818,3683.622mradermacher
IQ3_M4.11 GiB4,415,382,1443.659titan0115
I1-IQ3_M4.11 GiB4,415,382,8483.659mradermacher
Q3_K_M4.30 GiB4,616,184,4483.826titan0115
Q3_K4.30 GiB4,616,184,4483.826titan0115
I1-Q3_K_M4.31 GiB4,623,525,1843.832mradermacher
Q3_K_L4.49 GiB4,824,851,0723.999titan0115
I1-Q3_K_L4.59 GiB4,925,515,0724.082mradermacher
IQ4_XS4.75 GiB5,102,068,3524.228titan0115
I1-IQ4_XS4.84 GiB5,196,440,8964.306mradermacher
Q4_04.95 GiB5,313,356,4164.403titan0115
I1-Q4_04.96 GiB5,325,940,0324.414mradermacher
Q4_K_S4.97 GiB5,340,619,3924.426titan0115
IQ4_NL4.98 GiB5,342,716,5444.428titan0115
I1-Q4_K_S4.98 GiB5,351,630,1444.435mradermacher
I1-IQ4_NL5.05 GiB5,418,214,7204.490mradermacher
Q4_K_M5.24 GiB5,627,044,4804.663titan0115
Q4_K5.24 GiB5,627,044,4804.663titan0115
Q4_K_M5.24 GiB5,629,109,0564.665yaruti
I1-Q4_K_M5.24 GiB5,629,109,5684.665mradermacher
Q4_15.41 GiB5,809,332,8644.814titan0115
I1-Q4_15.41 GiB5,809,333,5684.814mradermacher
Q5_K_S5.87 GiB6,305,309,3125.226titan0115

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-Base need?
Q4_K_M is exactly 5,627,044,480 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-Base'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-Base 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.