Testing LFM 2.5 in Local AI Agent Workflows: Speed, Templates, and Trade-offs

Running local LLMs for agentic tasks often feels like balancing a scale: you want the reasoning depth of a massive model, but you need the blistering token-per-second (tps) throughput required for recursive loops, tool-calling, and multi-step agent environments. When Liquid AI released the LFM 2.5 24B-A2B model, practitioners jumped in to see how it performs as a lightweight utility model running alongside heavy hitters.

Community testing reveals a nuanced picture. While the raw speed and hardware footprint make it an attractive drop-in replacement, users running local MLOps stacks have also run into classic launch hurdles, ranging from chat template bugs to specific trade-offs in reasoning, writing style, and tool usage.


The Hardware and Performance Profile

For local setups, hardware efficiency dictates everything. Community members testing the LFM 2.5 24B-A2B model via llama.cpp using ROCm on high-end hardware (such as an AMD W7900 or Strix Halo configurations) report impressive metrics:

  • Throughput: Users logged sustained speeds ranging from ~65 tps up to 95+ tps depending on quantization (such as Q4 or Q8 quants with Q8 KV cache).
  • VRAM Footprint: A Q8 quantization sits comfortably at around 30GB VRAM, supporting its full 128k context window, while smaller quants comfortably fit within 16GB GPUs.

Compared to larger Mixture-of-Experts (MoE) classes or workhorse models like Ornith 1.5-35B, the primary advantage of LFM 2.5 is its raw speed. For repetitive, recursive mechanical tasks, waiting significantly less time per generation changes the cadence of local agent development.


The Chat Template Trap

No local model launch seems complete without a day-one friction point, and LFM 2.5 was no exception. Early testers immediately noticed that tool calls were failing consistently, causing some users to momentarily dismiss the model.

As community debugging pointed out, the initial release suffered from an erroneous chat template. Once fixed (with community patches surfacing on Hugging Face (such as fixes for Unsloth quants)), tool calling began functioning correctly in frameworks like Pi Agent and Hermes Agent.

This recurring pattern highlights an ongoing frustration in local MLOps: benchmarks often bypass the public chat template entirely, leaving users to deal with discrepancies between internal model capabilities and public release usability during the first critical weeks. Note for implementers: Always verify that you are using an updated chat template post-launch rather than relying strictly on day-one defaults.


Where It Excels: Mechanical Tasks, Coding, and Logic

In multi-model orchestration setups (such as an “AI-Council” pattern using an orchestrator like Deepseek Flash alongside council members like Qwen 27B and Ornith 35B), swapping in LFM 2.5 yields solid results for specific jobs:

  • Logic and Code: Initial tests on Prolog and limited Python tasks show dependable performance. However, community consensus suggests viewing it as a “utility model” rather than a top-tier software engineering replacement. It excels at writing localized adapters on the fly or acting as a code implementer alongside a larger reasoning model.
  • Presentation Style: When analyzing data (such as parsing through local Obsidian vaults or journal entries), users note that LFM 2.5 leans toward a direct, bullet-point presentation style rather than the more natural, prose-heavy generation style found in models like Gemma.

While some developers found it slightly less reliable than alternatives like Qwen or Ornith for deep science-coding domains, its raw speed makes it a strong contender for simpler daily agentic workflows, such as summarizing open pull requests, daily briefings, and automated categorization.


Key Takeaways

  • Blazing Fast Throughput: LFM 2.5 delivers high tokens-per-second (65-95+ tps) under llama.cpp and ROCm, making it ideal for recursive, multi-step agent loops.
  • Watch the Templates: Initial tool-call failures were tied to chat template bugs at launch; ensure you pull updated templates from Hugging Face before writing off its tool-use capabilities.
  • Utility vs. Deep Reasoning: It functions exceptionally well as a fast, mechanical workhorse or secondary council member, but may lag behind larger models in creative writing and advanced world knowledge.
  • Hardware Flexibility: With efficient quantization options scaling from Q4 to Q8, it comfortably fits within modern local setups ranging from 16GB VRAM cards up to high-end workstation rigs.

Original post:
https://www.reddit.com/r/LocalLLaMA/comments/1x68qma/very_impressed_with_lfm2524a2b_in_pi_agent/


Get the next one in your inbox

Enjoyed this? I write about local AI, self-hosting, and cloud cost ninjutsu. Join the Ninja Dispatch for occasional, high-signal notes. No fluff.