跳到正文
Liquid AI 模型与工程博客·· 2026-06-25AI 评分58

Liquid AI 发布最小模型 LFM2.5-230M,主打任意设备端侧运行

LFM2.5-230M: Built to Run Anywhere

AI 导读

Liquid AI 发布 230M 参数模型 LFM2.5-230M 及其 Base 版本,已在 Hugging Face 开放权重。

正文 · 原文

Today, we're releasing LFM2.5-230M, our smallest model yet. It’s a fast, lightweight foundation for developers to fine-tune and deploy in agentic workflows. Built on the LFM2 architecture, it delivers exceptionally fast inference and runs everywhere, from cloud GPUs to low-cost CPUs (213 tok/s decode speed on Galaxy S25 Ultra, 42 tok/s on a Raspberry Pi 5). Despite its small size, it’s surprisingly capable at tool use and data extraction tasks.

The base (LFM2.5-230M-Base) and post-trained (LFM2.5-230M) models are available today on Hugging Face. Check out our docs on how to run and fine-tune them locally.

Bar chart titled “LFM2.5-230M Benchmarks,” comparing LFM2.5-230M against LFM2.5-350M, LFM2-350M, Granite 4.0-H-350M, Qwen3.5-0.8B Instruct, and Gemma 3 1B IT across six benchmarks: GPQA Diamond, IFEval, IFBench, CaseReportBench, BFCLv4, and tau-squared Bench. LFM2.5-350M is the top performer on all six benchmarks. LFM2.5-230M scores 25.41 on GPQA Diamond, 71.71 on IFEval, 38.40 on IFBench, 22.51 on CaseReportBench, 21.03 on BFCLv4, and 16.98 on tau-squared Bench, generally ranking near the top except on tau-squared Bench.

Training & Fine-tuning

The model was pre-trained for 19T tokens, including a 32K context extension phase. We apply a lightweight post-training recipe designed to preserve flexibility for developers targeting their own downstream applications.

The recipe consists of three stages: (1) supervised fine-tuning with distillation from LFM2.5-350M, (2) direct preference optimization, and (3) multi-domain reinforcement learning. The final checkpoint balances strong out-of-the-box capabilities with adaptability to downstream specialization, while remaining competitive with larger models.

As an early look at ongoing work, we deployed LFM2.5-230M on a Unitree G1 humanoid robot, running entirely on-device on its onboard NVIDIA Jetson Orin. Here the model acts as a skill-selection layer: it takes a single natural-language instruction and decomposes it into a sequence of tool calls that invoke pre-trained low-level skills provided by NVIDIA's SONIC framework. After a quick fine-tune for this task, the model turns a free-form command such as

"Hold still for 2 seconds, then walk forward at 1 meter per second for 3 meters, hold a forward one-leg kneel for 5 seconds, and walk backward at 0.5 meters per second for 3 meters"

into a structured, multi-step plan, chaining skills like timed walking at a target velocity and a one-legged kneel. While the behaviors are deliberately simple at this stage, we think it's a compelling signal: a 230M-parameter model can be quickly fine-tuned and deployed on-device to serve as the natural-language control interface for a humanoid.

Benchmarks

We evaluated LFM2.5-230M across ten benchmarks covering both core capabilities and applied tasks. Despite its size, it competes with and often beats models more than twice as large, spanning knowledge (GPQA Diamond, MMLU-Pro), instruction following (IFEval, IFBench, Multi-IF), data extraction (CaseReportBench), and tool use (BFCLv3, BFCLv4, τ²-Bench Telecom and Retail).

GPQA Diamond

MMLU-Pro

IFEval

IFBench

Multi-IF

LFM2.5-230M

25.41

20.25

71.71

38.40

37.70

LFM2.5-350M

30.64

20.01

76.96

40.69

44.92

LFM2-350M

27.58

19.29

64.96

18.20

32.92

Granite 4.0-H-350M

22.32

13.14

61.27

17.22

28.70

Granite 4.0-350M

25.91

12.84

53.48

15.98

24.21

Qwen3.5-0.8B (Instruct)

27.41

37.42

59.94

22.87

41.68

Gemma 3 1B IT

23.89

14.04

63.49

20.33

44.25

CaseReportBench

BFCLv3

BFCLv4

𝜏²-Bench Telecom

𝜏²-Bench Retail

LFM2.5-230M

22.51

43.26

21.03

5.26

13.68

