Qwen · text

Qwen3-Reranker-4B

Qwen/Qwen3-Reranker-4B

Qwen3-Reranker-4B at Q4_K_M is exactly 2,496,713,696 bytes (2.33 GiB / 2.50 GB) — an effective 4.966 bits per weight, not the nominal 4. Its KV cache at 32K is 4.50 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
4.0B
Architecture
qwen3
36 layers
Context
40,960
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K1.55 GiB1,668,932,5763.320DevQuasar
Q2_K1.55 GiB1,668,933,0243.320mradermacher
Q2_K1.55 GiB1,668,935,1363.320Voodisss
Q3_K_S1.76 GiB1,886,430,1763.752DevQuasar
Q3_K_S1.76 GiB1,886,430,6243.752mradermacher
Q3_K_M1.93 GiB2,075,050,9764.128DevQuasar
Q3_K_M1.93 GiB2,075,051,4244.128mradermacher
Q3_K_M1.93 GiB2,075,054,0484.128Voodisss
Q3_K_L2.09 GiB2,239,218,6564.454DevQuasar
Q3_K_L2.09 GiB2,239,219,1044.454mradermacher
IQ4_XS2.13 GiB2,285,749,6644.547mradermacher
Q4_02.21 GiB2,368,983,6804.712Voodisss
Q4_K_S2.22 GiB2,382,742,4964.740DevQuasar
Q4_K_S2.22 GiB2,382,742,9444.740mradermacher
Q4_K_M2.33 GiB2,496,713,6964.966DevQuasar
Q4_K_M2.33 GiB2,496,714,1444.966mradermacher
Q4_K_M2.33 GiB2,496,717,4404.966Voodisss
Q5_K_S2.63 GiB2,823,144,4165.616DevQuasar
Q5_K_S2.63 GiB2,823,144,8645.616mradermacher
Q5_02.63 GiB2,823,148,8005.616Voodisss
Q5_K_M2.69 GiB2,888,946,6565.747DevQuasar
Q5_K_M2.69 GiB2,888,947,1045.747mradermacher
Q5_K_M2.69 GiB2,888,951,0405.747Voodisss
Q6_K3.08 GiB3,305,694,1766.576DevQuasar
Q6_K3.08 GiB3,305,694,6246.576mradermacher
Q6_K3.08 GiB3,305,699,2646.576Voodisss
Q8_03.99 GiB4,279,672,6088.513DevQuasar
Q8_03.99 GiB4,279,673,0568.513mradermacher
Q8_03.99 GiB4,279,678,9128.513Voodisss
F167.50 GiB8,049,911,80816.013DevQuasar
F167.50 GiB8,049,912,25616.013mradermacher
F167.50 GiB8,049,922,91216.013Voodisss

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.56 GiB0.56 GiB36 / 0 / 0
8,1921.13 GiB1.13 GiB36 / 0 / 0
16,3842.25 GiB2.25 GiB36 / 0 / 0
32,7684.50 GiB4.50 GiB36 / 0 / 0
65,5369.00 GiB9.00 GiB36 / 0 / 0
131,07218.00 GiB18.00 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 2.11 GiB. The real file is 2.33 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
36
Attention heads
32
KV heads
8
Head dim
128
Hidden size
2560
Vocab
151,669
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

Questions people ask

How much VRAM does Qwen3-Reranker-4B need?
Q4_K_M is exactly 2,496,713,696 bytes (2.33 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-Reranker-4B's KV cache?
4.50 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-Reranker-4B 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.
Qwen3-Reranker-4B — VRAM requirements, exact quant sizes — ossmodeldb