- Vendor
- LiquidAI
- Parameters
- 1.2B
- Size
- 2.2 GB
$ brew install mirai$ mirai --model LiquidAI/LFM2.5-1.2B-InstructBenchmarks
LFM 2.5
Apple M4 Max 128GB
0.21 s
lower is better ↓
LFM 2.5
Apple M4 Max 128GB
198 t/s
higher is better ↑
LFM 2.5
Apple M4 Max 128GB
2.32 GB
lower is better ↓
Benchmarked 7 Aug 2026
Integrate with SDK
https://github.com/trymirai/uzu-swift
| 1 | import Foundation |
| 2 | import Uzu |
| 3 | |
| 4 | public func runChat() async throws { |
| 5 | let engineConfig = EngineConfig.create() |
| 6 | let engine = try await Engine.create(config: engineConfig) |
| 7 | |
| 8 | guard let model = try await engine.model(identifier: "alibaba:qwen3.5:0.8b:mirai:mirai-m:4") else { |
| 9 | return |
| 10 | } |
| 11 | for try await update in try await engine.download(model: model).iterator() { |
| 12 | print(String(format: "\r\u{001B}[2KDownload progress: %.2f%%", update.progress() * 100), terminator: "") |
| 13 | fflush(stdout) |
| 14 | } |
| 15 | print() |
| 16 | |
| 17 | let messages = [ |
| 18 | ChatMessage.system().withText(text: "You are a helpful assistant"), |
| 19 | ChatMessage.user().withText(text: "Tell me a short, funny story about a robot") |
| 20 | ] |
| 21 | let session = try await engine.chat(model: model, config: .create()) |
| 22 | let stream = await session.replyWithStream(input: messages, config: .create()) |
| 23 | var message: ChatMessage? = nil |
| 24 | for try await update in stream.iterator() { |
| 25 | switch update { |
| 26 | case .replies(let replies): |
| 27 | let reply = replies.last |
| 28 | message = reply?.message |
| 29 | print("Generated tokens: \(reply?.stats.tokensCountOutput ?? 0)") |
| 30 | case .error(let error): |
| 31 | print("Error: \(error)") |
| 32 | } |
| 33 | } |
| 34 | print("Reasoning: \(message?.reasoning() ?? "empty")") |
| 35 | print("Text: \(message?.text() ?? "empty")") |
| 36 | } |
| 37 | |
Details

LFM2.5-1.2B-Instruct is a compact, instruction-tuned language model from Liquid AI, purpose-built for on-device deployment. Part of the LFM2.5 family, it delivers surprisingly strong performance from just 1.17 billion parameters — rivaling much larger models while running under 1GB of memory.
Architecture & Training
The model uses a hybrid architecture combining 10 double-gated LIV convolution blocks with 6 grouped-query attention (GQA) blocks across 16 layers. It supports a 32,768-token context window and a vocabulary of 65,536 tokens. Pre-training was extended from 10T to 28T tokens, followed by large-scale multi-stage reinforcement learning. The knowledge cutoff is mid-2024.

Capabilities
LFM2.5-1.2B-Instruct excels at agentic tasks, data extraction, and RAG workflows. It supports eight languages — English, Arabic, Chinese, French, German, Japanese, Korean, and Spanish — and includes built-in function calling with Pythonic tool-use syntax. The model is best suited for structured tasks rather than knowledge-intensive queries or programming.
Edge-First Performance
Speed is a defining feature. The model achieves 239 tok/s decode on AMD CPU and 82 tok/s on mobile NPU, with day-one support for llama.cpp, MLX, vLLM, and Transformers. Quantized variants (GGUF, ONNX, MLX) are available for optimized deployment across cloud, desktop, and mobile environments.

Benchmarks at a Glance
Among sub-2B models, LFM2.5-1.2B-Instruct leads on GPQA (38.89), MMLU-Pro (44.35), IFEval (86.23), and AIME25 (14.00), outperforming Qwen3-1.7B, Granite 4.0-1B, Llama 3.2-1B, and Gemma 3-1B across most benchmarks.
Fine-Tuning
The model supports fine-tuning via Unsloth and TRL, including SFT, DPO, GRPO, and continued pre-training — making it highly adaptable for domain-specific use cases.