Skip to main content

News

Liquid AI LFM2.5: Small Local Models for Edge Tasks and Search

Choose the LFM2.5 checkpoint by its job. A model that extracts fields, one that routes a tool call and one that ranks passages return different kinds of output.

By Published Updated 6 min read

Many model announcements emphasize scale. Liquid AI's June releases went the other way: small, task-focused models designed to run on consumer and edge hardware.

LFM2.5-230M

Released 25 June 2026. Liquid AI's smallest model to date: 230 million parameters, text-only, open-weight, with both a base checkpoint for fine-tuning and an instruction-tuned version.

It is built for tool use and data extraction on edge hardware. Example scenarios include IoT device monitoring, on-device log analysis, offline document parsing, real-time sensor data extraction, and smart home automation.

To test it on your own data, take 20 real log lines or sensor messages from your system. Run them through the 230M model and through a larger model, and count the wrong or missing fields in each. Keep the small model only if its error count is acceptable for your use.

Architecturally, it is built on LFM2, a hybrid that interleaves gated short-range convolution blocks with grouped-query attention. Context runs to 32,768 tokens. Liquid reports pre-training on 19 trillion tokens, including a 32K context extension phase, with post-training in three stages: supervised fine-tuning distilled from the larger LFM2.5-350M, direct preference optimization, and multi-domain reinforcement learning.

Liquid reports 213 decoded tokens per second on a Galaxy S25 Ultra and 42 on a Raspberry Pi 5, using 4-bit CPU inference with a 2K input. For a comparable CPU test, use the same device and 4-bit quantization with the reported 2K-token input context. Liquid enabled Flash Attention (-fa 1) on the Raspberry Pi 5 and disabled it (-fa 0) on the Snapdragon Gen4 in the Galaxy S25 Ultra. The reported 2K refers to input context. Liquid’s release post supplies the comparison conditions, and its model card links runtime-specific inference instructions. Record your runtime version, quantization, input and output lengths, and device settings alongside your own measurements.

Runtime support is unusually broad at launch: llama.cpp, MLX, vLLM, SGLang, ONNX, and NexaSDK, with GGUF builds published. Already using llama.cpp? Select the GGUF linked from Liquid's model card. On Apple silicon, choose its MLX package only if you are going to load it with MLX. Liquid describes vLLM as a GPU-serving option for production throughput and ONNX as a cross-platform option for diverse accelerators. The official LFM2.5-230M model card links the GGUF, ONNX, and MLX packages and runtime-specific inference documentation; use the package that matches your chosen runtime.

The repository carries the custom LFM Open License v1.0. It defines a threshold of $10 million in annual revenue or more. Section 5 conditions commercial-use rights on the user or legal entity “not exceeding the Threshold” and excludes commercial use by an entity that exceeds it.

The retrievers

Released a week earlier, on 18 June 2026, and more directly relevant for local document search: LFM2.5-Embedding-350M and LFM2.5-ColBERT-350M.

Both have 350 million parameters, are built from LFM2.5-350M-Base, and are the first bidirectional members of the LFM family. A bidirectional model reads text in both directions to produce embeddings, and it does not write chat replies. Liquid adapted the causal decoder into a bidirectional encoder with a small set of architectural patches: replacing the causal attention mask with a bidirectional one, and making the short convolutions non-causal. As a result, they mix local information symmetrically around each token rather than only from the past.

From that shared backbone, the two models differ only in how they represent text.

LFM2.5-Embedding-350M pools each document into a single vector. This is a candidate when index size and query cost matter; measure retrieval quality on your documents.

LFM2.5-ColBERT-350M keeps per-token vectors and matches queries using MaxSim late interaction. That creates a larger index. Use the ColBERT model to rank passages, then send the selected text to an answer model. Liquid reports higher scores on its selected retrieval evaluations; compare relevant known-answer searches before choosing it for your collection.

Both cover 11 languages: Arabic, German, English, Spanish, French, Italian, Japanese, Korean, Norwegian, Portuguese, and Swedish. Liquid positions these two models for short-context retrieval, including product search and FAQ and support knowledge bases.

The numbers

All vendor-reported, from Liquid's own evaluation.

On NanoBEIR Multilingual Extended, averaged across the 11 languages at NDCG@10 (a 0-to-1 score for how well the top 10 results are ordered), ColBERT scores 0.605 and Embedding 0.577. The nearest comparison in Liquid's table is Qwen3-Embedding-0.6B at 0.556, and Liquid's own previous LFM2-ColBERT-350M at 0.540.

On MKQA-11 at Recall@20 (the share of relevant documents found in the top 20 results), the two land nearly together, at 0.694 and 0.691.

On Liquid's M4 Max test, encoding the query with the dense model took a median 7.3 ms. The 8.2 ms ColBERT figure includes query encoding and scoring against cached document vectors. With document encoding included, ColBERT took 34.3 ms. Liquid measured these with llama.cpp at FP16 on an M4 Max, using a 32-token query and 256-token documents. Compare the condition that matches whether your own documents are pre-indexed.

GGUF builds are published for both.

Where these models can help

A document-search workflow needs a model to retrieve relevant passages and another to answer from them. These compact retrievers are candidates for that first step. The combined memory budget includes the chat model, document index, and app.

Before changing an embedding model, create a separate test index or rebuild the collection through the app's supported path. Vectors from different embedding models are not interchangeable. Try several questions with known source passages and inspect which passages are retrieved before judging the generated answer.

To compare embedding models, take 20 questions from your own documents, each with a passage you know answers it. Index the documents with each model, and count how often the right passage appears in the top 5 results. For a small LFM2.5-Embedding-350M test, the official model card demonstrates encoding queries with prompt_name="query" and passages with prompt_name="document", normalizing the vectors, and ranking passages by their dot products.

Liquid has also published LFM2.5-Encoder-230M and LFM2.5-Encoder-350M. Their official model cards describe bidirectional masked-language-model encoders with an 8,192-token context, support for 15 languages, and on-device use via CPU and WebGPU paths. These are foundations for classifiers, routers, entity extraction, retrieval, and similar task-specific systems, not ready-made chat models. Example downstream tasks include intent classification, named entity recognition (NER), sentiment analysis, language identification, and topic categorization.

Sources