LocalTPS

Can MacBook Pro / Studio M5 Max (128GB Unified) Run Qwen3-Coder-Next 80B (MoE)?

Quick Verdict:Yes — Qwen3-Coder-Next 80B (MoE) (Q4_K_M) fits inside MacBook Pro / Studio M5 Max (128GB Unified)'s 96 GB VRAM at 64K context (48.1 GB used), delivering ~214.0 tok/s and 6.3s TTFT.

Hardware

96 / 128 GB (75%)
GB
GB

Model & Context

MoE · 79.7B (1.6B active)
HF config.json
12/48 KV · Hybrid Stateunsloth/Qwen3-Coder-Next-GGUF
Coding Agent Context Presets
65,536 tokens · KV: FP16
Context Window64K / 256K
KV Cache Quant
MTP Speculative Decoding
Smooth (Ready for Agent)

Fits cleanly in VRAM with fast decode and prefill — ready for full-time Cline / OpenCode sessions.

Generation Speed
214.0 tok/s
Full Apple VRAM residency
Time to First Token (TTFT)
6.3 sec
32,000 prompt tokens
VRAM Status
Fits in VRAM
48.1 / 96 GB
Unified memory pool
VRAM Allocation BreakdownTotal Required: 48.15 GB / 96 GB Unified Limit
Model Weights (GGUF):45.20 GB
KV Cache:1.66 GB
Runtime Overhead:1.29 GB

Technical FAQ

How much VRAM does Qwen3-Coder-Next 80B (MoE) need at 64K context?

With Q4_K_M GGUF weights (45.20 GB), FP16 KV Cache (1.66 GB), and runtime overhead (1.29 GB), total VRAM required at 65,536 tokens is 48.15 GB.

Is MacBook Pro / Studio M5 Max (128GB Unified) fast enough for Cline or OpenCode with Qwen3-Coder-Next 80B (MoE)?

Rated "Smooth (Ready for Agent)" at 64K context: 214.0 tok/s decode and 6.3s TTFT for 32,000 prompt tokens. Fits cleanly in VRAM with fast decode and prefill — ready for full-time Cline / OpenCode sessions.

How much VRAM does Q4_0 KV Cache save on Qwen3-Coder-Next 80B (MoE)?

Switching KV Cache from FP16 to Q4_0 at 64K context cuts KV memory from 1.66 GB down to 0.58 GB, lowering total memory to 47.07 GB (335.1 tok/s).

Is it cheaper to run Qwen3-Coder-Next 80B (MoE) locally or via Cloud API / RunPod?

For full-time coding agent usage (5M input + 1M output tokens/day), OpenRouter costs ~$55.00/mo, while renting NVIDIA A100 80GB PCIe on Vast.ai costs ~$167.20/mo. Upgrading to NVIDIA H100 GPU accelerator (SXM card) (64GB) ($2,240 MSRP) pays back in ~61.3 months.