Source: Momento's engineering post of 2026-11-24, "The world's fastest FP8 GLM-5.3-Flash endpoint, powered by AMD MI355X", surfaced by a practitioner post the same day. All figures are the vendor's own measurements.
What was done
Decode throughput for GLM-5.3-Flash went from 304 to 639 tok/s on four AMD Instinct MI355X GPUs. Both builds ran SGLang, with the original FP8 weights and the same draft length. No quantization change, no distillation, no different model. The whole gain is kernel-level engineering on the serving path.
The motivating workload is worth noting because it shapes every decision: a customer needed football-play headlines at 250 ms p50 and 500 ms p99 for short outputs. For a short response, the entire generation has to fit in the budget, so decode rate is the whole game and batching for throughput is not available as a trade.
| Build | tok/s | What changed |
|---|---|---|
| Baseline (speculation already on) | 304 | — |
| Fused target | 499 | each layer, MoE block included, fused into one persistent kernel per GPU |
| Fused draft + cheaper sampling | 569 | draft head onto fused kernels; top-p cutoff search replaces full-vocabulary sort |
| Optimized verification | 639 | sequence-level readiness checks, barriers removed, only selected experts scanned |
Measurement: each run replayed one coding-agent session for 15 minutes using AgentX on NVIDIA's AIPerf, at high reasoning effort, taking the median per-response output rate and excluding time to first token.
Step 1: fuse the target model (304 → 499)
AMD's open-source monokernel project fuses each layer into a persistent kernel per GPU, MoE block included, so inter-GPU communication happens inside the kernel instead of through separate communication launches. The full target forward pass becomes 46 main launches including the output tail. This is a general decode optimization, and it also speeds the verification pass when speculation is on — which is why it had to come first.
The porting work was specific: upstream monokernel required 4-bit expert weights for this model, so they added an FP8 expert path that reads the original weights and their scale factors directly inside the fused kernel, then tuned prefetch distance and skipped expert-weight reads for padding rows. Keeping the original precision was the point; it is what makes the later comparison against other FP8 endpoints meaningful.
Step 2: make speculation pay (499 → 639)
Speculative decoding has a lightweight draft head propose several tokens and the full model verify them in one pass, so accepted tokens share the cost of that pass. The net benefit depends on three things: acceptance rate, drafting cost, and verification cost. Speculation was already on in the baseline, so this work is purely about the second and third.
Drafting (499 → 569). Target fusion had sped verification but drafting still ran original kernels. The draft head moved onto fused kernels, reusing the target's attention and output kernels while keeping access to the same committed context. The same build replaced the verify step's full-vocabulary sort for top-p sampling with a cutoff search.
Verification (569 → 639). With drafting faster, verification dominated. Two changes, both about overhead rather than arithmetic:
Less synchronization. Verification processes one row per token position, one more row per request than the draft length, and stateful layers create dependencies between rows. The original kernel checked input readiness per row and placed barriers between state updates; readiness moved to the sequence level and the intermediate barriers went away. Where threads previously waited for one thread to compute and store intermediate state, they now recompute it locally — the extra arithmetic costs less than the synchronization it replaces. That trade is the generalizable lesson.
Less wasted work. With three or four requests in flight, the expert block used to scan every expert to work out which rows went where. It now looks only at the experts the rows selected.
How the correctness claim was supported
This is the part worth copying. Rather than asserting equivalence, they state that every commit computes each output using the same operations in the same order as before, and then back it with digests of the outputs and of every piece of saved state, compared across every combination of requests and rows they tested, all matching. Kernels were then timed in isolation on four GPUs with the same mix of attention layers a real step runs: median launch time fell from 88 to 83 microseconds with one request and 142 to 128 with two, over seven kernel-only trials with synthetic weights and routing.
The top-p change is reported the same way: initializing search bounds per row, rather than giving every row identical bounds so the slowest row set the launch latency, cut the slowest recorded launch from 410 to 180 microseconds.
Matched profiles of the 569 and 639 builds: whole step 5.625 → 5.178 ms, target verification 3.905 → 3.624 ms. Verification ran 7.2% faster and accounted for 63% of the step-time reduction, while remaining about 70% of the step. Those came from six profiled windows of roughly 200 steps per build across two fresh server starts, with profiling adding about 7% overhead to both.
Reading the comparison table carefully
The post separates three different numbers, which is unusual and makes it more trustworthy:
639 tok/s decode on the coding-session replay (excludes time to first token);
508 tok/s whole-request output speed, one request at a time from AWS, median of three passes;
the customer's actual result: 250 ms p50, p99 under 500 ms, end to end on the headline demo.
The leaderboard comparison (508 against 457, 304, 255, 234, 203, 150, 122 for other hosted endpoints) uses the whole-request figure against Artificial Analysis's November 19 snapshot of five-day averages, with FP4-labeled endpoints excluded and other providers' precision not independently verified. Caveats to hold onto: single-concurrency measurement, one provider measuring itself against published averages for others, a different measurement day for its own number, and a precision filter the provider applied. The post also states that the fastest endpoint in the full snapshot was FP4 at 863 tok/s, and that Momento's own 4-bit build reached 698 on the same test against 639 for FP8 — so the honest summary is that quantization still buys more than all of this kernel work, at a quality cost you have to measure.
What this means for anyone serving models
Headroom exists on fixed weights. A 2.1x decode gain with identical weights, precision and draft length says that a stock serving stack can leave half the hardware on the table. Before quantizing and paying in quality, check what the kernels are doing.
Order matters. Fusing the target first was necessary, because it changed which stage dominated and therefore where the next win was. Optimizing speculation on unfused kernels would have measured the wrong bottleneck.
Recompute beats synchronize, often. Two of the three later wins came from removing coordination (barriers, per-row readiness, full-vocabulary sorts) rather than reducing arithmetic.
Concurrency is the open question. Every headline figure here is one request at a time, which is right for a tight-latency short-output SLO and wrong for most throughput-oriented serving. The post names holding the speed with more requests in flight as the next test, which is the number a capacity planner actually needs.
Remaining work named: combining the couple of hundred small operations still surrounding the fused kernels each step, raising draft acceptance (if the better draft does not cost more than it saves), and sharing conversation state over RDMA so another server can resume a conversation without recomputing history.
Review checklist for a serving-speed claim
Are the weights, precision and draft length the same across the compared builds?
Does the headline number include time to first token, and is the concurrency stated?
Was the benchmark a replay of a real workload, or a synthetic prompt?
Is there evidence that outputs did not change — digests, bit-exactness, or an eval — not just that tests ran?
Who measured the competitors, on what day, and with what excluded?
Does the fast configuration still meet the quality bar on your workload, measured, not assumed?
Related
R215 — a built-in multi-token drafter speeding decode: that entry is about shipping the drafter with the model, this one is about what it still costs to make the drafter pay off in a real serving stack.
R051 — serving techniques that leave the model alone; this is the most detailed worked example of that category, and shows how much of the win is below the technique level.
R240 — splitting prefill and decode across different hardware; both treat decode as the stage worth specializing for, by different means.
R174 — agent-designed quantization recipes for the same model family: the alternative lever, with the quality tradeoff this work avoids.