← Back

Unlocking 1,129 output tokens per second on four AMD GPUs

How we broke the one thousand interactivity milestone on DeepSeek-V4.1-Flash using a traffic-tuned drafter, seven-token speculation and fused kernels.

A draftsman made of binary digits sketches seven blocks while a builder sets the same seven blocks on a wall

<p>Sciforium’s latest DeepSeek-V4.1-Flash build reaches 1,129 output tokens per second at P90 on four AMD Instinct MI355X GPUs. Across several rounds of feedback, time spent waiting for responses adds up. Higher interactivity means less time waiting for a response to finish and a quicker path to the next revision, test, or decision.</p><p>DeepSeek-V4.1-Flash made this opportunity more compelling by combining stronger capabilities with an architecture designed for faster inference. DeepSeek reports improvements over V4-Pro in capability, speed, and total runtime. For the person using it, that combination matters: a model needs to handle difficult work and return its results quickly enough to keep the work moving. We set out to push its generation speed further on a four-GPU configuration. <a href="https://deepseek.com/en/news/deepseek-v4-1-flash/">DeepSeek’s release announcement</a></p><p>We reached 1,129 output tokens per second at P90 on four AMD Instinct MI355X GPUs. Building on our earlier megakernel work, we trained a traffic-tuned drafter using customer traffic to increase how many proposed tokens the main model accepts, then extended proposals from five tokens to seven after resolving stability issues. We combined this with Sciforium and AMD kernel optimizations, including our work to fuse intermediate operations and communication. Better drafts let each verification pass advance the response further, while the kernel work improved execution efficiency, turning the engineering improvements into faster output for the user.</p><h2>How speculative decoding works</h2><p>Ordinary autoregressive generation produces one token at a time, with each token depending on the text before it. Speculative decoding uses a cheaper drafter to propose several upcoming tokens, which the main model checks together in a verification pass. The system keeps the accepted beginning of the proposal, corrects it where necessary, and continues. When several proposed tokens are accepted, one verification pass advances the response by several tokens. The drafter’s usefulness therefore depends on how much of its proposal survives that check.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6afb8a48457949c0a24a4e37_deepseek-1129-blog-fig1-spec-decoding.gif" loading="lazy" alt="A drafter proposes several tokens and the model checks them all in one pass. Schematic."></div><figcaption>Figure 1. A drafter proposes several tokens and the model checks them all in one pass. Schematic.</figcaption></figure><h2>Why acceptance length matters</h2><p>Draft length is how many tokens we propose. Acceptance length describes how much of that proposal we can keep. Consider a five-token draft: if only the first two tokens are accepted, the rest of the proposal does not advance the response. If the first four are accepted, the verification round gets further. A better drafter makes longer accepted sequences more likely, allowing the system to obtain more useful output from each pass through the main model.</p><p>This distinction explains why increasing draft length alone can disappoint. If the main model rejects a proposal near the beginning, proposing more tokens beyond that point adds work without adding accepted output. Improving the drafter changes that tradeoff. Once proposals are accepted further into the sequence, longer drafts give the system more room to benefit from those better predictions. That was the motivation for testing seven-token drafts after improving acceptance with our traffic-tuned drafter.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6afb8a48c7e4823d049e0327_deepseek-1129-blog-fig2-acceptance-by-draft-length.gif" loading="lazy" alt="Tokens produced per pass with 5-token and 7-token drafts. Schematic, illustrative counts."></div><figcaption>Figure 2. Tokens produced per pass with 5-token and 7-token drafts. Schematic, illustrative counts.</figcaption></figure><h2>How better acceptance translates into faster responses</h2><p>For the user, what matters is how quickly the complete system produces output. Longer accepted sequences can reduce the number of verification rounds needed to generate a response, spreading the cost of those rounds across more tokens. But generating and checking longer proposals also takes time. The speedup depends on gaining enough useful output to outweigh that extra cost. Acceptance length helps explain why a configuration might be faster; measuring output tokens per second establishes whether it actually is. This improvement concerns the generation phase of a response, after output begins.</p><h2>What we changed</h2><p>We first trained a traffic-tuned drafter on the customer’s own traffic. The drafter is tailored to their workload and exclusive to that customer. Its job is to propose continuations that agree with the main model for longer, increasing the useful output from each verification pass. This gives drafter accuracy a direct operational purpose: when a proposal survives verification further into the sequence, the system can advance further before it needs to correct course. The drafter is therefore part of the performance optimization, alongside the code that executes the model.</p><p>With improved acceptance, we increased the proposal length from five tokens to seven. The extra two positions created an opportunity to accept more output in each round. Making that configuration usable required stability fixes for seven-token drafting, and the final benchmark includes those fixes. The decision was ultimately a performance tradeoff: the longer proposal had to produce enough additional accepted output to justify its drafting and verification cost.</p><p>We also optimized the operations surrounding the model’s major GPU kernels. Intermediate operations, including mHC and projections, offered opportunities for further fusion. We combined operations into fewer kernels and fused all-reduce communication with computation; all-reduce combines the partial results produced across the GPUs. This work targets the overhead of intermediate processing and data movement. Graph execution already removes the gaps between launches, so the benefit should not be understood as simply filling time when the GPUs would otherwise sit idle.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6afb8a497838af0e2fdcd692_deepseek-1129-blog-fig3-fused-kernels.gif" loading="lazy" alt="Above concurrency 8, the small kernels between the large ones are fused. Schematic, not to scale."></div><figcaption>Figure 3. Above concurrency 8, the small kernels between the large ones are fused. Schematic, not to scale.</figcaption></figure><p>The execution strategy also changes with concurrency. Beyond eight concurrent requests, the existing megakernel approach showed diminishing returns, motivating further work on intermediate operations around the major kernels. We also tested running all-reduce on a separate execution stream to overlap communication with other work. That experiment did not help: the overlapping operations competed for memory bandwidth. Fusing computation and communication and scheduling separate operations simultaneously are different approaches, and the latter did not deliver a benefit in this test. This is why we evaluated the execution changes under their relevant load conditions rather than assuming every optimization would help equally at every concurrency.</p><h2>Bringing the pieces together</h2><p>The configuration that reached 1,129 output tokens per second combined DeepSeek’s original model weights, Sciforium and AMD kernel optimizations, the traffic-tuned drafter, and seven-token speculative drafts with the stability fixes in place. The result was measured on four MI355X GPUs using a long-context agentic workload. It represents the performance of that complete configuration; the separate kernel experiments at higher concurrency are not percentages to add onto the headline result.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6afb8a494e918fec268523df_deepseek-1129-blog-fig4-builds-ladder.gif" loading="lazy" alt="P90 output tok/s for each configuration, on 4 AMD Instinct MI355X GPUs."></div><figcaption>Figure 4. P90 output tok/s for each configuration, on 4 AMD Instinct MI355X GPUs.</figcaption></figure><p>At 1,129 output tokens per second, 10,000 tokens represent roughly nine seconds of generation, excluding prompt processing and tool execution. We reached that rate on four AMD Instinct MI355X GPUs at P90, retaining DeepSeek’s original main-model weights. The result shows how much performance can come from improving the way we serve a model: better draft predictions, more accepted output per verification pass, and efficient GPU execution.</p><p>For coding and reasoning agents, generation time accumulates across successive attempts, tool calls, and revisions. Shortening that part of the cycle lets the next action begin sooner. Crossing 1,000 output tokens per second brings that benefit to a concrete four-GPU configuration, and demonstrates why drafter training on customer traffic and inference engineering deserve to be optimized together.</p><h2>Try it</h2><p>DeepSeek-V4.1-Flash runs on Sciforium, on our own AMD GPUs. <a href="https://console.sciforium.com/signup">Get Started</a></p>