Skip to main content
AI Models & News

Tencent DFly2: How It Speeds Up Open-Model Inference

Tencent DFly2 explained: how the open-source draft model speeds up DeepSeek-V4.1-Flash and Hy4 Flash, what the 81% and 4.2x figures mean and who can use it.

By November 28, 202610 min read
Tencent DFly2: How It Speeds Up Open-Model Inference
Article focusOn November 26, 2026, Tencent open-sourced DFly2, a small draft model that speeds up long-context AI by reusing the big model's own memory. Here's how it works, what the 81% and 4.2x claims cover and whether your team can use it.

Big AI models are slow for a simple reason: they write one token at a time. Tencent DFly2, released as open source on November 26, 2026, attacks that bottleneck with a small helper model that guesses ahead.

Tencent says it lifts throughput for DeepSeek-V4.1-Flash by up to 81% on long prompts and makes agent work on its own Hy4 Flash up to 4.2 times faster.

Below: how it works in plain terms. Then what those numbers really cover, which teams can actually use DFly2 today, and how to test it on your own prompts before you trust a single vendor benchmark.

Key Takeaways

  • The release: Tencent's Hunyuan team open-sourced DFly2, a 0.85-billion-parameter draft model, with weights, training code and a technical report.
  • The trick: the drafter reuses the big model's own memory cache instead of keeping one of its own.
  • The claims: up to 81% more throughput on DeepSeek-V4.1-Flash at 64,000 tokens, and up to 4.2x faster generation on Hy4 Flash.
  • The fine print: both are peak figures from Tencent's own tests.
  • The fit: it works with sparse-attention models like Hy4 Flash, not with any open model.
  • Our view: worth testing if you self-host these models for long-context work, and a sign that inference costs keep falling.

Tencent DFly2 at a Glance

Here's the short version, as of November 28, 2026:

ItemDetails
ReleasedNovember 26, 2026
ByTencent's Hunyuan AI Infra team
What it isA small draft model for speculative decoding
Drafter sizeAbout 0.85 billion parameters, 5 layers
Main targetHy4 Flash, with tests on DeepSeek-V4.1-Flash and GLM-5.3-Flash
Headline claimsUp to 81% more throughput, up to 4.2x faster generation
ServingvLLM, with SGLang support
Released with itWeights, the AngelSpec training code and a technical report

Our main sources are AlphaSignal's write-up and Emergent's report, plus other coverage of Tencent's release. Where they disagree, we say so.

What Is Speculative Decoding?

A large language model writes text one token at a time. Each token needs a full pass through billions of weights, and on modern GPUs that pass is limited more by memory than by math. So the chip often sits waiting.

Speculative decoding fills that gap. The idea, laid out in a 2022 Google paper, works like this:

StepWhat happens
1. DraftThe small model guesses the next few tokens
2. CheckThe big model scores all the guesses in one pass
3. KeepTokens the big model agrees with are kept
4. FixAt the first miss, the big model writes its own token
5. RepeatDrafting starts again from there

What that means in practice:

  • Good guesses: the big model approves several tokens for the price of one pass.
  • Bad guesses: you lose a little time and fall back to normal speed.
  • Same answers: the big model checks every token and has the final say, so the method is designed to speed things up without changing what the model writes.

How Tencent DFly2 Works

Most draft models have a hidden cost. To guess well, they need to remember the conversation, so they keep their own memory cache, called a KV cache. On long prompts, that cache eats GPU memory that could serve more users.

DFly2 skips it. Each of its five layers reads the matching layer of the big model's cache directly. Here's how that compares:

FeatureA typical drafterDFly2
Memory cacheKeeps its own KV cacheReuses the big model's sparse cache
Extra cache memoryGrows with context lengthNone, per Tencent
DraftingOften one token at a timeBlocks of tokens in parallel
Attention per tokenCan grow with the full contextCapped at 2,048 chosen positions
Prefill stageOften involvedStays out of it

Here's the flow in one picture:

Diagram of how Tencent DFly2 speeds up decoding: the large target model, such as Hy4 Flash or DeepSeek-V4.1-Flash, keeps a sparse KV cache; the 0.85B DFly2 drafter reads that same cache instead of keeping its own, drafts a block of tokens in parallel, and the target checks the whole block in one pass, keeping the tokens it agrees with and fixing the first one it doesn't.
How DFly2 drafts and checks tokens, based on Tencent's release and coverage of it. The drafter keeps no memory cache of its own.

