Speculative decoding: the trick behind Google's 2-3x faster LLM inference in production

hongyangzh · x · 2026-09-13

A deep-dive article explains speculative decoding — used in production by Google (AI Overviews in Search), Anthropic, and Meta — which speeds up LLM inference 2-3x. A cheap draft model proposes several tokens at once, and the large target model verifies the whole block in a single forward pass, since low-batch autoregressive decoding is memory-bandwidth bound and leaves most GPU compute idle. The article covers internals, code, tradeoffs, and what's replacing the two-model setup.

Original post →

More from Infra

Infra channel →