Qwen · text

Qwen2.5-Coder-14B-Instruct

Qwen/Qwen2.5-Coder-14B-Instruct

Qwen2.5-Coder-14B-Instruct at Q4_K_M is exactly 8,988,110,784 bytes (8.37 GiB / 8.99 GB) — an effective 4.868 bits per weight, not the nominal 4. Its KV cache at 32K is 6.00 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_XS4.38 GiB4,704,575,7122.548bartowski
IQ2_S4.66 GiB5,003,727,0722.710bartowski
IQ2_M4.99 GiB5,356,146,9122.901bartowski
Q2_K5.37 GiB5,770,497,4083.126Qwen
Q2_K5.37 GiB5,770,498,2723.126bartowski
IQ3_XS5.94 GiB6,383,362,2723.458bartowski
Q2_K_L6.08 GiB6,530,818,2723.537bartowski
Q3_K_S6.20 GiB6,659,596,5123.607bartowski
IQ3_M6.44 GiB6,916,538,5923.746bartowski
Q3_K_M6.84 GiB7,339,203,9683.975579Qwen
Q3_K_M6.84 GiB7,339,204,8323.975bartowski
Q3_K_L7.38 GiB7,924,768,7044.292lmstudio-community
Q3_K_L7.38 GiB7,924,768,9924.292bartowski
IQ4_XS7.56 GiB8,119,840,9924.398579bartowski
Q4_07.93 GiB8,517,725,5684.614579Qwen
Q4_07.96 GiB8,544,268,5124.628bartowski
IQ4_NL7.96 GiB8,549,183,7124.631bartowski
Q4_K_S7.98 GiB8,573,432,0324.644bartowski
Q4_K_M8.37 GiB8,988,110,7844.868579lmstudio-community
Q4_K_M8.37 GiB8,988,111,0724.868579bartowski
Q4_K_L8.91 GiB9,565,954,2725.181bartowski
Q5_K_S9.56 GiB10,266,554,5925.561bartowski
Q5_K_M9.79 GiB10,508,873,9525.692579bartowski
Q5_K_L10.23 GiB10,989,396,1925.952bartowski
Q6_K11.29 GiB12,124,684,2246.567579lmstudio-community
Q6_K11.29 GiB12,124,684,5126.567bartowski
Q6_K_L11.64 GiB12,501,803,2326.771bartowski
Q8_014.62 GiB15,701,598,1448.505579lmstudio-community
Q8_014.62 GiB15,701,598,4328.505579bartowski
Q4_K_M3 shards16.74 GiB17,976,220,6729.737Qwen
Q5_03 shards19.12 GiB20,533,107,71211.121Qwen
Q5_K_M3 shards19.57 GiB21,017,746,43211.384Qwen
Q6_K3 shards22.58 GiB24,249,367,55213.134Qwen
F1627.52 GiB29,547,716,54416.004579bartowski
Q8_03 shards29.25 GiB31,403,195,39217.009Qwen

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.75 GiB0.75 GiB48 / 0 / 0
8,1921.50 GiB1.50 GiB48 / 0 / 0
16,3843.00 GiB3.00 GiB48 / 0 / 0
32,7686.00 GiB6.00 GiB48 / 0 / 0
65,53612.00 GiB12.00 GiB48 / 0 / 0
131,07224.00 GiB24.00 GiB48 / 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 7.74 GiB. The real file is 8.37 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
48
Attention heads
40
KV heads
8
Head dim
128
Hidden size
5120
Vocab
152,064
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.5-Coder-14B-Instruct need?
Q4_K_M is exactly 8,988,110,784 bytes (8.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-Coder-14B-Instruct's KV cache?
6.00 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-Coder-14B-Instruct 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.