Why this works:

  • Sparse attention: instead of looking at every earlier token, the target models pick a smaller set of positions to focus on, and DFly2 borrows those picks for free.
  • A cap: each drafted token looks at no more than 2,048 chosen positions, so the drafter stays fast even on very long prompts.
  • Split serving: when prompt reading and writing run on separate machines, DFly2 adds only one small piece of data to the hand-off, AlphaSignal notes.

The Tencent DFly2 Numbers, With Their Conditions

Here are the reported figures and the conditions attached to each:

ClaimModelConditions reported
Up to 81% more throughputDeepSeek-V4.1-Flash64K coding prompt, H20 GPUs, vLLM on 8 GPUs
2.97x end to endDeepSeek-V4.1-FlashSWE-bench-style work
2.36x end to endGLM-5.3-FlashNot stated in coverage
Up to 4.2x generationHy4 FlashPeak, on long-context and agent work
About 30% fasterHy4 Flash vs DSparkAgent tasks, same training recipe
10.4% more accepted tokensvs open-source DSparkDraft acceptance

Three cautions apply to every row:

  • Self-reported: all of these come from Tencent's own tests. No outside group has checked them.
  • Peaks: the 81% and 4.2x figures are "up to" numbers, not averages.
  • Missing baselines: coverage doesn't always say what each speedup is measured against.

Two more ways to read the table:

  • Peak vs typical: another report gives a 3.19x end-to-end figure for Hy4 Flash, well below the 4.2x peak. That gap is normal, because end-to-end numbers include all the slower steps around the best case.
  • Cost per token: if the same GPUs serve 81% more tokens, each token costs about 45% less to produce (our math), if that gain holds on your workload.

Which Models Tencent DFly2 Supports

DFly2 isn't a plug-in for every open model. It needs the big model's sparse attention data, cache layout and hidden states:

ModelMakerHow it fits DFly2
Hy4 FlashTencentMain target; 220B total, about 12B active, sparse attention
DeepSeek-V4.1-FlashDeepSeekTested by Tencent; up to 81% more throughput
GLM-5.3-FlashZhipu AITested by Tencent; 2.36x end to end
Dense-attention modelsVariousNeed design changes and retraining

AlphaSignal says models with different attention designs need changes to the drafter and new training. One report claims DeepSeek and GLM users need no retraining, but other coverage doesn't back that up, so check the repository before you plan around it.

If you're choosing between these models, our comparison of ERNIE 5.5 Flash Preview, DeepSeek-V4.1-Flash and Hy4 covers their scores, licenses and cost per task. Our post on DeepSeek V4.1 Flash 1017 covers DeepSeek's latest update.

What Tencent Released, and How to Run It

Tencent shipped more than a model file:

  • Weights: the DFly2 drafter, published on Hugging Face alongside Hy4 Flash.
  • Training code: AngelSpec v0.2.0, Tencent's framework, with seven drafter designs and a training recipe called DFly-OPD.
  • Technical report: a paper on how DFly2 shares the big model's sparse attention.

How to run it:

  • Serving: DFly2 is on by default in the Hy4 Flash recipe for vLLM, and SGLang supported it from day one.
  • Hardware: Tencent tested on NVIDIA H20 GPUs with eight per instance, and the default Hy4 Flash recipe uses eight H200 GPUs. That's data center gear, not a workstation.
  • License: one report says DFly2 ships under an AngelSpec license and Hy4 Flash under the Tencent Hy License. The coverage we read didn't confirm the terms, so read both before using them in a product.

Where DFly2 Fits Among Other Speed-Up Methods

DFly2 isn't the first drafter, and Tencent's AngelSpec framework ships several. Here's how they line up, based on coverage of the release:

MethodHow it draftsWhere it shows up
EAGLE-3A small model that drafts one token after anotherOne of seven designs in AngelSpec
MTPA full extra model layer used as the drafterAlso in AngelSpec
DFlash and DSparkEarlier drafters used as baselinesDFly2 beats both on accepted tokens, per Tencent
DFly (first version)Tencent's earlier drafter1.98x to 2.40x on average on Hunyuan 3
DFly2Blocks of tokens, reading the big model's sparse cacheReleased November 26, 2026

The comparison that matters most is against DSpark. AlphaSignal reports that DFly2 runs about 30% faster than DSpark trained the same way on agent tasks, and accepts 10.4% more drafted tokens than the open-source DSpark.

Limits and Open Questions

Even if Tencent's numbers hold, DFly2 has clear limits:

  • Batch size: speculative decoding helps most when the GPU has spare capacity. At very high load, gains can shrink, and coverage gives no batch-size data.
  • Short prompts: DFly2 is built for long contexts. Nobody has published how much it helps on short chat replies.
  • Drafter cost: the drafter has no cache, but its own weights and compute still use GPU time, as AlphaSignal points out.
  • Narrow targets: only models with matching sparse attention fit without extra work.
  • No outside tests yet: every figure so far comes from Tencent.

