Skip to main content
← Back to Text Models LFM3-1.7B is Liquid AI’s text model for local agents and specialized applications, based on the new LFM3 tri-hybrid architecture. It is post-trained for agentic harnesses such as Hermes Agent, Pi, and OpenClaw, with a 256K-token context window. At 4-bit precision, it takes about 1 GB of memory, so it fits on any phone or laptop.

Specifications

Local Agents

Post-trained for agent harnesses like Hermes Agent, Pi, and OpenClaw

256K Context

Long context for tool traces and multi-step workflows

Made to be Specialized

Adapt it to your domains, formats, and tools with single-GPU fine-tuning
LFM3-1.7B is designed for local agents, tool calling, structured outputs, and domain-specific fine-tuning. Use retrieval or search for knowledge-heavy tasks. It is not recommended for agentic coding or complex multi-step reasoning due to its small size.

Quick Start

On Apple Silicon, use MLX-VLM 0.8.0 with the model’s MLX weights. The guide includes the current text, image, ASR, and speech-generation commands.
Install:
Run:
For local agent setup, see the Agent Harnesses guide.

Reasoning

Reasoning is enabled by default. You can set enable_thinking=False for direct answers, but the model may still emit reasoning or give inconsistent answers, particularly for reasoning-heavy tasks. We recommend leaving thinking on. Leave room for the reasoning in your token limit. See Thinking for guidance on how to use it, and Chat Template and Tool Use for the message format. For math and science, use temperature=1.0, top_p=0.95, top_k=20, and repetition_penalty=1.0 instead of the general generation parameters. LFM3-1.7B supports deferred tools, so tool definitions stay out of the prompt until a search tool returns them. See Defer Loading and Tool Search for how it works and a complete example.

FP8 and NVFP4 Checkpoints

LFM3-1.7B-FP8 and LFM3-1.7B-NVFP4 are FP8 and 4-bit floating-point versions of LFM3-1.7B for inference with SGLang and zml/llmd. To use one with SGLang, replace the model ID in the example above.
Last modified on November 18, 2026