LFM2.5 24B-A2B: VRAM requirements & speed
LFM2.5 24B-A2B (23.97B MoE, 2.45B active, lfm1.0). Native context 128k. Smallest GGUF: 14.53 GB.
Memory needed by quantization and context
GGUF file size plus f16 KV cache (and fixed overhead of ~1 GB per GPU not shown). Source: LiquidAI/LFM2.5-24B-A2B-GGUF.
| Quant | File | +8k ctx | +32k ctx | +128k ctx |
|---|---|---|---|---|
| Q4_K_M | 14.53 GB | 14.7 GB | 15.2 GB | 17.2 GB |
| Q5_K_M | 17.03 GB | 17.2 GB | 17.7 GB | 19.7 GB |
| Q6_K | 19.69 GB | 19.9 GB | 20.4 GB | 22.4 GB |
| Q8_0 | 25.49 GB | 25.7 GB | 26.2 GB | 28.2 GB |
KV cache size by context length
Computed from the model's attention layout.
| Context | f16 | q8_0 | q4_0 |
|---|---|---|---|
| 8k | 0.17 GB | 0.09 GB | 0.05 GB |
| 32k | 0.67 GB | 0.36 GB | 0.19 GB |
| 128k | 2.69 GB | 1.43 GB | 0.76 GB |
Which hardware runs LFM2.5 24B-A2B? · 16k context
| Hardware | Quant | Fit | Memory | Tok/s | Speed source |
|---|---|---|---|---|---|
| RTX 5090 32GB | Q8_0 | fits fully | 25.8 GB | 343 | scaled from measured |
| RTX 5070 Ti 16GB | Q4_K_M | fits fully | 14.9 GB | 266 | scaled from measured |
| RTX 4090 24GB | Q6_K | fits fully | 20.0 GB | 265 | scaled from measured |
| RTX 5080 16GB | Q4_K_M | fits fully | 14.9 GB | 263 | scaled from measured |
| AMD RX 7900 XTX 24GB | Q6_K | fits fully | 20.0 GB | 228 | estimated |
| Mac Studio M5 Ultra 256GB | Q8_0 | fits fully | 25.8 GB | 225 | estimated |
| Mac Studio M5 Ultra 512GB (ships late Oct 2026) | Q8_0 | fits fully | 25.8 GB | 225 | estimated |
| RTX PRO 6000 96GB | Q8_0 | fits fully | 25.8 GB | 220 | scaled from measured |
| RTX 3090 24GB | Q6_K | fits fully | 20.0 GB | 206 | scaled from measured |
| 2x RTX 3090 (48GB total) | Q8_0 | fits fully | 25.8 GB | 194 | estimated |
| RTX 5060 Ti 16GB | Q4_K_M | fits fully | 14.9 GB | 180 | scaled from measured |
| 16GB VRAM class (RTX 4060 Ti 16GB, 32GB RAM) | Q4_K_M | fits fully | 14.9 GB | 140 | scaled from measured |
| MacBook Pro 14/16 (2024) M4 Max 128GB | Q8_0 | fits fully | 25.8 GB | 124 | scaled from measured |
| RTX 5070 12GB | Q4_K_M | MoE offload to CPU | 14.9 GB | 105 | estimated |
| RTX 4070 12GB | Q4_K_M | MoE offload to CPU | 14.9 GB | 100 | estimated |
| Mac Studio (2025) M3 Ultra 96GB | Q8_0 | fits fully | 25.8 GB | 92 | scaled from measured |
| Mac Studio M5 Max 128GB | Q8_0 | fits fully | 25.8 GB | 87 | scaled from measured |
| MacBook Pro 14/16 M5 Max 128GB | Q8_0 | fits fully | 25.8 GB | 87 | scaled from measured |
| AMD Ryzen AI Max+ PRO 495 (Ryzen AI Halo) 192GB | Q8_0 | fits fully | 25.8 GB | 66 | estimated |
| NVIDIA DGX Spark 128GB | Q8_0 | fits fully | 25.8 GB | 66 | scaled from measured |
| MacBook Pro 14/16 M5 Pro 48GB | Q8_0 | fits fully | 25.8 GB | 65 | estimated |
| RTX 3060 12GB (32GB RAM) | Q4_K_M | MoE offload to CPU | 14.9 GB | 60 | estimated |
| 8GB VRAM class (RTX 4060 8GB, 32GB RAM) | Q4_K_M | MoE offload to CPU | 14.9 GB | 55 | estimated |
| AMD Ryzen AI Max+ 395 (Strix Halo) 128GB | Q8_0 | fits fully | 25.8 GB | 54 | scaled from measured |
| Mac mini (2024) M4 Pro 64GB | Q8_0 | fits fully | 25.8 GB | 48 | estimated |
| Mac mini M6 32GB | Q6_K | fits fully | 20.0 GB | 41 | estimated |
| MacBook Air M5 32GB | Q6_K | fits fully | 20.0 GB | 39 | estimated |
| Mac mini / iMac M4 16GB | - | does not fit | - | - |
Discrete GPUs are modelled with 32 GB of system RAM available for offload. Does not fit even with offload: Mac mini / iMac M4 16GB.
MLX conversions for Apple Silicon
No MLX conversion yet: we found no verified mlx-community 4-bit or 8-bit repo for LFM2.5 24B-A2B. Use the GGUF files with llama.cpp or ollama on a Mac. How we check.
Links
Model card · GGUF files · Open in the advisor · last verified 2026-10-20
FAQ
How much VRAM does LFM2.5 24B-A2B need?
The smallest quant (Q4_K_M) is 14.53 GB, so you need roughly 16 GB for an 8k context including KV cache and overhead. At 128k context the f16 KV cache alone is 2.7 GB.
Can I run LFM2.5 24B-A2B on a RTX 5090 32GB?
Yes: on RTX 5090 32GB it fits fully as Q8_0 at about 343 tok/s (scaled from measured). 23 of 28 hardware configurations fit it fully at 16k context.
What is the maximum context for LFM2.5 24B-A2B?
128k tokens natively. Memory, not the model, is usually the limit: see the KV cache table above.
All models: model index · by memory: 8 GB · 12 GB · 16 GB · 24 GB · 32 GB · 48 GB · 64 GB · 96 GB · 128 GB · 192 GB · 256 GB · 512 GB. Numbers use the same fit math as the advisor; sources and methods.