Liquid AI Releases LFM2.5-Encoder Models Claiming 3.7x Faster CPU Inference Than ModernBERT at Long Context
Liquid AI released two open-weight encoder models, LFM2.5-Encoder-230M and LFM2.5-Encoder-350M, built for classification and routing tasks at long context on CPU hardware. The company claims the smaller model runs 3.7x faster than ModernBERT-base at 8,192 tokens while matching or beating larger encoders on GLUE, SuperGLUE, and multilingual benchmarks.
Liquid AI released two open-weight encoder models on Hugging Face on July 28, 2026: LFM2.5-Encoder-230M and LFM2.5-Encoder-350M. Both target high-volume text understanding tasks — classification, routing, PII detection, and policy enforcement — designed to run cheaply on CPU at long context lengths.
The headline claim: LFM2.5-Encoder-230M processes an 8,192-token input in about 28 seconds on CPU, versus over 90 seconds for ModernBERT-base, according to Liquid AI. That's roughly a 3.7x speedup at maximum context length. The company says its encoders show the largest advantage on CPU, where ModernBERT's throughput drops sharply as inputs grow while the LFM2.5-Encoders' latency degrades much more gradually.
Architecture and training
Both models are derived from Liquid AI's LFM2.5 decoder backbones (LFM2.5-230M and LFM2.5-350M), converted from causal to bidirectional encoders through three changes: a bidirectional attention mask so tokens attend to both left and right context, non-causal short convolutions with symmetric padding, and a masked-language-modeling objective that masks 30% of tokens during training.
Training ran in two stages. The first stage trained general language competence using masked-language modeling on a large web corpus at 1,024-token context. The second stage extended context to 8,192 tokens across the full data mix, with additional emphasis on factual, legal, and multilingual text.
Benchmark results
Liquid AI evaluated 14 models across 17 tasks pulled from GLUE, SuperGLUE, and multilingual classification benchmarks, fully fine-tuning each model per task and averaging scores across five held-out seeds. According to the company's published results, LFM2.5-Encoder-350M ranked fourth of the 14 models tested — behind three larger models, including one with roughly 3.5B parameters, nearly 10 times its size. LFM2.5-Encoder-230M reportedly outperformed ModernBERT-base and every EuroBERT variant tested, despite being smaller than most of them. Both new encoders scored above Liquid AI's own LFM2.5-Retrievers model, released the prior month, on these same tasks. The full benchmark framework and raw results have been open-sourced by the company.
On GPU, Liquid AI reports a smaller but similar pattern: ModernBERT-base leads on inputs below roughly 1,000 tokens, while the LFM2.5-Encoders take over from about 2,000 tokens onward.
Availability
Both models are open-weight and available now on Hugging Face under the LiquidAI organization, compatible with the transformers library (AutoModelForMaskedLM and AutoModel). Liquid AI published five accompanying demo Spaces covering zero-shot prompt routing, zero-shot policy linting, spell checking, PII detection across 40 categories and 16 languages, and a masked-diffusion text generation demo. The company also published a fine-tuning tutorial covering adaptation to long legal documents at 8k context. Pricing is not applicable, as these are open-weight downloadable models rather than hosted API products.
What this means
Encoder models like BERT and ModernBERT remain the workhorses behind production classification and routing systems precisely because they're cheap to run at scale, often on CPU rather than GPU. Liquid AI's pitch here isn't raw accuracy — the 350M model still trails three larger competitors on the benchmark suite — but cost efficiency at long context, a regime where older encoder architectures degrade badly on CPU. If the claimed 3.7x CPU speedup at 8,192 tokens holds up in independent testing, it directly lowers the compute bill for teams running always-on document classifiers, PII scanners, or intent routers on existing hardware rather than provisioning GPUs. The real test will be third-party reproduction of these benchmark numbers and latency figures outside Liquid AI's own framework.
Related Articles
DeepSeek Releases V4.1-Flash: 552B MoE Model Cuts KV Cache to 890 Bytes Per Token
DeepSeek has released V4.1-Flash, a 552B-parameter multimodal Mixture-of-Experts model supporting 1M-token context and activating only 8B parameters during prefill. The model uses a new Causal Encoder-Decoder architecture and Compressed Sparse Attention 2 to cut global KV cache to 890 bytes per token, roughly a quarter of its predecessor.
Alibaba Open-Sources Qwen3.8-2.4T-A95B, Its First Qwen-Max-Class Model With Public Weights
Alibaba's Qwen team released Qwen3.8-2.4T-A95B on August 12, 2026, the open-weight version of Qwen3.8-Max and the first Qwen-Max-class model made publicly available. The 2.4 trillion-parameter mixture-of-experts model activates only 95 billion parameters per token and supports context windows up to 1 million tokens.
AllSpark's Iris-mini and Iris-pro Top Open-Weight Search Agent Benchmarks
Chinese lab AllSpark has released Iris-mini and Iris-pro, two open-weight search agents built on Qwen3 models that claim the top spot among open-weight systems in their size classes on four research benchmarks. The release includes model weights, an agent harness, and evaluation code, with training pipelines to follow.
Tencent Open-Sources AuK, a 1.5B-Parameter Speech Generation and Editing Model
Tencent has open-sourced AuK, a 1.5B-parameter foundation model for speech generation and editing that handles TTS, content editing, and audio enhancement through natural-language instructions. The release includes a distilled AuK-Flash variant for 4-step fast inference, both under MIT license.
Comments
Loading...