Skip to main content
Back

LiquidAI's LFM2.5 Runs a 128K Reasoning Model on MacBooks at 253 Tokens per Second

Liquid AI's LFM2.5-8B-A1B lands on Apple Silicon with 8-bit quantization, hitting 253 tok/s under 6 GB RAM for fully private on-device agents

Pro

Model, Full Access
  • New release: Liquid AI released LFM2.5-8B-A1B-MLX-8bit, an 8-bit Apple Silicon build of their on-device reasoning model.
  • Sparse MoE efficiency: 8.3B total parameters, only 1.5B active per token, fits in 9 GB RAM on Apple Silicon.
  • Blazing speed: 253 tokens/s on M5 Max, 146 on Ryzen AI Max+ 395, ~30 tok/s on a phone, all under 6 GB.
  • Massive benchmark gains: Non-hallucination rate jumped from 7.46% to 63.47%; MATH500 up from 74.8 to 88.76; Tau² Telecom up from 13.6 to 88.07 vs. predecessor.
  • 128K context + reasoning: Context window quadrupled from 32K; model now produces explicit chain-of-thought before every answer.
  • Limitations: Text-only (no vision/audio), not ideal for heavy code generation or knowledge-intensive QA without retrieval.

Running a reasoning model with a 128K context window on a MacBook at 253 tokens per second, under 6 GB of RAM, with no cloud dependency, was not a realistic expectation a year ago. LFM2.5-8B-A1B-MLX-8bit makes that the default experience. Liquid AI has released an 8-bit quantized, Apple Silicon-native build of their latest edge model, and the numbers are hard to ignore.

8B on the label, 1.5B on the clock

LFM2.5-8B-A1B is a sparse Mixture-of-Experts (MoE) model designed to run on consumer hardware while supporting tool-calling and long-context reasoning. The architecture totals 8.3B parameters but activates only 1.5B per token, enabling reasonable throughput and memory use on CPUs, laptops, and phones. That distinction is the whole story. MoE (Mixture-of-Experts) means the model is split into many specialized sub-networks called "experts," and only a small subset of them fire for any given token. You get the capacity of a large model at the compute cost of a much smaller one.

Active parameters let a model carry more latent capacity than a dense model of the same active budget, while making the deployed workload look closer to a smaller model. That is exactly what edge hardware wants. The model card describes LFM2.5-8B-A1B as a 24-layer model with 18 double-gated LIV convolution layers and 6 grouped-query attention layers. The config lists 32 experts, routes 4 experts per token, uses 32 attention heads, and uses 8 key-value heads for grouped-query attention.

What changed from LFM2

Compared to LFM2-8B-A1B, this new version expands the context window from 32,768 to 128,000 tokens, allowing the model to process longer documents and reason for longer. Its vocabulary size was also scaled up from 65,536 to 128,000 to tokenize non-Latin scripts more efficiently. Particularly strong compression gains appear in Hindi, Thai, Vietnamese, Indonesian, and Arabic.

The training pipeline also got a serious overhaul. LFM2.5 is a new family of hybrid models designed for on-device deployment, building on the LFM2 architecture with extended pre-training and reinforcement learning. Pretraining was scaled from 12T to 38T tokens. Unlike its predecessor, LFM2.5-8B-A1B is a reasoning-only model, producing an explicit chain of thought before its final answer. Liquid adopted this strategy because MoE models generally run in compute-bound settings, where a smaller number of active parameters makes each reasoning token cheap. This provides a significant quality boost without compromising speed.

Two specific training problems got dedicated fixes:

  • Doom loops: A targeted preference optimization stage identifies tokens that tend to trigger looping behavior in specific contexts, then redistributes probability mass toward plausible alternatives. During RL, a lightweight shaping reward also discourages excessive use of common loop-inducing restart words like "Wait..."
  • Hallucinations: The hallucination improvement comes from a targeted RL stage using avg@k-based rewards that teach the model to abstain on out-of-knowledge queries rather than confabulate. It does not solve hallucination entirely, but it makes the failure mode far less dangerous in production.

The benchmark leap is real

The gap between LFM2 and LFM2.5 on evals is not incremental. It is a generational jump on several axes:

