gustajunq · text

Lumen-4B-Instruct

gustajunq/Lumen-4B-Instruct

Lumen-4B-Instruct at Q4_K_M is exactly 2,497,279,520 bytes (2.33 GiB / 2.50 GB) — an effective 4.967 bits per weight, not the nominal 4. Its KV cache at 32K is 4.50 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S0.98 GiB1,055,254,8162.099mradermacher
I1-IQ1_M1.05 GiB1,127,016,7362.241mradermacher
I1-IQ2_XXS1.16 GiB1,246,619,9362.479mradermacher
I1-IQ2_XS1.26 GiB1,354,098,9762.693mradermacher
I1-IQ2_S1.32 GiB1,417,300,2562.819mradermacher
I1-IQ2_M1.41 GiB1,512,982,8163.009mradermacher
I1-Q2_K_S1.46 GiB1,563,453,2163.109mradermacher
Q2_K1.55 GiB1,669,498,4003.320mradermacher
I1-Q2_K1.55 GiB1,669,498,6563.320mradermacher
I1-IQ3_XXS1.56 GiB1,670,187,2963.322mradermacher
I1-IQ3_XS1.69 GiB1,814,374,1763.608mradermacher
Q3_K_S1.76 GiB1,886,996,0003.753mradermacher
I1-Q3_K_S1.76 GiB1,886,996,2563.753mradermacher
I1-IQ3_S1.77 GiB1,899,530,0163.778mradermacher
I1-IQ3_M1.83 GiB1,962,895,1363.904mradermacher
Q3_K_M1.93 GiB2,075,616,8004.128mradermacher
I1-Q3_K_M1.93 GiB2,075,617,0564.128mradermacher
Q3_K_L2.09 GiB2,239,784,4804.455mradermacher
I1-Q3_K_L2.09 GiB2,239,784,7364.455mradermacher
I1-IQ4_XS2.11 GiB2,270,750,4964.516mradermacher
IQ4_XS2.13 GiB2,286,315,0404.547mradermacher
I1-Q4_02.21 GiB2,375,771,9364.725mradermacher
I1-IQ4_NL2.22 GiB2,381,342,4964.736mradermacher
Q4_K_S2.22 GiB2,383,308,3204.740mradermacher
I1-Q4_K_S2.22 GiB2,383,308,5764.740mradermacher
Q4_K_M2.33 GiB2,497,279,5204.967mradermacher
I1-Q4_K_M2.33 GiB2,497,279,7764.967mradermacher
I1-Q4_12.42 GiB2,596,628,2565.164mradermacher
Q5_K_S2.63 GiB2,823,710,2405.616mradermacher
I1-Q5_K_S2.63 GiB2,823,710,4965.616mradermacher
Q5_K_M2.69 GiB2,889,512,4805.747mradermacher
I1-Q5_K_M2.69 GiB2,889,512,7365.747mradermacher
Q6_K3.08 GiB3,306,260,0006.576mradermacher
I1-Q6_K3.08 GiB3,306,260,2566.576mradermacher
Q8_03.99 GiB4,280,404,0008.513mradermacher
F167.50 GiB8,051,284,00016.013mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.56 GiB0.56 GiB36 / 0 / 0
8,1921.13 GiB1.13 GiB36 / 0 / 0
16,3842.25 GiB2.25 GiB36 / 0 / 0
32,7684.50 GiB4.50 GiB36 / 0 / 0
65,5369.00 GiB9.00 GiB36 / 0 / 0
131,07218.00 GiB18.00 GiB36 / 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 2.11 GiB. The real file is 2.33 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
36
Attention heads
32
KV heads
8
Head dim
128
Hidden size
2560
Vocab
151,936
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

Questions people ask

How much VRAM does Lumen-4B-Instruct need?
Q4_K_M is exactly 2,497,279,520 bytes (2.33 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Lumen-4B-Instruct's KV cache?
4.50 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 Lumen-4B-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.