Run a 180B MoE model on a 64GB M4 Max at 56 tok/s with open-source Magnitude

udmrzn · x · 2026-11-26

Open-source inference engine Magnitude (8.4k GitHub stars) breaks the local-AI rule that weights must fit in VRAM: it spreads models across GPU, RAM and SSD, working on Apple Silicon, NVIDIA, AMD, Intel or plain CPU.

In the demo, a 180B Qwen3 Next runs on a 64GB M4 Max with a 2-bit quant and 64k context, hitting 56 tokens/sec inside OpenCode. It works because the model is a sparse MoE — only 6B parameters activate per token, so 97% of experts sit idle and can be streamed from SSD instead of resident in VRAM.

The linked article is also a practitioner's guide to running agents fully local and offline: no token costs, no API keys, 100% open source.

Related event: Open-Source Magnitude Engine Streams MoE Experts from SSD to Run Huge Models Locally(4 posts)→

Original post →

More from coding & agent

coding & agent channel →