671B MoE Model on 512GB Mac: MLX Brings Cloud-Scale Inference to Desktop
Apple's MLX framework enables running a 671B parameter MoE model on a 512GB Mac Studio with 6200 tokens/sec prefill and 130 tokens/sec decode, leveraging MXFP4 quantization, Engram conditional memory, and M5's Neural Accelerator (NAX) for 2.2x speedup, making local inference practical for privacy-sensitive, high-frequency workloads.
Reading font

Conclusion
A 671B-parameter MoE model fits into a 512GB unified-memory Mac, achieving 6200 tokens/sec prefill and 130 tokens/sec decode — fast enough for daily personal use. This is not a cloud service; it runs on a desktop machine.
What the Tweet Reported
MLX core developer David Tai posted on 2026-11-27 that he ran DeepSeek 4.1 Flash on a M5 Ultra with 512GB memory, boosting overall speed by nearly 50%. Key metrics:
Prefill (TTFT): 6200 tps — model reading speed, determines wait before first token.
Decode: 130 tps — model writing speed, critical for long-form experience.
Format: MXFP4 Engram — 4-bit microscaled float; Engram is a conditional memory layer.
Weights: Backbone + expert weights fully resident in memory — no more fetching from disk.
The attached Pagoda benchmark screenshot shows DECODE 108.6 t/s, TTFT 0.21 s, ALL 46,927 token — a 46k-context task completed in 7 minutes 12 seconds.
Three Firsts
1. Weights No Longer Fetched from Disk
MoE models like DeepSeek have hundreds of expert sub-networks; only a few activate per query. Previously, weights didn't fit in VRAM, so each activation required a slow disk fetch. MXFP4 compresses weights to 4-bit, allowing all weights to stay resident in 512GB memory, eliminating latency variance.
2. M5's Second GPU (NAX) Put to Work
M5 chips include a Neural Accelerator (NAX) dedicated to matrix multiplication. Previously only Apple's frameworks could use it; MLX now taps NAX, delivering 2.2x speedup over traditional GPU cores at the same 4-bit precision .
3. 4-bit No Longer Means Degraded Intelligence
MLX uses per-channel adaptive quantization: important channels keep higher precision, less important ones are compressed. The same model scores 74% on MMLU versus 26.5% for generic 4-bit quantization.
Author's Hands-on Test on 128GB Mac Studio
Using MLX Zig inference service v26.11.4 pre-release, two models were pulled from the Magic Tower community:
Inkling 2 Mini (19GB, native NVFP4/MXFP8): 5.1 seconds latency for 512 tokens (including 61 reasoning tokens).
Qwen3.8-Flash-Next 4bit (104GB): 0.2 seconds latency for 512 tokens (only 1 token generated, so not comparable to 130 tps).
Two caveats:
For reasoning models like Inkling, set max_tokens at least 300; a low budget (e.g., 64) consumes all tokens on reasoning and returns empty output.
GGUF variants (e.g., lmstudio-community/Inkling-2-Mini-GGUF) run through a compatibility layer, not the native MXFP4 path, and are significantly slower.
Performance vs. Opus 4.5-4.6
The tweet claims "models that can run Opus 4.5-4.6 level performance at home." The author interprets this as affordability, not parity . Local models still trail cloud flagships, but 130 tps local 4.1 Flash is sufficient for privacy-sensitive, high-frequency, offline scenarios: feeding an entire codebase (70k tokens) and waiting 7 minutes for results — no subscription fees, no code upload.
Deeper: A Victory for Memory Architecture
Engram is not a quantization format but conditional memory — the model learns to store text in a lookup table and retrieve it later, turning computation into memory access. It complements MoE: MoE spreads deep computation across layers; Engram moves predictable lookups out of GPU into system memory. Work the GPU can't handle starts bypassing the GPU entirely via memory.
For two years, local LLMs were toys — runnable but too slow. The convergence of 512GB unified memory, native 4-bit weights, and NAX hardware acceleration finally removes the quotes around "local" and "usable."
Epilogue
The era of per-token billing and subscription cloud models may end sooner than expected. Your next AI server might not live in a data center — it could sit quietly on your desk, running on memory sticks.
Sources: David Tai 2026-11-27 tweet; MLX official repo and docs (NAX support, Engram support records); author's 128GB M5 benchmarks.
For questions about attribution, corrections or content rights, please contactand we will review it promptly.