By Sagar Shankaran, Founder of CallSphere
Deep dive into multi-token prediction and speculative decoding techniques that deliver up to 3x faster AI agent response times without sacrificing output quality.
Key takeaways
Every mainstream large language model generates text one token at a time. To produce a 500-token response, the model performs 500 sequential forward passes through billions of parameters. Each pass depends on the output of the previous one, creating an inherently serial process that cannot be parallelized through conventional means.
This autoregressive bottleneck is the single largest contributor to perceived latency in AI agent systems. For agentic workloads — where the model might perform 5-15 sequential generation steps per interaction — the cumulative effect is painful. Users wait seconds for each reasoning step, and total interaction times can stretch into tens of seconds.
Multi-token prediction and speculative decoding are the two most impactful techniques for breaking this bottleneck, delivering measured speedups of 2-3x with no degradation in output quality.
To understand the optimization, you first need to understand what you are optimizing.
flowchart LR
REQ(["Request"])
BATCH["Continuous batching<br/>vLLM scheduler"]
PREF{"Prefill or<br/>decode?"}
PRE["Prefill phase<br/>parallel attention"]
DEC["Decode phase<br/>token by token"]
KV[("Paged KV cache")]
SAMP["Sampling<br/>top-p, temp"]
STREAM["Stream tokens<br/>to client"]
REQ --> BATCH --> PREF
PREF -->|First token| PRE --> KV
PREF -->|Next token| DEC
KV --> DEC --> SAMP --> STREAM
SAMP -->|EOS| DONE(["Response complete"])
style BATCH fill:#4f46e5,stroke:#4338ca,color:#fff
style KV fill:#ede9fe,stroke:#7c3aed,color:#1e1b4b
style STREAM fill:#0ea5e9,stroke:#0369a1,color:#fff
style DONE fill:#059669,stroke:#047857,color:#fff
In standard autoregressive generation:
The prefill phase is compute-bound — it benefits from GPU parallelism. The generation phase is memory-bandwidth-bound — it reads billions of parameters from GPU memory for each single token produced. Modern GPUs have vastly more compute capacity than memory bandwidth, which means during generation the GPU's compute units are mostly idle. They are waiting for weights to be loaded from memory.
This is the fundamental inefficiency that multi-token prediction exploits.
Multi-token prediction modifies the model architecture to predict multiple future tokens simultaneously from a single forward pass. Instead of training the model with a single next-token prediction objective, it is trained with multiple prediction heads — each head predicting a different position ahead in the sequence.
Hear it before you finish reading
Talk to a live CallSphere AI voice agent in your browser — 60 seconds, no signup.
Standard Model:
Input → Transformer Layers → Single Prediction Head → Token N+1
Multi-Token Model:
Input → Transformer Layers → Prediction Head 1 → Token N+1
→ Prediction Head 2 → Token N+2
→ Prediction Head 3 → Token N+3
→ Prediction Head 4 → Token N+4
Each prediction head is a relatively lightweight component (compared to the transformer backbone). The expensive part — processing through the transformer layers — happens once, and the marginal cost of additional prediction heads is small.
When the model predicts 4 tokens in one forward pass instead of 1, it amortizes the cost of reading all model weights from memory across 4 tokens instead of 1. Since memory bandwidth is the bottleneck, this can approach a 4x speedup in the memory-bandwidth-limited regime.
In practice, the speedup is less than the theoretical maximum because:
Real-world measurements show 1.5-2.5x speedups depending on the task and model size.
Multi-token prediction models are trained differently from standard models. During training, the loss function includes prediction accuracy for multiple future positions:
Standard Loss:
L = -log P(token_n+1 | token_1, ..., token_n)
Multi-Token Loss:
L = Σ(k=1 to K) -log P(token_n+k | token_1, ..., token_n)
Research has shown that this training objective actually improves model quality — not just speed. Models trained with multi-token prediction develop stronger internal representations because predicting further ahead requires deeper understanding of the text structure. This means multi-token prediction is one of those rare optimizations that improves both speed and quality.
Speculative decoding takes a different approach. Instead of modifying the model architecture, it uses a small "draft" model to generate candidate tokens quickly, then uses the full-size "verifier" model to check them in parallel.
class SpeculativeDecoder:
def __init__(self, draft_model, verifier_model, num_speculative_tokens=5):
self.draft = draft_model
self.verifier = verifier_model
self.K = num_speculative_tokens
async def generate(self, prompt_tokens: list[int]) -> list[int]:
output_tokens = []
current_tokens = prompt_tokens
while not self.is_complete(output_tokens):
# Step 1: Draft model generates K candidates quickly
draft_tokens = self.draft.generate(current_tokens, num_tokens=self.K)
# Step 2: Verifier checks all K tokens in ONE forward pass
acceptance_mask = self.verifier.verify_batch(
current_tokens, draft_tokens
)
# Step 3: Accept tokens up to first rejection
accepted = []
for i, (token, accepted_flag) in enumerate(
zip(draft_tokens, acceptance_mask)
):
if accepted_flag:
accepted.append(token)
else:
# Sample correct token from verifier at this position
correct_token = self.verifier.sample_at_position(
current_tokens + accepted, i
)
accepted.append(correct_token)
break
output_tokens.extend(accepted)
current_tokens = prompt_tokens + output_tokens
return output_tokens
The key insight is that verification is parallelizable but generation is not. The verifier model can check K tokens in roughly the same time it takes to generate 1 token, because all K positions are processed in a single forward pass.
If the draft model's acceptance rate is high (70-90% for well-matched draft/verifier pairs), the system effectively generates K tokens in the time it takes for 1 draft generation pass + 1 verifier pass, instead of K verifier passes.
| Draft Acceptance Rate | Speculative Tokens (K) | Effective Speedup |
|---|---|---|
| 90% | 5 | 2.8x |
| 80% | 5 | 2.3x |
| 70% | 5 | 1.9x |
| 60% | 5 | 1.5x |
The acceptance rate depends on how well the draft model approximates the verifier. Using a model from the same family (same architecture, smaller size) typically yields the best results.
Still reading? Stop comparing — try CallSphere live.
CallSphere ships complete AI voice agents per industry — 14 tools for healthcare, 10 agents for real estate, 4 specialists for salons. See how it actually handles a call before you book a demo.
These techniques are disproportionately impactful for agentic workloads for three reasons:
If an agent workflow involves 8 LLM calls and each call is 2.5x faster, the total workflow is 2.5x faster. A workflow that took 12 seconds now takes under 5 seconds — crossing the psychological threshold where users perceive the system as "fast" rather than "slow."
Faster generation means agents can afford more reasoning tokens within the same latency budget. If a system has a 3-second latency target and generation is 2.5x faster, the agent can produce 2.5x more reasoning tokens — leading to better decisions, more thorough tool usage, and higher-quality outputs.
Voice-based AI agents have the strictest latency requirements — responses must begin within 500-800ms to feel conversational. Without multi-token prediction or speculative decoding, this budget is nearly impossible to meet with large models. With these techniques, large-model quality becomes achievable within voice latency constraints.
A critical property of both techniques is that they produce mathematically identical output distributions to standard autoregressive generation. Speculative decoding achieves this through its acceptance/rejection mechanism — any token that does not match the verifier's distribution is rejected and resampled. Multi-token prediction achieves it through verification steps that ensure consistency.
This is not an approximation or a quality trade-off. It is the same output, produced faster. That guarantee is what makes these techniques production-safe: you can deploy them without re-running quality evaluations or worrying about regression.
For teams deploying AI agents today, the practical path is:
The 3x speedup headline is real and achievable. For agentic systems where latency directly impacts user experience and throughput, these techniques are not optional optimizations — they are infrastructure requirements.
Multi-token prediction is a technique where an AI model is trained to predict multiple future tokens simultaneously rather than generating one token at a time. Traditional autoregressive models perform a separate forward pass through billions of parameters for each token, creating an inherently serial process. Multi-token prediction breaks this bottleneck by allowing the model to generate 2-4 tokens per forward pass, delivering measured speedups of 2-3x with no degradation in output quality.
Speculative decoding uses a smaller, faster "draft" model to generate candidate token sequences that are then verified in parallel by the larger, more accurate main model. Since the verification step can check multiple tokens simultaneously in a single forward pass, this technique dramatically reduces the number of sequential operations required. The result is a 2-3x speedup in inference time while maintaining the exact same output quality as the original model.
Response time is critical for AI agents because agentic workloads involve 5-15 sequential generation steps per interaction, and latency compounds at each step. If each LLM call takes 800ms, a 10-step agent workflow takes 8 seconds in inference time alone before accounting for tool execution and network overhead. Reducing per-step latency through techniques like multi-token prediction and speculative decoding directly improves user experience and increases system throughput capacity.