BenchmarkLFM2-8B-A1BLFM2.5-8B-A1BChange
AA-Omniscience Non-Hallucination Rate7.4663.47+56.01
IFEval (instruction following)79.4491.84+12.40
MATH50074.8088.76+13.96
Tau² Telecom (agentic)13.6088.07+74.47

Liquid reports parity with much larger models on instruction-following, matching Gemma-4-26B-A4B-IT on IFEval at a fraction of the active parameter count, and strong performance on agentic benchmarks. The AA-Omniscience benchmark is worth unpacking: it rewards correct answers and penalizes hallucinations, so the jump from 7.46 to 63.47 on the non-hallucination rate is not just a score improvement, it means the model learned to say "I don't know" instead of making things up.

Speed that actually runs on your hardware

On both laptop-class chips, it is the fastest model tested at reading in prompts and generating answers, decoding 253 tokens/s on an M5 Max and 146 on a Ryzen AI Max+ 395 while staying under 6 GB. It even holds ~30 tokens/s on a phone, so a capable assistant runs instantly and privately on your own device.

LFM2.5-8B-A1B is the fastest model in its size class, reaching 18.5K output tokens per second at high concurrency on GPU. Day-one inference support covers llama.cpp, MLX, vLLM, SGLang, ONNX, and Liquid's LEAP edge platform.

The MLX-8bit variant: what it is and how to use it

The model on Hugging Face is a direct conversion of the base LFM2.5-8B-A1B weights into Apple's MLX format, quantized to 8 bits per weight with a group size of 64 in affine mode. MoE routing gates are also retained at 8-bit precision. The result fits in 9 GB on Apple Silicon and runs natively on the Metal GPU.

Getting started takes three lines:

pip install mlx-lm
from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler, make_logits_processors
model, tokenizer = load("LiquidAI/LFM2.5-8B-A1B-MLX-8bit")
messages = [{"role": "user", "content": "Summarize this document: ..."}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
sampler = make_sampler(temp=0.2, top_k=80)
logits_processors = make_logits_processors(repetition_penalty=1.05)
response = generate(model, tokenizer, prompt=prompt,
    sampler=sampler, logits_processors=logits_processors, verbose=True)

Liquid recommends sampling with temperature 0.2, top_k 80, and repetition_penalty 1.05 for coherent reasoning traces. The model uses a ChatML-like format and supports function calling out of the box via tokenizer.apply_chat_template(..., tools=...).

You can also spin up a local OpenAI-compatible server in one command:

mlx_lm.server --model "LiquidAI/LFM2.5-8B-A1B-MLX-8bit"

This makes it a drop-in backend for any tool that speaks the OpenAI API, including local coding agents like Pi or Hermes.

Where it shines, where it falls short

Liquid recommends LFM2.5-8B-A1B for agentic workflows, tool use, structured outputs, multilingual assistants, and on-device personal-assistant applications. The Tau² Telecom score of 88.07 is particularly striking for a model this size, suggesting it can handle complex, multi-step tool dispatch reliably.

The limits are honest ones. Where it falls short: heavy code generation and knowledge-intensive QA without retrieval augmentation. It is text-only with no vision or audio. The small active parameter count limits raw knowledge capacity, so pairing with retrieval for knowledge-heavy QA is recommended. Reasoning-only outputs emit chain-of-thought tokens for every turn, which impacts token usage and latency.

The bigger picture: private agents on consumer hardware

Liquid AI's open-source LocalCowork demo runs 67 tools across 13 MCP servers entirely offline, showing what a capable on-device agent can look like today. The point is not the tool count. It is that the entire loop, from query to tool dispatch to result, runs on a single laptop with no data leaving the machine.

The edge market is not a miniature version of the cloud market. Phones and laptops do not have datacenter cooling. Robots cannot wait for round trips to an API. Enterprise laptops cannot send every sensitive document to a hosted model. The edge race is a fight over latency, memory, privacy, battery, and distribution. LFM2.5-8B-A1B, and its MLX-8bit variant in particular, is a direct answer to that fight. The model is free to download, open-weight under Liquid's LFM 1.0 license, and available now on Hugging Face. The official blog post has the full benchmark tables, and the Liquid docs cover fine-tuning and deployment in detail.