← Back

We made MiniMax-M3 up to 3.5x faster

Up to 3.5x the output tok/s per user on 4x AMD MI355X. Here is what changed, including the part where it got slower first.

<h2>What we changed, in order</h2><p>We made MiniMax-M3 up to 3.5x faster on 4x AMD MI355X.</p><p>M3 is one of the open-weight models we serve, with speculative decoding: a small draft model proposes tokens and M3 verifies them in one pass. Two serving releases, a rebuilt speculative decoding stack and our own drafter got us there.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6abcbbee30fa67f98c82551c_m3-article-fig-01-v2.png" loading="lazy" alt="We made MiniMax-M3 up to 3.5x faster"></div></figure><h2>The result</h2><p>The stock AMD build of June 30 did 82.0 output tok/s per user. Our custom drafter now does up to 289.5, with up to 253% more output tokens per dollar. Figure 1 puts every build on one axis. Despite a slightly longer prefill for the speculative decoding cases, the speculative results still significantly outperform the base version.</p><p>The rest of this post is how we got there, in the order it happened.</p><h2>Stock speculative decoding was 3x slower than the baseline</h2><p>We started with stock speculative decoding on AMD and saw a slowdown to 0.32 to 0.42x of plain decoding on long context, up to 3x slower, at every load.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6abb303c001d8b64f0b49135_m3-article-fig-02.png" loading="lazy" alt="Stock speculative decoding was 3x slower than the baseline"></div></figure><p>The cause was in the kernel path. After the fix we observe up to 47% higher output throughput than plain decoding, with a gain at every load. The next two sections are the cause and the fix.</p><h2>Fast attention path was blocked by the default block size, causing a slow fallback</h2><p>At block size 128 the fast paged-attention path is skipped and attention falls back to a path that walks the full 80k context serially. Stock vLLM on ROCm gates off the C++ paged-attention kernels above block size 32, so target and draft attention fall back to Triton kernels. The fallback created significant latencies at all three attention stages of the speculative cycle.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6abb303d3748f4695a82bffb_m3-article-fig-03.png" loading="lazy" alt="Fast attention path was blocked by the default block size, causing a slow fallback"></div></figure><p>That fallback cost draft decode 4.7 ms per step, draft extend 9.5 ms per call and verify 2.2 ms per layer, 40 to 60% of every speculative cycle. Figure 3 has the cause behind each of the three.</p><h2>We rewrote the kernels behind all three stages of speculative decoding</h2><p>Draft decode went from 4.7 ms to 45.8 us per step with a split-KV Gluon kernel. Draft extend went from 9.5 ms to 1.03 ms per call with GQA packing, so a long context is read once instead of 16 times. Verify went from 2.19 ms to 225 us per layer once multi-token rows ran on the fast path.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6abb303d7ad10b57c2101fed_m3-article-fig-04.png" loading="lazy" alt="We rewrote the kernels behind all three stages of speculative decoding"></div></figure><p>The kernel-level speedups in Figure 4 are the attention step alone, standalone A/B at 80k context. They do not multiply into the end-to-end figure.</p><h2>We also fixed a verification correctness bug</h2><p>One change looked like +12 to 14% acceptance. It was a bug.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6abb303e4c089357333595cc_m3-article-fig-05.png" loading="lazy" alt="We also fixed a verification correctness bug"></div></figure><p>Verify rows could see their own future tokens, and our math benchmark dropped to 42% of the stock model's accuracy. We fixed it with a per-row KV length before it shipped and now run at 95% of stock accuracy. Every speculative change gets a quality check, not just an acceptance check.</p><p>A correct verify kernel changes speed, never output, so the tightest gate is a divergence check rather than a benchmark: run greedy decode with speculation off and on, count the prompts where the outputs first diverge, and log the top-2 logit gap at that token. A divergence at a wide gap is a leak. A check like that surfaces a leak in the first few prompts rather than after a benchmark run, and it is the faster gate for the next kernel rewrite.</p><h2>We also trained our own drafter, which beats EAGLE3.1 by up to 26% in interactivity</h2><p>We realized that the stock EAGLE3.1 does not do well on the commonly-used categories that our customers use. So, we trained our own drafter.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6abb303e96151b162afac546_m3-article-fig-06.png" loading="lazy" alt="We also trained our own drafter, which beats EAGLE3.1 by up to 26% in interactivity"></div></figure><p>We observed an immediate +10 to 26% output tok/s per user improvement across customer loads, at a significantly higher acceptance rate. In Figure 6 that is up to 289.5 output tok/s per user against 229.3 for the publicly released EAGLE3.1 drafter weights on the same stack.</p><h2>Cumulatively, token per dollar was improved by up to 253%</h2><p>Just two months from the stock AMD build of June 30 to our custom drafter: up to 253% more output tokens per dollar and up to 3.5x the output tok/s per user for MiniMax-M3 on 4x MI355X.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6abb303ee166a716b87d9f55_m3-article-fig-07.png" loading="lazy" alt="Cumulatively, token per dollar was improved by up to 253%"></div></figure><p>On output tokens per dollar that is up to 34,740 against 9,836 for the June 30 build. The drafter run used longer prompts than the stock benchmark and still comes out well ahead.</p><h2>Try it</h2><p>MiniMax-M3 with this stack is available on Sciforium, on our own AMD hardware. <a href="https://console.sciforium.com/signup">Get Started</a> at <a href="https://sciforium.ai">sciforium.ai</a>, or <a href="https://www.sciforium.ai/contact">Contact Sales</a> to talk through your workload.</p><p><em>Test details: MiniMax-M3 on 4x AMD MI355X, TP4. Stock speculative decoding, block-size fallback and kernel timings: book workload 72k plus 8k in / 1k out, 80k context, run 2026-09-11. Serving builds: our dashboard, random 8k-in / 1k-out. Drafter results: run 2026-09-05 on a customer-representative set with longer prompts; reference is the publicly released EAGLE3.1 drafter weights. Accuracy: internal math benchmark as a percentage of the stock model's accuracy, average of 10 runs. Kernel-level speedups are the attention step alone, standalone A/B, and are separate from the end-to-end figures.</em></p>