China's Tencent Open-Sources DFly2: 4.2x Faster Hy4 Flash Decoding Without Changing a Weight

Text
Article image

China's Tencent Hunyuan team open-sourced DFly2 on November 26, Beijing time, a speculative-decoding drafter for its Hy4 Flash model that the company says speeds up generation by up to 4.2 times on long-context and agent workloads without changing the target model's weights or outputs. Instead of keeping its own context cache, the drafter reuses the target model's KV cache and sparse position picks.

4.2 times — that is the peak speedup China's Tencent Hunyuan team claims for DFly2, a speculative-decoding drafter it open-sourced on November 26, Beijing time, for its Hy4 Flash model. The headline number applies to long-context and agent workloads, and it comes with a condition that matters more than the number itself: the target model's weights do not change, and neither do its outputs. DFly2 is not a new large model. It is an acceleration component that sits beside Hy4 Flash, drafting a few tokens ahead so the main model can verify them in one pass instead of generating them one by one. The paper went up on arXiv on November 25, and the weights and training code were released alongside it, with the training code folded into Tencent's AngelSpec repository.

Speculative decoding is not new

Speculative decoding is not new. What is hard about it is long context. Every token a model generates forces it to look back across the whole prompt, and the longer the prompt, the slower the decoding — which is exactly where a drafter is supposed to help. The trouble is that earlier drafters kept a context cache of their own, eating memory, slowing prefill and cutting into concurrency. Tencent's own earlier designs, DFlash and DSpark, worked that way. DFly2 changes the deal: natively sparse models such as Hy4 Flash already pick, for each query, the positions worth attending to, so DFly2 simply reuses what the target has already computed. Each draft layer reads the KV cache its paired target layer cached — KV sharing — at the positions that layer's indexer selected, at most 2,048 of them — Index sharing — and runs no scoring pass and keeps no cache of its own.

The paper's numbers are more solid than the launch announcement's. Tested on three sparse models — China's DeepSeek V4.1-Flash, China's Zhipu GLM-5.3-Flash and Hy4 Flash — DFly2 accepted more tokens per step than DFlash and DSpark trained on the same recipe. Against the stronger baseline, its margin widened from 3.9% to 10.5% on general workloads to 10.0% to 31.5% on long-context and agent tasks; at high concurrency on DeepSeek's model, throughput rose 62% and 81% on two 64K-context sets at matched per-user decode speed. Two numbers need separating, though: the 4.2-times peak and the 10.4% acceptance-length lead are from Tencent's announcement, and neither appears in the paper's tables. The weights ship inside the Hy4 Flash checkpoints under Tencent's own Hy licence; only the training code is Apache 2.0. What is immediately reusable, in other words, is the method and the code — the model's commercial terms are a separate story.

The impact comes in three layers

The impact comes in three layers. Developers running long-context and agent workloads gain first: document analysis, codebase question-answering and multi-turn agents over very long prompts are where decoding cost dominates, and a several-fold speedup means the same hardware serves several times the requests, or the same requests for a fraction of the cost. One layer up, this is a piece of Tencent's open-source strategy: Hy4 Flash, Hy-MT3, AngelSpec and now DFly2 lay out the model, the translation model, the training framework and the inference accelerator in one line — a bet on owning the ecosystem, not on a single benchmark. The most consequential shift is in the industry chain: inference acceleration used to belong to frameworks such as vLLM and SGLang and to the cloud vendors, and a native accelerator shipped by a model maker, once the frameworks adopt it, moves pricing power from whoever has the cheapest chips to whoever ships acceleration with the model. The losers hide there too: inference providers that charge by decoding time on long contexts will see their per-token prices squeezed by open acceleration, and earlier drafters such as DFlash and DSpark now face direct replacement by their own successor.

iHolyshit review Tencent's open-sourcing here is shrewd: it gives away the most valuable acceleration method and keeps the most valuable model weights in its own hands. DFly2 is a genuinely elegant engineering answer — instead of brute-forcing long context with more compute, it reuses computation the target model has already paid for. But the 4.2-times figure deserves a discount: it is Tencent's own choice of tasks on its own test sets, and what actually holds up in the paper is the acceptance-length gain and the high-concurrency throughput. The real test is not in the paper either; it is whether vLLM and SGLang adopt it — without framework adoption, an open release is just another README in a repository. Chinese model makers are no longer competing on who has the biggest parameter count, but on who can push inference costs down and get others to follow; with DFly2, Tencent is betting on the latter.

November 27, 2026

Share this article

What do you think of this story?

Anonymous feedback, up to 5 reactions per article.

Reader comments

Comment without signing in, or sign in to display your member name.

Discuss the technology and the story. Hate, politics and war, threats, abuse, personal accusations, sexual content, ads, links and personal information are not allowed.

0/500

No comments yet. Be the first to share.

Sources