anthracite-org · text

magnum-v4-12b

anthracite-org/magnum-v4-12b

magnum-v4-12b at Q4_K_M is exactly 7,477,207,936 bytes (6.96 GiB / 7.48 GB) — an effective 4.884 bits per weight, not the nominal 4. Its KV cache at 32K is 5.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
12.2B
Architecture
llama
40 layers
Context
1,024,000
native (config.json)
License
other

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_S3.85 GiB4,138,476,4162.703bartowski
IQ2_M4.13 GiB4,435,026,8162.897bartowski
Q2_K4.46 GiB4,791,051,1363.129bartowski
Q2_K4.46 GiB4,791,051,2323.129tensorblock
Q2_K4.46 GiB4,791,051,3283.129mradermacher
IQ3_XS4.94 GiB5,306,491,7763.466bartowski
Q2_K_L5.07 GiB5,446,411,1363.558bartowski
Q3_K_S5.15 GiB5,534,229,3763.615bartowski
Q3_K_S5.15 GiB5,534,229,5683.615mradermacher
IQ3_M5.33 GiB5,722,235,7763.738bartowski
Q3_K_M5.67 GiB6,083,093,3763.973bartowski
Q3_K_M5.67 GiB6,083,093,4723.973tensorblock
Q3_K_M5.67 GiB6,083,093,5683.973mradermacher
Q3_K_L6.11 GiB6,561,506,1764.286bartowski
Q3_K_L6.11 GiB6,561,506,3684.286mradermacher
IQ4_XS6.28 GiB6,742,713,2164.404bartowski
IQ4_XS6.33 GiB6,800,057,4084.442mradermacher
Q4_06.61 GiB7,094,641,5364.634bartowski
Q4_K_S6.63 GiB7,120,200,5764.651bartowski
Q4_K_S6.63 GiB7,120,200,7684.651mradermacher
Q4_K_M6.96 GiB7,477,207,9364.884bartowski
Q4_K_M6.96 GiB7,477,208,1284.884mradermacher
Q4_K_L7.43 GiB7,975,281,5365.209bartowski
Q5_K_S7.93 GiB8,518,738,8165.564bartowski
Q5_K_S7.93 GiB8,518,739,0085.564mradermacher
Q5_K_M8.13 GiB8,727,634,8165.701bartowski
Q5_K_M8.13 GiB8,727,635,0085.701mradermacher
Q5_K_L8.51 GiB9,141,822,3365.971bartowski
Q6_K9.37 GiB10,056,213,3766.569bartowski
Q6_K9.37 GiB10,056,213,5686.569mradermacher
Q6_K_L9.67 GiB10,381,271,9366.781bartowski
Q8_012.13 GiB13,022,372,7368.506bartowski
Q8_012.13 GiB13,022,372,9288.506mradermacher
F1622.82 GiB24,504,279,68016.006bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.63 GiB0.63 GiB40 / 0 / 0
8,1921.25 GiB1.25 GiB40 / 0 / 0
16,3842.50 GiB2.50 GiB40 / 0 / 0
32,7685.00 GiB5.00 GiB40 / 0 / 0
65,53610.00 GiB10.00 GiB40 / 0 / 0
131,07220.00 GiB20.00 GiB40 / 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 6.42 GiB. The real file is 6.96 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
40
Attention heads
32
KV heads
8
Head dim
128
Hidden size
5120
Vocab
131,072
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does magnum-v4-12b need?
Q4_K_M is exactly 7,477,207,936 bytes (6.96 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is magnum-v4-12b's KV cache?
5.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 magnum-v4-12b 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.
magnum-v4-12b — VRAM requirements, exact quant sizes — ossmodeldb