Model pages · rapid-mlx 0.15.3

qwen3-4b-instruct-2507-4bit

Run Qwen3 4B Instruct (2507) on a Mac

The July-2025 refresh of Qwen3 4B in instruct form — direct answers, no thinking tokens. One of the most-pulled models in the catalog.

4 B dense · 4-biteveryday chat · summarisation · 8–16 GB Macs

Alibaba 256K context Base model intelligence 6.9 AA

Measured decode
61.2tok/s
on Mac mini M2 Pro · 32 GB
Weights
2.1 GB
Peak memory
2.9 GB

One command

rapid-mlx serve qwen3-4b-instruct-2507-4bit

Weights (2.1 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.

Measured on real hardware

Headline machine · Mac mini M2 Pro · 32 GB

Decode
61.2tok/s
First token
0.4s
Peak memory
2.9GB
Cold boot
4.5s

All measured machines

MachineDecodeFirst tokenPeak memoryCold bootWeights
Mac mini M2 Pro · 32 GB61.2 tok/s0.4 s2.9 GB4.5 s2.1 GB

Measured on rapid-mlx 0.12.10, 2026-08-11. Decode: median of 3 runs, temperature 0, 256-token saturating generation, engine-reported token counts, unique salt per request (no prefix-cache hits). TTFT: median of 3, short prompt. Boot: process spawn to first completed token. Peak RSS: 0.5 s sampling across the run.

Will it fit your Mac?

Measured peak memory
2.9 GB
Weights on disk
2.1 GB

Peak resident memory measured 2.9 GB during a 256-token generation. The KV cache grows with context length, so treat that as a floor, not a ceiling. 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 & alternatives

  • qwen3-4b-thinking-2507-4bit — The thinking variant — same weights class, reasons before answering

FAQ

How much memory does Qwen3 4B Instruct (2507) need on a Mac?

Measured peak resident memory was 2.9 GB on rapid-mlx 0.12.10 during a 256-token generation (M2 Pro, 32 GB). The weights are 2.1 GB on disk. Longer contexts grow the KV cache beyond this, so leave headroom.

How fast is Qwen3 4B Instruct (2507) on Apple Silicon?

We measured 61.2 tokens/sec sustained decode and 0.4 s time-to-first-token on a Mac mini M2 Pro (32 GB), median of 3 runs at temperature 0.

How do I run Qwen3 4B Instruct (2507) locally?

Install rapid-mlx (curl -fsSL https://rapidmlx.com/install.sh | bash, or brew install rapid-mlx), then: rapid-mlx serve qwen3-4b-instruct-2507-4bit — the weights download on first run and you get an OpenAI-compatible endpoint at localhost:8000/v1 that works with Cursor, Claude Code, Aider, and any OpenAI client.

Where next