inclusionAI · text · mixture of experts

Ling-mini-2.0

inclusionAI/Ling-mini-2.0

Ling-mini-2.0 at Q4_K_M is exactly 9,911,575,072 bytes (9.23 GiB / 9.91 GB) — an effective 4.878 bits per weight, not the nominal 4. Its KV cache at 32K is 1.25 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
16.3B
total, not active
Architecture
bailingmoe2
20 layers
Context
32,768
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_XS4.34 GiB4,656,006,3362.291bartowski
IQ2_S4.38 GiB4,699,186,3682.313bartowski
IQ2_M4.92 GiB5,282,915,5202.600bartowski
Q2_K5.44 GiB5,844,419,7762.876bartowski
Q2_K5.65 GiB6,065,349,1522.985inclusionAI
Q2_K_L5.74 GiB6,158,787,7763.031bartowski
IQ3_XXS6.10 GiB6,546,539,7123.222bartowski
IQ3_XS6.35 GiB6,823,158,9763.358bartowski
Q3_K_S6.71 GiB7,200,646,3363.544bartowski
IQ3_M7.02 GiB7,539,614,9123.711bartowski
Q3_K_M7.02 GiB7,540,925,6323.711bartowski
Q3_K_L7.28 GiB7,821,288,6403.849bartowski
IQ4_XS8.20 GiB8,803,304,6404.332bartowski
IQ4_NL8.66 GiB9,296,430,2724.575bartowski
Q4_08.79 GiB9,437,594,8164.645bartowski
Q4_K_S8.94 GiB9,599,730,8804.724bartowski
Q4_K_M9.23 GiB9,911,575,0724.878inclusionAI
Q4_K_M9.26 GiB9,941,894,3364.893bartowski
Q4_K_L9.48 GiB10,180,814,0165.010bartowski
Q4_19.57 GiB10,277,438,6565.058bartowski
Q5_K_S10.50 GiB11,273,110,7205.548bartowski
Q5_K_M10.82 GiB11,619,697,8565.718bartowski
Q5_K_L11.01 GiB11,818,378,4325.816bartowski
Q6_K12.45 GiB13,373,178,4006.581inclusionAI
Q6_K12.47 GiB13,387,654,3366.589bartowski
Q6_K_L12.61 GiB13,543,580,8646.665bartowski
Q8_016.12 GiB17,307,656,7368.518inclusionAI
Q8_016.12 GiB17,307,657,4088.518bartowski
BF1630.30 GiB32,537,895,45616.013inclusionAI
BF1630.30 GiB32,537,895,84016.013bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.16 GiB0.16 GiB20 / 0 / 0
8,1920.31 GiB0.31 GiB20 / 0 / 0
16,3840.63 GiB0.63 GiB20 / 0 / 0
32,7681.25 GiB1.25 GiB20 / 0 / 0
65,5362.50 GiB2.50 GiB20 / 0 / 0
131,0725.00 GiB5.00 GiB20 / 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 8.52 GiB. The real file is 9.23 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
20
Attention heads
16
KV heads
4
Head dim
128
Hidden size
2048
Vocab
157,184
Sliding window
none
SWA period
MLA
no
Experts
256
Experts per token
8
use_sliding_window

Questions people ask

How much VRAM does Ling-mini-2.0 need?
Q4_K_M is exactly 9,911,575,072 bytes (9.23 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Ling-mini-2.0's KV cache?
1.25 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.
Is Ling-mini-2.0 a mixture-of-experts model?
Yes — 256 experts, 8 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of Ling-mini-2.0 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.