d1
Liquid AI released 'd1', a specialized decision model optimized for high-speed, structured software logic like classification, routing, and moderation.
Decoder
- Decision Index: A benchmarking framework on Hugging Face that evaluates models on their ability to perform structured classification, routing, and categorization tasks.
- Decision Model: A subset of language models fine-tuned to output structured, predictable, and logical results rather than open-ended natural language text.
Original article
Liquid AI
Announcing d1, our first decision model.
It's the first model to outperform Jev on Hugging Face's Decision Index.
- wins on multilingual evals
- more robust against prompt injection
- handles longer inputs more effectively
- built for fast, structured decision-making in software environments
Liquid API: console.liquid.ai
Available on OpenRouter soon
Decision models page: docs.liquid.ai/lfm/models/decision-models
Migration guide: docs.liquid.ai/guides/decision-model-guide
Demo tutorial: github.com/Liquid4All/cookbook/tree/main/examples/road-decider
Enjoy π
More from @liquidai
Today we release Pipette, a model evaluation suite for on-device intelligence, in partnership with ArtificialAnalysis.
Most benchmarking platforms are optimized to measure core capabilities and speed profile of foundation models served in the cloud. Pipette gives the field a common, reproducible way to measure the quality, speed, latency, and memory use of AI models on devices such as phones, laptops, PCs, AI boxes, and embedded hardware.
- Pipette is open source
- In Pipette, models get compared as model + quantization + runtime + device from one interface.
- It comes with a warehouse of verified benchmark results, currently with 10k+ results across 35 model classes, 7 quants, llama.cpp runtimes, and 4 devices.
- Pipette is a dynamic platform, allowing new contributions from day one, adding new devices, runtimes, model families, and quantization levels.
What is being released today:
- An interactive dashboard for exploring and comparing on-device model performance: pipette.liquid.ai
- A public dataset containing more than 10k results, including 1000+ tested performance configurations across models, quantization levels, runtimes, and devices. Inspect the current breakdown: pipette.liquid.ai/coverage
- Benchmark clients for macOS, Windows, iOS, and Android that run versioned benchmark definitions on target devices: github.com/Liquid4All/pipette-clients
- A companion Artificial Analysis dashboard presenting Pipette results and the aggregate benchmark scores: artificialanalysis.ai/hardware-inference-stack/mobile-phones
- Apache 2.0-licensed open-source infrastructure for benchmark management, execution, submissions, and evaluation scoring.
- Native iOS and Android apps for running benchmarks directly on-device.
Get started: The initial public release covers about 35 model classes from several providers, with 7 llama.cpp quantization levels.
Laptop and desktop runs cover all four levels, while current phone runs cover all quant levels. The release includes context lengths from 256 to 8,192 tokens, where device memory allows.
Current devices include a MacBook Pro with M5 Max, iPhone 17 Pro, and Samsung Galaxy S26 Ultra, AMD Ryzen AI Max+ 395 with Radeon 8060S (coming live soon). More models, runtimes, and devices are on the way.
Today, we release DSpark draft models for LFM2.5-1.2B-Instruct, LFM2.5-2.6B, and LFM2.5-8B-A1B. These add a speculative decoding path that trades a minimal memory increase for a large decoding speedup without changing output quality.
A lightweight draft model proposes a block of candidate tokens and the target model verifies them in a single forward pass. Across MATH500, GSM8K, HumanEval, MBPP, and MT-Bench at batch size 1:
- Up to 3.18x throughput on an H100: LFM2.5-8B-A1B on MATH500, 428 β 1362 tok/s
- Up to 2.87x on an M4 Max MacBook Pro: LFM2.5-1.2B-Instruct on HumanEval, 136 β 389 tok/s
- LFM2.5-2.6B means: 2.67x on the H100 (323 β 864 tok/s), 2.27x on device (61 β 139 tok/s)
- Under greedy decoding, the emitted sequence is identical to baseline by construction, so benchmark accuracy is unchanged.
Each draft model is around 300M parameters, with embedding and LM head tied to its target model. The gain shows most in agentic workloads, where the model reasons before every tool call and the user waits through it all: on BFCL multi-tool scenarios, DSpark cuts LFM2.5-2.6B latency by nearly 50% on average.
Today, we release updated 4-bit checkpoints for LFM2.5-230M, LFM2.5-350M, LFM2.5-1.2B-Instruct, and LFM2.5-2.6B trained with Quantization-Aware Distillation (QAD). These checkpoints recover accuracy lost to 4-bit quantization while retaining the low memory footprint and high decode throughput of the Q4_0 format.
All four checkpoints reach roughly 97% of their BF16 averages.
Post-training quantization (PTQ) compresses an already-trained model without retraining it to adapt to quantization error, which can degrade model quality at lower precisions. QAD addresses this by simulating quantization during training and teaching the resulting quantized student to match a full-precision teacher. The final checkpoint remains a standard Q4_0 GGUF, so it requires no specialized inference runtime.
Today we release Antidoom, an open-source method that removes a common failure mode in reasoning models: the doom loop.
Doom-loop rates before and after, with eval scores up across the board:
- Early LFM2.5-2.6B checkpoint: 10.2% β 1.4%
- Qwen3.5-4B: 22.9% β 1% (greedy sampling)
A doom loop happens when the model emits a span, then repeats it over and over until the context window runs out. Small reasoning models hit it most on hard math and coding. The usual fixes are stopgaps. Applying repetition_penalty can degrade quality. RL needs calibrated rewards and costly rollouts.
Our approach is surgical. The loop almost always starts on one overtrained token, often an interruptive the model overproduces ("Wait," "So," "Alternatively"). We retrain that single token to prefer coherent alternatives and leave the rest of the distribution largely intact.
Today, we release LFM2.5-350M. Agentic loops at 350M parameters. A 350M model trained for reliable data extraction and tool use, where models at this scale typically struggle. <500MB when quantized, built for environments where compute, memory, and latency are constrained.
Trained on 28T tokens with scaled RL, LFM2.5-350M is a step change from LFM2-350M:
- instruction following: 18.20 β 40.69
- data extraction: 11.67 β 32.45
- tool use: 22.95 β 44.11
These are the capabilities that matter in production. What matters isnβt parameter count, itβs what you can actually run. This enables a different deployment model: move high-frequency, structured workloads closer to the data: on-device, on-prem, or at the edge instead of routing everything through a large cloud model.
LocalCowork is an AI agent that runs on a MacBook. Open source.
- 385ms average tool selection.
- 67 tools across 13 MCP servers.
- 14.5GB memory footprint.
- Zero network calls.
Building a local AI agent sounds great until you try to use one all day. The hard part isnβt getting a model to understand you. Itβs getting it to choose the right tool and do it fast enough that the experience feels interactive. So we put LFM2-24B-A2B to the test on laptops, building an open-source desktop agent called LocalCowork. Everything runs locally: the model, the tools, the data. No cloud. No API keys. Nothing leaves the machine.
Fresh dev news, AI-digested daily. Never miss a trend at devoured.fyi