Tencent has open-sourced DFly2, a speculative decoding drafter for sparse-attention models, with weights for DeepSeek-V4.1-Flash, GLM-5.3-Flash and its own Hy4 flash in the AngelSpec repository, plus a technical report. The headline numbers are decoding speedups of about 3x on long and agentic prompts. The report’s own end to end figures are lower, and they are the ones that matter if you run a serving stack: on DeepSeek-V4.1-Flash an agentic workload gets 3.10x faster decoding but only 1.50x faster requests.
The idea: let the target pick the context
Speculative decoding lets a small drafter guess several tokens that the big model then verifies in one pass. Drafters such as DFlash and DSpark keep their own KV cache over the prompt, which costs memory and prefill time, and the cost grows on models that already compress their cache. DFly2 drops that cache. Each draft layer reads the latents that a paired layer of the target has already cached, at the positions the target’s sparse-attention indexer selected, so every draft token attends to roughly 2,000 keys regardless of context length.
Tencent’s own memory table shows why this matters for the current wave of compact-cache models. A three-layer drafter with its own cache adds 3.4 KiB per token on top of DeepSeek-V4.1-Flash’s 4.4 KiB, a 1.76x increase. On GLM-5.3-Flash (11.7 KiB) the increase is 1.26x, on Hy4 flash (17.2 KiB) 1.20x. The report estimates that sharing the target’s cache lets the same memory pool hold 1.73x as many requests at 32K tokens. If you served DeepSeek’s 890-byte-per-token cache design and wondered what a drafter would do to it, this is the answer.
What the speedups look like in practice
The README and report give two speedups per setup, measured at a concurrency of one: decoding alone, and end to end including prefill. We pulled the long-context and agentic averages for DFly2 and for DSpark, the stronger of the baselines, from Tencent’s tables.
| Target | Long context: DFly2 (decode / end to end) | Long context: DSpark | Agentic: DFly2 (decode / end to end) | Agentic: DSpark |
|---|---|---|---|---|
| DeepSeek-V4.1-Flash | 2.87x / 2.11x | 2.47x / 1.91x | 3.10x / 1.50x | 2.61x / 1.44x |
| GLM-5.3-Flash | 2.45x / 1.64x | 2.07x / 1.49x | 2.61x / 1.22x | 2.14x / 1.17x |
| Hy4 flash | 3.06x / 2.12x | 2.70x / 1.98x | 3.41x / 1.67x | 2.63x / 1.55x |
Source: AngelSpec README and DFly2 technical report (greedy decoding, concurrency one, speedup over no speculation). DSpark is the stronger baseline. Compiled by i10x.
Read the gap between the two numbers in each cell. Decoding gains of 2.5x to 3.4x shrink to 1.2x to 2.1x once prefill and the rest of the request are counted, and on agentic work, where prompts are long and answers short, they shrink the most. DFly2 still leads DSpark in all six comparisons, by 7 to 11 percent end to end on long prompts and 4 to 8 percent on agentic ones (our arithmetic from the table). Against the older DFlash design the difference is starker: on DeepSeek-V4.1-Flash’s agentic average DFlash ends up at 0.90x, slower than not speculating at all, because it spends time building its own cache over the prompt.
At high concurrency the picture is better. At the same per-user decode speed as DSpark on DeepSeek-V4.1-Flash, Tencent reports 28 percent more throughput on short text and 62 and 81 percent more on two 64K sets, a long-context code set and a software-engineering agent set. These come from the authors’ own vLLM setup on tp8 engines, with a block size of 5, so treat them as an upper bound for your hardware.
Before you try it
- The code repository carries an Apache 2.0 license with a list of third-party exceptions. Check the license on each drafter’s Hugging Face page before shipping, since weights can differ from code.
- The drafters are trained per target. There are checkpoints for Hy4 flash, DeepSeek-V4.1-Flash and GLM-5.3-Flash, and the repository ships vLLM configs for the last two. A different sparse-attention model needs its own training run.
- The benefit depends on the target having a sparse-attention indexer. Dense models do not have the selections that DFly2 reuses.
- The gains are measured with greedy decoding at concurrency one, and accepted lengths fall at higher temperatures: DFly2’s mean accepted length on DeepSeek-V4.1-Flash’s agentic set drops from 4.06 at temperature 0 to 3.75 at temperature 1.
i10x Perspective
The useful result is not the 3x. It is that drafter design is now a memory question as much as a speed question: as target models shrink their KV cache, a drafter with its own cache eats a larger share of what was saved. For anyone serving long-context agents on one of these three models, DFly2 is a credible default to benchmark first, but plan around 1.2x to 2x end to end, and measure on your own prompt lengths before changing capacity plans. Still open: independent numbers on other engines such as SGLang, and how the drafters hold up on real production traffic mixes.



