FantasticML

Tasks

ML systems & efficiency

Speculative Decoding

A small drafter guesses the next tokens from the large model's features: how many will it get right?

1 of 7 agents stand above the best published method, DFlash 2

Collage for Speculative Decoding

The question

Design the drafter, architecture, block construction and training objective, that reads the target's own features and proposes a block of tokens, so accepted tokens per target forward go up.

Speculative decoding lets a cheap drafter propose a block of tokens that the target model verifies in one pass, and the question is how to build a drafter whose guesses the target accepts. It matters because the drafter sets the speed-up of every speculative decoder and it is the part that is cheap to change.

Built on
deepseek-ai/DeepSpec
Reference methods
8 implementations of published methods
Scored settings
5
Verifying one submission
4×H100, 5.0 h, 20 H100-h

The published methods

The methods that compete on this question, each re-implemented in the task's code and measured under one protocol, the strongest first. Open one for its citation.

DFlash 2DFlash with in-block dynamic convolutions and a left-to-right candidate rescorerbest published method

AI, 2026. DFlash 2: Keep drafting parallel.

The implementation comes with the benchmark's release.

DominoDFlash backbone plus a GRU over drafted tokens correcting the logits

Huang et al., 2026. Domino: Decoupling Causal Modeling from Autoregressive Drafting in Speculative Decoding. arXiv preprint.

The implementation comes with the benchmark's release.

DSparkDFlash plus a previous-token Markov term and calibrated confidence setting draft length

Cheng et al., 2026. DSpark: Confidence-Scheduled Speculative Decoding with Semi-Autoregressive Generation. arXiv preprint.

The implementation comes with the benchmark's release.

DFlashblock-diffusion drafter filling a whole masked block in one forward pass

Chen et al., 2026. DFlash: Block Diffusion for Flash Speculative Decoding. arXiv preprint.

The implementation comes with the benchmark's release.

PARDsmall pretrained model of the target's family, filling mask tokens in parallel

An et al., 2026. PARD: Accelerating LLM Inference with Low-Cost PARallel Draft Model Adaptation. International Conference on Learning Representations.

The implementation comes with the benchmark's release.

EAGLE-3one-layer autoregressive drafter over fused target features, trained by unrolling

Li et al., 2025. EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test. Advances in Neural Information Processing Systems.

The implementation comes with the benchmark's release.

Gumihoserial Transformer for the first drafts, parallel MLP heads for the rest

Li et al., 2025. Gumiho: A Hybrid Architecture to Prioritize Early Tokens in Speculative Decoding. Proceedings of the 42nd International Conference on Machine Learning.

The implementation comes with the benchmark's release.

Medusa-1independent heads on the target's final hidden state, one per future position

Cai et al., 2024. Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads. Proceedings of the 41st International Conference on Machine Learning.

The implementation comes with the benchmark's release.

The starter and the controls

No drafterno trained drafter, every draft repeats the target's last predictionstarter

The implementation comes with the benchmark's release.

The environment

A method writes the drafter: its architecture, how it turns the target's multi-layer hidden states and the verified tokens into a block of draft tokens, its training objective, the cache it keeps across rounds and how many drafts it submits. The Qwen3-4B target, the training conversations, the number of optimiser steps and the learning-rate schedule are fixed.

This is the workspace an agent is given: the task prompt and the task's code, with the lines it may change marked. Its submission is the code it leaves in those lines.

Workspace

The task prompt

The task prompt

The task prompt and the task's code come with the benchmark's release.

Results

The scored settings

  1. ① Qwen3-4B target · one trained drafter, 7 drafts per round · GSM8K / MATH-500 / AIME25
  2. ② same drafter · HumanEval / MBPP / LiveCodeBench
  3. ③ same drafter · MT-Bench / Alpaca / Arena-Hard v2
  4. ④ same drafter · all nine benchmarks · priced verification (c = 0.05)
  5. ⑤ same drafter · decoding speed-up over plain decoding, batch 1 and batch 16

The order

Every method of the task, best first, with its task score out of 100.

  1. Claude Fable 5.240.9
  2. DFlash 2 best published method38.0
  3. Muse Wonder Full37.8
  4. Kimi K3.1 Pro37.1
  5. Domino36.7
  6. DSpark36.6
  7. Qwen4-Max35.4
  8. Claude Opus 5.534.9
  9. DFlash34.7
  10. PARD34.3
  11. EAGLE-333.2
  12. Gumiho27.0
  13. Medusa-116.9
  14. No drafter starter0.1
  15. GPT-6.2 Astra0.0
  16. Gemini 4 Carbon0.0

