In 2022, Google published a way to make language models answer 2 to 3 times faster, with the same answers.[1] Today OpenAI, DeepSeek and Google use it in production.

Engineers serving large language models face three problems:

  1. A large model takes seconds to answer one question.
  2. A small model answers fast, but it is less intelligent.
  3. Agents call the model again and again. Every second adds up.

In this blog we will see what speculative decoding is, and why checking a draft is faster than writing it.

1. A large model is slow

Have you waited for a chatbot to finish its answer? The wait comes from the size of the model.