Model × hardware

Can Mac mini (2024) M4 (10-core GPU) 32GB run Qwen3-Coder-30B-A3B-Instruct?

Qwen3-Coder-30B-A3B-Instruct at Q4_K_M fits the estimated Mac mini (2024) M4 (10-core GPU) 32GB memory budget at 4,096 tokens: 18.66 GiB required versus 24.00 GiB usable. 23.9–47.9 estimated tokens/s.

Selected formatQ4_K_M
Estimated requirement18.66 GiB
Usable device memory24.00 GiB
Estimated headroom5.34 GiB
Adjust this setup ↗Hardware details

Compare the recorded formats.

One sequence, default context up to 4,096 tokens; 75% memory budget
QuantWeight filesEstimated KVEstimated totalFitEstimated generation
Q4_K_M17.28 GiB0.38 GiB18.66 GiBfits23.9–47.9 estimated tokens/s
Q5_K_M20.23 GiB0.38 GiB21.61 GiBborderline20.4–40.9 estimated tokens/s
Q8_030.25 GiB0.38 GiB31.63 GiBdoesn't fitEstimated speed unavailable

What changes with a longer context?

Q4_K_M; constant weights, growing estimated cache
Context tokensEstimated KVEstimated totalFit
2,0480.19 GiB18.47 GiBfits
4,0960.38 GiB18.66 GiBfits
8,1920.75 GiB19.03 GiBfits
16,3841.50 GiB19.78 GiBfits
32,7683.00 GiB21.28 GiBfits

The formula for this estimate.

Weights GiB = exact recorded file bytes / 2^30. KV GiB = 2 × layers × KV heads × head dimension × context × KV bytes / 2^30. Required GiB = weights + KV + runtime overhead. Usable GiB = device GiB × usable fraction. Estimated decode tokens/s = bandwidth GB/s × 10^9 / (active parameters B × 10^9 × effective bytes per weight) × efficiency. Effective bytes per weight = file bytes / (total parameters B × 10^9). Selected efficiency = 0.6; sensitivity uses 0.4–0.8.

Assumptions and limitations
  • Memory values labeled GB in the data contract are GiB (2^30 bytes); bandwidth uses decimal GB/s (10^9 bytes/s).
  • The memory budget reserves 25.0% of device memory. Runtime overhead is an assumed 1 GiB.
  • KV cache assumes 2 bytes per element, independently of weight quantization. Runtime cache layout and allocation can add memory.
  • Memory fit does not establish runtime, driver, operating-system, architecture, or quantization support.
  • All speed values are estimated single-stream decode proxies, not benchmarks. Prefill, batching, latency, and concurrent sessions are not predicted.
  • Estimated speed sensitivity is not a confidence interval; actual speed can fall outside the range because of compute, cache traffic, kernels, thermal limits, and other workloads.
  • Effective bytes per weight is the exact file-size / total-parameter proxy. Metadata, tensors with different precision, padding, and duplicated tensors make it different from nominal quantization bits.
  • Weight memory includes every recorded MoE expert. Active parameters affect estimated decode traffic only, and uniform bytes per active parameter is an approximation.

Source records

Official model metadata · Exact weight files · Maker hardware specifications

Model verified 2026-10-22; hardware verified 2026-10-22. This is an estimated memory and bandwidth calculation, not a hands-on benchmark.