Skip to content
HomeBriefFor youTrackersTopicsCompaniesGlossaryNewsletterSecurityHealth & medicineFinance & marketsRoboticsModels & researchPolicy & regulationEnterprise & businessDeveloper tools
Glossary

Speculative decoding

A serving trick in which a small 'drafter' model proposes several tokens and the large model verifies them in one pass, cutting the number of slow sequential steps.

Generation is sequential: each token needs a full forward pass of the large model. Speculative decoding lets a cheap drafter guess the next few tokens, then has the target model check them all at once and keep the longest prefix it agrees with. Output is identical to normal decoding; only speed changes, and the gain depends on how often the drafter is right. Tencent's DFly2, open-sourced in November 2026, raised acceptance on long contexts by letting the drafter read the target's own sparse KV cache, with a reported peak speedup of 4.2x.

← All terms

Get the brief in your inbox

One email every morning: the stories that mattered in AI, each with a one-line "why it matters" for your role. Free, no ads, unsubscribe any time.

Published daily by AI Briefing. We never share your address.
Like this? Get tomorrow's brief by email, free.