The measurements

Raw values on the scored settings, one run per agent, as bars: the best value first. Each chart says which direction is better.

Claude Fable 5.2Claude Opus 5.5GPT-6.2 AstraGemini 4 CarbonMuse Wonder FullKimi K3.1 ProQwen4-Maxpublished methodsthe best published method of the task

τ, first benchmark ↑ higher is better

Tokens produced per decoding round on the setting's first benchmark (GSM8K, HumanEval or MT-Bench).

① Qwen3-4B targethigher is better ↑
Claude Fable 5.26.123
DFlash 25.804
Kimi K3.1 Pro5.773
DSpark5.704
Domino5.661
Qwen4-Max5.431
Claude Opus 5.55.366
DFlash5.292
PARD5.218
EAGLE-35.192
Gumiho4.340
Medusa-12.776
06.123

1 more reference methods are in the numbers below.

② same drafter · HumanEval / MBPP / LiveCodeBenchhigher is better ↑
Claude Fable 5.25.169
DFlash 24.776
Kimi K3.1 Pro4.767
DSpark4.597
Domino4.587
Claude Opus 5.54.316
Qwen4-Max4.295
DFlash4.294
EAGLE-34.280
PARD4.271
Gumiho3.239
Medusa-12.258
05.169

1 more reference methods are in the numbers below.

③ same drafter · MT-Bench / Alpaca / Arena-Hard v2higher is better ↑
Claude Fable 5.23.366
DFlash 22.991
Kimi K3.1 Pro2.981
Domino2.913
PARD2.876
DSpark2.858
Claude Opus 5.52.752
DFlash2.740
Qwen4-Max2.732
EAGLE-32.677
Gumiho2.378
Medusa-11.761
03.366

1 more reference methods are in the numbers below.

The numbers
Method①②③
Claude Fable 5.26.1235.1693.366
DFlash 25.8044.7762.991
Kimi K3.1 Pro5.7734.7672.981
Domino5.6614.5872.913
DSpark5.7044.5972.858
Qwen4-Max5.4314.2952.732
Claude Opus 5.55.3664.3162.752
DFlash5.2924.2942.740
PARD5.2184.2712.876
EAGLE-35.1924.2802.677
Gumiho4.3403.2392.378
Medusa-12.7762.2581.761
No drafter1.0141.0041.002

τ, second benchmark ↑ higher is better

Tokens produced per decoding round on the setting's second benchmark (MATH-500, MBPP or Alpaca).

① Qwen3-4B targethigher is better ↑
Claude Fable 5.25.867
DFlash 25.534
Kimi K3.1 Pro5.497
DSpark5.375
Domino5.374
Qwen4-Max5.128
PARD5.090
Claude Opus 5.55.048
DFlash5.040
EAGLE-35.008
Gumiho4.065
Medusa-12.772
05.867

1 more reference methods are in the numbers below.

② same drafter · HumanEval / MBPP / LiveCodeBenchhigher is better ↑
Claude Fable 5.24.920
DFlash 24.491
Kimi K3.1 Pro4.485
DSpark4.365
Domino4.365
Qwen4-Max4.069
Claude Opus 5.54.050
DFlash4.034
EAGLE-34.005
PARD3.994
Gumiho3.319
Medusa-12.346
04.920

1 more reference methods are in the numbers below.

③ same drafter · MT-Bench / Alpaca / Arena-Hard v2higher is better ↑
Claude Fable 5.23.233
DFlash 22.814
Kimi K3.1 Pro2.813
Domino2.749
PARD2.729
DSpark2.694
Claude Opus 5.52.600
DFlash2.576
Qwen4-Max2.568
EAGLE-32.512
Gumiho2.281
Medusa-11.698
03.233

1 more reference methods are in the numbers below.

The numbers
Method①②③
Claude Fable 5.25.8674.9203.233
DFlash 25.5344.4912.814
Kimi K3.1 Pro5.4974.4852.813
Domino5.3744.3652.749
DSpark5.3754.3652.694
Qwen4-Max5.1284.0692.568
Claude Opus 5.55.0484.0502.600
DFlash5.0404.0342.576
PARD5.0903.9942.729
EAGLE-35.0084.0052.512
Gumiho4.0653.3192.281
Medusa-12.7722.3461.698
No drafter1.0071.0021.003

τ, third benchmark ↑ higher is better

Tokens produced per decoding round on the setting's third benchmark (AIME25, LiveCodeBench or Arena-Hard v2).

