AIAny
AI Model2026
Icon for item

LFM2.5-230M

230M-parameter multilingual instruction-tuned text-only LLM for on-device agentic pipelines and data extraction; 32K context, 19T-token pretraining, optimized for fast CPU/edge inference (e.g., 213 tok/s on Galaxy S25 Ultra, 42 tok/s on Raspberry Pi 5); not for heavy reasoning or complex code generation.

Introduction

LFM2.5-230M demonstrates that very small, architecture-optimized LLMs can be practically useful as a natural-language control layer on constrained devices. Rather than aiming to beat large generalist models on every benchmark, it trades raw reasoning headroom for inference speed, small memory footprint, and robustness in tool use and data-extraction pipelines.

Key Capabilities
  • Compact hybrid architecture: 230M parameters, 14 layers (combination of LIV conv blocks and GQA blocks), 32,768-token context window and a 65,536-piece vocabulary—built to preserve context and token efficiency on-device.
  • Training and tuning: Pre-trained on ~19T tokens with a post-training recipe (distillation, direct preference optimization, and multi-stage RL) to sharpen tool-use and instruction following.
  • Edge-first inference: Day-one support across formats and runtimes (Transformers, vLLM, llama.cpp/GGUF, ONNX, MLX, SGLang), with reported throughput like 213 tok/s on Galaxy S25 Ultra and 42 tok/s on Raspberry Pi 5.
  • Tool/function calling: Native function-call workflow (Pythonic tool-call tokens by default) designed to produce structured calls, receive tool outputs, and return user-facing answers—useful for agentic pipelines and robotic skill selection.
  • Evaluation profile: Strong on data-extraction and applied tool-use benchmarks relative to its size; weaker on advanced reasoning, long-form creative writing, and complex code generation compared to larger models.
Who it's for and trade-offs

Great fit if you need an on-device or low-cost-CPU model that: acts as a lightweight natural-language skill/agent selector, extracts structured data from text, or orchestrates tool calls where latency, memory, and power matter. It is easy to deploy in production pipelines thanks to multiple export formats (GGUF, ONNX, MLX) and inference integrations.

Look elsewhere if your primary need is top-tier reasoning, advanced math, or heavy code synthesis—those tasks still favor much larger models. Also note licensing: distributed under Liquid AI's LFM Open License with commercial-use restrictions that may require negotiation for large enterprises.

Where it fits

Think of LFM2.5-230M as the "controller" layer in an edge-first agent stack: use it to parse instructions, generate structured tool calls, and perform extraction at scale on constrained hardware. For highest-accuracy reasoning or generation, pair it with larger cloud models or specialized pipelines where necessary.

More Items

Hugging Face
AI Model2026

Compresses Qwen3.8-27B into a 12.3 GB sensitivity-aware mixed-precision quantized checkpoint for long-horizon agent workloads; preserves BF16 fidelity (+0.02% PPL, 93.2% token Top‑1 agreement), supports 262K context and vLLM serving, text-only and Apache‑2.0 licensed.

Hugging Face
AI Model2026

Turns a context, a question, and 2–20 candidate answers into a single chosen option for classification, routing, ordered scores, and Boolean decisions. Built on mmBERT-small with a 144.3M-parameter decision head, runs on CPU with up to 8,192 combined tokens; FP32 weights occupy 550.5 MiB and are Apache‑2.0 licensed.

Hugging Face
AI Model2026

Performs schema-driven, low-latency classification and structured decision-making over English text. Supports multi-head scoring, constrained joint decoding with confidence/feasibility metadata, span extraction, and local CPU/GPU deployment via the gliner2 runtime.