Index Ai Academy
Glossary · Phase 6 · Modern LLM engineering

Speculative decoding

Speeding up generation by letting a small model draft several tokens and a big model check them at once.

Try it now

The first rejected token ends the round, so acceptance rate matters far more than draft length. This is a simplified model of the speed-up.

Learn it properly

Speculative decoding · Draft with a small model, verify with a big one. About 35 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write