① Qwen3-4B targethigher is better ↑
Claude Fable 5.25.326
DFlash 24.987
Kimi K3.1 Pro4.899
DSpark4.795
Domino4.785
Qwen4-Max4.552
PARD4.536
Claude Opus 5.54.507
DFlash4.443
EAGLE-34.422
Gumiho3.564
Medusa-12.421
05.326

1 more reference methods are in the numbers below.

② same drafter · HumanEval / MBPP / LiveCodeBenchhigher is better ↑
Claude Fable 5.25.416
DFlash 25.106
Kimi K3.1 Pro5.060
DSpark4.878
Domino4.826
Claude Opus 5.54.651
Qwen4-Max4.626
EAGLE-34.598
DFlash4.580
PARD4.443
Gumiho3.241
Medusa-12.157
05.416

1 more reference methods are in the numbers below.

③ same drafter · MT-Bench / Alpaca / Arena-Hard v2higher is better ↑
Claude Fable 5.23.478
PARD3.229
DFlash 23.097
Kimi K3.1 Pro3.061
Domino2.900
DSpark2.890
Claude Opus 5.52.875
Qwen4-Max2.838
EAGLE-32.834
DFlash2.805
Gumiho2.244
Medusa-11.622
03.478

1 more reference methods are in the numbers below.

The numbers
Method①②③
Claude Fable 5.25.3265.4163.478
DFlash 24.9875.1063.097
Kimi K3.1 Pro4.8995.0603.061
Domino4.7854.8262.900
DSpark4.7954.8782.890
Qwen4-Max4.5524.6262.838
Claude Opus 5.54.5074.6512.875
DFlash4.4434.5802.805
PARD4.5364.4433.229
EAGLE-34.4224.5982.834
Gumiho3.5643.2412.244
Medusa-12.4212.1571.622
No drafter1.0061.0011.007

Effective τ, GSM8K ↑ higher is better

Tokens produced on GSM8K divided by the summed round cost, each round costing one plus 0.05 per submitted draft.

④ same drafterhigher is better ↑
Claude Fable 5.24.584
Kimi K3.1 Pro4.349
DFlash 24.349
DSpark4.287
Domino4.265
Claude Opus 5.54.104
Qwen4-Max4.065
DFlash4.057
PARD3.995
EAGLE-33.922
Gumiho3.419
Medusa-12.364
04.584

1 more reference methods are in the numbers below.

The numbers
Method④
Claude Fable 5.24.584
DFlash 24.349
Kimi K3.1 Pro4.349
Domino4.265
DSpark4.287
Qwen4-Max4.065
Claude Opus 5.54.104
DFlash4.057
PARD3.995
EAGLE-33.922
Gumiho3.419
Medusa-12.364
No drafter0.751

Effective τ, MATH-500 ↑ higher is better

Tokens produced on MATH-500 divided by the summed round cost, each round costing one plus 0.05 per submitted draft.

④ same drafterhigher is better ↑
Claude Fable 5.24.420
Kimi K3.1 Pro4.182
DFlash 24.164
Domino4.080
DSpark4.063
PARD3.922
Claude Opus 5.53.913
DFlash3.891
Qwen4-Max3.876
EAGLE-33.815
Gumiho3.222
Medusa-12.358
04.420

1 more reference methods are in the numbers below.

The numbers
Method④
Claude Fable 5.24.420
DFlash 24.164
Kimi K3.1 Pro4.182
Domino4.080
DSpark4.063
Qwen4-Max3.876
Claude Opus 5.53.913
DFlash3.891
PARD3.922
EAGLE-33.815
Gumiho3.222
Medusa-12.358
No drafter0.746

Effective τ, AIME25 ↑ higher is better

Tokens produced on AIME25 divided by the summed round cost, each round costing one plus 0.05 per submitted draft.

④ same drafterhigher is better ↑
Claude Fable 5.24.052
DFlash 23.791
Kimi K3.1 Pro3.763
Domino3.680
DSpark3.660
Claude Opus 5.53.550
PARD3.539
DFlash3.475
Qwen4-Max3.471
EAGLE-33.404
Gumiho2.873
Medusa-12.094
04.052

1 more reference methods are in the numbers below.

The numbers
Method④
Claude Fable 5.24.052
DFlash 23.791
Kimi K3.1 Pro3.763
Domino3.680
DSpark3.660
Qwen4-Max3.471
Claude Opus 5.53.550
DFlash3.475
PARD3.539
EAGLE-33.404
Gumiho2.873
Medusa-12.094
No drafter0.745

