agentica-org · text

DeepCoder-14B-Preview

agentica-org/DeepCoder-14B-Preview

DeepCoder-14B-Preview at Q4_K_M is exactly 8,988,111,168 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
131,072
native (config.json)
License
mit

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_XS4.38 GiB4,704,576,0962.548bartowski
IQ2_S4.66 GiB5,003,727,4562.710bartowski
IQ2_M4.99 GiB5,356,147,2962.901bartowski
Q2_K5.37 GiB5,770,498,6563.126bartowski
IQ3_XXS5.54 GiB5,946,708,5763.221bartowski
IQ3_XS5.94 GiB6,383,362,6563.458bartowski
Q2_K_L6.08 GiB6,530,818,6563.537bartowski
Q3_K_S6.20 GiB6,659,596,8963.607bartowski
IQ3_M6.44 GiB6,916,538,9763.746bartowski
Q3_K_M6.84 GiB7,339,205,2163.975bartowski
Q3_K_L7.38 GiB7,924,769,0884.292lmstudio-community
Q3_K_L7.38 GiB7,924,769,3764.292bartowski
IQ4_XS7.56 GiB8,119,841,3764.398bartowski
Q4_07.96 GiB8,544,268,8964.628bartowski
IQ4_NL7.96 GiB8,549,184,0964.631bartowski
Q4_K_S7.98 GiB8,573,432,4164.644bartowski
Q4_K_M8.37 GiB8,988,111,1684.868lmstudio-community
Q4_K_M8.37 GiB8,988,111,4564.868bartowski
Q4_18.75 GiB9,392,140,8965.087bartowski
Q4_K_L8.91 GiB9,565,954,6565.181bartowski
Q5_K_S9.56 GiB10,266,554,9765.561bartowski
Q5_K_M9.79 GiB10,508,874,3365.692bartowski
Q5_K_L10.23 GiB10,989,396,5765.952bartowski
Q6_K11.29 GiB12,124,684,6086.567lmstudio-community
Q6_K11.29 GiB12,124,684,8966.567bartowski
Q6_K_L11.64 GiB12,501,803,6166.771bartowski
Q8_014.62 GiB15,701,598,5288.505lmstudio-community
Q8_014.62 GiB15,701,598,8168.505bartowski
BF1627.52 GiB29,547,716,92816.004bartowski

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

Questions people ask

How much VRAM does DeepCoder-14B-Preview need?
Q4_K_M is exactly 8,988,111,168 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 DeepCoder-14B-Preview'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 DeepCoder-14B-Preview 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.