LiquidAI/LFM3-1.7B · Hugging Face
LFM3-1.7B is a 1.7-billion-parameter text model from Liquid AI, built for local agents and tool calling, with a 256K-token context window. At 4-bit precision it needs about 1 GB of memory, so it runs on phones and laptops.
- Post-trained for agent harnesses like Hermes Agent, Pi, and OpenClaw, and tuned for tool calling and structured outputs.
- In the benchmark table it scores 45.6 on LiveClaw and 71.4 on BFCL V4, and beats the 9B-class Qwen3.5 on several agent tests.
- Not recommended for agentic coding or complex multi-step reasoning, and knowledge-heavy tasks should use retrieval or search.
LFM3-1.7B is a 1.73-billion-parameter text model from Liquid AI, aimed at running locally on phones and laptops. The headline claims are that it's post-trained for agent harnesses like Hermes Agent, Pi, and OpenClaw, has a 256K-token context window, and takes about 1 GB of memory at 4-bit precision. It's text-only, uses a hybrid architecture of 24 layers (13 gated short convolutions, 5 sliding-window attention, 6 global attention), supports 16 languages, and ships under the LFM Open License v1.0. The model card is explicit that it's not meant for agentic coding or complex multi-step reasoning, and that knowledge-heavy tasks should lean on retrieval or search rather than the model's memory.
The practical material is in the setup and formatting details. The page gives Transformers, vLLM, SGLang, and Docker Model Runner examples, all using OpenAI-compatible endpoints for serving. Inference comes in several formats: BF16 for GPU work, FP8 and NVFP4 through SGLang, GGUF for llama.cpp and Ollama, MLX for Apple Silicon, and ONNX. Sampling settings differ by task. General chat, tool use, and coding use temperature 0.1, top_k 50, and repetition penalty 1.1, while math and STEM use temperature 1.0, top_p 0.95, and top_k 20. Reasoning traces are on by default, and turning them off via enable_thinking=False is described as inconsistent, especially on harder problems.
Tool calling is where the model departs most from a standard chat template. Calls are emitted as XML blocks, and arguments must be a Python mapping, so JSON strings need decoding with json.loads() before the template is applied. The page also describes deferred tool loading: tools marked defer_loading=True stay out of the prompt until a search tool returns their names, at which point the template injects their schemas. The reported benchmarks put the 1.7B model ahead of several 2B to 4B peers and close to Qwen3.5 9B on some agent evaluations, such as LiveClaw at 45.60 versus 35.77, though those numbers come from the vendor's own table and deserve independent checking before anyone builds on them.