Written by
Sagar Shankaran· Founder, CallSphere
LinkedInSagar Shankaran is the founder of CallSphere, where he builds production AI voice and chat agents deployed across healthcare, hospitality, real estate, and home services. He writes about agentic AI, LLM engineering, and shipping voice agents that handle real calls in production.
See how AI voice agents work for your industry. Live demo available -- no signup required.
Both models stream tokens. The differences in time-to-first-token, tokens-per-second, and total-task-latency change which one wins for which workload. A practical breakdown.
GPT-5.5's biggest under-the-hood change is output token efficiency. Here is what that means for cost, latency, and how you should architect prompts for both models.
Mixture of Depths lets models skip layers for easy tokens and spend compute on hard tokens. The 2026 implementations and what they save.
KV-cache is the dominant memory cost in long-context inference. The 2026 offloading strategies that make 1M-token serving practical.
Speculative decoding is now standard for LLM inference. The 2026 algorithms — EAGLE-3, Medusa-V2, MTP — and how to choose between them.
An LLM streams 80 tokens/sec. Your audit pipeline writes 20/sec to disk. The buffer fills, OOM happens. Backpressure design — credit-based, drop, buffer-bounded — is non-negotiable for AI streaming systems.
© 2026 CallSphere Inc. All rights reserved.
Made within San Francisco
Watch how CallSphere handles real customer calls, schedules appointments, and processes payments — live.
Try Live DemoBook a DemoCalculate Your ROI