AI Engineering
Before Adopting LFM2.5 Locally: Five Agent Checks Beyond Token Speed
Evaluate LFM2.5-24B-A2B as a complete local agent: structured tool calls, error recovery, memory, Korean fixtures, and time to a verified result.
A fast model and an agent that finishes work are different decisions
Liquid AI released LFM2.5-24B-A2B on October 13, 2026. Its team announcement, by Raahul Vignesh and coauthors, emphasizes local speed and tool use. Even its own evaluation shows a higher LiveClaw score but a lower SWE-Bench Verified score than Qwen3.6-35B-A3B. One score cannot establish superiority across coding and automation workloads. Source: LFM2.5-24B-A2B — Liquid AI announcement
This is an evaluation plan, not an installation review or performance benchmark. We have not run the model or reproduced the reported measurements. Our recommendation is to validate the complete path: model, response parser, agent harness, tool execution, and verified result.
1. Separate throughput claims by their conditions
The model card's 184 tok/s is a vendor measurement on Apple M5 Max with llama.cpp Q4_K_M and 4K input context. Roughly 21K output tok/s on one B300 refers to aggregate high-concurrency throughput, not one agent's response speed. These are not our measurements. Check the model card for conditions and updates: LFM2.5-24B-A2B — model card
Freeze the checkpoint revision, quantization file and hash, inference-engine version, chat template, harness version, context setting, and hardware. Record output-token and retry limits too. The same model name does not make two configurations an equivalent experiment.
Define completion before timing anything: from the user's request to a final answer grounded in a correct tool result. Fast first tokens do not compensate for several invalid calls. Measure the work the user needs, not just the component that happens to have a large headline number.
2. Distinguish tool-shaped prose from executable tool calls
On October 14, leon-strong opened llama.cpp issue #30490, reporting occasional XML-shaped content with empty structured tool_calls after repeated tool-schema errors. Most normal calls and a minimal probe worked for the reporter. As checked on October 18, Korea time, this is an open, configuration-specific report. We have not reproduced it; it does not establish failure across all deployments: llama.cpp — tool-call issue #30490
The useful lesson is to test beyond the first successful call. Inspect the server's structured call list, allowed function name, argument types, required fields, and call ID. Seeing a function name in the transcript is not proof of execution. JSON-shaped text is not proof of schema validity either.
Avoid rescuing arbitrary response prose with a regular expression and executing it. That blurs the boundary between explanation and action. If no valid structured call exists, execute nothing, log the failure, and use a bounded retry or an explicit failure response.
3. Add failure paths to a harmless Korean-language fixture
Start with a tiny local stock lookup, not real email, calendar writes, or payments. The fixture below is our proposed test specification, not a model execution result. Use known data and score both the call and the final answer. Test Korean and English requests separately, including arguments containing Korean values.
After the happy path, inject an unknown item, missing required field, wrong type, and timeout. Check whether the agent repairs the request or stops. Endless retries, claiming success after tool failure, and unauthorized writes are failures. Treat instructions embedded in tool responses as untrusted data that cannot grant new permissions.
Choose retry and time budgets in advance. Report normal-case, error-case, and overall success rates separately, and keep failed cases in the denominator. Reuse the same fixtures and acceptance rules when comparing the existing model with a candidate.
Fixture: lookup_stock(sku: string), read-only
Data: {"SKU-001": {"name": "키보드", "stock": 7}}
Prompt: SKU-001의 재고를 조회해서 알려줘.
Expected: structured lookup_stock call with sku="SKU-001"
Tool response: {"name": "키보드", "stock": 7}
Final answer: 7 units; no invented order or write
Negative case: return {"error": "TEMPORARY_UNAVAILABLE"}
Expected: bounded retry or explicit failure; never claim success 4. Do not read active parameters as a RAM requirement
The model card specifies 24.0B total and 2.45B active parameters; the headline rounds the active count to 2B. That does not mean 2 GB of RAM. The official GGUF list shows a roughly 14.5 GB Q4_K_M file. Disk weight size is not peak runtime memory: LFM2.5-24B-A2B — GGUF files
Check the weights, context/KV cache, execution buffers, and other processes in your own backend. Start with realistic request sizes, then increase context while recording peak memory, swapping, and latency. Supporting a long context window does not demonstrate comfortable long-context performance on your machine.
The weights are available, but do not assume Apache or MIT terms. Review the LFM Open License v1.0 conditions before deployment. This article does not provide a legal interpretation: LFM Open License — license text
5. Adopt on successful-task time and explicit safety boundaries
Record attempts, successes, failure categories, retries, time to the first valid call, end-to-end latency of successful tasks, and peak memory. Keep token throughput separate. A better median among successful cases can hide a worse failure rate; inspect slow cases and time consumed by failed attempts as well.
Repeat runs on non-sensitive fixed inputs and distinguish warm-up from measured runs. One good answer is not enough for a variable model. Write down the workload's minimum success rate, maximum wait, and memory budget before comparing candidates. Expand into a limited real workload only after those criteria are met.
Local inference does not make the entire workflow local. Inspect search tools, remote APIs, log destinations, and the harness's network paths. Begin with read-only tools; put argument validation and explicit approval before writes. Keep a rollback route to the existing model.
Treat LFM2.5 as a candidate worth evaluating, then decide from correct completion on your tools and data. Our earlier article explains why component speed and whole-request latency must be separated: BERT Tokenizer Speedups: What to Check Before an Upgrade