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
Moonshot AI Open-Sources Kimi K3 Weights After Model Matched GPT-5.6 Sol on Benchmarks
Moonshot AI has released open weights, a technical report, and supporting infrastructure for Kimi K3, a model that claims 2.5x more intelligence per unit of compute. Independent testing found notable gaps in cybersecurity and math performance compared to Western frontier models.
Microsoft Releases Fara1.5-27B, a 27B Vision-Only Web Browsing Agent with 262K Context
Microsoft Research AI Frontiers has released Fara1.5-27B, a 27-billion-parameter multimodal agent that completes web tasks by reading screenshots and emitting click/type/scroll commands. The model, fine-tuned from Qwen3.5-27B, ships under MIT license with a 262K-token context window and is designed to run alongside Microsoft's MagenticLite sandbox.
Allen Institute Launches OlmoEarth Platform for Continent-Scale Satellite Inference
Ai2 has launched the OlmoEarth Platform, infrastructure built to run its OlmoEarth Earth observation foundation models at continent scale. A North America wildfire-risk map used nearly 20,000 CPUs and 994 GPUs simultaneously, cutting an estimated 4,737 serial-compute hours to about 30.5 hours.
Moonshot AI Releases Kimi K3: 2.8T-Parameter Open-Weight Model with 1M-Token Context, Now Available via Unsloth Quantiza
Moonshot AI has released Kimi K3, a 2.8-trillion-parameter open-weight mixture-of-experts model with a 1-million-token context window and native multimodal support. Unsloth has published Dynamic 2.0 quantized versions on Hugging Face, claiming improved accuracy over other quantization methods.
Comments
Loading...