Model pages · rapid-mlx 0.16.0

qwen3-coder-30b-4bit

Run Qwen3 Coder 30B (A3B MoE) on a Mac

The coding specialist: a 30 B mixture-of-experts trained for code, with only ~3 B parameters active per token. This is the model to serve behind a local coding agent if the 35B generalist is too big.

MoE · 30 B total / 3 B active · 4-bit · codecoding agents · code completion · 32 GB Macs

Alibaba 256K context Base model intelligence 13.6 AA

Measured decode
91.5tok/s
on Mac mini M4 Pro · 48 GB · rapid-mlx 0.15.5 · 2026-10-03
Weights
15 GB
Peak memory · Metal
27.3 GB

One command

rapid-mlx serve qwen3-coder-30b-4bit

Weights (15 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-coder-30b-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
91.5tok/s
First token · 2K prompt
2.6 s
Peak memory · Metal
27.3 GB
Weights on disk
15 GB

All measured machines

MachineDecodeFirst tokenPeak memoryCold bootWeights
Mac mini M4 Pro · 48 GB rapid-mlx 0.15.5 · 2026-10-03 raw data91.5 tok/s2.6 s27.3 GB—15 GB

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

Will it fit your Mac?

Peak memory · Metal
27.3 GB
Weights on disk
15 GB

Measured 27.3 GB Metal peak (16.4 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.6-35b — Qwen3.6 35B — the generalist that also codes well

FAQ

How much memory does Qwen3 Coder 30B (A3B MoE) need on a Mac?

Measured 27.3 GB Metal peak (16.4 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 Coder 30B (A3B MoE) on Apple Silicon?

We measured 91.5 tok/s on a Mac mini M4 Pro · 48 GB, rapid-mlx 0.15.5, 2026-10-03; peak memory 27.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 Coder 30B (A3B MoE) locally?

rapid-mlx serve qwen3-coder-30b-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