<!-- Markdown mirror of https://getrigbase.com/models/lfm2-24b-a2b/ . Source of truth is the HTML page. Data licence: CC BY 4.0, please cite RigBase (https://getrigbase.com/models/lfm2-24b-a2b/). -->
Source: https://getrigbase.com/models/lfm2-24b-a2b/
Last updated: 2026-11-27

[Models](https://getrigbase.com/models/) / LFM2 24B-A2B

# Best home rig for LFM2 24B-A2B

Quick answer

**How much VRAM does LFM2 24B-A2B need?**
The weights are about 14.7 GB at Q4_K_M (24B params × 4.89 bits ÷ 8, before context/KV cache). Add memory for context (KV cache) and the runtime. The smallest-memory setup with a measured result here, fully in memory, is Apple M2 Max (32 GB) at 91.7 tok/s.

**What is the fastest measured hardware for LFM2 24B-A2B?**
Apple M2 Max: 91.7 tok/s generation (oMLX v0.8.3, affine4 4-bit KV cache, MLX 4-bit (LFM2-24B-A2B-MLX-4bit), 4-bit affine KV cache), from https://omlx.ai/benchmarks/performance/9f3w9xj3.

Last updated: 27 Nov 2026

Legacy model 24B total · 2.3B active 2 measured results fastest plain decode: 91.7 tok/s  [model info ↗](https://huggingface.co/LiquidAI/LFM2-24B-A2B)

**Newer model available: [LFM2.5 24B-A2B](https://getrigbase.com/models/lfm2-5-24b-a2b/)**. LFM2 24B-A2B is a legacy model; its numbers stay here for reference. Liquid AI's model card lists LFM2.5-24B-A2B as the new version. [source ↗](https://huggingface.co/LiquidAI/LFM2-24B-A2B)

Real, measured generation speeds for LFM2 24B-A2B on home hardware, fastest first. Different quants/engines aren't directly comparable.

| Build | Quant | Engine | tok/s | Prompt processing (tok/s) | Cost | Source |
|---|---|---|---|---|---|---|
| [Apple M2 Max 30-core 32GB (oMLX, MLX 4-bit): Liquid AI LFM2 24B-A2B at 91.7 tok/s with 16k context, 80.5 at 32k, in 14 GB](https://getrigbase.com/builds/omlx-m2-max-30c-32gb-lfm2-24b-a2b-mlx-4bit/) | MLX 4-bit (LFM2-24B-A2B-MLX-4bit), 4-bit affine KV cache | oMLX v0.8.3, affine4 4-bit KV cache | **91.7** | 950 @16k · est. TTFT @8k ≈8.6 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/9f3w9xj3) |
| [Apple M2 Max 30-core 32GB (oMLX, MLX 4-bit): Liquid AI LFM2 24B-A2B at 91.7 tok/s with 16k context, 80.5 at 32k, in 14 GB](https://getrigbase.com/builds/omlx-m2-max-30c-32gb-lfm2-24b-a2b-mlx-4bit/) | MLX 4-bit (LFM2-24B-A2B-MLX-4bit), 4-bit affine KV cache | oMLX v0.8.3, affine4 4-bit KV cache | **80.5** | 898 @32k · est. TTFT @8k ≈9.1 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/9f3w9xj3) |

Prompt processing = prefill speed reported by the source, @ prompt length. * est. TTFT @8k is calculated from measured prefill, not measured. [Why it matters](https://getrigbase.com/can-it-run/#prefill).
Ad · this space is available **Sponsor this spot: reach people building local AI rigs.** One clearly-labeled slot per page, no tracking scripts.  [Sponsor this spot →](https://getrigbase.com/advertise/#inquiry)

**Rent before you buy:** try this model on a cloud GPU for a few dollars first: [Runpod](https://runpod.io?ref=77qcpl2c) (referral link; sign up with Google to get the new-user bonus)

## Memory math: how much VRAM / RAM does LFM2 24B-A2B need?

LFM2 24B-A2B has **24B parameters**, about **2.3B active** per token ([source](https://huggingface.co/LiquidAI/LFM2-24B-A2B): Liquid AI model card: 24B total / 2.3B active MoE, 40 layers (30 conv + 10 attention), 32,768-token context, LFM Open License v1.0; the card points to LFM2.5-24B-A2B as the newer version). Weight size = parameters × bits-per-weight ÷ 8, before context (KV cache) and runtime overhead.

| Format | Bits/weight | Weights | Smallest common memory size that holds the weights alone |
|---|---|---|---|
| Q8_0 | 8.50 | 25.5 GB | 32 GB |
| Q6_K | 6.56 | 19.7 GB | 24 GB |
| Q5_K_M | 5.70 | 17.1 GB | 24 GB |
| Q4_K_M | 4.89 | **14.7 GB** | 16 GB |
| Q3_K_M | 4.00 | 12.0 GB | 12 GB |
| Q2_K | 3.16 | 9.5 GB | 12 GB |

Bits-per-weight for GGUF quants are llama.cpp's own figures ([llama.cpp quantize README](https://github.com/ggml-org/llama.cpp/blob/master/tools/quantize/README.md)). "As measured" rows apply the source's stated bits-per-weight to the parameter count; real files differ slightly because some layers stay at higher precision. Try other combinations in the [VRAM calculator](https://getrigbase.com/can-it-run/).

**Why it can still run on smaller GPUs:** it is a mixture-of-experts model, so only about 2.3B of its 24B parameters are used for each generated token. Runtimes such as llama.cpp (--n-cpu-moe), ExLlamaV3 or Project Maya can keep most expert weights in system RAM and only the shared layers and hot experts in VRAM. Then you need **VRAM + system RAM ≥ weights**, and speed is limited mainly by RAM bandwidth.

## FAQ

### How much VRAM does LFM2 24B-A2B need?

The weights are about 14.7 GB at Q4_K_M (24B params × 4.89 bits ÷ 8, before context/KV cache). Add memory for context (KV cache) and the runtime. The smallest-memory setup with a measured result here, fully in memory, is Apple M2 Max (32 GB) at 91.7 tok/s.

### What is the fastest measured hardware for LFM2 24B-A2B?

Apple M2 Max: 91.7 tok/s generation (oMLX v0.8.3, affine4 4-bit KV cache, MLX 4-bit (LFM2-24B-A2B-MLX-4bit), 4-bit affine KV cache), from https://omlx.ai/benchmarks/performance/9f3w9xj3.

Related: [what GPU do you need for 2026 models](https://getrigbase.com/guides/what-gpu-for-qwen3-6-gemma-4-gpt-oss/) · [all builds](https://getrigbase.com/builds/)
