HARDWARE FIT CHECK • Qwen 3.8 235B-A22B MoE + Apple Mac Studio M2 Ultra (192GB Unified Memory)149.84 GB / 144 GB VRAM

Can I Run Qwen 3.8 235B-A22B MoE on Apple Mac Studio M2 Ultra (192GB Unified Memory)?

Full VRAM footprint analysis, tokens/sec generation benchmark, and copy-paste Ollama & vLLM runtime commands for running Qwen 3.8 235B-A22B MoE (235B) on Apple Mac Studio M2 Ultra (192GB Unified Memory) (144 GB).

• TIGHT FIT149.84 GB (92%)~37 t/s

Target Hardware & Model

interactive
Frontier 235B sparse MoE reasoning & repository synthesis for 128GB–256GB unified memory and multi-GPU clusters
Qwen 3.8 235B-A22B MoE on Apple Mac Studio M2 Ultra (192GB Unified Memory)MoE (22B Active / 235B Total)

• Tight Fit — Runs 100% on GPU (Low Headroom)

• TIGHT FIT
Required VRAM
149.84 GB
92% of hardware capacity (163 GB)
Est. Decode Speed
~37 tok/s
22B active params @ 800 GB/s
Available Headroom
+13.16 GB
Safe for OS display & full context
Memory Allocation & Headroom
149.84 GB allocated of 163 GB capacity
92% utilized
Weights: 141 GBMoE (22B Active)
KV: (32K): 3.15 GB
Overhead: 5.69 GB
Free Headroom: +13.16 GB
Architecture & Throughput Transparency: Single-user decode speed (~37 tok/s) is memory-bandwidth bound at batch size = 1 on Apple Mac Studio M2 Ultra (192GB Unified Memory) (800 GB/s). Prompt prefill / TTFT (~537 tok/s) is compute-bound and utilizes GPU Tensor cores. Actual latency varies with FlashAttention-2 and runtime engine (Ollama/vLLM/llama.cpp).
MoE Memory vs Speed Architecture: While decode throughput scales with the active parameter count (22B parameters streamed per token), all 235B parameters must be resident in VRAM so the dynamic router can route tokens to any expert layer.

Local Hardware Configurations & Pricing

Tight Fit: Consider 32GB+ for Safe Headroom
High-bandwidth VRAM specs and current market prices
Multi-GPU Rig
48 GB VRAM

2x NVIDIA RTX 3090 Dual Rig (48GB Total VRAM)

Best price-to-VRAM homelab rig for Llama 3.3 70B Q4_K_M & Qwen 2.5 Coder 32B Q8_0

1648 GB/s700W TDP
Apple Silicon
54 GB VRAM

Apple Mac Mini M4 Pro (64GB Unified Memory)

Silent 65W desktop running 32B–70B models with large KV context

273 GB/s65W TDP
Apple Silicon
112 GB VRAM

Apple Mac Studio M4 Max (128GB Unified Memory)

Running Mistral Large 2 123B & Llama 3.3 70B Q8_0 locally with 128K context

546 GB/s145W TDP
Apple Silicon Workstation
144 GB VRAM

Apple Mac Studio M2 Ultra (192GB Unified Memory)

Silent 144GB usable unified VRAM running 70B FP16 & 405B Q3

800 GB/s120W TDP

Quantization Precision Matrix

32K ctx • KV: Q8_0
QuantizationWeightsKV CacheTotal VRAMEst. SpeedFit Status
FP1616 bpw470 GB3.15 GB490.35 GB (301%)0 t/sOOM
Q8_08.5 bpw249.1 GB3.15 GB261.72 GB (161%)0 t/sOOM
Q6_K6.56 bpw192.7 GB3.15 GB203.34 GB (125%)~6 t/sPARTIAL
Q5_K_M5.68 bpw166.85 GB3.15 GB176.59 GB (108%)~7 t/sPARTIAL
Q4_K_M4.8 bpw141 GB3.15 GB149.84 GB (92%)~37 t/sFITS
FP44.25 bpw124.55 GB3.15 GB132.81 GB (81%)~42 t/sFITS
IQ3_XS3.3 bpw96.35 GB3.15 GB103.62 GB (64%)~53 t/sFITS

Export Full Architecture & Infrastructure Spec

Download an instant Markdown architecture spec with exact memory math, hardware benchmarks, and runtime CLI flags.

FAQ & Reference

Frequently Asked Questions: Qwen 3.8 235B-A22B MoE on Apple Mac Studio M2 Ultra (192GB Unified Memory)

How much VRAM does Qwen 3.8 235B-A22B MoE need on Apple Mac Studio M2 Ultra (192GB Unified Memory)?

At standard 4-bit quantization (Q4_K_M) with 32K context, Qwen 3.8 235B-A22B MoE requires 149.84 GB of total VRAM (weights + KV cache + CUDA runtime overhead).

What inference speed will Qwen 3.8 235B-A22B MoE achieve on Apple Mac Studio M2 Ultra (192GB Unified Memory)?

Based on Apple Mac Studio M2 Ultra (192GB Unified Memory)'s 800 GB/s memory bandwidth, expected decode speed is approximately 8 tokens per second.

Can I expand context beyond 32K tokens?

Each additional 32K tokens of context requires additional KV cache memory. For longer context windows, consider 8-bit or 4-bit KV cache quantization.