Speculative decoding

A model writes one token at a time, and each token requires re-reading everything before it: slow by construction. Speculative decoding flips the load. A small fast model drafts several tokens ahead, then the large model reads them all in a single pass and keeps the longest prefix it would have written itself. The rest is discarded. You get exactly the text the large model would have produced alone, with two to three times fewer round trips.

Strengths

Limitations

Best for

Official site

View on Coeurdar