From: LiquidAI <huggingface.co/LiquidAI>Newsgroups: alt.freeweights.lfmSubject:

LFM3-1.7B

Date: 2026-11-15Commit: 1da06beSigned: 2DC28CC7B26A283B ✓

Text generation model with 1.7B parameters. Safetensors weights, 3.48 GB in all. Published by LiquidAI under LFM-1.0 (custom).

1.7B params3.48GBLFM3-1.7Bsafetensorscustom terms
FactsParams1.7BSize3.48 GBFormatssafetensorsTasktext generationLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get LiquidAI/LFM3-1.7B
# manifest sha256 6f54cd8f0415… · 3.48 GB · 24 files
$ fw verify ./LFM3-1.7B LiquidAI/LFM3-1.7B
From sourceHosted (signed)LiquidAI/LFM3-1.7BLast check: 2026-11-15 02:30 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of LFM3-1.7B-Base.

Works with

Overview

Size
3.48 GB
Weights
3.46 GB (safetensors)
Parameters
1.7B
Formats
safetensors
Task
text generation
License
LFM-1.0 (custom) (custom)
Files
24, each with a sha256
Publisher
LiquidAI
Added
2026-11-15
Section
alt.freeweights.lfm
Lineage

Original release from the publisher.

Base model: LiquidAI/LFM3-1.7B-Base

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:30 UTCpassed

Model card

From the publisher at commit 1da06be. Shown as plain text with links; images open at the publisher.

Image: Liquid AI

API Try Docs Blog

LFM3-1.7B#

LFM3-1.7B is a text model for local agents and specialized applications, based on our new tri-hybrid architecture.

  • Agentic training: post-trained for agentic harnesses such as Hermes Agent, Pi, and OpenClaw, with a 256K-token context window.
  • Designed for the edge: at 4-bit precision, it takes about 1 GB of memory, so it fits on any phone or laptop.
  • Made to be specialized: adapt the model to your domains, formats, and tools via quick single-GPU fine-tuning.

Find more information about the LFM3 family in our release blog post.

Model details#


The LFM3 family includes base, text, vision, audio, omni, and decision models.

| Property | Specification

| Checkpoint | Post-trained, text-only language model

| Parameters | 1.73B

| Architecture | 24 layers: 13 gated short convolutions, 5 sliding-window attention, 6 global attention

| Context length | 256K tokens (input + output)

| Vocabulary | 128,000 tokens

| Languages | English, Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish, Vietnamese, Thai, Indonesian, Hindi, Russian, Polish

| License | LFM Open License v1.0

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.

Inference#


Choose a checkpoint variant for your inference framework and hardware.

| Checkpoint | Framework | Description

| BF16 | vLLM, SGLang, Transformers | BF16 weights for GPU inference.

| FP8 | SGLang | FP8 quantization for GPU inference.

| NVFP4 | SGLang | 4-bit floating-point quantization for GPU inference.

| GGUF | llama.cpp, Ollama, LM Studio | Local inference on CPUs and GPUs.

| MLX | MLX | 4-bit quantization for Apple Silicon.

| ONNX | ONNX Runtime | Cross-platform inference with ONNX Runtime.

| OpenVINO | OpenVINO | 4-bit quantization for Intel hardware.

Sampling parameters:

  • General (chat, tool use, agents, coding): temperature=0.1,top_k=50, repetition_penalty=1.1
  • Math & STEM (math, science): temperature=1.0, top_p=0.95, top_k=20

Transformers quick start:

from transformers import pipeline

generator = pipeline(
    "text-generation",
    model="LiquidAI/LFM3-1.7B",
    trust_remote_code=True,
)

messages = [{"role": "user", "content": "What is C. elegans?"}]
output = generator(
    messages,
    do_sample=True,
    temperature=0.1,
    top_k=50,
    repetition_penalty=1.1,
    max_new_tokens=2048,
)
print(output[0]["generated_text"][-1]["content"])

For local agent setup, see the Agent Harnesses guide.

Chat template

LFM3 uses this ChatML format, generated from the checkpoint's chat template:

<|startoftext|><|im_start|>system
You are a helpful assistant trained by Liquid AI.<|im_end|>
<|im_start|>user
Explain how a heat pump works.<|im_end|>
<|im_start|>assistant
<think>

Use tokenizer.apply_chat_template() with add_generation_prompt=True to format messages automatically.

