Skip to content

DMTP Fixes the First Token. SnowballCost Explains the Bill.

#speculative-decoding #llm-serving #inference-cost #multi-token-prediction #vllm #sglang

DMTP Fixes the First Token. SnowballCost Explains the Bill. ​

The cost of a response has two dials ​

Two papers landed on the same problem from opposite ends. One makes every verification round in speculative decoding produce more usable tokens. The other measures what happens when a single request runs for a million tokens and the engine stops scaling linearly.

DMTP is a cooperative speculative decoding setup. Native MTP drafts the first token of each block, DFlash drafts the rest in parallel, and a lightweight residual carries MTP's hidden state into the block drafter's embedding. SnowballCost measures how inference time and cost scale with output length across vLLM and SGLang, fits a cost model, and derives two threshold lengths where your intuition about pricing breaks.

Read them together and you get a sharper answer to the question serving teams usually ask badly: how much does one more output token cost? DMTP lowers the number. SnowballCost shows the number isn't constant, and that the tail of the length distribution is where budgets go to die.

The waste sitting inside block drafting ​

Speculative decoding trades cheap draft tokens for expensive target-model verification. A small drafter proposes k tokens, the target model checks all k in one forward pass, and you keep the matching prefix. The metric that matters is accepted tokens per verification round, because verification is the expensive half.

Parallel drafters like DFlash generate a whole candidate block in one pass from the accepted prefix. That sounds strictly better than serial drafting until you look at how verification runs. It's strict, left to right. Reject candidate one and the entire block is discarded, so a single bad first token throws away every draft token sitting behind it.

Native Multi-Token Prediction goes the other direction. Those modules train alongside the target model, share its representation, and predict several future tokens from one hidden state. First-token accuracy is high, and it generalizes out of distribution, which matters when production traffic doesn't look like your fine-tuning set. Chain MTP across several steps and the parallelism disappears. Step two waits on step one, and latency stacks with every step you add.

So you get a tradeoff that never quite resolves: accuracy with serial latency, or parallelism that collapses on the first mistake. The fix is to stop asking one component to do both jobs.

Key numbers35.64% longer accepted length than DFlash2 on long-context workloads. 17.10% to 23.75% higher workload-serving throughput than DFlash. 1M tokens of output measured by SnowballCost before engine time growth goes super-linear.

DMTP: hand the block a concrete first token ​

DMTP splits the work. The MTP head proposes token t+1, then passes its hidden state to the DFlash drafter through a lightweight residual added to that token's embedding. DFlash drafts the remaining block in parallel, conditioned on a token that's already likely to be correct.

The second effect matters more than it looks. With t+1 fixed, the block shifts one position forward, so every remaining draft token gets predicted from a longer real context. Guessing t+5 when t+1 through t+4 are solid is an easier problem than guessing t+5 from the accepted prefix alone.

The residual is the whole trick, and it's cheap: one embedding-level add, no extra attention pass, no separate training run required to get a working system. The paper also reports additional gains from checkpoint adaptation and joint fine-tuning, which tells you the cooperative setup has room above the zero-shot baseline.

What the gain looks like ​

The four drafters target different failure modes, which makes the comparison clearer than a single accuracy number.

DrafterHow it draftsFirst-token accuracyParallelismFailure mode
Native MTPSeveral tokens from one hidden state, chained step by stepHighSerial across stepsLatency stacks with each step
DFlashWhole candidate block in one passWeak on token 1Fully parallelOne bad first token wastes the block
DFlash2Improved block drafting over DFlashWeak on token 1Fully parallelSame waste, smaller in practice
DMTPMTP seeds token 1, DFlash drafts the restHighParallel after token 1A token-1 rejection shortens the block

The headline result is 35.64% longer accepted length than DFlash2 on long-context workloads. Accepted length is the average count of draft tokens that survive verification, so more accepted tokens per round means fewer target forward passes for the same output. Verification is where the FLOPs go, so that's where the savings land.

Workload-serving throughput comes in 17.10% to 23.75% above DFlash. Throughput at a fixed SLO on a fixed fleet converts to money fairly directly: the same traffic on roughly 17% fewer GPUs, or about 17% off your per-million-token cost if you're compute-bound. Check that last assumption before you rewrite a budget, because a memory-bandwidth-bound deployment won't see the full gain.

DMTP also beats native MTP on nearly all workloads, and that's the part worth sitting with. You keep MTP's first-token accuracy without paying its serial latency, and you keep DFlash's parallelism without its fragility at position one.

Quick Take: DMTP squeezes more accepted tokens out of each verification round by giving the block drafter a correct starting point, and SnowballCost explains why the value of those tokens swings hard depending on where in a long response they land.

The other dial: responses that snowball ​

Autoregressive decoding has a property that's easy to forget during capacity planning. The cost of generating a response grows faster than its length. Token n is conditioned on n-1 tokens, attention over the KV cache grows, and at extreme lengths even well-tuned engines stop scaling linearly.

