Speculative Decoding Speedup Calculator
Model exact inference throughput acceleration when coupling a large target model (e.g. Llama-3.3-70B) with a lightweight speculative draft model (e.g. Llama-3.2-1B / 3B).
Model Pair Configuration
Number of speculative tokens proposed by the draft model per verification round.
Probability that target model accepts draft token under exact distribution matching.
Latency Timeline Comparison (100 Generated Tokens) 2.34s saved
E[Tokens / Step] = (1 - α^(gamma+1)) / (1 - α) • Speedup S = E[N] / [ (gamma • t_draft + t_target) / t_target ]
Because speculative decoding preserves 100% mathematical token distribution parity through modified rejection sampling, target model quality remains completely lossless.