Memory at each precision
| Version | Weights | With context | Smallest Mac |
|---|---|---|---|
| 8-bit | 32.4 GB | 35 GB | 48 GB |
| 6-bit | 24.8 GB | 26.8 GB | 36 GB |
| 4-bit | 17.2 GB | 18.7 GB | 32 GB |
| 3-bit lower quality | 13.3 GB | 14.8 GB | 24 GB |
| 2-bit lower quality | 9.5 GB | 11 GB | 16 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.
| Chip | Needs | Version | Tokens/s |
|---|---|---|---|
| M6 | 32 GB | 4-bit Runs well | 40–72 |
| M5 Ultra | 96 GB | 8-bit Runs well | 154–274 |
| M5 Max | 36 GB | 6-bit Runs well | 77–136 |
| M5 Pro | 48 GB | 8-bit Runs well | 39–70 |
| M5 | 32 GB | 4-bit Runs well | 36–64 |
| M4 Max | 36 GB | 6-bit Runs well | 68–121 |
| M4 Pro | 48 GB | 8-bit Runs well | 35–62 |
| M4 | 32 GB | 4-bit Runs well | 28–51 |
| M3 Ultra | 96 GB | 8-bit Runs well | 105–187 |
| M3 Max | 36 GB | 6-bit Runs well | 50–89 |
| M3 Pro | 36 GB | 6-bit Runs well | 25–44 |
| M3 | 16 GB | 2-bit Runs well | 45–80 |
| M2 Ultra | 64 GB | 8-bit Runs well | 103–183 |
| M2 Max | 32 GB | 4-bit Runs well | 95–168 |
| M2 Pro | 32 GB | 4-bit Runs well | 47–84 |
| M2 | 16 GB | 2-bit Runs well | 45–80 |
| M1 Ultra | 64 GB | 8-bit Runs well | 103–183 |
| M1 Max | 32 GB | 4-bit Runs well | 95–168 |
| M1 Pro | 32 GB | 4-bit Runs well | 47–84 |
| M1 | 16 GB | 2-bit Runs well | 31–54 |
How to run it
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 · MLX vs Ollama vs llama.cpp
About Qwen3 Coder 30B A3B Instruct
| Made by | Qwen (Alibaba) |
|---|---|
| Parameters | 30.5B total · 3.3B active (mixture of experts) |
| Context | 256K tokens |
| Licence | Apache-2.0 |
| Released | 2025-07 |
| Input | Text |
| Weights | Qwen/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
For your model card or README
Shows the smallest Mac that runs Qwen3 Coder 30B A3B Instruct well and links here.
[](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.
Open data: mlx.app/data (JSON, CSV)