Reasoning is enabled by default. You can set enable_thinking=False to disable thinking traces, but this behavior can be inconsistent, especially for reasoning-heavy tasks.

Reasoning from turns before the latest user message is removed unless preserve_thinking=True.

Tool calling

Pass function schemas through tools=... to apply_chat_template(). The template formats tool definitions and results automatically. Generated calls use XML:

<tool_call>
<function=get_weather>
<parameter=city>
Paris
</parameter>
</function>
</tool_call>

Execute the call in your application. Add the parsed assistant call to history as a tool_calls entry, then append the result as a tool message. Keep passing the tool schemas on subsequent requests and preserve the assistant's content and reasoning from the current tool-use turn.

function.arguments must be a Python mapping. Decode JSON strings with json.loads() before applying the template.

Tool search

LFM3 supports deferred tools. Set defer_loading=True to keep tool definitions out of the prompt until your harness's search tool returns their names as tool_reference parts. The chat template then inserts their definitions into <additional_tools>.

tools = [
    search_tool,
    {"type": "function", "defer_loading": True, "function": get_weather_schema},
]
messages.append({
    "role": "tool",
    "tool_call_id": call_id,
    "content": [
        {"type": "text", "text": "Found 1 tool."},
        {"type": "tool_reference", "name": "get_weather"},
    ],
})

Your harness implements and runs the search. Keep the full tools list, including deferred tools, on every request. In the system prompt, tell the model when to search:

You only have one tool right now: search_tools, which searches a catalog of many more tools. If none of your current tools can handle a request, call search_tools to find one, then call the tool it returns.

Works with vLLM, SGLang, and LFM3-compatible llama.cpp builds. For llama.cpp, use a GGUF with the current chat template or load it with --chat-template-file.

See Deferred tools and tool search for the full guide.

Fine-tuning#


LFM3-1.7B is designed for easy customization for a given domain, task, or application via TRL.

| Training | Use case | Notebook

| SFT | Extract structured JSON from messy documents | Open in Colab

| DPO | Answer from retrieved documents, or decline | Open in Colab

| GRPO | Call the right tools in a 108-tool phone app | Open in Colab

| CPT | Learn a new language (Turkish) from raw text | Open in Colab

Performance#


Benchmarks#

LFM3-1.7B can power agentic applications that used to need 9B parameters.

| Benchmark | LFM3 1.7B | LFM2.5 2.6B | MiniCPM5 2B | Gemma 4 E4B | Qwen3.5 4B | Qwen3.5 9B

| Agents | |

| LiveClaw | 45.60 | 14.70 | 30.37 | 20.36 | 19.94 | 35.77

| Claw-Eval General (EN), average | 68.64 | 62.63 | 60.74 | 56.14 | 61.96 | 66.53

| Claw-Eval General (EN), pass^3 | 51.40 | 37.52 | 34.58 | 22.43 | 42.99 | 51.87

| BrowseComp-Plus (OpenClaw subset) | 37.00 | 26.33 | 16.83 | 21.00 | 24.67 | 38.00

| WebArena-Verified | 38.42 | 3.02 | 9.11 | 17.06 | 21.92 | 28.94

| EnterpriseOps-Gym | 28.20 | 7.94 | 13.41 | 9.86 | 25.96 | 28.97

| AutomationBench (public) | 41.29 | 0.94 | 4.71 | 1.92 | 8.67 | 15.10

| Tool use | |

| BFCL V4 | 71.39 | 55.89 | 62.65 | 48.25 | 55.12 | 62.83

| ToolSandbox | 80.36 | 78.04 | 68.16 | 69.27 | 75.40 | 76.41

| MCP-Atlas | 32.57 | 16.45 | 26.38 | 6.19 | 41.37 | 42.67

| τ³-bench (4 domains), average | 68.01 | 56.77 | 69.44 | 33.53 | 65.98 | 67.11

| Agentic coding | |

| SWE-bench Verified (OpenCode) | 43.40 | 18.00 | 34.80 | 0.50 | 41.20 | 51.20

| SWE-bench Multilingual (OpenCode) | 23.00 | 8.00 | 15.67 | 0.67 | 23.33 | 35.00

| Terminal-Bench 2.1 (OpenCode) | 12.92 | 0.00 | 5.62 | 0.00 | 13.48 | 17.98

| Coding | |

