Can Mac Studio M3 Ultra (512 GB) run Qwen 3 235B A22B (MoE)?

Yes. Mac Studio M3 Ultra (512 GB) runs Qwen 3 235B A22B (MoE) at Q8_0 with a 16K context, using 241 GB of 430 GB usable memory at an estimated 13.3–22 tok/s. The largest context that still fits at Q8_0 is 128K.

Asking through an AI agent? Point it at llms.txt or the JSON API.

Open in calculator
Fits comfortablyQ8_0 · 16K context
13.3–22 tok/s
241 GBof 430 GB usable memory
56% used
Weights233 GBKV cache2.9 GBOverhead5.3 GB
189 GB free

Every quantization on M3 Ultra 512GB

Q4_K_M (4-bit)
qwen3:235b
132 GB
real file size
141 GBFits comfortably128K
22–37 tok/s
Calibrated
Q6_K (6-bit)
180 GB
estimate
188 GBFits comfortably128K
16.8–28 tok/s
Calibrated
Q8_0 (8-bit)
qwen3:235b-a22b-q8_0
233 GB
real file size
241 GBFits comfortably128K
13.3–22 tok/s
Calibrated
FP16 / BF16 (16-bit)
qwen3:235b-a22b-fp16
438 GB
real file size
446 GBPartial offload—
3.0–7.1 tok/s
Estimate

Mac Studio M3 Ultra (512 GB) has 430 GB usable for models out of 512 GB of unified memory. Max context is the longest window that still loads without spilling out of that memory. The label under each speed says whether it was measured, scaled from measurements on this hardware, or modelled.

Qwen 3 235B A22B (MoE) on M3 Ultra 512GB by runtime

Command
Ollama
Q8_0
qwen3:235b-a22b-q8_0
233 GB
real file size
241 GBFits comfortably13.3–22 tok/s
LM Studio
Q8_0
unsloth/Qwen3-235B-A22B-Instruct-2507-GGUF
233 GB
real file size
241 GBFits comfortably13.3–22 tok/s
llama.cpp
Q8_0
unsloth/Qwen3-235B-A22B-Instruct-2507-GGUF
233 GB
real file size
241 GBFits comfortably13.3–22 tok/s
MLX
8-bit
mlx-community/Qwen3-235B-A22B-Instruct-2507-8bit
233 GB
real file size
241 GBFits comfortably11.9–25 tok/s

Each runtime loads its own build, so sizes differ. Ollama, LM Studio and llama.cpp use GGUF files, MLX its own format. Numbers above this table are for Ollama.

Cost per 1M tokens at 1M tokens/day

Local on M3 Ultra 512GB
—

$5.58/mo power

Rented cloud GPU
$54.44

4x H100 SXM (320 GB) on RunPod at $17.56/hr

OpenRouter API
$0.31

$0.14 in / $0.80 out per 1M

Counting the hardware, the API stays cheaper at every volume this machine can serve. Local still wins on privacy and offline use. Assumes 75% input and 25% output tokens, one request at a time. Rent on RunPod · Open on OpenRouter

Questions and answers

Can Mac Studio M3 Ultra (512 GB) run Qwen 3 235B A22B (MoE)?

Yes. Mac Studio M3 Ultra (512 GB) runs Qwen 3 235B A22B (MoE) at Q8_0 with a 16K context, using 241 GB of 430 GB usable memory at an estimated 13.3–22 tok/s. The largest context that still fits at Q8_0 is 128K.

How fast is Qwen 3 235B A22B (MoE) on Mac Studio M3 Ultra (512 GB)?

About 13.3–22 tok/s at Q8_0. Scaled from 1 published llama.cpp measurement on this chip.

How much context can Qwen 3 235B A22B (MoE) use on Mac Studio M3 Ultra (512 GB)?

At Q8_0 the largest context that fits is 128K tokens. Q4_K_M: 128K, Q6_K: 128K.