mlx-optiq
← Models

Qwen3.8-27B-OptiQ-4bit

Qwen/Qwen3.8-27B, quantized with OptiQ by vaultai for Apple Silicon; takes images.

communityvisionMTP head

vaultai quantized Qwen3.8-27B from Qwen with OptiQ to make Qwen3.8-27B-OptiQ-4bit, a 27B-parameter model on the Qwen3.5 architecture. Its weights take 20.7 GB on disk and it needs about 25 GB of memory, so a Mac with 36 GB of unified memory or more is the floor to plan around. Its model card reports a Capability Score of 87.98. It carries an MTP head, so optiq serve --mtp can draft tokens with it; the command is below.

On disk20.7 GB
Memoryabout 25 GB
Capability Score87.98
Imagesyes

Capability Score breakdown

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

Capability Score breakdown: Qwen3.8-27B-OptiQ-4bitMMLU: This model 84.1; GSM8K: This model 96.1; IFEval: This model 77.1; BFCL-V3: This model 93.5; HumanEval: This model 92.1; HashHop: This model 85.0MMLU84.1GSM8K96.1IFEval77.1BFCL-V393.5HumanEval92.1HashHop85.0
TaskThis model
MMLU84.1
GSM8K96.1
IFEval77.1
BFCL-V393.5
HumanEval92.1
HashHop85.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 vaultai/Qwen3.8-27B-OptiQ-4bit

With its MTP head drafting tokens (speculative decoding):

optiq serve --model vaultai/Qwen3.8-27B-OptiQ-4bit --mtp

OptiQ Code

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

optiq serve --model vaultai/Qwen3.8-27B-OptiQ-4bit
optiq code

OptiQ Lab

optiq lab --model vaultai/Qwen3.8-27B-OptiQ-4bit

Coding agents

Claude Code, Codex, OpenCode, Mistral Vibe, Hermes Agent and OpenClaw run on it through optiq run. Put claude, codex, opencode, vibe, hermes or openclaw in place of <agent>. Setup for each agent is in Integrations.

optiq run <agent> -m vaultai/Qwen3.8-27B-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("vaultai/Qwen3.8-27B-OptiQ-4bit")
print(generate(model, tokenizer, prompt="Hello", max_tokens=256))

Details

FamilyQwen · Qwen docs
ArchitectureQwen3.5
Base modelQwen/Qwen3.8-27B
Size on disk20.7 GB
Memory neededabout 25 GB
Imagesyes, through optiq serve and the Lab
MTP headincluded
Capability Score87.98 (from the model card)
Downloads57 in the last month
Updated2026-11-23
Hugging Facevaultai/Qwen3.8-27B-OptiQ-4bit