Qwen · text

Qwen2.5-3B

Qwen/Qwen2.5-3B

Qwen2.5-3B at Q4_K_M is exactly 1,929,900,480 bytes (1.80 GiB / 1.93 GB) — an effective 5.003 bits per weight, not the nominal 4. Its KV cache at 32K is 1.13 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
3.1B
Architecture
qwen2
36 layers
Context
32,768
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S0.74 GiB791,094,4002.051ThomasBaruzier
IQ1_M0.79 GiB850,027,6482.204ThomasBaruzier
IQ2_XXS0.88 GiB948,249,7282.458ThomasBaruzier
IQ2_XS0.96 GiB1,031,545,9842.674ThomasBaruzier
IQ2_S0.99 GiB1,061,938,3042.753ThomasBaruzier
IQ2_M1.06 GiB1,140,515,9682.957ThomasBaruzier
Q2_K_S1.12 GiB1,198,128,2563.106ThomasBaruzier
Q2_K1.19 GiB1,274,756,2243.305ThomasBaruzier
IQ3_XXS1.19 GiB1,282,827,3923.326ThomasBaruzier
Q2_K1.28 GiB1,376,859,9043.569QuantFactory
IQ3_XS1.30 GiB1,391,836,2883.608ThomasBaruzier
Q3_K_S1.35 GiB1,454,357,6323.770ThomasBaruzier
IQ3_S1.36 GiB1,456,864,3843.777ThomasBaruzier
IQ3_M1.39 GiB1,488,892,3523.860bartowski
IQ3_M1.39 GiB1,488,895,1043.860ThomasBaruzier
Q3_K_S1.48 GiB1,588,064,0004.117QuantFactory
Q3_K_M1.48 GiB1,590,475,9044.123ThomasBaruzier
Q3_K_L1.59 GiB1,707,389,3764.426bartowski
Q3_K_L1.59 GiB1,707,392,1284.426ThomasBaruzier
Q3_K_M1.61 GiB1,724,182,2724.470QuantFactory
IQ4_XS1.62 GiB1,739,092,4164.508bartowski
IQ4_XS1.62 GiB1,739,095,1684.508ThomasBaruzier
IQ4_NL1.70 GiB1,825,209,4724.732ThomasBaruzier
Q4_01.70 GiB1,828,483,5204.740bartowski
Q4_01.70 GiB1,828,486,2724.740ThomasBaruzier
Q4_K_S1.71 GiB1,834,381,7604.755bartowski
Q4_K_S1.71 GiB1,834,384,5124.755ThomasBaruzier
Q3_K_L1.71 GiB1,841,098,4964.773QuantFactory
Q4_K_M1.80 GiB1,929,900,4805.003bartowski
Q4_K_M1.80 GiB1,929,903,2325.003ThomasBaruzier
Q4_11.86 GiB1,996,258,4325.175ThomasBaruzier
Q4_01.86 GiB1,997,883,1365.179QuantFactory
Q4_K_L1.87 GiB2,005,260,7365.198bartowski
Q4_K_S1.87 GiB2,009,417,4725.209QuantFactory
Q4_K_M1.96 GiB2,104,936,1925.457QuantFactory
Q5_K_S2.02 GiB2,169,663,9365.625bartowski
Q5_K_S2.02 GiB2,169,666,6885.625ThomasBaruzier
Q5_02.03 GiB2,175,302,7845.639ThomasBaruzier
Q4_12.04 GiB2,190,739,2005.679QuantFactory
Q5_K_M2.07 GiB2,224,812,4805.768bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.14 GiB0.14 GiB36 / 0 / 0
8,1920.28 GiB0.28 GiB36 / 0 / 0
16,3840.56 GiB0.56 GiB36 / 0 / 0
32,7681.13 GiB1.13 GiB36 / 0 / 0
65,5362.25 GiB2.25 GiB36 / 0 / 0
131,0724.50 GiB4.50 GiB36 / 0 / 0

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

Architecture

from config.json
Layers
36
Attention heads
16
KV heads
2
Head dim
128
Hidden size
2048
Vocab
151,936
Sliding window
32768
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

This model declares a sliding window but sets use_sliding_window: false, so the window is not applied. Honouring the field without the flag understates KV for the whole family.

Questions people ask

How much VRAM does Qwen2.5-3B need?
Q4_K_M is exactly 1,929,900,480 bytes (1.80 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Qwen2.5-3B's KV cache?
1.13 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 Qwen2.5-3B 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.