Qwen3 235B A22B on M5 Ultra 512 GB: VRAM, speed and fit
Qwen3 235B A22B at 8-bit runs on the M5 Ultra 512 GB with 40K of context at about 23 tokens a second.
Text generation · Chat · Ollama / LM Studio
Runs comfortably · on M5 Ultra 512 GB · 8-bit (Q8_0) · Ollama / LM Studio · Chat
- GPU memory
- 369 GB
- of 512 GB
- Context
- 40K
- auto
- Speed
- 23 tok/s
- 19 when full
- First reply
- 4.3 s
- 2K prompt
Where the memory goes
- Model
- 233 GB
- Context
- 7.3 GB
- Overhead
- 681 MB
- OS
- 128 GB
- Free
- 143 GB
- Memory
- 369 GB of 512 GB
- Context
- 40K tokens · auto
- Speed
- 23 tok/s · 19 when full
- First reply
- 4.3 s for a 2K prompt
- Running cost
- $5.06/mo at home · $574/mo on a cloud 8× A40
Validation: Validated with conditions
| Check | Target | Result | Status |
|---|---|---|---|
| Fits in GPU memory | 384 GB usable | 241 GB needed | Pass |
| Headroom | 5% free | 143 GB free (37%) | Pass |
| Context for chat | 16K or more | 40K | Pass |
| Writing speed | 15 tok/s or more | 23 tok/s | Pass |
| First reply | under 3 s, 2K prompt | 4.3 s | Check |
Targets: a reply you can read along with, a first reply the use case tolerates, and 5% of memory left free. Calculated from published specs, not benchmarked.
The setup
- Model
- Qwen3 235B A22B
- Parameters
- 235B, 22B active
- Precision
- 8-bit (Q8_0)
- Context
- 40K, auto
- Chats at once
- 1
- Use
- Chat
- Runs in
- Ollama / LM Studio
- Hardware
- M5 Ultra 512 GB
- GPU can use
- 384 GB of 512 GB
Running cost
- At home
- $5.06/mo
- 231 W at the wall
- Renting instead
- $574/mo
- 8× A40 at $4.72/h
4 h a day, power at $0.18 per kWh, cloud at RunPod on-demand prices as of Nov 22, 2026.
How to run it
- llama.cpp
llama-server -hf unsloth/Qwen3-235B-A22B-GGUF- vLLM
vllm serve Qwen/Qwen3-235B-A22B- MLX (Mac)
mlx_lm.chat --model mlx-community/Qwen3-235B-A22B-4bit- Model card
- huggingface.co/Qwen/Qwen3-235B-A22B
Qwen3 235B A22B on similar machines
- M5 Max 128 GBRuns
- M3 Ultra 96 GBJust misses
- M3 Ultra 256 GBRuns
- M3 Ultra 512 GBRuns
- Ryzen AI Max+ 395 64 GBToo big
- Ryzen AI Max+ 395 128 GBRuns
- RTX SparkRuns
- DGX SparkRuns
All machines: Qwen3 235B A22B VRAM requirements. Everything that runs here: what can the M5 Ultra 512 GB run?
Other models that run on M5 Ultra 512 GB
Questions
Can Qwen3 235B A22B run on M5 Ultra 512 GB?
Qwen3 235B A22B at 8-bit runs on the M5 Ultra 512 GB with 40K of context at about 23 tokens a second.
Report VR-0BHQ2XO, calculated Nov 22, 2026 from published specs, not benchmarked.