TL;DR
In Tencent’s tests, DFly2 handled more output at the same per-user decoding speed. That tells you about server capacity, not how quickly an agent finishes a job.
Introduction
A coding agent that reads a repository and its tool logs before emitting a short patch can spend more time processing input than producing output. An agent writing a long report can have the opposite profile. Tencent’s public release of DFly2 this week gives serving teams a way to accelerate generation on sparse models, but those two workloads won’t benefit equally. The useful question is not how fast the model can decode in isolation. It’s what the serving system can do at the latency your users need. (Source : MarkTechPost — Tencent Open-Sources DFly2)
The smaller model borrows the larger model’s memory
In speculative decoding, a smaller model proposes several tokens and the target model verifies them together. The gain comes from advancing by several tokens without making a separate target pass for each one. But if the drafter keeps a second copy of its own attention state, long requests can eat into the GPU memory available to serve other users.
DFly2 gives its draft layers no separate key-value cache: they read the target model’s cached state at the positions its sparse attention already selected. Those positions can come from across the context, not just its newest entries. Tencent’s Hy4 flash includes a five-layer, 850-million-parameter DFly2 drafter. Removing the draft cache does not remove the target’s cache or the GPU time needed to verify proposals. (Source : Tencent — DFly2 preprint; Tencent — Hy4 flash model documentation)
Throughput, decoding speed and request latency are different
Tencent used NVIDIA H20 GPUs for its benchmarks except where otherwise noted. Figure 7 focuses on DeepSeek-V4.1-Flash. At matched per-user decoding speed, DFly2 delivered 81% higher aggregate throughput than DSpark on SWE 64K. The comparison uses another speculative drafter, not ordinary token-by-token decoding. Matching aggregate throughput instead, the authors report 15% to 24% faster per-user decoding. These are different operating points, not gains that can be added together. (Source : Tencent — DFly2 preprint, experimental setup and Figure 7)
For Hy4 flash on AgentLongBench, Tencent’s Table 9 reports a 4.55× decoding speedup but only 1.35× end to end, relative to the same model without speculative decoding. That experiment measures model serving, not the wall-clock duration of a workflow with tool calls or approvals. It illustrates why even a large decoding win can translate into a modest request-level gain when processing the input takes most of the time. (Source : Tencent — DFly2 preprint, Table 9)
The gains in tokens accepted per verification step also vary by workload. Compared with the better of DFlash and DSpark when trained with the same recipe, DFly2 increased average accepted length by 3.9% to 10.5% on general workloads and by 10.0% to 31.5% on long-context and agentic workloads. That’s a measure of draft acceptance, not of task accuracy. (Source : Tencent — DFly2 preprint)
What to test before paying for fewer GPUs
Replay representative requests with the same target model, hardware, sampling settings and prompt mix. Include both long inputs with short outputs and requests that generate a lot of text. Compare the load each configuration can sustain at the same latency target, then check time to first token, tail latency and completed tasks per GPU-hour. For a live agent, record tool wait separately so a faster decoder doesn’t get credit for a faster search backend.
The DeepSeek V4.1 Flash benchmark analysis examined how well the model performs agentic work. The AgentCore GPU cost analysis examined what it costs to keep a workspace alive. DFly2 addresses the layer between them: how efficiently the inference server handles a given workload. A faster decode loop only improves the economics if the workload uses the extra capacity.
FAQ
Does DFly2 improve the target model’s reasoning? No. It proposes tokens for the same target to verify; the reported improvements concern inference efficiency.
Is the 81% figure an agent latency reduction? No. It’s higher aggregate throughput on SWE 64K at matched per-user decoding speed in Tencent’s benchmark.
Does the result apply to any model? Not as measured here. Tencent tested natively sparse targets. Evaluate the actual model and serving stack rather than assuming the same gain elsewhere.