block #0058 in --:--:--Join the pool
PENDING…
ai ✓ confirmed 6/6 17 min ago · 3 min read

tencent dfly2 drafter: Open-Source Speculative Decoder Claims Up to 4.2x

The tencent dfly2 drafter is fully open source as of Nov. 26: a 0.85B model that reuses the target's sparse KV cache and, per Tencent, speeds long-context decoding up to 4.2x.

tencent dfly2 drafter: Open-Source Speculative Decoder Claims Up to 4.2x
tl;dr
  • The drafter has 0.85 billion parameters and five layers, and it reuses the main model's sparse KV cache instead of keeping its own, per AI Briefing.
  • Tencent released versions for its own Hy4 flash, plus DeepSeek-V4.1-Flash and GLM-5.3-Flash.
  • The 4.2x figure is a peak on long-context and agentic workloads, not a typical gain.
in this block
  1. What actually happened
  2. How the tencent dfly2 drafter works
  3. The trade-offs
  4. What to do as a reader

The tencent dfly2 drafter is now fully open source. Tencent's Hunyuan AI Infra team released the weights, training code and technical report for DFly2 on Nov. 26, a small speculative-decoding model that it says can make big sparse-attention models generate text up to 4.2 times faster.

What actually happened

The news sits at the top of Tencent's AngelSpec repository on GitHub: "We open-source DFly2 in full: the weights, the training code and the technical report." AngelSpec is the team's torch-native framework for training draft models, and version 0.2.0, released on Nov. 18, first added DFly2 training for Hy4 flash. Training for Hy4 followed on Nov. 20, and the Nov. 26 update extended it to the two outside models.

AI Briefing wrote up the release on Nov. 28, citing AlphaSignal and AI Daily Post. According to that summary, Tencent reports a peak decode speedup of 4.2x, about 30% faster agentic runs than a DSpark drafter trained with the same recipe, and up to 81% more throughput on DeepSeek-V4.1-Flash at a 64K-token software-engineering context.

How the tencent dfly2 drafter works

Speculative decoding is a standard trick for serving large language models. A small, fast drafter guesses the next several tokens. The big target model checks them all in one pass and keeps the ones it agrees with. If the drafter guesses well, the target skips many slow step-by-step passes.

The weak point has been long context. A small drafter cannot afford to read a 64K-token prompt, so it guesses from a shorter window than the target actually uses, and acceptance rates fall.

DFly2 attacks that directly. Its target models use sparse attention: at each step an indexer picks a small set of positions in the KV cache to attend to. The GitHub page says DFly2 "reuses the target's sparse KV cache and top-k indices, keeping drafting cost constant at any context length." AI Briefing said the drafter attends to the same positions as the target, up to 2,048 of them, and keeps no KV cache of its own. In effect it sees the context through the target's eyes.

The authors report higher acceptance rates than same-recipe DFlash and DSpark drafters on all three targets, with the margin growing at longer contexts.

The trade-offs

The design has real limits:

  • Coupling: the drafter is trained for one target's sparse-indexing scheme. Dense models, or sparse models with a different selection method, need architecture changes and retraining.
  • Hardware: AI Briefing said testing ran on Nvidia H20 GPUs through vLLM at tensor-parallel 8. Results on other chips may differ.
  • Typical gains: earlier AngelSpec results showed 1.98x to 2.40x average speedups, which AI Briefing called a better guide to day-to-day performance than the headline peak.

There is also a business angle. Hy4 flash is a mixture-of-experts model with 220 billion total parameters and 12 billion active. AI Briefing listed it at $0.07 per million input tokens and $0.28 per million output tokens, and argued that serving efficiency like this is a big part of why Chinese model prices keep falling while access to top Nvidia hardware tightens.

The drafter is an Apache-licensed download, AI Briefing said, which makes it easy to try for teams that already self-host one of the three supported models.

What to do as a reader

If you serve Hy4 flash, DeepSeek-V4.1-Flash or GLM-5.3-Flash, test the tencent dfly2 drafter on your own traffic before switching. Measure at your real context length, watch acceptance rates rather than raw speed, and pin the exact model revision you download.

If you just follow AI, the takeaway is that inference speed is improving through software, not only new chips. That keeps pushing token prices down, a trend visible in OpenRouter's latest usage data.

For background on one of the supported targets, see our deepseek v4 1 flash coverage, and for another Chinese model release, our qwen 4 max story. Benchmarks here are Tencent's own and were not independently verified. Nothing here is investment advice.

Not financial advice. DYOR, ser.

More in the pool

all ai
gm ser

Get confirmed before the crowd

Daily block at 07:00 UTC. No spam, just the block, ser.