Can a Mac run Qwen3 Coder 30B A3B Instruct?

Yes, with 32 GB of unified memory or more. Qwen3 Coder 30B A3B Instruct has 30.5B parameters, 3.3B of them active for each token; here is the memory it needs at each precision and how fast every Apple chip runs it.

Memory at 4-bit18.7 GBweights 17.2 GB + context
Smallest Mac32 GB4-bit · 55 Mac configurations
Fastest Mac154–274tokens/s · M5 Ultra 96 GB (estimate)

Memory at each precision

VersionWeightsWith contextSmallest Mac
8-bit32.4 GB35 GB48 GB
6-bit24.8 GB26.8 GB36 GB
4-bit17.2 GB18.7 GB32 GB
3-bit lower quality13.3 GB14.8 GB24 GB
2-bit lower quality9.5 GB11 GB16 GB

On every Apple chip

The smallest memory size of each chip that runs Qwen3 Coder 30B A3B Instruct, the best version that fits it, and the writing speed you can expect.

ChipNeedsVersionTokens/s
M632 GB4-bit Runs well40–72
M5 Ultra96 GB8-bit Runs well154–274
M5 Max36 GB6-bit Runs well77–136
M5 Pro48 GB8-bit Runs well39–70
M532 GB4-bit Runs well36–64
M4 Max36 GB6-bit Runs well68–121
M4 Pro48 GB8-bit Runs well35–62
M432 GB4-bit Runs well28–51
M3 Ultra96 GB8-bit Runs well105–187
M3 Max36 GB6-bit Runs well50–89
M3 Pro36 GB6-bit Runs well25–44
M316 GB2-bit Runs well45–80
M2 Ultra64 GB8-bit Runs well103–183
M2 Max32 GB4-bit Runs well95–168
M2 Pro32 GB4-bit Runs well47–84
M216 GB2-bit Runs well45–80
M1 Ultra64 GB8-bit Runs well103–183
M1 Max32 GB4-bit Runs well95–168
M1 Pro32 GB4-bit Runs well47–84
M116 GB2-bit Runs well31–54

How to run it

  1. The easy way: download MLX Harness, free and open source. Search for Qwen3 Coder 30B A3B Instruct, download the version that fits your Mac, and chat. It also serves the model to your other apps over an OpenAI-compatible API.Download MLX HarnessFree · Apple Silicon · macOS 14.5 or later
  2. In Terminal with Apple’s MLX:pip install mlx-lmmlx_lm.chat --model mlx-community/Qwen3-Coder-30B-A3B-Instruct-4bitBuild: mlx-community/Qwen3-Coder-30B-A3B-Instruct-4bit on Hugging Face. Other precisions sit next to it.

Step by step: download and run LLMs on a Mac · how to use MLX Harness · MLX vs Ollama vs llama.cpp

About Qwen3 Coder 30B A3B Instruct

Made byQwen (Alibaba)
Parameters30.5B total · 3.3B active (mixture of experts)
Context256K tokens
LicenceApache-2.0
Released2025-07
InputText
WeightsQwen/Qwen3-Coder-30B-A3B-Instruct

Questions

How much memory does Qwen3 Coder 30B A3B Instruct need?
About 17.2 GB of weights at 4-bit, plus room for the context: 18.7 GB in all. On a Mac that means 32 GB of unified memory or more, since macOS lets the GPU use about 75% of it by default.
How fast is Qwen3 Coder 30B A3B Instruct on a Mac?
Writing speed depends on memory bandwidth. The fastest Mac for it here is an M5 Ultra with 96 GB at about 154–274 tokens a second (8-bit). The smallest Mac that runs it, with 32 GB, manages about 95–168 on an M2 Max.
Why does Qwen3 Coder 30B A3B Instruct run faster than its size suggests?
It is a mixture-of-experts model: it holds 30.5B parameters in memory but reads only 3.3B for each token, so it writes at the speed of a much smaller model.

Similar models

Every model · Every Mac · Compare your Mac

For your model card or README

Runs on a Mac: Qwen3 Coder 30B A3B Instruct Shows the smallest Mac that runs Qwen3 Coder 30B A3B Instruct well and links here.

[![Runs on a Mac](https://mlx.app/badge/run/qwen3-coder-30b-a3b.svg)](https://mlx.app/run/qwen3-coder-30b-a3b)

How it’s worked out

Memory: the model’s parameters at 8, 6, 4, 3 or 2 bits per weight plus MLX’s group scales (half a bit per weight), or its native format, with room for the context on top. By default macOS lets the GPU use about 75% of unified memory. Speed: memory bandwidth divided by the bytes read per token is the ceiling for one conversation; in llama.cpp’s public Apple Silicon benchmarks real runs reach about 45% to 80% of it, which is the range shown. These are estimates, not measurements: measure your own Mac on MLX Bench. Model figures from each official model card, chip figures from Apple’s Tech Specs. Checked 2026-10-19. Same data as mlx.app/compare.

Can a Mac run Qwen3 Coder 30B A3B Instruct? RAM and speed