Tencent DFly2 Boosts DeepSeek-V4.1-Flash Speed by 81%

Tencent's Hunyuan AI Infra team has released DFly2, an open-source speculative decoding system that strips the drafter of its own KV cache and instead borrows from the target model's sparse cache. The 0.85B-parameter, 5-layer drafter delivers up to 81% higher throughput on DeepSeek-V4.1-Flash at 64K context, with end-to-end speedups reaching 2.97x on the same model and 2.36x on GLM-5.3-Flash. Officially released on November 27, 2026 via the tencent/Hy4-flash repository, the system ships with production-ready integrations for vLLM and SGLang.
What DFly2 Does Differently
Traditional speculative decoding pairs a small drafter model with a larger target to propose tokens that get verified in a single pass, keeping output lossless while cutting latency. The problem hits at long context: the drafter typically maintains its own KV cache, which competes for memory with concurrent requests in production serving. DFly2 solves this by eliminating the drafter's separate cache entirely and reusing the target model's sparse KV cache. For a 0.85B drafter working with a 220B-total, 12B-active MoE like Tencent's Hy4 flash, that memory saving translates directly into higher concurrency on the same NVIDIA H20 GPUs.
Testing ran on H20 GPUs through vLLM with tensor parallelism (TP8) per instance. Benchmarks show DFly2 outperforming same-recipe baselines DFlash and DSpark on draft acceptance across all three target models: DeepSeek-V4.1-Flash, GLM-5.3-Flash, and Hy4 flash. The 81% throughput gain on DeepSeek-V4.1-Flash came under a 64K SWE-bench prompt, the exact scenario where memory pressure from long context would normally throttle concurrency. On Hy4 flash agentic tasks, DFly2 runs up to 4.2x faster than baseline serving.
Memory Efficiency at Long Context
For long-context and agentic workloads, KV cache memory consumption becomes the limiting factor for serving multiple concurrent requests, not the raw FLOPs of the GPU. DFly2's design directly targets this memory bottleneck. A drafter that keeps no cache of its own means every byte saved can go toward one more concurrent user. That math matters most when you're serving 64K-token SWE-bench sessions or multi-turn agentic flows where the KV cache grows with every exchange. The fact that Tencent shipped this as default-on in the vLLM recipe, with day-one SGLang support, suggests production confidence rather than a research toggle.
The underlying paper details how the KV cache reuse works across the drafter and target model's sparse architecture. DFly2 is built specifically for natively sparse large language models, which makes the memory sharing feasible. Models like DeepSeek-V4.1-Flash, GLM-5.3-Flash, and Hy4 flash already operate with sparse attention patterns, and DFly2 exploits that structure to avoid duplicating cache data. The result is a speculative decoder that scales with context length instead of fighting it for memory.
Open-Source Release and Integration
The system is available now through the tencent/Hy4-flash repository on GitHub, with the 0.85B-parameter drafter weights included. Tencent provides reference integration code for both vLLM and SGLang, the two most common serving frameworks for open-weight LLMs. For teams already running DeepSeek-V4.1-Flash or GLM-5.3-Flash in production, the integration path is straightforward: drop in the DFly2 drafter, enable speculative decoding in your vLLM config, and the memory savings start immediately. No retraining or fine-tuning required.
Developers working with Hy4 flash get an even tighter fit, since DFly2 ships with a drafter specifically paired to that model. The default vLLM recipe for Hy4 flash calls for 8x H200 GPUs, but DFly2 testing ran on H20 hardware with TP8, showing that the memory efficiency gains hold across different GPU tiers. That flexibility matters for cost-conscious deployments where every dollar per token served counts.
What This Means
DFly2 represents a production-ready answer to the memory tax that speculative decoding normally imposes at long context. By reusing the target model's sparse KV cache, Tencent has turned speculative decoding from a latency trick into a concurrency multiplier. For teams serving DeepSeek-V4.1-Flash, GLM-5.3-Flash, or Hy4 flash, this is a template worth adopting: a drafter that scales with context instead of competing for memory. The 81% throughput gain on 64K contexts and the 2.97x end-to-end speedup on SWE-bench workloads show that the approach delivers in the scenarios where memory pressure would otherwise kill concurrency.
on Emergent today





