mlx-optiq
← Models

Qwen3.5-4B-OptiQ-4bit

Qwen/Qwen3.5-4B, quantized with OptiQ by machinadeusex for Apple Silicon.

community
On disk2.9 GB
Memoryabout 5 GB

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 machinadeusex/Qwen3.5-4B-OptiQ-4bit

OptiQ Code

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

optiq serve --model machinadeusex/Qwen3.5-4B-OptiQ-4bit
optiq code

OptiQ Lab

optiq lab --model machinadeusex/Qwen3.5-4B-OptiQ-4bit

Claude Code

optiq run claude -m machinadeusex/Qwen3.5-4B-OptiQ-4bit

Codex

optiq run codex -m machinadeusex/Qwen3.5-4B-OptiQ-4bit

OpenCode

optiq run opencode -m machinadeusex/Qwen3.5-4B-OptiQ-4bit

Mistral Vibe

optiq run vibe -m machinadeusex/Qwen3.5-4B-OptiQ-4bit

Hermes Agent

optiq run hermes -m machinadeusex/Qwen3.5-4B-OptiQ-4bit

OpenClaw

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

Details

FamilyQwen · Qwen docs
ArchitectureQwen3.5
Base modelQwen/Qwen3.5-4B
Size on disk2.9 GB
Memory neededabout 5 GB
Imagesno, text only
Downloads25 in the last month
Updated2026-03-14
Hugging Facemachinadeusex/Qwen3.5-4B-OptiQ-4bit