DFly 2 vs DSpark, DFlash 2, MTP and Eagle 3: How Fast Is It?
How Tencent's DFly 2 differs from DSpark, DFlash 2, MTP and Eagle 3, and what its reported 3.41x vs 2.63x and 81% gains do and don't tell you.
For Engineering and IT

How does DFly 2 compare with other speculative decoding methods?
DFly 2 is Tencent's new method for making large AI models write faster. It belongs to a family called speculative decoding, where a small "drafter" guesses several words ahead and the big model checks the guesses. DFly 2's difference is memory. Other drafters (MTP, Eagle 3, DFlash, DSpark) keep their own record of the conversation. DFly 2 keeps none and reads the big model's own notes instead. In Tencent's tests, that produced 3.41x faster writing versus 2.63x for DSpark.
TL;DR
- DFly 2 borrows the big model's memory instead of building its own, which saves GPU space and lets it reach far back into long conversations.
- In Tencent's single-user agent tests, DFly 2 reached 3.41x faster writing versus 2.63x for DSpark, about 30% better.
- Over the whole request (including reading your prompt), the gap shrinks to 1.67x versus 1.55x.
- On a busy server at the same per-user writing speed, DFly 2 delivered 28% more total output on short text, 62% more on long code, and 81% more on a coding agent test than DSpark.
- DFly 2 needs a natively sparse model, so it is not a drop-in upgrade for every model.
- These are Tencent's own results. The paper does not report numbers against MTP, Eagle 3 or DFlash 2, and nobody outside the lab has verified them yet.
Why is AI slow at writing in the first place?
A large language model normally writes one token at a time. A token is a small chunk of text, roughly a word or part of a word. Each token needs a full pass through the big model, and that pass is expensive.
Speculative decoding attacks this. A small, cheap drafter guesses several tokens ahead, say five. The big model then checks all five in a single pass. Correct guesses stay. At the first wrong guess, the big model substitutes its own token and throws away the rest of the draft.
Tencent's illustration: three normal passes produce three tokens, while three passes with a drafter can produce 15 tokens if the guesses are good. Real results vary, because drafting and checking also take time. The big model always has the final say, so the answer quality does not depend on the drafter being right.
So the whole game is a drafter that guesses well and costs little. To guess well, it needs to know what came before.
What makes DFly 2 different from the other drafters?
Most drafters build their own memory of the conversation so they can guess well. That memory takes up GPU space, and it grows as the conversation grows.
DFly 2 asks a simple question: the big model has already taken notes, so why write them again?
It works with models that are natively sparse. In their sparse attention layers, these models do not re-read every earlier position. They pick certain earlier positions that matter. DFly 2 reads those picks and goes to the parts the big model already chose. Think of borrowing a classmate's notebook with the important lines already highlighted.
Two consequences follow:
- It builds no context memory of its own. It can still see selected positions from much earlier in the conversation.
- The number of positions it reads stays fixed as the conversation gets longer.
The trade-off is that it needs a natively sparse model. If your model does not select positions this way, there are no highlighted notes to borrow.
How do MTP, Eagle 3, DFlash, DFlash 2 and DSpark differ?
Here is how each one drafts and what it does about memory, based on Tencent's comparison.
| Method | How it drafts | Context memory |
|---|---|---|
| MTP | One token after another (autoregressive) | Keeps its own |
| Eagle 3 | One token after another (autoregressive) | Keeps its own |
| DFlash | A whole block at once | Keeps its own |
| DFlash 2 | A block, keeping 16 candidates at every position, then picking a path through them that fits together | Not stated in the source |
| DSpark | A block, plus a small step-by-step pass so each guess can account for the previous one | Its own memory covers only a recent window, so it cannot reach further back |
| DFly 2 | A block | None of its own. Reads the big model's selected positions, including much earlier ones |
A few notes on this table.
Block versus one-by-one. Drafting a whole block at once is faster than guessing token by token. The downside is that neighboring guesses are made independently and can clash.
DFlash 2 and DSpark both try to fix that clashing. DFlash 2 keeps 16 candidates per position and chooses a coherent path. DSpark adds a light step-by-step stage. Their focus is making the guesses work better as a team.
DFly 2's focus is different. It targets the memory cost, not the teamwork between guesses.
The names are confusing. Despite the similarity, DFlash 2 and DFly 2 are separate projects.
How much faster is DFly 2, really?
Tencent reports an "up to 4.2x" headline. The more useful numbers are in the detailed tests, and they depend on what you measure.
Writing speed versus whole-request speed
These figures are the average of four agent tests on a Flash model, with one request at a time:
| Measure | DFly 2 | DSpark |
|---|---|---|
| Speed of writing the answer | 3.41x | 2.63x |
| Whole request (including processing your prompt) | 1.67x | 1.55x |
DFly 2 leads on both, but the gap is about 30% on writing and much smaller on the whole request. The reason is simple: speculative decoding speeds up the writing phase. Reading your prompt takes time that drafting does not help much.
When you see a big speed number, ask whether it covers only the writing or the full wait.
Single user versus a busy server
The second set of tests used a DeepSeek V4.1 Flash model with many requests at once. At the same writing speed per user, DFly 2 delivered more total output than DSpark:
- 28% more on short text
- 62% more on long code
- 81% more on a coding agent test
The longer workloads show bigger gains. That fits the memory idea: the longer the context, the more a drafter that keeps its own memory pays for it, and the more a fixed-size read helps.
Can you trust these numbers?
Treat them as promising and unconfirmed. Three caveats matter.
- They are Tencent's own results, from its paper. The creator who covered it said he had not tested them, and neither have we.
- The comparison set is narrow. The paper compares DFlash and DSpark versions that Tencent trained itself using the same recipe. It does not report results against MTP, Eagle 3 or DFlash 2, so any claim that DFly 2 beats those is unsupported for now.
- It is not a hobbyist tool. Running it means a multi-GPU cluster, at least eight GPUs with 80 GB of VRAM each. Models mentioned as available on Hugging Face include DeepSeek, a Tencent model family and a GLM model.
What does this mean for you?
Most readers will not run DFly 2 themselves. But the result shapes the tools you use.
If you use AI agents at work (coding assistants, research agents, anything that reads long context), long-context speed is where providers are competing. Faster serving tends to show up as lower waiting time and, over time, potentially lower cost. It does not change what the model can do.
If you buy or evaluate AI services, use the measuring lesson. Ask vendors three things:
- Is the speedup for writing only, or the whole request?
- Is it measured for one user or under heavy load?
- Is it compared against the methods you actually care about, using the same training recipe?
If you run models on your own hardware, check whether your model is natively sparse before getting excited. If it is not, DFly 2 does not apply, and the other methods remain your options.
If you work in IT or procurement, save this as a template for reading any inference benchmark: separate the speed claim, the workload, and the baseline.
Could you track claims like these in your own tool?
If your team keeps comparing vendor speed or cost claims in scattered spreadsheets, a small internal tracker is a reasonable fix. With Remy, you describe the tool in plain English, such as a form that logs each claim, whether it measures writing or whole-request speed, single-user or busy-server, and which baseline it used, plus a sortable dashboard. Remy builds and deploys it as a full-stack app with a database and sign-in, so colleagues can add entries and you own the result instead of renting another subscription.
Frequently Asked Questions
What is speculative decoding in simple terms?
A small model drafts several words ahead, and the large model checks them all in one pass. Correct guesses are kept, and at the first wrong one the large model substitutes its own token. This gives faster output without giving up the big model's final say on the answer.
Is DFly 2 the same as DFlash 2?
No. The names are similar, but they are separate projects. DFlash 2 keeps 16 candidates per position and picks a path that fits together. DFly 2 is about reusing the big model's memory instead of building a separate one.
Why is the whole-request speedup smaller than the writing speedup?
Whole-request time includes processing your prompt, which drafting does not speed up much. In Tencent's tests, DFly 2 reached 3.41x on writing but 1.67x on the whole request. DSpark went from 2.63x to 1.55x.
Does DFly 2 work with any model?
No. It needs a natively sparse model, one whose attention layers select certain earlier positions rather than reading all of them. DFly 2 reads those selections, so without them it has nothing to borrow.
Is DFly 2 faster than MTP and Eagle 3?
The sources do not say. Tencent's reported comparison is against DFlash and DSpark versions it trained itself. Numbers against MTP, Eagle 3 and DFlash 2 were not part of those results.
Useful for
How we source, write, and correct our articles. Editorial standards
Related articles

How to Run the Qwen3.8-27B Pi Adapter Locally with vLLM

GLM 5.4 Coding Plan Limits: Credits, Caching, Effort Tiers

How Does LongCat 2.5 Work? Vision Tokens and Agentic Training