What Is Known and What Isn't

Here's a clean split of the facts so far:

KnownNot known
Weights and training code are publicResults from outside testers
Up to 81% more throughput in one setupGains at different batch sizes
4.2x is a peak, not an averageTypical gains on short prompts
The drafter keeps no KV cacheWhether outputs match bit for bit in tests
Hy4 Flash is the main targetHow much work other models need

What Tencent DFly2 Means for AI Teams

The bigger story is cost. Every speedup in serving lowers the price of running open models, and long-context agent work is where costs pile up fastest.

Three trends stand out:

  • Long context is the new battleground: coding agents read whole repos, so the speed of long prompts matters more than short chat replies.
  • Open models keep closing the gap: tools like DFly2 make self-hosting cheaper, which puts pressure on API prices too.
  • Efficiency beats raw size: as with token efficiency, the cheapest token is often the one you don't waste.

For teams that only call models through an API, the effect is indirect but real, because hosting providers that adopt tools like this can serve more users on the same GPUs and may pass part of that saving on as lower prices for open models. Our post on the neocloud shakeout covers how GPU providers are squeezed on margins.

Here's a quick way to judge fit:

Good fitPoor fit
Self-hosting Hy4 Flash or DeepSeek-V4.1-FlashCalling models only through an API
Long prompts, such as coding agents with big reposShort chat prompts
8-GPU data center nodesSingle consumer GPUs
vLLM or SGLang already in placeA custom serving stack you can't change

How to Test Tencent DFly2 on Your Own Workload

Vendor numbers are a starting point, not a promise. If you self-host one of the supported models, here's a simple test plan:

StepWhat to doWhat to measure
1. Pick real prompts.Use logs from your own agents or apps.Prompt length mix, since DFly2 targets long contexts and your gains will depend on how many of your requests actually run long.
2. Set a baseline.Serve the model with no drafter.Tokens per second at your normal load.
3. Turn DFly2 on.Use the vLLM or SGLang recipe.Throughput, latency and acceptance rate, measured at the same load and on the same GPUs as the baseline so the numbers compare fairly.
4. Check outputsCompare answers with the baseline.Any change in quality or format.
5. Price itTurn the speedup into cost per million tokens.Savings after the drafter's own compute, because the small model still uses some GPU time even with no cache of its own.

Two rules matter most. Test at your real batch size, since speculative decoding helps most when the GPU has spare capacity. And check output quality yourself, even though the method is designed not to change answers.

Tencent DFly2: Our Take

Tencent DFly2 is a smart, focused piece of engineering. Reusing the big model's own memory instead of building a second cache is the kind of idea that seems obvious once someone ships it.

But the headline numbers need care. The 81% and 4.2x figures are Tencent's best cases on its own hardware, and the drafter only fits models built with sparse attention.

Our view: if you self-host Hy4 Flash or DeepSeek-V4.1-Flash for long-context agent work, DFly2 is worth a week of testing. If you don't, watch for hosting providers to pass the savings on.

How Van Data Team Helps

We help teams run AI models faster and cheaper:

This article is based on Tencent's November 26, 2026 release as reported by AlphaSignal, Emergent, AI Daily Post and other coverage, as of November 28, 2026.

Van Data Team has no business relationship with Tencent, DeepSeek or Zhipu AI. Thinking about self-hosting an open model? Get in touch and we'll help you test it on your own workload.

AI Model Brief

The AI models worth knowing, once a week

What shipped, how it scores on independent benchmarks, what it costs per million tokens and what was deprecated, from the data behind our AI model benchmarks.

One email a week. We send a confirmation link first, and every issue has a one-click unsubscribe.

We use your address only to send the brief. See our privacy policy.

See this week’s brief
Tran Tien Van
Tran Tien Van

Founder of Van Data Team. Builds Vanaxity, the AI agent system for SEO, GEO, and AEO, and leads data engineering delivery for B2B teams.

About the author

AI model benchmarks

Current pricing, context window and independent scores for each model.

Article FAQ

Questions readers usually ask next.

These short answers clarify the practical follow-up questions that often come after the main article.

Share this

Need a similar system?

If this article maps to a workflow your team already operates, the next step is usually a scoped review of the system, constraints, and rollout path.

Consultation

Scope your next AI workflow.

Share the system and blockers. We will map fit, gaps, and the next step.

We use these details only to reply about your project. See our privacy policy.