mlx-optiq
← Models

LFM2.5-1.2B-Instruct-OptiQ-4bit

LiquidAI/LFM2.5-1.2B-Instruct, quantized by OptiQ for Apple Silicon.

On disk0.9 GB
Memoryabout 2 GB
Capability Score53.32

Capability Score breakdown

The six metrics behind this model's Capability Score of 53.32, as reported in the model card.

Capability Score breakdown: LFM2.5-1.2B-Instruct-OptiQ-4bitMMLU: This model 43.3; GSM8K: This model 69.7; IFEval: This model 79.1; BFCL-V3: This model 78.0; HumanEval: This model 48.8; HashHop: This model 1.0MMLU43.3GSM8K69.7IFEval79.1BFCL-V378.0HumanEval48.8HashHop1.0

Use it

Install

pip install mlx-optiq

Serve it

An OpenAI- and Anthropic-compatible server on this Mac. Every app below can use it.

optiq serve --model mlx-community/LFM2.5-1.2B-Instruct-OptiQ-4bit

OptiQ Code

The terminal coding agent uses whatever model optiq serve is running.

optiq serve --model mlx-community/LFM2.5-1.2B-Instruct-OptiQ-4bit
optiq code

OptiQ Lab

optiq lab --model mlx-community/LFM2.5-1.2B-Instruct-OptiQ-4bit

Claude Code

optiq run claude -m mlx-community/LFM2.5-1.2B-Instruct-OptiQ-4bit

Codex

optiq run codex -m mlx-community/LFM2.5-1.2B-Instruct-OptiQ-4bit

OpenCode

optiq run opencode -m mlx-community/LFM2.5-1.2B-Instruct-OptiQ-4bit

Mistral Vibe

optiq run vibe -m mlx-community/LFM2.5-1.2B-Instruct-OptiQ-4bit

Hermes Agent

optiq run hermes -m mlx-community/LFM2.5-1.2B-Instruct-OptiQ-4bit

OpenClaw

optiq run openclaw -m mlx-community/LFM2.5-1.2B-Instruct-OptiQ-4bit

optiq run starts optiq serve if it is not running, sets the agent up for this session only, and stops the server when the agent exits.

mlx-lm, text only

from mlx_lm import load, generate

model, tokenizer = load("mlx-community/LFM2.5-1.2B-Instruct-OptiQ-4bit")
print(generate(model, tokenizer, prompt="Hello", max_tokens=256))

Details

FamilyLFM2.5 · LFM2.5 docs
ArchitectureLFM2
Base modelLiquidAI/LFM2.5-1.2B-Instruct
Size on disk0.9 GB
Memory neededabout 2 GB
Imagesno, text only
Capability Score53.32 (from the model card)
Downloads194 in the last month
Updated2026-10-14
Hugging Facemlx-community/LFM2.5-1.2B-Instruct-OptiQ-4bit