Qwen · text

Qwen2.5-0.5B

Qwen/Qwen2.5-0.5B

Qwen2.5-0.5B at Q4_K_M is exactly 397,807,776 bytes (0.37 GiB / 0.40 GB) — an effective 6.442 bits per weight, not the nominal 4. Its KV cache at 32K is 0.38 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
494M
Architecture
qwen2
24 layers
Context
32,768
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S0.29 GiB315,829,5365.114ThomasBaruzier
IQ1_M0.30 GiB317,974,5605.149ThomasBaruzier
IQ2_XXS0.30 GiB321,549,6005.207ThomasBaruzier
IQ2_XS0.30 GiB324,409,6325.253ThomasBaruzier
IQ2_S0.30 GiB325,737,5045.275ThomasBaruzier
IQ2_M0.31 GiB328,597,1525.321liodon-ai
IQ2_M0.31 GiB328,597,5365.321ThomasBaruzier
Q2_K_S0.31 GiB331,048,9925.361ThomasBaruzier
IQ3_XXS0.31 GiB333,704,7365.404ThomasBaruzier
Q3_K_S0.32 GiB338,263,2325.478QuantFactory
Q3_K_S0.32 GiB338,263,5845.478ThomasBaruzier
Q2_K0.32 GiB338,607,2965.483QuantFactory
Q2_K0.32 GiB338,607,6485.483ThomasBaruzier
IQ3_XS0.32 GiB338,607,6485.483ThomasBaruzier
IQ3_S0.32 GiB338,607,6485.483ThomasBaruzier
IQ3_M0.32 GiB342,752,1605.550liodon-ai
IQ3_M0.32 GiB342,752,5445.550ThomasBaruzier
IQ4_XS0.33 GiB349,402,2725.658liodon-ai
IQ4_XS0.33 GiB349,402,6565.658ThomasBaruzier
Q4_00.33 GiB352,154,8165.702QuantFactory
IQ4_NL0.33 GiB352,671,2645.711ThomasBaruzier
Q4_00.33 GiB352,972,3205.716ThomasBaruzier
Q3_K_M0.33 GiB355,466,4325.756QuantFactory
Q3_K_M0.33 GiB355,466,7845.756ThomasBaruzier
Q3_K_L0.34 GiB369,358,0165.981QuantFactory
Q3_K_L0.34 GiB369,358,3685.981ThomasBaruzier
Q4_10.35 GiB374,518,9766.065QuantFactory
Q4_10.35 GiB374,519,3286.065ThomasBaruzier
Q4_K_S0.36 GiB385,471,6806.242QuantFactory
Q4_K_S0.36 GiB385,472,0326.242ThomasBaruzier
Q5_00.37 GiB396,883,1366.427QuantFactory
Q5_00.37 GiB397,700,6406.440ThomasBaruzier
Q4_K_M0.37 GiB397,807,7766.442liodon-ai
Q4_K_M0.37 GiB397,807,8086.442QuantFactory
Q4_K_M0.37 GiB397,808,1606.442ThomasBaruzier
Q5_K_S0.38 GiB412,710,0806.683QuantFactory
Q5_K_S0.38 GiB412,710,4326.683ThomasBaruzier
Q5_10.39 GiB419,247,2966.789QuantFactory
Q5_10.39 GiB419,247,6486.789ThomasBaruzier
Q5_K_M0.39 GiB420,085,9206.803liodon-ai

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.05 GiB0.05 GiB24 / 0 / 0
8,1920.09 GiB0.09 GiB24 / 0 / 0
16,3840.19 GiB0.19 GiB24 / 0 / 0
32,7680.38 GiB0.38 GiB24 / 0 / 0
65,5360.75 GiB0.75 GiB24 / 0 / 0
131,0721.50 GiB1.50 GiB24 / 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.26 GiB. The real file is 0.37 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
24
Attention heads
14
KV heads
2
Head dim
64
Hidden size
896
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-0.5B need?
Q4_K_M is exactly 397,807,776 bytes (0.37 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-0.5B's KV cache?
0.38 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-0.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.