LiquidAI · text

LFM2-1.2B

LiquidAI/LFM2-1.2B

LFM2-1.2B at Q4_K_M is exactly 730,893,024 bytes (0.68 GiB / 0.73 GB) — an effective 4.996 bits per weight, not the nominal 4. Its KV cache at 32K is 1.00 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K_L0.45 GiB483,396,3203.304unsloth
Q2_K0.45 GiB483,396,3203.304unsloth
Q3_K_S0.52 GiB558,156,5123.815unsloth
IQ3_M0.53 GiB573,575,9363.921Mungert
IQ3_S0.53 GiB573,575,9363.921Mungert
Q3_K_M0.56 GiB600,345,3124.104unsloth
Q3_K_S0.58 GiB624,079,6164.266Mungert
Q3_K_M0.60 GiB641,905,4084.388Mungert
Q4_00.62 GiB661,148,4164.519Mungert
IQ4_XS0.62 GiB663,376,6404.535Mungert
Q3_K_L0.63 GiB674,411,2644.610Mungert
Q4_00.65 GiB695,749,3444.756unsloth
Q4_00.65 GiB695,749,5684.756LiquidAI
IQ4_NL0.65 GiB695,751,4244.756Mungert
Q4_K_S0.65 GiB700,467,9364.788unsloth
Q4_K_S0.67 GiB722,096,8964.936Mungert
Q4_K_M0.68 GiB730,893,0244.996unsloth
Q4_K_M0.68 GiB730,893,2484.996LiquidAI
Q4_10.68 GiB734,286,5925.019Mungert
Q4_K_M0.69 GiB739,144,4485.053Mungert
Q4_10.71 GiB760,498,9125.199unsloth
Q4_K_L0.72 GiB771,650,3045.275Mungert
Q5_00.75 GiB807,424,7685.519Mungert
Q5_K_S0.77 GiB825,248,4805.641unsloth
Q5_K_M0.79 GiB843,352,8005.765unsloth
Q5_K_M0.79 GiB843,353,0245.765LiquidAI
Q5_K_S0.79 GiB852,685,5685.829Mungert
Q5_K_M0.80 GiB861,737,7285.891Mungert
Q5_10.82 GiB880,562,9446.019Mungert
Q5_K_L0.83 GiB894,243,5846.113Mungert
Q6_K0.90 GiB962,841,3126.582unsloth
Q6_K0.90 GiB962,841,5366.582LiquidAI
Q6_K_M0.90 GiB962,843,3926.582Mungert
Q6_K_L0.93 GiB995,349,2486.804Mungert
Q8_01.16 GiB1,246,251,7448.519unsloth
Q8_01.16 GiB1,246,251,9688.519LiquidAI
Q8_01.16 GiB1,246,253,5048.519Mungert
F162.18 GiB2,343,324,38416.018unsloth
F162.18 GiB2,343,324,60816.018LiquidAI
BF162.18 GiB2,343,326,14416.018Mungert

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.13 GiB0.13 GiB16 / 0 / 0
8,1920.25 GiB0.25 GiB16 / 0 / 0
16,3840.50 GiB0.50 GiB16 / 0 / 0
32,7681.00 GiB1.00 GiB16 / 0 / 0
65,5362.00 GiB2.00 GiB16 / 0 / 0
131,0724.00 GiB4.00 GiB16 / 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 0.61 GiB. The real file is 0.68 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
16
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-1.2B need?
Q4_K_M is exactly 730,893,024 bytes (0.68 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-1.2B's KV cache?
1.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 LFM2-1.2B 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.