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

Handles long-horizon agent tasks across codebase development, project builds, and visual work. It combines native visual tokens with large-scale agentic reinforcement learning and supports a one-million-token context.

Hugging Face
AI Model2026

Merges a rank-128 Omni LoRA into Qwen-Image-2.1 for text-to-image generation and natural-language image editing, with quantized builds for different runtimes and hardware. The base model’s text encoder, processor, and VAE are required separately.

Hugging Face
AI Model2026

Runs a 145B agent model on a single consumer GPU using sparse latent MoE. The NVFP4 build reports 98.3 tok/s agent decoding on an RTX 5090 D, while also relying on host RAM.