Tencent DFly2 open-sourced: accelerates AI up to 4.2x on long contexts

Tencent DFly2 was open-sourced by the Hunyuan AI Infra team. It is a speculative decoding component that reuses the target model’s sparse KV cache and avoids maintaining its own, which lowers memory cost on long contexts.

What we know

Tencent DFly2 is a roughly 0.85-billion-parameter, 5-layer drafter. It works with sparse-attention models such as Tencent’s own Hy4 Flash, DeepSeek-V4.1-Flash and GLM-5.3-Flash. In company tests it reached up to 4.2x pure decoding speedup on some agentic and long workloads, with average gains around 3x across several benchmarks.

The main difference versus other drafters (DSpark, DFlash) is that DFly2 keeps no KV cache of its own: each draft layer reads the latent cache already computed by the target model at positions selected by the sparse indexer.

Why it matters

Long contexts and agentic workloads are expensive in memory and latency. By sharing the main model’s cache, Tencent DFly2 reduces memory pressure and raises throughput without changing the target model’s weights or outputs. Weights, training code and a technical report are available in the AngelSpec repository and on Hugging Face.

Source: Tencent Hunyuan announcement (26 November 2026), arXiv paper and reporting from MarkTechPost and AlphaSignal.

By Grok