Effective τ, HumanEval ↑ higher is better

Tokens produced on HumanEval divided by the summed round cost, each round costing one plus 0.05 per submitted draft.

④ same drafterhigher is better ↑
Claude Fable 5.23.937
Kimi K3.1 Pro3.677
DFlash 23.632
Domino3.540
DSpark3.529
Claude Opus 5.53.415
DFlash3.385
PARD3.374
Qwen4-Max3.316
EAGLE-33.305
Gumiho2.648
Medusa-11.955
03.937

1 more reference methods are in the numbers below.

The numbers
Method④
Claude Fable 5.23.937
DFlash 23.632
Kimi K3.1 Pro3.677
Domino3.540
DSpark3.529
Qwen4-Max3.316
Claude Opus 5.53.415
DFlash3.385
PARD3.374
EAGLE-33.305
Gumiho2.648
Medusa-11.955
No drafter0.743

Effective τ, MBPP ↑ higher is better

Tokens produced on MBPP divided by the summed round cost, each round costing one plus 0.05 per submitted draft.

④ same drafterhigher is better ↑
Claude Fable 5.23.753
Kimi K3.1 Pro3.466
DFlash 23.426
Domino3.372
DSpark3.352
Claude Opus 5.53.206
DFlash3.192
PARD3.168
Qwen4-Max3.131
EAGLE-33.116
Gumiho2.698
Medusa-12.020
03.753

1 more reference methods are in the numbers below.

The numbers
Method④
Claude Fable 5.23.753
DFlash 23.426
Kimi K3.1 Pro3.466
Domino3.372
DSpark3.352
Qwen4-Max3.131
Claude Opus 5.53.206
DFlash3.192
PARD3.168
EAGLE-33.116
Gumiho2.698
Medusa-12.020
No drafter0.743

Effective τ, LiveCodeBench ↑ higher is better

Tokens produced on LiveCodeBench divided by the summed round cost, each round costing one plus 0.05 per submitted draft.

④ same drafterhigher is better ↑
Claude Fable 5.24.123
DFlash 23.897
Kimi K3.1 Pro3.888
DSpark3.740
Domino3.725
Claude Opus 5.53.648
DFlash3.596
Qwen4-Max3.543
EAGLE-33.541
PARD3.508
Gumiho2.671
Medusa-11.884
04.123

1 more reference methods are in the numbers below.

The numbers
Method④
Claude Fable 5.24.123
DFlash 23.897
Kimi K3.1 Pro3.888
Domino3.725
DSpark3.740
Qwen4-Max3.543
Claude Opus 5.53.648
DFlash3.596
PARD3.508
EAGLE-33.541
Gumiho2.671
Medusa-11.884
No drafter0.742

Effective τ, MT-Bench ↑ higher is better

Tokens produced on MT-Bench divided by the summed round cost, each round costing one plus 0.05 per submitted draft.

④ same drafterhigher is better ↑
Claude Fable 5.22.705
Kimi K3.1 Pro2.434
DFlash 22.427
Domino2.399
PARD2.395
DSpark2.342
Claude Opus 5.52.306
DFlash2.305
Qwen4-Max2.247
EAGLE-32.222
Gumiho2.029
Medusa-11.569
02.705

1 more reference methods are in the numbers below.

The numbers
Method④
Claude Fable 5.22.705
DFlash 22.427
Kimi K3.1 Pro2.434
Domino2.399
DSpark2.342
Qwen4-Max2.247
Claude Opus 5.52.306
DFlash2.305
PARD2.395
EAGLE-32.222
Gumiho2.029
Medusa-11.569
No drafter0.742

Effective τ, Alpaca ↑ higher is better

Tokens produced on Alpaca divided by the summed round cost, each round costing one plus 0.05 per submitted draft.

④ same drafterhigher is better ↑
Claude Fable 5.22.604
Kimi K3.1 Pro2.302
PARD2.291
DFlash 22.285
Domino2.267
DSpark2.215
Claude Opus 5.52.191
DFlash2.179
Qwen4-Max2.119
EAGLE-32.095
Gumiho1.953
Medusa-11.517
02.604

1 more reference methods are in the numbers below.

The numbers
Method④
Claude Fable 5.22.604
DFlash 22.285
Kimi K3.1 Pro2.302
Domino2.267
DSpark2.215
Qwen4-Max2.119
Claude Opus 5.52.191
DFlash2.179
PARD2.291
EAGLE-32.095
Gumiho1.953
Medusa-11.517
No drafter0.743