SnowballCost measures this across serving engines, models, and GPU configurations, then fits a cost model and calibrates it. The coefficients come from model architecture, GPU specs, and the serving engine, so one calibration carries over to other deployments of the same stack. That's the useful engineering claim here: you don't have to re-measure for every cluster you rent.

Three findings come out of the traces.

Even optimized engines like vLLM and SGLang show super-linear growth in inference time at extreme response lengths, up to 1M tokens. Normal requests served alongside ultra-long ones are only slightly affected, and their SLO attainment barely moves. The ultra-long requests mostly hurt themselves: each token takes longer to generate as the output grows, and a handful of them occupy GPUs long after normal traffic has drained. And an ultra-long response can become unprofitable before it finishes.

Two thresholds to put in your capacity model ​

The first threshold is the length where a linear cost estimate stops working. Below it, tokens times rate is close enough. Above it, your estimate undershoots and the gap widens with every additional token.

The second threshold is the length where a request stops being profitable. Past that point, serving it costs more than you charge for it. Under a flat per-token price, a request can cross that line mid-generation and keep streaming, because you've already committed the GPU time and killing it wastes the work you paid for.

The practical read: per-token pricing set from short-response averages systematically undercharges long outputs. The leak is in the tail of the length distribution.

Second read, and this one saves engineering time: since the tail mostly damages itself rather than everyone else's latency, cluster-level isolation is overkill for most deployments. Per-request policies do the job. A max output budget, price tiers that escalate past the first threshold, and a scheduler that deprioritizes long generations once they cross the second threshold cover the exposure at a fraction of the cost of rebuilding your topology.

Where the two papers meet ​

The largest DMTP gain, 35.64% accepted length, lands on long-context workloads. That's the exact regime where SnowballCost finds engine time blowing up. If speculative decoding holds its acceptance rate as the KV cache grows, it attacks the super-linear term directly, cutting target forward passes on the requests that were getting expensive.

The benchmarks span three model shapes, and the shape changes how much a drafting win is worth.

ModelSize profileWhat the size means for drafting economics
Qwen3.6-27B27B total, fits on one 80GB GPU in bf16Draft overhead is a meaningful share of step time, so accepted length pays off quickly
Qwen3.6-35B-A3B35B total, roughly 3B active per tokenCheap per-token compute makes verification cheaper, so throughput gains show up at high concurrency
Qwen3.8-Next-120B120B total, multi-GPUThe largest absolute savings, since every avoided target pass costs several GPU cycles

Whether acceptance holds deep into a long generation is the open question. Long context gives the drafter more to attend to, and a block conditioned on a correct first token has a better shot at staying accurate at position 40,000 than one drafted blind. The paper reports long-context numbers, which is encouraging. The workloads are still theirs.

Common Pitfalls ​

Tuning on first-token acceptance. A drafter that nails token one and degrades at token five scores well on a first-token metric and saves you nothing at the engine level. Measure accepted length per verification round, or measure wall-clock at fixed output quality.

Benchmarking at 4K context and shipping at 128K. Acceptance rate is context-dependent. The DMTP numbers come from long-context benchmarks for a reason, and your 4K acceptance curve won't transfer to a codebase-sized prompt.

Applying a throughput gain as a 1:1 cost cut. Those numbers come from a specific traffic mix at a fixed SLO. Prefill-heavy workloads, small batch sizes, and tight TP configurations all shrink the gain, sometimes to nothing.

Pricing long outputs linearly. Set the per-token rate from long-response traces rather than from the average across all traffic, and put the two thresholds into the pricing table itself.

Assuming long requests ruin everyone's latency. SnowballCost measures the opposite: normal requests keep their SLO attainment. Teams spend weeks building request isolation before checking whether the tail causes collateral damage. Measure first.

One Thing to Remember ​

Speculative decoding lowers the cost of a token at a given position in a response. It doesn't change the shape of the cost curve. Super-linear growth survives any drafter you put in front of the target model, so DMTP's win is a percentage off a bill that's still climbing faster than the response. The percentage is real and worth having. The curve is what you budget against.

The Bottom Line ​

If you already run DFlash or DFlash2 in production, DMTP is a low-risk upgrade: it keeps your block drafter and adds an MTP-seeded first token plus one embedding-level residual. Start with long-context traffic, where the 35.64% accepted-length gain is largest and verification cost is highest.

If you serve ultra-long outputs at a flat per-token price, re-derive that price from long-response traces and add an output budget at the first threshold. Requests beyond the second threshold lose money while they stream, and no amount of drafting speed fixes a price that's below marginal cost.

If you're picking between MTP and block drafting for a new deployment, stop treating it as a binary choice. The first token wants MTP's accuracy, the rest of the block wants DFlash's parallelism, and the checkpoint adaptation results suggest the cooperative setup still has headroom. That's where the next round of gains will come from.

Sources ​