| LiveCodeBench v6 | 73.46 | 60.57 | 70.52 | 71.00 | 61.99 | 69.86

| LiveCodeBench Pro 25Q2 | 31.74 | 19.16 | 29.34 | 29.94 | 24.25 | 34.43

| SciCode | 28.47 | 16.32 | 27.78 | 25.00 | 23.02 | 31.60

| Instruction following | |

| IFEval | 96.66 | 95.39 | 87.83 | 90.02 | 92.52 | 92.08

| IFBench | 73.03 | 60.48 | 62.08 | 44.56 | 38.16 | 48.84

| IFStruct | 93.72 | 82.18 | 72.65 | 78.45 | 87.05 | 89.20

| Multi-IF | 89.10 | 84.80 | 73.19 | 81.03 | 80.32 | 84.44

| Knowledge | |

| GPQA Diamond | 63.37 | 57.78 | 65.15 | 57.88 | 75.76 | 80.40

| Humanity's Last Exam (no tools) | 7.17 | 5.88 | 8.20 | 4.77 | 12.84 | 16.41

| Humanity's Last Exam (with tools) | 13.90 | 9.60 | 11.50 | 6.00 | 11.60 | 17.50

| AA-Omniscience (public) | 0.50 | -33.17 | -5.00 | -15.33 | -57.17 | -28.00

| AA-Omniscience accuracy (public) | 7.07 | 8.75 | 9.13 | 9.83 | 15.67 | 13.17

| AA-Omniscience non-hallucination (public) | 92.93 | 53.69 | 84.44 | 72.09 | 13.64 | 52.59

| Long context | |

| AA-LCR | 52.83 | 6.00 | 49.34 | 39.33 | 52.67 | 62.00

| RULER 128K | 65.56 | 1.15 | 37.96 | 18.82 | 84.63 | 87.11

| Average | 49.37 | 31.55 | 39.19 | 31.74 | 39.27 | 47.24

Evaluation details

All models were served with vLLM in BF16 at their full context length: 262,144 tokens for LFM3-1.7B, Qwen3.5-4B, and Qwen3.5-9B, and 131,072 tokens for LFM2.5-2.6B, MiniCPM5-2B, and Gemma 4 E4B. Unless listed below, every eval uses temperature 0.6 and top_p 0.95, with no output limit other than the context length. The Average row is the unweighted mean of every score in the table.

BFCL V4: greedy decoding, up to 32,768 output tokens.

ToolSandbox: greedy decoding, up to 1,024 tokens per turn.

LiveClaw: OpenClaw agent, up to 8,192 tokens per turn.

Claw-Eval: greedy decoding, 3 trials per task.

BrowseComp-Plus: OpenClaw agent, greedy decoding, up to 8,192 tokens per turn.

WebArena-Verified: up to 40 steps.

MCP-Atlas: up to 256 turns.

EnterpriseOps-Gym and AutomationBench: up to 50 turns.

SWE-bench: OpenCode agent, up to 250 turns.

Terminal-Bench 2.1: OpenCode agent, up to 100 turns.

Edge inference#

At 32K context, LFM3-1.7B prefills at least 2.5x faster and decodes at least 1.8x faster than every compared model on all three devices, while using the least memory.

Image: LFM3-1.7B edge inference at 32K context: prefill throughput, decode throughput, and host plus GPU memory on AMD Ryzen AI Max+ 395, Apple M5 Max, and iPhone 17 Pro, compared with MiniCPM5-2B, Qwen3.5-4B, Qwen3.5-9B, and Gemma 4 E4B.

Evaluation details

All models run as Q4_0 GGUF files in llama.cpp with 32,768 tokens of context, batch size 1, 100 output tokens, and GPU offload. Prefill is the prompt processing speed and decode is the generation speed, both in tokens per second. LFM3-1.7B uses a llama.cpp build with LFM3 support, and the other models use llama.cpp release b11744.

AMD Ryzen AI Max+ 395: Radeon 8060S integrated GPU, Windows, Vulkan backend.

Apple M5 Max: macOS, Metal backend.

iPhone 17 Pro: Apple A19 Pro, iOS app built on llama.cpp.

Memory: peak usage in GB (109 bytes). On AMD, it adds the host and GPU peaks from the same run, which can slightly overstate usage if the two peaks do not coincide. On Apple devices, the process footprint already includes Metal allocations.

GPU inference#

