Qwen · text

Qwen2-1.5B

Qwen/Qwen2-1.5B

Qwen2-1.5B at Q4_K_M is exactly 986,045,824 bytes (0.92 GiB / 0.99 GB) — an effective 5.110 bits per weight, not the nominal 4. Its KV cache at 32K is 0.88 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
1.5B
Architecture
qwen2
28 layers
Context
131,072
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S0.41 GiB436,524,8962.262legraphista
IQ1_M0.43 GiB464,458,5922.407legraphista
IQ2_XXS0.48 GiB511,014,7522.648legraphista
IQ2_XS0.51 GiB550,324,0642.852legraphista
IQ2_S0.53 GiB563,807,0722.922legraphista
IQ2_M0.56 GiB601,052,0003.115legraphista
Q2_K_S0.60 GiB640,132,4483.317legraphista
IQ3_XXS0.62 GiB668,789,6003.466legraphista
Q2_K0.63 GiB676,302,1763.505legraphista
IQ3_XS0.68 GiB731,696,4803.792legraphista
IQ3_XS0.68 GiB731,696,6403.792mradermacher
Q3_K_S0.71 GiB760,941,9203.943legraphista
IQ3_S0.71 GiB762,404,1923.951legraphista
IQ3_S0.71 GiB762,404,3523.951mradermacher
IQ3_M0.72 GiB776,661,3444.025legraphista
IQ3_M0.72 GiB776,661,5044.025mradermacher
Q3_K0.77 GiB824,175,9684.271legraphista
Q3_K_L0.82 GiB880,160,0964.561legraphista
Q3_K_L0.82 GiB880,160,1284.561bartowski
IQ4_XS0.83 GiB895,728,9924.642legraphista
IQ4_XS0.83 GiB895,729,0244.642bartowski
IQ4_NL0.87 GiB936,328,5444.852legraphista
Q4_K_S0.88 GiB940,309,8564.873legraphista
Q4_K0.92 GiB986,045,7925.110legraphista
Q4_K_M0.92 GiB986,045,8245.110bartowski
Q5_K_S1.02 GiB1,098,726,4965.694legraphista
Q5_K1.05 GiB1,125,047,3925.830legraphista
Q5_K_M1.05 GiB1,125,047,6805.830bartowski
Q4_K_L1.17 GiB1,261,353,8566.537bartowski
Q6_K1.19 GiB1,272,736,8646.596legraphista
Q6_K1.19 GiB1,272,737,1526.596bartowski
Q2_K2 shards1.26 GiB1,352,232,8327.008mradermacher
Q5_K_L1.30 GiB1,400,355,7127.257bartowski
Q3_K_S2 shards1.42 GiB1,521,512,3207.885mradermacher
Q6_K_L1.44 GiB1,548,045,1848.022bartowski
Q8_01.53 GiB1,646,570,0808.533legraphista
Q8_01.53 GiB1,646,570,3688.533bartowski
Q3_K_M2 shards1.53 GiB1,647,980,4168.540mradermacher
Q3_K_L2 shards1.64 GiB1,759,948,6729.121mradermacher
IQ4_XS2 shards1.68 GiB1,803,988,8649.349mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.11 GiB0.11 GiB28 / 0 / 0
8,1920.22 GiB0.22 GiB28 / 0 / 0
16,3840.44 GiB0.44 GiB28 / 0 / 0
32,7680.88 GiB0.88 GiB28 / 0 / 0
65,5361.75 GiB1.75 GiB28 / 0 / 0
131,0723.50 GiB3.50 GiB28 / 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 0.81 GiB. The real file is 0.92 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
28
Attention heads
12
KV heads
2
Head dim
128
Hidden size
1536
Vocab
151,936
Sliding window
131072
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-1.5B need?
Q4_K_M is exactly 986,045,824 bytes (0.92 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-1.5B's KV cache?
0.88 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-1.5B 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.