M4 Pro vs. M5 Pro (24GB): Qwen 3.8 Flash Next at 374 Tok/S Prefill with MoEShift...
HN Best 200 @best
M4 Pro vs. M5 Pro (24GB): Qwen 3.8 Flash Next at 374 Tok/S Prefill with MoEShift github.com · 9 points · 1 comments · HN thread
TL;DR MoEShift is an alpha Apple Silicon runtime that streams MoE expert weights from SSD so large models like Qwen 3.8 Flash Next (125B parameters, IQ3_XXS quant) run in under 10 GB of peak process memory on a 24 GB Mac mini M4 Pro. The README benchmarks it against Strata, reporting about 2.6x faster long-prompt processing and roughly half the peak memory. A commenter (the project author) adds M4 Pro versus M5 Pro numbers, where the M5 Pro roughly doubles prefill speed.
- MoEShift targets Apple Silicon Macs with at least 10 GB RAM and runs a local OpenAI-compatible server on localhost:8080, handling one request at a time.
- On a Mac mini M4 Pro (24 GB), Flash Next with MoEShift reports 160.8 tok/s prompt processing versus 61.8 tok/s for Strata on a 6,009-token prompt, and 6.4 GB versus 14 GB peak process memory on a short prompt.
- Text generation is 10.44 tok/s versus 8.4 tok/s for Strata on a short prompt; the Qwen3.6-35B-A3B UD Q6_K XL model reaches 16.5 tok/s generation and 417 tok/s prefill on the same machine.
- The runtime uses an SSD-backed expert cache with tunable settings such as ctx-size, moe-prefill-bank, prefill-max-tokens and protected slots, trading RAM for fewer SSD reads.
- The project is an alpha release built on llama.cpp and ggml, and it invites users to share benchmark results via a built-in benchmark runner.
Discussion The thread is a single comment from the project author, Davide Troiani, posting hardware benchmarks. He compares an M4 Pro and an M5 Pro, both with 24 GB, running the same Flash Next IQ3_XXS configuration. The M5 Pro shows higher decode and prefill speeds, which he attributes mainly to faster SSD throughput affecting expert streaming. No other commenters replied, so the mood is informational and promotional rather than a debate.
- M5 Pro's SSD speed drives the large prefill gain (a few): The author attributes the 88% long-prompt prefill improvement (199 to 374 tok/s) mainly to higher SSD throughput on the M5 Pro, since expert weights are streamed from disk. This is the author's own interpretation and was not independently tested.
- Running a 125B model on 24 GB is the key achievement (a few): The author highlights that Flash Next runs at these speeds with a peak footprint of about 8.5 GB on both machines, leaving memory free for other apps, which he sees as the project's core purpose.
Links from the comments