LiquidAI · text

LFM2-2.6B-Exp

LiquidAI/LFM2-2.6B-Exp

LFM2-2.6B-Exp at Q4_K_M is exactly 1,563,669,120 bytes (1.46 GiB / 1.56 GB) — an effective 4.869 bits per weight, not the nominal 4. Its KV cache at 32K is 0.50 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
2.6B
Architecture
lfm2
30 layers
Context
128,000
native (config.json)
License
other

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M0.88 GiB945,091,1682.943bartowski
Q2_K0.92 GiB983,806,5923.063unsloth
Q2_K_L0.92 GiB983,806,5923.063unsloth
Q2_K0.96 GiB1,027,846,7523.200bartowski
IQ3_XXS1.01 GiB1,084,404,3203.377bartowski
Q2_K_L1.08 GiB1,158,918,7523.609bartowski
Q3_K_S1.08 GiB1,159,737,9843.611unsloth
IQ3_XS1.09 GiB1,167,962,7203.637bartowski
Q3_K_S1.13 GiB1,217,409,6323.791bartowski
IQ3_M1.15 GiB1,231,753,8243.835bartowski
Q3_K_M1.17 GiB1,256,059,5203.911unsloth
Q3_K_M1.22 GiB1,313,731,1684.091bartowski
Q3_K_L1.30 GiB1,398,534,7524.355bartowski
IQ4_XS1.38 GiB1,478,324,8324.603bartowski
Q4_01.38 GiB1,483,108,9924.618unsloth
Q4_K_S1.39 GiB1,491,890,8164.645unsloth
Q4_01.45 GiB1,558,606,1764.853LiquidAI
IQ4_NL1.45 GiB1,558,606,4324.853bartowski
Q4_01.46 GiB1,562,735,2004.866bartowski
Q4_K_M1.46 GiB1,563,669,1204.869unsloth
Q4_K_S1.46 GiB1,567,388,2564.880bartowski
Q4_11.52 GiB1,635,283,5845.092unsloth
Q4_K_M1.53 GiB1,639,166,3045.104LiquidAI
Q4_K_M1.53 GiB1,639,166,5605.104bartowski
Q4_11.60 GiB1,719,169,6325.353bartowski
Q4_K_L1.62 GiB1,738,781,2805.414bartowski
Q5_K_S1.66 GiB1,787,458,1765.566unsloth
Q5_K_M1.70 GiB1,828,958,8485.695unsloth
Q5_K_S1.75 GiB1,879,732,8325.853bartowski
Q5_K_M1.79 GiB1,921,233,2485.982LiquidAI
Q5_K_M1.79 GiB1,921,233,5045.982bartowski
Q5_K_L1.87 GiB2,004,071,0086.240bartowski
Q6_K1.97 GiB2,110,829,1846.572unsloth
Q6_K2.07 GiB2,220,929,3766.915LiquidAI
Q6_K2.07 GiB2,220,929,6326.915bartowski
Q6_K_L2.13 GiB2,285,941,3447.118bartowski
Q8_02.55 GiB2,733,011,5848.510unsloth
Q8_02.68 GiB2,875,617,6328.954LiquidAI
Q8_02.68 GiB2,875,617,8888.954bartowski
BF164.79 GiB5,141,459,58416.009unsloth

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.06 GiB0.23 GiB3.75×8 / 0 / 22
8,1920.13 GiB0.47 GiB3.75×8 / 0 / 22
16,3840.25 GiB0.94 GiB3.75×8 / 0 / 22
32,7680.50 GiB1.88 GiB3.75×8 / 0 / 22
65,5361.00 GiB3.75 GiB3.75×8 / 0 / 22
131,0722.00 GiB7.50 GiB3.75×8 / 0 / 22

22 of 30 layers use linear attention, which keeps a fixed-size recurrent state instead of a per-token cache. Those layers do not grow with context at all — treating them as ordinary attention, as a flat formula does, overstates this model's cache by roughly 3.8× at long context.

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 1.35 GiB. The real file is 1.46 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
30
Attention heads
32
KV heads
8
Head dim
64
Hidden size
2048
Vocab
65,536
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does LFM2-2.6B-Exp need?
Q4_K_M is exactly 1,563,669,120 bytes (1.46 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is LFM2-2.6B-Exp's KV cache?
0.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 LFM2-2.6B-Exp 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.