At 1,024 concurrent requests, LFM3-1.7B can produce 3.6 billion tokens/day on one NVIDIA B300.

Image: LFM3-1.7B GPU inference: output throughput versus concurrent requests on one NVIDIA B300, compared with MiniCPM5-2B, Gemma 4 E4B, Qwen3.5-4B, and Qwen3.5-9B.

Training#


Image: LFM3-1.7B pre-training: web and synthetic data (about 15T tokens), then code, math, and science (3T tokens at 4K context), followed by mid-training on curated agentic data (3T tokens at 32K context), a 128K extension (500B tokens), and a 256K extension (50B tokens), for 22T tokens in total.

Pre-training: two stages build LFM3-1.7B-Base on 22T tokens in total.

  • Main pre-training: compared with LFM2, the mix adds more scientific papers, repository-level code, math, and a wider range of knowledge sources.
  • Mid-training: the last 3.5T tokens use curated, higher-quality data with a larger share of agentic traces and tool calls. This stage also extends the context window to 256K tokens.

Image: LFM3-1.7B post-training recipe: the student goes through SFT and mixed RL, specialist RL teachers such as math, code, and tool RL start from the mixed RL checkpoint, MOPD distills them back into the student, and agentic RL comes last.

Post-training: four stages develop conversation, reasoning, and tool-use capabilities.

  • Supervised fine-tuning (SFT): 1.75T tokens across various tasks, including chat, reasoning, tool calling, and agentic traces.
  • Mixed reinforcement learning: many domains trained at once, from math and code to SQL and structured outputs. A length penalty in the reward keeps answers concise.
  • Multi-domain on-policy distillation (MOPD): six specialist RL teachers (code, math, tool use, long context, agentic work, and enterprise workflows) are distilled back into a single model.
  • Agentic RL: tasks from web browsing to office work are run inside real agent harnesses, preparing the model for deployment.

Citation#


@article{liquidAI2026LFM3,
  author  = {Liquid AI},
  title   = {Introducing LFM3: Every Modality for Specialized Intelligence},
  journal = {Liquid AI Blog},
  year    = {2026},
  note    = {www.liquid.ai/blog/lfm3},
}

For questions and feedback, join Discord. For custom deployment and fine-tuning support, contact Liquid AI.

Files

24 files · 3.48 GBWeights 3.46 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 24 files with their sha256
FileSizesha256
.eval_results/LFM3-1.7B.yaml1.55 KB3e162ea4fdde47af47e1050b40d9b6aa516baa59cfd935217c23079b4c15c0be
.eval_results/ifbench.yaml192 B63bfe58f450590722ac86fc43c97a8388d2a0ac077910719ca39f29736a4575c
.gitattributes1.84 KB98cd74542392d7df88b3ea5c23e39bf347e44499d3a5250744c6f07cb5b1c64f
LICENSE10.6 KB4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c
README.md55.1 KB63ef157d747e4fd77376a6eca0d7177bbeb4a2db3c9f5baacfd6afaf5a338e55
assets/icons/api.svg304 B6a4bf6961897b9f33582cc1fdf580c24c02436f8edcd1c42c33f11e4fa1db7bd
assets/icons/blog.svg329 Bad444704791f705ea53d1293a9e86b688cb5f4837a8b74dbe342eced1caba895
assets/icons/docs.svg347 B2f3ad60851ac6726df7e0409038fcd45722f3c4b69539bf16cd797477be8568e
assets/icons/try.svg317 Bba010a64fa3d2d71d91bd14c7ea948f9189bf2b9c08069319e27634da00645ee
assets/lfm3-edge-inference.webp214 KBac73ebf33a4ea9aa3191d64f28d10a3ed51531dfa5442390071b876ae1b37ea4
assets/lfm3-gpu-throughput-b300.png85.3 KBcb378a251ef1234e7a7251b74952db0e7ea39d17c93cf6300dc3229093e342eb
assets/lfm3-post-training-recipe.webp19.3 KB27d21292d1e8998a3ca52dad11f6905a74b60f367ae167e56e4fba3381bef477
assets/lfm3-pre-training-recipe.webp28.9 KB1ecdb5082691ddcfaa14426cd3437f8948e3adb220c72616af4117eb51246b2f
assets/liquid-ai-banner.webp38.2 KB30dbbfb9f1b412462ef8f690e95d490100b04487a4f534ac09a92f636f734196
chat_template.jinja12.1 KBf45005c50cd2a97329722bf3a2dee9f16c04cdf825a589b280fb7e99e6827818
config.json1.45 KB8c6ae8b8f6d88c87cfb98cf4b5e34e943d0ee07e24215c4121b3159a46e1399d
configuration_lfm3.py6.11 KB176cced35657aedfea7d7002221360582d1c05fcaca882c21508bc3a73b282e5
generation_config.json328 B0095ba7158e938b1e2d3082d412f00d8be85e42cbbd7608b63866f7a081cf270
lfm3_conv.py8.53 KB80d4a985382a22774212759248a6b4c737bfbf9c2a47b3dd7f797dda748e4bb4
model.safetensors3.46 GB135922caef64e81e52af88ede8b7c3ddaa9d6da220a9737fb3065275dbfb4330
modeling_lfm3.py42.4 KBe8cd5254ea99ce6bd731b57b10908c2e8b5010ce8315341f895a38484885eeab
special_tokens_map.json92 B7946f864cbfb62a1b041bda937244210a1a87f4a6cab3a48b791131b2cd57f88
tokenizer.json17.9 MB7e226e34bface23ccf6e495d157bf77186c1c30a7659880e1a8994db528c3701
tokenizer_config.json1.54 KBbf028f813efc6137bc07ed045cafe71820df9a5e26a38e39954706ed1e30a457
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
1da06bec6a pinned now2026-11-15 02:30 UTC24 files · 3.48 GB