LFM2.5-350M

32.45

44.11

21.86

18.86

17.84

LFM2-350M

11.67

22.95

12.29

10.82

5.56

Granite 4.0-H-350M

12.44

43.07

13.28

13.74

6.14

Granite 4.0-350M

0.84

39.58

13.73

2.92

6.14

Qwen3.5-0.8B (instruct)

13.83

35.08

18.70

12.57

6.14

Gemma 3 1B IT

2.28

16.61

7.17

9.36

6.43

This makes LFM2.5-230M an ideal solution to power large-scale data extraction pipelines or lightweight on-device agentic workloads. However, given its compact size, we do not recommend it for reasoning-heavy workloads such as advanced math, code generation, or creative writing.

Fast Inference Everywhere

LFM2.5-230M ships with day-one support across the inference ecosystem:

  • llama.cpp — GGUF checkpoints for efficient edge inference
  • MLX — Optimized inference for Apple Silicon
  • vLLM — GPU-accelerated serving for production throughput
  • SGLang — GPU-accelerated serving for production throughput
  • ONNX — Cross-platform inference across diverse accelerators

CPU inference. Thanks to the efficient LFM2 architecture, LFM2.5-230M is considerably faster than similar-sized models, including SSM hybrids and Gated Delta Networks. On both a Raspberry Pi 5 and a Qualcomm Snapdragon Gen4 (Samsung Galaxy S25 Ultra), it delivers the highest prefill and decode throughput in its class while keeping the smallest memory footprint. We tune the flash-attention flag per device to maximize prefill on each platform: enabled (-fa 1) on the Raspberry Pi 5 and disabled (-fa 0) on the Snapdragon Gen4.

Bar chart titled “LFM2.5-230M CPU Inference Metrics by Device,” comparing six 4-bit quantized language models with a 2K token input context on Raspberry Pi 5 and Qualcomm Snapdragon Gen4 in a Samsung Galaxy S25 Ultra. Metrics shown are prefill speed, decode speed, and memory use. On Raspberry Pi 5, LFM2.5-230M leads with 523 tok/s prefill and 42 tok/s decode while using the least memory at 293 MB. On Snapdragon Gen4, LFM2.5-230M again leads with 1,158 tok/s prefill and 213 tok/s decode, also using the least memory at 375 MB. Competing models include LFM2.5-350M, Granite 4.0 350M, Granite 4.0-H 350M, Gemma 3 1B IT, and Qwen3.5-0.8B.

GPU inference. For production-grade enterprise deployments, we have also developed an internal GPU inference stack that delivers extremely low-latency serving. We benchmark it against other small models running on SGLang, and across all concurrency levels, LFM2.5 models achieve considerably lower end-to-end latency.

Line chart titled “LFM2.5 internal low-latency inference: Latency vs concurrency,” measured on an H100 GPU with 512 input tokens and 32 output tokens. The x-axis shows concurrency levels from 1 to 64, and the y-axis shows p50 request latency in milliseconds. LFM2.5-230M has the lowest latency at every concurrency level, rising from about 50 ms at concurrency 1 to about 205 ms at concurrency 64. Granite 4.0-H-350M, Gemma-3-1B, and Qwen3.5-0.8B have higher latency curves, with Qwen3.5-0.8B reaching the highest latency at roughly 530 ms at concurrency 64.

Start building today with LFM2.5-230M and LFM2.5-230M-Base, available on Hugging Face.

With LFM2.5, we're delivering on our vision of AI that runs anywhere. These models are:

  • Open-weight — Download, fine-tune, and deploy without restrictions
  • Fast from day one — Native support for llama.cpp, NexaSDK, MLX, and vLLM across Apple, AMD, Qualcomm, and Nvidia hardware
  • A complete family — From base models for customization to specialized audio and vision variants, one architecture covers diverse use cases

The edge AI future is here. We can't wait to see what you build.

Citation

For citations, please use the following reference or BibTeX:

Liquid AI, "LFM2.5-230M: Built to Run Anywhere", Liquid AI Blog, Jun 2026.

@article{liquidAI2026230M,  
    author = {Liquid AI},  
    title = {LFM2.5-230M: 
    Built to Run Anywhere},  
    journal = {Liquid AI Blog},  
    year = {2026},  
    note = {www.liquid.ai/blog/lfm2-5-230m}
}

来源:Liquid AI 模型与工程博客 · liquid.ai