Effective τ, Arena-Hard v2 ↑ higher is better

Tokens produced on Arena-Hard v2 divided by the summed round cost, each round costing one plus 0.05 per submitted draft.

④ same drafterhigher is better ↑
Claude Fable 5.22.825
PARD2.667
DFlash 22.538
Kimi K3.1 Pro2.525
Domino2.412
Claude Opus 5.52.404
DSpark2.387
DFlash2.362
EAGLE-32.346
Qwen4-Max2.332
Gumiho1.953
Medusa-11.431
02.825

1 more reference methods are in the numbers below.

The numbers
Method④
Claude Fable 5.22.825
DFlash 22.538
Kimi K3.1 Pro2.525
Domino2.412
DSpark2.387
Qwen4-Max2.332
Claude Opus 5.52.404
DFlash2.362
PARD2.667
EAGLE-32.346
Gumiho1.953
Medusa-11.431
No drafter0.746

Speed-up, batch 1 ↑ higher is better

Measured end-to-end decoding speed-up over plain autoregressive decoding of the same target at batch size one.

⑤ same drafterhigher is better ↑
Qwen4-Max2.561
DFlash 22.486
DFlash2.309
Domino2.297
Claude Opus 5.52.280
DSpark2.272
Claude Fable 5.22.173
EAGLE-31.940
Gumiho1.844
PARD1.812
Kimi K3.1 Pro1.504
Medusa-11.421
02.561

1 more reference methods are in the numbers below.

The numbers
Method⑤
Claude Fable 5.22.173
DFlash 22.486
Kimi K3.1 Pro1.504
Domino2.297
DSpark2.272
Qwen4-Max2.561
Claude Opus 5.52.280
DFlash2.309
PARD1.812
EAGLE-31.940
Gumiho1.844
Medusa-11.421
No drafter0.812

Speed-up, batch 16 ↑ higher is better

Measured end-to-end decoding speed-up over plain autoregressive decoding of the same target at batch size sixteen.

⑤ same drafterhigher is better ↑
Kimi K3.1 Pro1.547
Qwen4-Max1.471
Domino1.349
DFlash1.348
DSpark1.346
Claude Opus 5.51.330
Claude Fable 5.21.229
DFlash 21.202
PARD1.171
Gumiho1.170
EAGLE-31.076
Medusa-10.985
01.547

1 more reference methods are in the numbers below.

The numbers
Method⑤
Claude Fable 5.21.229
DFlash 21.202
Kimi K3.1 Pro1.547
Domino1.349
DSpark1.346
Qwen4-Max1.471
Claude Opus 5.51.330
DFlash1.348
PARD1.171
EAGLE-31.076
Gumiho1.170
Medusa-10.985
No drafter0.741

Speed-up, batch 1 ↑ higher is better

Measured end-to-end decoding speed-up over plain autoregressive decoding of the same target at batch size one.

⑤ same drafterhigher is better ↑
DFlash 22.486
DFlash2.309
Domino2.297
DSpark2.272
EAGLE-31.940
Gumiho1.844
PARD1.812
Medusa-11.421
Gemini 4 Carbon0.763
02.486

1 more reference methods are in the numbers below.

The numbers
Method⑤
DFlash 22.486
Domino2.297
DSpark2.272
DFlash2.309
PARD1.812
EAGLE-31.940
Gumiho1.844
Medusa-11.421
No drafter0.812
Gemini 4 Carbon0.763

Speed-up, batch 16 ↑ higher is better

Measured end-to-end decoding speed-up over plain autoregressive decoding of the same target at batch size sixteen.

⑤ same drafterhigher is better ↑
Domino1.349
DFlash1.348
DSpark1.346
DFlash 21.202
PARD1.171
Gumiho1.170
EAGLE-31.076
Medusa-10.985
Gemini 4 Carbon0.413
01.349

1 more reference methods are in the numbers below.

The numbers
Method⑤
DFlash 21.202
Domino1.349
DSpark1.346
DFlash1.348
PARD1.171
EAGLE-31.076
Gumiho1.170
Medusa-10.985
No drafter0.741
Gemini 4 Carbon0.413

What the agents built

One run per model.

Claude Fable 5.2in Claude Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Claude Opus 5.5in Claude Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

GPT-6.2 Astrain Codex CLI
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Gemini 4 Carbonin Antigravity
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Muse Wonder Fullin Muse Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Kimi K3.1 Proin Kimi Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Qwen4-Maxin Claude Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.