← Blog · · 7 min read

Cutting MoE experts is a free speedup — we measured it: about 1.07x, minus 8 GSM8K points

On this page (8 sections)
  1. The tip assumes routed experts are most of the work
  2. Going down to 2 experts bought only 15%
  3. Halving to 4 experts: 7–12% faster, 8 points worse
  4. Only k=6 looks free, and it buys about 7%
  5. Fewer experts does not mean less memory
  6. How we tested
  7. What the numbers can't tell you
  8. What this means for you

"Lower num_experts_per_tok and your MoE gets faster almost for free" keeps coming up on r/LocalLLaMA. On Qwen3.6-35B-A3B (4-bit, MLX) on an M3 Max, halving the experts per token from 8 to 4 sped up decode only 1.07–1.12x and cost 8.0 GSM8K points.

TL;DR: On our machine, cutting top-k from 8 to 6, 4 and 2 made decode 1.07x, 1.12x and 1.15x faster on the median of all runs. After we drop 5 runs that slowed down for an unknown reason, the gains are 1.07x, 1.07x and 1.15x. GSM8K accuracy held at k=6 (67.3% vs 64.0%, within noise), fell to 56.0% at k=4 and collapsed to 14.7% at k=2. Peak memory stayed between 20.17 and 20.22 GB in every config. Only k=6 is close to free, and it buys about 7%, within run-to-run spread.

The tip assumes routed experts are most of the work

Qwen3.6-35B-A3B has 256 routed experts in each of its 40 MoE layers, and its router sends each token to 8 of them. num_experts_per_tok (called top_k in mlx_lm) sets that 8. The reasoning behind the tip is that decode on a Mac is limited by memory bandwidth, so reading half the expert weights per token should get you close to 2x.

For that to hold, two things have to be true. Routed-expert weights must make up most of the bytes read per token, and the model must keep its quality with fewer experts. But attention, the Gated DeltaNet layers (a linear-attention layer type), the always-on shared expert, the embeddings and the LM head stay the same size whatever k is.

So before running anything, our hypothesis was that the speedup would land well short of the bandwidth math.

case expected measured
k=6 nearly free speedup 1.07x decode, GSM8K +3.3 pp (within noise)
k=4 up to 2x decode, small loss 1.07–1.12x decode, GSM8K -8.0 pp
k=2 up to 4x decode 1.15x decode, GSM8K -49.3 pp
any k less memory 20.17-20.22 GB peak, unchanged

Going down to 2 experts bought only 15%

At k=2 the router picks a quarter as many routed experts per token as at k=8. Decode went from 81.9 to 94.0 tok/s. That is 1.15x whether or not we drop the slow runs, nowhere near 4x.

We didn't profile where the remaining time goes. Our hypothesis is the one above: on this model, most of the per-token cost sits in layers that k doesn't touch, plus fixed per-step overhead.

The model paid heavily for those 15%. GSM8K fell from 64.0% to 14.7% (22 of 150 correct), a drop of 49.3 points with a 95% CI of [-57.3, -41.3]. Wikitext-2 perplexity rose from 6.559 to 17.175, which is 2.6x the baseline.

9 answers at k=2 contained no number at all, and no other config produced any. At k=2 the answer format starts to break along with the math.

Halving to 4 experts: 7–12% faster, 8 points worse

k=4 is what the tip usually means. Decode rose to 91.4 tok/s, 1.12x over the median of all k=8 runs. Over the clean runs only, it was just 1.07x, no faster than k=6.

GSM8K fell from 64.0% to 56.0%. The paired bootstrap CI for the difference is [-14.0, -2.0] points. It excludes zero, so even with only 150 questions this is not sampling noise. Perplexity rose 17.2%, to 7.685.

The format held: zero unparseable answers, the same as k=8. More answers ran into the 384-token limit, 74 against 60 at k=8, so part of this loss may come from length rather than reasoning. As a single number for deciding, k=4 gives you at most 1.4% more decode speed for each GSM8K point you lose.

Only k=6 looks free, and it buys about 7%

At k=6, decode went to 87.3 tok/s (1.07x), and the clean-run medians give the same 1.07x. GSM8K came out at 67.3%, 3.3 points above k=8. But the CI of [-2.0, +8.7] includes zero, so we read this as no measurable change, not as an improvement.

Perplexity moved from 6.559 to 6.759, up 3.0%. That is a small shift, and it shows the model's predictions did change, even though 150 questions are too few to detect it on GSM8K.

So at k=6 the "nearly free" half of the tip holds. The speedup half amounts to about 7%, and that is within run-to-run spread: even without the slow runs, the k=8 and k=6 speed ranges overlap.

Fewer experts does not mean less memory

Peak memory was 20.18 GB at k=8, 20.22 at k=6, and 20.17 at both k=4 and k=2. We changed only how many experts the router picks per token, and the weights for all 256 experts stay loaded either way.

If you hoped a lower top-k would let this model fit on a Mac with less RAM, it won't.

How we tested

    def set_k(self, k):
        for m in self.moes:
            m.top_k = k

What the numbers can't tell you

What this means for you

The code, the raw JSONL outputs for every answer and the full results table are at https://hackbig.com/blog-data/qwen36-moe-fewer-experts/.

If you've measured top-k reduction on another MoE, how close did your speedup get to the ratio of experts you dropped?

Code and raw data for this post

How this was made: an AI agent (Claude) designed and ran this experiment on our own MacBook in a sandbox; every number comes from the run's results file (linked below), checked by script before publishing.