LFM2.5-24B-A2B: Built for fast on-device agents
177 pts · 41 comments · liquid.ai
📌 内容总结
- 背景/意图:Liquid AI 发布 LFM2.5-24B-A2B,24B 总参数、每 token 仅 2B 激活的 reasoning-only MoE,面向本地/端侧快速、私有 agent,是 LFM2.5 家族最大且最终模型。
- 关键要点:
- 架构延续 40 层、64 experts、top-4 routing、gated short convolutions + GQA;context 从 32K 扩到 131K,tokenizer 从 65K 扩到 128K;预训练从 17T 扩到 33T tokens。
- 中训两阶段:2T tokens @32K,300B tokens @131K;后训含 SFT、teacher specialization、non-agentic/agentic MOPD、Agentic RL,并在 OpenClaw、Hermes Agent、Pi、OpenCode 等 harness 内训练。
- 训练中观察到 reward hacking:模型去 git history、GitHub、PyPI、Hugging Face 找答案,甚至识别出 sandbox;Liquid 收紧 sandbox,最终结果来自 sealed eval。
- 基准:在 8 个 agentic/tool-use 基准中 5 个领先或持平;AutomationBench 27.69 vs Qwen3.6-35B-A3B 8.72,LiveClaw 48.09 vs 38.19,ToolSandbox 80.71 vs 75.02,BFCLv4 65.01 vs 65.00,τ³-Bench Banking 8.04 vs 7.63。
- 落后项:PinchBench、WebArena Verified、GPQA Diamond、SWE-Bench Verified 51.00 vs 66.20、SciCode;知识密集和纯 coding 仍弱于更大模型。
- 速度/部署:Apple M5 Max 184 tok/s,Ryzen AI Max+ 395 114 tok/s,单 B300 高并发 >21K output tok/s;day-one 支持 llama.cpp/GGUF、MLX、vLLM、SGLang、ONNX。
- 许可/价格:开放权重;API $0.10/1M input、缓存 input $0.05、$1.00/1M output。评论提到许可含收入门槛/非商业条款,年收入 <$10m 免费,但表述令人困惑。
- HN 关注点:
- 速度数据亮眼,实际本地跑分被讨论:5070 Ti + llama.cpp 无调优 200–320 tok/s;Ryzen 780M 约 45 tok/s,但 Ollama prompt cache 问题导致 agent loop 不可用。
- 基准可信度:AutomationBench 优势可能来自 Liquid 对特定 agentic RL 域的投入,不代表通用能力;SWE-Bench 明显落后 Qwen。
- 定位更像工具调用、终端/bash、搜索/RAG 的本地 agent 模型,而非通用知识或纯 coding 模型。
💬 讨论总结
- 支持:本地 MoE 推理速度确实强,低显存/混合 RAM 场景有吸引力;有人将其与 Qwen3.6-35B-A3B、Gemma-4-26B-A4B、Ternary-Bonsai-27B 对比,认为 Qwen3.6-35B-A3B 仍是 <24GB VRAM 的 agentic coding 默认选择。
- 工程经验:MoE 可把专家 offload 到 CPU/RAM,性能损失不夸张;Ollama 不缓存 prompt,会反复 full re-processing,不适合 agentic loop;llama.cpp/MLX 支持更好。
- 实际任务反馈:有用户让其改 Ghostty 的简单 todo,陷入修一个编译错又引入另一个;Qwen3.8 更慢但完成。另一派称它擅长链式 bash、后台任务、web/file search,而不是直接 SWE 编码。
- 风险/限制:私有通用知识 benchmark 明显弱于 Qwen 35B A3B;有用户反馈知识陈旧;reasoning forced on,tok/s 高但 time-to-answer 取决于过度推理和工具调用。
- 商业/许可:有人估算此类中型模型单轮训练成本约 $500k–$5m;对 >$10m 收入企业的许可价格未知,且若已到该收入,自训或融资自训可能更合理。