LiquidAI · text

LFM2.5-230M

LiquidAI/LFM2.5-230M

LFM2.5-230M at Q4_K_M is exactly 153,406,048 bytes (0.14 GiB / 0.15 GB) — an effective 5.343 bits per weight, not the nominal 4. Its KV cache at 32K is 0.38 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
UD-IQ2_M0.10 GiB105,458,8803.673unsloth
UD-IQ3_XXS0.11 GiB112,884,9283.932unsloth
Q3_K_S0.12 GiB127,495,3604.441unsloth
Q3_K_M0.12 GiB133,754,0484.659132unsloth
IQ4_XS0.13 GiB144,002,2405.016132unsloth
Q4_00.14 GiB149,080,9285.192LiquidAI
IQ4_NL0.14 GiB149,081,2805.192unsloth
Q4_00.14 GiB149,245,1205.198132unsloth
Q4_K_S0.14 GiB149,671,1045.213unsloth
Q4_K_M0.14 GiB153,406,0485.343lazos
Q4_K_M0.14 GiB153,406,3045.343LiquidAI
Q4_K_M0.14 GiB153,406,6565.343132unsloth
Q4_10.15 GiB159,239,3605.546unsloth
Q5_K_S0.16 GiB169,397,4405.900unsloth
Q5_K_M0.16 GiB171,625,3125.978LiquidAI
Q5_K_M0.16 GiB171,625,6645.978132unsloth
Q6_K0.18 GiB190,982,7526.652lazos
Q6_K0.18 GiB190,983,0086.652LiquidAI
Q6_K0.18 GiB190,983,3606.652132unsloth
Q8_00.23 GiB246,598,2408.589lazos
Q8_00.23 GiB246,598,4968.589LiquidAI
Q8_00.23 GiB246,598,8488.589132unsloth
BF160.43 GiB461,884,25616.087LiquidAI
F160.43 GiB461,884,25616.087LiquidAI
BF160.43 GiB461,884,38416.087unsloth

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.05 GiB0.11 GiB2.33×6 / 0 / 8
8,1920.09 GiB0.22 GiB2.33×6 / 0 / 8
16,3840.19 GiB0.44 GiB2.33×6 / 0 / 8
32,7680.38 GiB0.88 GiB2.33×6 / 0 / 8
65,5360.75 GiB1.75 GiB2.33×6 / 0 / 8
131,0721.50 GiB3.50 GiB2.33×6 / 0 / 8

8 of 14 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 2.3× 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 0.12 GiB. The real file is 0.14 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
14
Attention heads
16
KV heads
8
Head dim
64
Hidden size
1024
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.5-230M need?
Q4_K_M is exactly 153,406,048 bytes (0.14 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.5-230M's KV cache?
0.38 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.5-230M 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.