LiquidAI · text

LFM2-700M

LiquidAI/LFM2-700M

LFM2-700M at Q4_K_M is exactly 468,624,096 bytes (0.44 GiB / 0.47 GB) — an effective 5.049 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
742M
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.29 GiB315,085,5363.395unsloth
Q2_K0.29 GiB315,085,5363.395unsloth
Q3_K_S0.34 GiB361,091,8083.891unsloth
Q3_K_M0.36 GiB387,683,0404.177unsloth
Q4_00.42 GiB446,321,3764.809unsloth
Q4_00.42 GiB446,321,6004.809LiquidAI
Q4_K_S0.42 GiB449,368,8004.842unsloth
Q4_K_M0.44 GiB468,624,0965.049unsloth
Q4_K_M0.44 GiB468,624,3205.049LiquidAI
Q4_10.45 GiB486,429,4085.241unsloth
Q5_K_S0.49 GiB526,537,4405.673unsloth
Q5_K_M0.50 GiB538,026,7205.797unsloth
Q5_K_M0.50 GiB538,026,9445.797LiquidAI
Q6_K0.57 GiB611,767,0086.591unsloth
Q6_K0.57 GiB611,767,2326.591LiquidAI
Q8_00.74 GiB791,565,0248.529unsloth
Q8_00.74 GiB791,565,2488.529LiquidAI
F161.39 GiB1,487,557,34416.028unsloth
F161.39 GiB1,487,557,56816.028LiquidAI

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

Architecture

from config.json
Layers
16
Attention heads
24
KV heads
8
Head dim
64
Hidden size
1536
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-700M need?
Q4_K_M is exactly 468,624,096 bytes (0.44 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-700M'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-700M 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.