LF

LFM2 24B A2B

LfmGGUF by bartowskiUpdated 2026-02-26
Download on Hugging Face
Parameters23.8B
Context125K
Layers40
Architecturelfm2moe
Smallest quant0.1 GB
Quick answer

LFM2 24B A2B needs about 17.6 GB of memory at Q4_K_M (a 14.4 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 28 quants, from 0.1 GB to 47.7 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 10.7 GB.

LFM2 24B A2B – 24B MoE model with 2B active parameters per token

LFM2 24B A2B is a 24B parameter hybrid model with only 2B active parameters per token. It supports English, Arabic, Chinese, French, German, Japanese, Korean, Spanish, and Portuguese. The model is designed for on‑device inference with efficient memory usage.

Good at

  • Fast edge inference on consumer hardware
  • Efficient function calling and tool use
  • Privacy‑preserving local RAG pipelines

Limits

  • Requires 32 GB RAM for full model
  • No vision support
  • License is other, not open source

Best for

  • Agentic tool use on local machines
  • Offline document summarization and Q&A
  • Privacy‑preserving customer support

Who it’s for. Developers building local LLM applications that need a large model with low active parameter count. Ideal for on‑device inference on laptops and desktops with sufficient RAM.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—0.1 GB 3.2 GB
Fits Get file →
IQ2_XXS5.7 GB 8.9 GB
Too big Get file →
IQ2_XS6.6 GB 9.8 GB
Too big Get file →
IQ2_S6.9 GB 10.1 GB
Too big Get file →
IQ2_M7.7 GB 10.9 GB
Too big Get file →
Q2_K8.3 GB 11.5 GB
Too big Get file →
Q2_K_L8.4 GB 11.5 GB
Too big Get file →
IQ3_XXS9.4 GB 12.6 GB
Too big Get file →
IQ3_XS9.8 GB 13.0 GB
Too big Get file →
Q3_K_S10.3 GB 13.5 GB
Too big Get file →
IQ3_M10.8 GB 14.0 GB
Too big Get file →
Q3_K_M10.8 GB 14.0 GB
Too big Get file →
Q3_K_L11.3 GB 14.5 GB
Too big Get file →
Q3_K_XL11.3 GB 14.5 GB
Too big Get file →
IQ4_XS12.7 GB 15.9 GB
Too big Get file →
IQ4_NL13.5 GB 16.7 GB
Too big Get file →
Q4_013.7 GB 16.9 GB
Too big Get file →
Q4_K_S13.9 GB 17.1 GB
Too big Get file →
Q4_K_M14.4 GB 17.6 GB
Too big Get file →
Q4_K_L14.5 GB 17.7 GB
Too big Get file →
Q4_115.0 GB 18.1 GB
Too big Get file →
Q5_K_S16.4 GB 19.6 GB
Too big Get file →
Q5_K_M16.9 GB 20.1 GB
Too big Get file →
Q5_K_L17.0 GB 20.1 GB
Too big Get file →
Q6_K19.6 GB 22.8 GB
Too big Get file →
Q6_K_L19.6 GB 22.8 GB
Too big Get file →
Q8_025.4 GB 28.5 GB
Too big Get file →
BF1647.7 GB 50.9 GB
Too big Get file →

For 8 GB VRAM, use IQ2_XXS (file size 5.75 GB, memory 8.9 GB at 8k context). For 16 GB VRAM, IQ4_NL (13.49 GB, 16.7 GB). For 32 GB VRAM, Q4_K_L (14.47 GB, 17.7 GB). Estimates are approximate.

What GPU do you need for LFM2 24B A2B?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 3.2 GB in use).
  • 6 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 3.2 GB in use).
  • 8 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 3.2 GB in use).
  • 12 GB VRAM: the best quant that fits is Q2_K_L (8.4 GB file, about 11.5 GB in use).
  • 16 GB VRAM: the best quant that fits is IQ4_XS (12.7 GB file, about 15.9 GB in use).
  • 24 GB VRAM: the best quant that fits is Q6_K_L (19.6 GB file, about 22.8 GB in use).
  • 32 GB VRAM: the best quant that fits is Q8_0 (25.4 GB file, about 28.5 GB in use).
  • 48 GB VRAM: the best quant that fits is Q8_0 (25.4 GB file, about 28.5 GB in use).

Which LFM2 24B A2B quant should you choose?

Q4_K_M is the usual starting point for LFM2 24B A2B: it balances file size and quality well. Here it is a 14.4 GB file.

The Q8_0 file is 25.4 GB, about 1.8 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is the first one in the table at 0.1 GB, with the quality trade-offs that come with fewer bits.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturelfm2moe
Parameters23.8B (approximate, mixture of experts)
Active parameters2B
Layers40
Trained context128,000 tokens
KV cache (fp16)320 KB per token

Source

Quantized bybartowski
FamilyLfm
Licenseother
Downloads (HF)3,236
Last updated2026-02-26

Frequently asked questions about LFM2 24B A2B

How much VRAM does LFM2 24B A2B need?

About 17.6 GB at Q4_K_M with an 8K context window. That is the 14.4 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run LFM2 24B A2B on an 8 GB GPU?

Yes, with the smaller files: the 0.1 GB file needs about 3.2 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of LFM2 24B A2B GGUF?

It depends on the quant: file is 0.1 GB, IQ2_XXS is 5.7 GB, IQ2_XS is 6.6 GB, IQ2_S is 6.9 GB, IQ2_M is 7.7 GB, Q2_K is 8.3 GB and 22 more.

What context length does LFM2 24B A2B support?

The GGUF header lists a trained context length of 128,000 tokens (125K). The KV cache grows with the context you use: about 2.7 GB at 8K and 10.7 GB at 32K.

Where can I download LFM2 24B A2B GGUF?

The files are on Hugging Face in the bartowski/LiquidAI_LFM2-24B-A2B-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does LFM2 24B A2B use?

Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run LFM2 24B A2B on 8 GB VRAM?

Use the IQ2_XXS quant, which requires about 8.9 GB of memory at 8k context.

Does the model support vision tasks?

No, the model does not support vision capabilities.

What languages can the model understand?

English, Arabic, Chinese, French, German, Japanese, Korean, Spanish, and Portuguese.

Other GGUFs of LFM2-24B-A2B

Similar models

Browse all →

More from bartowski

All by bartowski →

More Lfm models

All Lfm →

Other medium models

All medium models →