Alibaba shipped Qwen4-35B-A3B under Apache 2.0, and "35B" understates its unified memory footprint. The 32.155 GB mlx-community 4-bit build (selected by the engine at 48 GB) makes 48 GB the Mac floor, 64 GB the sweet spot for Q4 GGUF headroom, and 96 GB comfortable for Q8_0.
Does Qwen4-35B-A3B run on a Mac?
The verdict table uses ModelFit engine arithmetic (ramBudgetRatio allocates 70% to 85% of unified memory to weights and KV cache): a 48 GB Mac gets 34.8 GB and a 64 GB Mac gets 48 GB. All tok/s figures are engine estimates.
| Mac tier | Usable RAM | Best build | Size | Verdict |
|---|---|---|---|---|
| 16 GB (M6) | 11.2 GB | None | Exceeds budget | No |
| 24 GB (M5 Pro) | 16.8 GB | None | Exceeds budget | No |
| 32 GB (M6) | 22.4 GB | None | Exceeds budget | No |
| 48 GB (M5 Pro) | 34.8 GB | 4bit | 32.155 GB | Tight (129.8 tok/s est.) |
| 64 GB (M5 Pro) | 48 GB | UD-Q5_K_M | 42.378 GB | Tight (98.5 tok/s est.) |
| 96 GB (M5 Ultra) | 76.8 GB | Q8_0 | 59.993 GB | Fits (220 tok/s est.) |
| 128 GB (M5 Max) | 108.8 GB | Q8_0 | 59.993 GB | Fits (139.1 tok/s est.) |
| 256 GB (M5 Ultra) | 217.6 GB | BF16 | 112.811 GB | Fits (148.1 tok/s est.) |
| 512 GB (M5 Ultra) | 435.2 GB | BF16 | 112.811 GB | Fits (148.1 tok/s est.) |
Get told when a better model fits your Mac Studio M5 Ultra 96 GB
One email when a new open-weight model is a better fit for your machine, plus the Thursday weekly.
For: Mac Studio M5 Ultra 96 GB
You'll also get the weekly ModelFit email. By signing up you agree to our Privacy Policy. Unsubscribe from either email anytime, in one click.
Nothing admissible fits below 48 GB: a 32 GB Mac has a 22.4 GB budget, and only excluded 1-bit and 2-bit quants go smaller. At 48 GB, the 32.155 GB mlx-community 4-bit build clears the 34.8 GB budget while ggml-org Q4_K_M (36.008 GB) misses it, making 48 GB MLX-only with short context.
At 64 GB (48 GB usable), any Q4 GGUF fits, including UD-Q4_K_M (35.185 GB) and UD-Q4_K_XL (36.239 GB). The engine picks UD-Q5_K_M (42.378 GB) at 98.5 tok/s est., rated tight as context grows. The 96 GB tier is the first rated fits, running Q8_0 (59.993 GB) at 220 tok/s est.
What is in the Qwen4-35B-A3B release?
The model card describes a multimodal model (text, image, and video input) combining Gated DeltaNet linear attention, Qwen Sparse Attention, and an MoE feed-forward stack. Weights split into 35B core MoE parameters, a 20B PLE n-gram embedding table, and a 2B multi-token prediction (MTP) head, totaling 56.82B safetensors parameters with 3B active per token.
Total memory in GB (weights + FP16 KV cache est. vs macOS wired-memory budgets)
The PLE table adds negligible compute per token yet still sits in memory, so you store 56.82B parameters for 3B active compute.
The config.json specifies 40 layers, 2 KV heads, 256 experts (8 active per token), and a 1,048,576-token native context. ModelFit arithmetic puts the KV cache at 20 KB per token: 0.084 GB at 4,096 tokens, 0.671 GB at 32,768 tokens, and 21.475 GB at 1,048,576 tokens.
A 32K session barely registers, whereas the full 1M window exceeds what 48 GB or 64 GB Macs can hold alongside Q4 weights or UD-Q5_K_M. Plan on 96 GB for full 1M context at Q4 or Q6_K.
Published weights and admissible builds
Byte counts come from Hugging Face API blob listings for Qwen, ggml-org, unsloth, and mlx-community. ModelFit excludes unsloth IQ1 and IQ2 quants (21.272 GB to 27.682 GB) for severe quality loss.
| Quant | Format | Size | Bytes | Status |
|---|---|---|---|---|
| BF16 | safetensors | 113.647 GB | 113,646,722,552 | Admissible |
| BF16 | gguf | 111.093 GB | 111,092,612,832 | Admissible |
| Q4_K_M | gguf | 36.008 GB | 36,007,915,136 | Admissible |
| Q6_K | gguf | 51.01 GB | 51,009,596,832 | Admissible |
| Q8_0 | gguf | 59.403 GB | 59,402,710,432 | Admissible |
| 4bit | mlx | 32.155 GB | 32,154,957,785 | Admissible |
| BF16 | gguf | 112.811 GB | 112,810,988,000 | Admissible |
| Q8_0 | gguf | 59.993 GB | 59,993,231,392 | Admissible |
| UD-IQ1_M | gguf | 22.346 GB | 22,346,076,448 | Excluded (below 3-bit) |
| UD-IQ1_S | gguf | 21.272 GB | 21,272,334,624 | Excluded (below 3-bit) |
| UD-IQ2_M | gguf | 26.613 GB | 26,612,994,336 | Excluded (below 3-bit) |
| UD-IQ2_S | gguf | 25.54 GB | 25,540,333,856 | Excluded (below 3-bit) |
| UD-IQ2_XS | gguf | 24.474 GB | 24,474,366,240 | Excluded (below 3-bit) |
| UD-IQ2_XXS | gguf | 23.397 GB | 23,396,782,368 | Excluded (below 3-bit) |
| UD-IQ3_S | gguf | 29.809 GB | 29,809,193,248 | Admissible |
| UD-IQ3_XXS | gguf | 28.735 GB | 28,735,222,048 | Admissible |
| UD-IQ4_NL | gguf | 33.102 GB | 33,102,024,992 | Admissible |
| UD-IQ4_XS | gguf | 32.037 GB | 32,036,540,704 | Admissible |
| UD-Q2_K_XL | gguf | 27.682 GB | 27,681,796,384 | Excluded (below 3-bit) |
| UD-Q3_K_XL | gguf | 30.881 GB | 30,881,001,760 | Admissible |
| UD-Q4_K_M | gguf | 35.185 GB | 35,184,587,040 | Admissible |
| UD-Q4_K_S | gguf | 34.176 GB | 34,175,766,816 | Admissible |
| UD-Q4_K_XL | gguf | 36.239 GB | 36,239,364,384 | Admissible |
| UD-Q5_K_M | gguf | 42.378 GB | 42,378,167,072 | Admissible |
| UD-Q5_K_S | gguf | 41.259 GB | 41,258,550,048 | Admissible |
| GGUF | gguf | 43.199 GB | 43,198,980,896 | Admissible |
| UD-Q6_K | gguf | 50.947 GB | 50,947,469,600 | Admissible |
| UD-Q6_K | gguf | 52.211 GB | 52,211,487,008 | Admissible |
| GGUF | gguf | 62.291 GB | 62,290,657,568 | Admissible |
| 4bit | mlx | 34.898 GB | 34,898,465,456 | Admissible |
ggml-org hosts Q4_K_M (36.008 GB), Q6_K (51.010 GB), Q8_0 (59.403 GB), and BF16 (111.093 GB). unsloth adds UD-Q4_K_M (35.185 GB), UD-Q5_K_M (42.378 GB), UD-Q6_K (50.947 GB), Q8_0 (59.993 GB), and MLX 4-bit (34.898 GB). The mlx-community 4-bit build is 32.155 GB, the 4-bit MLX build selected by the engine at 48 GB; BF16 safetensors is 113.647 GB.
On 64 GB, Q6_K (51.010 GB) exceeds the 48 GB budget, leaving UD-Q5_K_M as the top fit. On 96 GB (76.8 GB usable), Q4_K_M (36.008 GB) and Q6_K (51.010 GB) leave enough headroom for the full 1M window (21.475 GB KV cache), while Q8_0 leaves room for long contexts and requires 128 GB for the full 1M window. BF16 requires 256 GB or more.
Verified commands for llama.cpp, MLX, and Ollama
llama.cpp added the architecture in PR #33626, shipped in release b12969:
llama-cli -hf unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M
On 64 GB Macs, set --ctx-size below the full window because llama.cpp allocates cache for the requested context.
mlx-vlm PR #2897 is merged on main with day-0 support for Qwen4-35B-A3B (text, image, and video) on the 4-bit mlx-community repository (32.155 GB). Upstream mlx-lm PR #2140 and PR #2141 remain open according to the Qwen4 launch post, so use mlx-vlm from main (or oMLX) until those PRs merge.
Ollama serves the model under qwen4:35b-a3b in its library:
ollama run qwen4:35b-a3b
Expected speed and quality evidence
ModelFit has no Apple Silicon Lab run for this release yet. Engine estimates put the 4-bit build at 129.8 tok/s est. on a 48 GB M5 Pro, UD-Q5_K_M at 98.5 tok/s est. on a 64 GB M5 Pro, Q8_0 at 220 tok/s est. on a 96 GB M5 Ultra and 139.1 tok/s est. on a 128 GB M5 Max, and BF16 at 148.1 tok/s est. on 256 GB and 512 GB M5 Ultra systems.
With 3B active parameters, each token reads a fraction of the weights, keeping estimated decode fast even on the 59.993 GB Q8_0 build. Bandwidth dictates ranking, so the 96 GB Ultra outpaces the 128 GB Max in engine estimates; long-context prefill is slower and unmodeled.
The model card lists Alibaba evaluation scores, which remain vendor-reported and unverified on Mac.
How Qwen4-35B-A3B compares on your Mac
At 96 GB (M5 Ultra), ModelFit ranks Kolibri 1 (Q4_K_M, 49.8 GB load) first at 181.3 tok/s est., followed by Qwen3.6 35B-A3B (Q8) (Q8_0, 38.7 GB) at 160.4 tok/s est. and Nemotron 3 Super 120B-A12B (IQ4_XS, 64.5 GB) at 78.5 tok/s est. Qwen3.6 35B-A3B matches the 3B active count with a smaller footprint and no PLE table.
Choose Qwen4-35B-A3B for its 1,048,576-token context or image and video input; for text-only work at 48 GB, Qwen3.6 35B-A3B leaves more memory free. See the Mac Studio page for 96 GB specs, the RAM guide for budget math, the calculator for custom contexts, the ModelFit Mac checker for full rankings, and Qwen3.8-Flash-Next for lineage.
FAQ
What is the minimum Mac RAM for Qwen4-35B-A3B?
48 GB is the floor, and only for the 32.155 GB mlx-community 4-bit build selected by the engine within the 34.8 GB usable budget. Official Q4_K_M GGUF (36.008 GB) misses 48 GB, and 16, 24, or 32 GB Macs cannot fit any 3-bit or higher build.
Why does a 35B model need 48-64 GB?
Weights split into 35B core MoE parameters, a 20B PLE n-gram table, and a 2B MTP head, totaling 56.82B safetensors parameters. Only 3B are active per token, yet all 56.82B sit in RAM, so the 32.155 GB mlx-community 4-bit build fills most of a 48 GB Mac before KV cache.
Which build should I pick on a 64 GB Mac?
The engine picks UD-Q5_K_M (42.378 GB, 98.5 tok/s est.) inside the 48 GB usable budget. Pick UD-Q4_K_M (35.185 GB) if you need longer contexts, while Q6_K (51.010 GB) exceeds 64 GB.
Does MLX support Qwen4-35B-A3B?
Yes, via mlx-vlm. mlx-vlm PR #2897 is merged on main with day-0 support (text, image, and video) for the 32.155 GB mlx-community 4-bit repo. Upstream mlx-lm PR #2140 and PR #2141 remain open per the Qwen4 launch post, so use mlx-vlm from main (or oMLX) until they merge.
How much memory does the 1M context window need?
With 2 KV heads, KV cache costs 20 KB per token: 0.671 GB at 32,768 tokens and 21.475 GB at 1,048,576 tokens. The full 1M window (21.475 GB) requires a 96 GB Mac in Q4 or Q6_K (or 128 GB in Q8_0); on 48 GB and 64 GB, keep a shorter context (32K takes only 0.671 GB).
Sources
- https://huggingface.co/Qwen/Qwen4-35B-A3B
- https://huggingface.co/Qwen/Qwen4-35B-A3B/raw/main/README.md
- https://huggingface.co/Qwen/Qwen4-35B-A3B/raw/main/config.json
- https://huggingface.co/ggml-org/Qwen4-35B-A3B-GGUF
- https://huggingface.co/unsloth/Qwen4-35B-A3B-GGUF
- https://huggingface.co/mlx-community/Qwen4-35B-A3B-4bit
- https://ollama.com/library/qwen4
- https://huggingface.co/blog/qwen4
- https://github.com/ggml-org/llama.cpp/releases/tag/b12969
- https://github.com/ggml-org/llama.cpp/pull/33626
- https://github.com/Neywa-Labs/mlx-vlm/pull/2897
- https://github.com/ml-explore/mlx-lm/pull/2140
Don't miss the next one for your Mac Studio M5 Ultra 96 GB
This article covers one moment. Get one email when a newer open-weight model fits your machine better, plus the Thursday weekly with what changed.
For: Mac Studio M5 Ultra 96 GB
You'll also get the weekly ModelFit email. By signing up you agree to our Privacy Policy. Unsubscribe from either email anytime, in one click.
Match this model to a machine that can run it: by RAM tier for Apple Silicon, or by VRAM for an NVIDIA GPU.
See how this changes your recommendation
Run the wizardHave questions? Reach out on X/Twitter