How much VRAM does LFM2.5 24B-A2B need?
In BF16 the weights alone take 44.7 GiB (48 GB). In FP8 that is 22.6 GiB, and about 13.5 GiB with 4-bit quantization (Q4_K_M). Each request then adds KV cache: 0.16 GiB at 8K tokens and 0.63 GiB at 32K (BF16 cache).
Can LFM2.5 24B-A2B run on an 8 GB, 12 GB or 16 GB graphics card?
With a 32K context and llama.cpp: 8 GB (RTX 4060): only with part of the model in system RAM, about 22 tokens/s in Q8_0; 12 GB (RTX 3060): only with part of the model in system RAM, about 26 tokens/s in Q8_0; 16 GB (RTX 4060 Ti): yes, in Q3_K_M, about 78 tokens/s. Counted with 32 GB of system RAM. A shorter context needs less memory.
How fast is LFM2.5 24B-A2B on an RTX 4090 or an RTX 5090?
About 150 tokens/s on an RTX 4090 in Q6_K. About 216 tokens/s on an RTX 5090 in Q8_0. These are estimates for one request at a 32K context; against 23 published llama.cpp measurements on consumer and workstation GPUs, our estimates are 12% off at the median.
Can LFM2.5 24B-A2B run without a graphics card?
Yes, slowly: about 20 tokens/s in Q4_K_M on a processor with 32 GB of dual-channel DDR5 RAM (llama.cpp, 32K context).
Can LFM2.5 24B-A2B run a coding agent on an RTX 4090 or an RTX 5090?
On an RTX 4090: yes, in Q6_K with a 64K context, about 133 tokens/s. One step (2,000 new tokens read, 300 written) takes about 2.5 s; reading the whole context again takes about 7.7 s. On an RTX 5090: yes, in Q8_0 with a 64K context, about 196 tokens/s. One step (2,000 new tokens read, 300 written) takes about 1.8 s; reading the whole context again takes about 7.6 s. Coding agents need at least 64K of context (Ollama's guidance); the step sizes are an example. LFM2.5 24B-A2B's chat template supports tool calling, which most agents rely on.
Can LFM2.5 24B-A2B run on a single RTX 4090 (24 GB)?
Yes. In Q4_K_M it fits on one RTX 4090 with an 8K-token context (13.7 GiB including the cache, with llama.cpp).
Can LFM2.5 24B-A2B run on an RTX 5090 (32 GB)?
Yes. In Q8_0 (22.7 GiB with an 8K-token context) it fits on one RTX 5090, with llama.cpp.
Can LFM2.5 24B-A2B run on a Mac?
Yes. In 4-bit (Q4_K_M with llama.cpp) it needs a Mac with 24 GB of unified memory or more, of which macOS gives the GPU about 18 GB, for one request with an 8K-token context. In 8-bit (Q8_0) it needs 32 GB or more.
Can LFM2.5 24B-A2B run on a DGX Spark or a Ryzen AI Max+ 395 (128 GB)?
Yes. In BF16 (44.8 GiB with an 8K-token context) it fits on a DGX Spark (128 GB) and on a Ryzen AI Max+ 395 with 128 GB, whose GPU gets up to 96 GB, with llama.cpp and one request.
What is the cheapest way to run LFM2.5 24B-A2B?
On 2026-11-30, the cheapest on-demand setup is 1 × RTX A4000 (16 GB) with Q4_K_M weights on Vast.ai, at $0.072 per hour (about $52.56 per month). Next: 1 × GeForce RTX 4090 (24 GB) with Q4_K_M weights on Vast.ai, at $0.100 per hour. Sized for one 8K-token request; prices are checked every hour.
How many H100 GPUs does LFM2.5 24B-A2B need?
With one request and an 8K-token context: 1 in BF16, 1 in FP8 and 1 in 4-bit (vLLM, 90% of memory usable). Serving many users at once needs more memory for their KV caches: the calculator sizes that for you.
Does LFM2.5 24B-A2B support tool calling?
Yes, LFM2.5 24B-A2B supports tool (function) calling: it can ask your application to run a function and use the result.
Does LFM2.5 24B-A2B have a thinking mode?
Thinking mode you can switch on or off. With vLLM or SGLang, set it per request with "chat_template_kwargs": {"thinking": false} (or true). Reasoning tokens count toward the context and the KV cache.
What temperature should I use with LFM2.5 24B-A2B?
The official defaults are temperature 0.1, top-k 50, repetition penalty 1.05.