Use it

# custom terms: read the license before you download
$ fw get LiquidAI/LFM3-1.7B
# manifest sha256 6f54cd8f0415… · 3.48 GB · 24 files
$ fw verify ./LFM3-1.7B LiquidAI/LFM3-1.7B
Terms that come with these files. LFM 1.0: commercial use only for organisations under US$10M annual revenue. Keep a copy of the license with the files.
Custom license (custom). Read the license text first. Open this panel to show the commands once you accept its terms.
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/LiquidAI/LFM3-1.7B.json --dir ./LFM3-1.7B $ python3 fw.py verify ./LFM3-1.7B ./LiquidAI__LFM3-1.7B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download LiquidAI/LFM3-1.7B --revision 1da06bec6a819da10b54c67e5c90972b46d81871 --local-dir ./LFM3-1.7B
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("LiquidAI/LFM3-1.7B", revision="1da06bec6a819da10b54c67e5c90972b46d81871") model = AutoModelForCausalLM.from_pretrained("LiquidAI/LFM3-1.7B", revision="1da06bec6a819da10b54c67e5c90972b46d81871", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve LiquidAI/LFM3-1.7B --revision 1da06bec6a819da10b54c67e5c90972b46d81871

License

Name
LFM Open License v1.0
Id
LicenseRef-LFM-1.0
Class
Custom terms
Redistribution
click-through
Listing
Hosted (signed)
Terms
LFM 1.0: commercial use only for organisations under US$10M annual revenue. Keep a copy of the license with the files.
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c
Terms gate
Yes. The commands stay folded until you open them after reading the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: LiquidAI <huggingface.co/LiquidAI>Newsgroups: alt.freeweights.lfmSubject: LFM3-1.7BDate: 2026-11-15Commit: 1da06beSigned: 2DC28CC7B26A283B ✓
Upstream
LiquidAI/LFM3-1.7B
Pinned commit
1da06bec6a819da10b54c67e5c90972b46d81871
Manifest
LFM3-1.7B.json · .minisig
Manifest sha256
6f54cd8f041520c15775fb0dd16008e1f59c66b9c65d7cb0cf9f47171e8b6c96
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:30 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/LiquidAI/LFM3-1.7B.json $ curl -O https://freeweights.allternit.com/manifests/LiquidAI/LFM3-1.7B.json.minisig $ minisign -Vm LFM3-1.7B.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

LiquidAI/LFM3-1.7B-Base · this model is a finetune of it

5 models in the catalog name this one as their parent.

Fine-tunes
1
Quantizations
4
Get it
Read license, then download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download LiquidAI/LFM3-1.7B
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. LFM3-1.7B.json. Provenance. Takedown history: none.

Variants

4 quantized or adapter builds of LFM3-1.7B. Each has its own license check and page.

From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-Extract
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-RAG
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-Tool
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-2.6B
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-2.6B-Exp