F TIEROut of Memory (Exceeds Hardware Pool)Q4_K_M • 8K Context
Can Apple Mac mini M4 Pro (24GB Unified) Run Qwen 3 235B-A22B (MoE / 22B Active)?
Out of Memory: Qwen 3 235B MoE (Q4_K_M) needs 145.1 GB vs 18 GB usable GPU memory.
Est. Token SpeedOOM
VRAM Required145.09 GBWeights 142.47 + KV 1.47 + OS 1.15
Usable GPU Budget18 GB273 GB/s (Metal)
GPU Layer Offload0%Host RAM Spill
Quick Start Command (Q4_K_M)
ollama run qwen3:235bUpgrade Pick: Mac Studio M3 Ultra 256GB (192GB)
- macOS defaults to ~75% wired GPU memory (18 GB on 24 GB Unified RAM). Advanced users can unlock up to ~85% via "sudo sysctl iogpu.wired_limit_mb=...".
- MoE Advantage: All 235B parameters must reside in memory, but only 22B active parameters are streamed per token — boosting decode speed significantly.
All Quantization Presets: Qwen 3 235B MoE on Mac mini M4 Pro 24GB
Compare how dropping quantization (e.g., Q8_0 → Q4_K_M) reduces VRAM and lifts token speed.
| Quantization | VRAM (8K Ctx) | Fit Status | Est. Speed (8K) | VRAM (32K Ctx) | Score |
|---|---|---|---|---|---|
| Q4_K_M (4-bit) | 145.09 GB | Out of Memory | OOM | 149.5 GB (OOM) | F TIER |
| Q5_K_M (5-bit) | 170.06 GB | Out of Memory | OOM | 174.47 GB (OOM) | F TIER |
| Q6_K (6-bit) | 195.32 GB | Out of Memory | OOM | 199.73 GB (OOM) | F TIER |
| Q8_0 (8-bit) | 252.31 GB | Out of Memory | OOM | 256.72 GB (OOM) | F TIER |
| FP16 / BF16 | 472.62 GB | Out of Memory | OOM | 477.03 GB (OOM) | F TIER |
Adjust Context Window, Quantization & Host RAM Live
24GB • 273 GB/s
235B (22B active)
Or Paste ANY HuggingFace Model IDLive config.json
3. Quantization PrecisionRecommended daily driver (~98% quality)
4. Context Window (KV Cache)+1.47 GB KV Cache
Apple Unified RAM (Locked)24 GB
Unified Memory shares 24 GB between CPU & GPU (~18 GB default macOS Metal budget).
F TIEROut of Memory (Exceeds Hardware Pool)
Full Benchmark Page Out of Memory: Qwen 3 235B MoE (Q4_K_M) needs 145.1 GB vs 18 GB usable GPU memory.
Est. Token Speed
OOM
Cannot load model into available memory
Total VRAM Needed
145.09/ 18 GB usable
127.09 GB over GPU budget
Memory Bandwidth
273GB/s
Metal • LPDDR5X Unified (273 GB/s)
VRAM Memory Breakdown
Weights: 142.47 GBKV Cache: 1.47 GBRuntime: 1.15 GB
0 GBMac mini M4 Pro 24GB Limit: 18 GB146 GB
- macOS defaults to ~75% wired GPU memory (18 GB on 24 GB Unified RAM). Advanced users can unlock up to ~85% via "sudo sysctl iogpu.wired_limit_mb=...".
- MoE Advantage: All 235B parameters must reside in memory, but only 22B active parameters are streamed per token — boosting decode speed significantly.
Recommended Hardware Upgrade for 100% GPU Offload
Apple Mac Studio M3 Ultra (256GB Unified) (819 GB/s)
Provides 192 GB usable GPU memory — fits Qwen 3 235B MoE (Q4_K_M) with zero CPU RAM slowdown.
Mac Storage Tip: Thunderbolt 5 External NVMe SSD (4TB) — save on internal Apple storage for large GGUF checkpoints.