Code Tools

Decoding Speedup vs End-to-End Speedup

Tencent's DFly2 reports 4.55x decoding speedup and 1.35x end-to-end on the same workload. Both are true, both are in the same report, and only one of them is what your users experience. Here is how to tell which number you are reading.

🕐 7 min read 👁 43 views 📅 Nov 28, 2026
Short answer
● Decoding speedup How much faster the token-generation stage runs. The big number in the headline.
● End-to-end speedup How much faster the whole request completes. The number your users feel.
● The gap Tencent's DFly2 reports 4.55x decoding and 1.35x end to end on the same workload.
● Which to use End to end, always, for any capacity or cost decision. Decoding tells you the mechanism worked.

These are not competing claims and neither is dishonest. They measure different things, they appear in the same technical reports, and the first is routinely quoted while the second is not. Tencent's DFly2 release this week is a clean worked example because it publishes both.

WorkloadDecoding speedupEnd-to-end speedupRatio
SWE 64K3.46x1.96x1.8x smaller
CodeSpan 64Kover 4x2.51xabout 1.6x smaller
Hy4 flash, AgentLongBench4.55x1.35x3.4x smaller

Why the two diverge

Serving a request is more than generating tokens. There is prefill, where the prompt is processed; scheduling and queueing; network time; and then decoding, where output tokens are produced one at a time. Speculative decoding speeds up exactly one of those stages.

So the end-to-end gain depends on what share of total time decoding was to begin with. A long prompt with a short answer spends most of its time in prefill, and a 4x decoding gain barely registers. A short prompt with a long answer is decoding-dominated, and the same 4x shows up almost in full.

Reading the AgentLongBench row

4.55x decoding collapsing to 1.35x end to end is the most instructive line in the table. Agentic workloads send long contexts and take short turns, so decoding was never the bulk of the time. The optimisation worked exactly as designed and the user-visible improvement is 35%.

35% is a good result. It is not 355%, which is what the headline figure invites you to plan around, and the difference between those two numbers is the difference between a capacity plan that holds and one that does not.

How to use this when reading any vendor claim

AskWhy
Decoding or end to end?If the report does not say, assume the more flattering one.
At what context length?Gains from long-context optimisations shrink on short prompts. DFly2 goes from 81% at 64K to 28% on short text.
Against what baseline?DFly2's figures are against DSpark, not against no speculative decoding at all.
On what hardware, at what concurrency?The 81% figure is at high concurrency on 8P1D H20 with matched single-user speed. Change any of those and it moves.

None of this is a criticism of the DFly2 release, which publishes its end-to-end numbers plainly in the same report. The problem is downstream, where the largest multiple travels and the context does not.

Questions people are asking

What is the difference between decoding and end-to-end speedup?
Decoding speedup measures only the token-generation stage. End-to-end measures the whole request, including prefill, scheduling and network time. End to end is what a user experiences.
Which number should I plan capacity on?
End to end, without exception. Decoding speedup tells you an optimisation works; it does not tell you how many more requests you can serve.
Why is the gap bigger on agentic workloads?
Agent tasks send long contexts and generate short outputs, so decoding is a small share of total time. DFly2 shows 4.55x decoding and 1.35x end to end on AgentLongBench for that reason.

Sources

⚖ Our Verdict

Plan on end-to-end, always. Decoding speedup tells you an optimisation works; it does not tell you how many more requests you can serve. DFly2 publishes 4.55x decoding and 1.35x end to end on the same agentic workload, and the gap is widest exactly where long contexts meet short outputs. Before using any inference figure, establish whether it is decoding or end to end, at what context length, against what baseline, and at what concurrency.