Model pages · rapid-mlx 0.16.0

qwen3.5-4b-4bit

Run Qwen3.5 4B on a Mac

Our docs' default serve example and the most-pulled alias in the catalog — partly because every guide starts here, and it holds up: strong tool calling for its size, 85.8 tok/s on a 48 GB M4 Pro, and a 3 GB download that leaves room for everything else.

4 B dense · 4-bitfirst model to try · tool calling on small hardware

Alibaba 256K context Base model intelligence 20.4 AA

Measured decode
85.8tok/s
on Mac mini M4 Pro · 48 GB · rapid-mlx 0.15.4 · 2026-10-02
Weights
3.06 GB
Peak memory · Metal
4.3 GB

One command

rapid-mlx serve qwen3.5-4b-4bit

Weights (3.06 GB) download on first run; you get an OpenAI-compatible endpoint at http://localhost:8000/v1. No rapid-mlx yet? It's one line — curl -fsSL https://rapidmlx.com/install.sh | bash — or take the desktop app.

Point a client at it. OpenAI SDK: base_url="http://localhost:8000/v1", model="qwen3.5-4b-4bit". Claude Code: ANTHROPIC_BASE_URL=http://localhost:8000 (no /v1 suffix) — see the Claude Code guide.

Measured on real hardware

Headline machine · Mac mini M4 Pro · 48 GB

Decode
85.8tok/s
First token · 2K prompt
2.9 s
Peak memory · Metal
4.3 GB
Weights on disk
3.06 GB

All measured machines

MachineDecodeFirst tokenPeak memoryCold bootWeights
Mac mini M4 Pro · 48 GB rapid-mlx 0.15.4 · 2026-10-02 raw data85.8 tok/s2.9 s4.3 GB—3.06 GB

Each row cites its own run; numbers are never copied across machines. Mac mini M4 Pro · 48 GB: rapid-mlx 0.15.4, 2026-10-02 — raw data + method — 4 concurrent streams: 182.8 tok/s aggregate.

Community runs, one page per Mac: Apple M1 Max · Apple M2 Pro · Apple M2 · Apple M4 Max · Apple M4 Pro · Apple M4 · Apple M5 Max.

Will it fit your Mac?

Peak memory · Metal
4.3 GB
Weights on disk
3.06 GB

Measured 4.3 GB Metal peak (2.8 GB process RSS) on a 48 GB M4 Pro across the whole benchmark run — up to a ~16K-token prompt and four concurrent streams, including the engine's prefix cache, which defaults to 20% of RAM. A short chat needs less; long contexts grow the KV cache, so leave headroom.

For the conservative install-default placement see the hardware tiers table; to compare against every model your RAM can hold, use the live picker.

Variants & profiles

  • qwen3.5-9b-4bit — Qwen3.5 9B — the same line, noticeably smarter

FAQ

How much memory does Qwen3.5 4B need on a Mac?

Measured 4.3 GB Metal peak (2.8 GB process RSS) on a 48 GB M4 Pro across the whole benchmark run — up to a ~16K-token prompt and four concurrent streams, including the engine's prefix cache, which defaults to 20% of RAM. A short chat needs less; long contexts grow the KV cache, so leave headroom.

How fast is Qwen3.5 4B on Apple Silicon?

We measured 85.8 tok/s on a Mac mini M4 Pro · 48 GB, rapid-mlx 0.15.4, 2026-10-02; peak memory 4.3 GB on that run. Every row on this page keeps its own chip, version and date — no number is copied across machines.

How do I run Qwen3.5 4B locally?

rapid-mlx serve qwen3.5-4b-4bit — the weights download on first run and you get an OpenAI-compatible endpoint at localhost:8000/v1 for Aider, Codex and any OpenAI client, plus the Anthropic API at localhost:8000 for Claude Code.

Where next