Qwen · embedding

Qwen3-Embedding-4B

Qwen/Qwen3-Embedding-4B

Qwen3-Embedding-4B at Q4_K_M is exactly 2,496,704,224 bytes (2.33 GiB / 2.50 GB) — an effective 4.966 bits per weight, not the nominal 4.

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,923,1043.320mradermacher
Q3_K_S1.76 GiB1,886,420,7043.752mradermacher
Q3_K_M1.93 GiB2,075,041,5044.128mradermacher
Q3_K_L2.09 GiB2,239,209,1844.454mradermacher
IQ4_XS2.13 GiB2,285,739,7444.547mradermacher
IQ4_XS2.19 GiB2,349,458,0804.673cstr
Q4_K_S2.22 GiB2,382,733,0244.740mradermacher
Q4_K2.29 GiB2,462,999,2004.899cstr
Q4_K_M2.33 GiB2,496,704,2244.966mradermacher
Q5_K_S2.63 GiB2,823,134,9445.616mradermacher
Q5_K_M2.69 GiB2,888,937,1845.747mradermacher
Q5_K2.72 GiB2,917,163,6805.803cstr
Q6_K3.08 GiB3,305,684,5126.576batiai
Q6_K3.08 GiB3,305,684,7046.576mradermacher
Q8_03.99 GiB4,279,657,1208.513cstr
Q8_03.99 GiB4,279,660,4808.513batiai
Q8_03.99 GiB4,279,660,6728.513mradermacher
F167.50 GiB8,049,890,27216.013mradermacher

No KV cache

architectural, not a gap in our data

This architecture allocates no KV cache. Encoder and embedding models process their input in one pass rather than generating token by token, so there is nothing to carry forward between steps and memory does not grow with context. Its footprint is the weights plus a working buffer, and that is the whole story.

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,665
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

Questions people ask

How much VRAM does Qwen3-Embedding-4B need?
Q4_K_M is exactly 2,496,704,224 bytes (2.33 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
Which quantization of Qwen3-Embedding-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.