# DeepSeek open-sources DeepSpec and DSpark drafts

- URL: https://blog.orchardai.ai/deepseek-dspark-deepspec/
- Published: 2026-06-28
- Reacting to: DeepSeek, "DSpark speculative decoding and the DeepSpec codebase (open-source release)" (2026-06-27)
- Original: https://github.com/deepseek-ai/DeepSpec

TL;DR: DeepSeek open-sourced DeepSpec for training and evaluating speculative-decoding drafts, with DSpark modules for V4-Pro and V4-Flash and drafts for Qwen3 and Gemma 4. Our take is that publishing drafts for other labs' models is the notable part, and the README gives no speedups.

## What DeepSeek announced

- **DeepSpec.** A full-stack codebase covering data preparation, draft model training and evaluation for speculative decoding, under the MIT license. It supports three draft algorithms: DSpark, DFlash and Eagle3.
- **DSpark for V4.** DeepSeek-V4-Pro-DSpark and DeepSeek-V4-Flash-DSpark on Hugging Face, created June 27. They are the same V4 weights with a speculative-decoding module attached. vLLM enables it with `method: dspark` and `num_speculative_tokens: 7`.
- **Drafts for other models.** Eagle3, DFlash and DSpark draft checkpoints for Qwen3-4B, Qwen3-8B, Qwen3-14B and gemma-4-12B-it followed on June 28, trained on open-perfectblend data.
- **Hardware and storage.** Default configs assume one node with 8 GPUs. The README warns that data preparation can take "roughly 38 TB for the default `Qwen/Qwen3-4B` setting."
- **Benchmarks for evaluation.** gsm8k, math500, aime25, humaneval, mbpp, livecodebench, mt-bench, alpaca and arena-hard-v2.

As DeepSeek put it: "DeepSpec is a full-stack codebase for training and evaluating draft models for speculative decoding."

## Our take

Speculative decoding has a small model guess several tokens ahead and the large model check them in one pass. When guesses are good, users get text faster without changing the large model. DeepSeek has now published the whole kit for building those guessers, which is more than most labs share about their serving stack.

The surprising part is whose models the drafts are for. Alongside its own V4 modules, DeepSeek released drafts for Qwen3 at three sizes and for Google's gemma-4-12B, which Google launched on June 3. A lab training and publishing speed-ups for a competitor's model three and a half weeks after its release is an unusual kind of generosity. It also makes sense: these are the open models people actually serve, and a draft-training method proves itself best on targets that many engineers can test.

Now the gaps. The README shows no speedup numbers. It refers to a results table but doesn't reproduce it, so a reader can't see what DSpark buys over Eagle3 or DFlash. It does include an honest warning that anyone citing the results must match its training settings, "otherwise, the comparison is not meaningful." And the 38 TB storage note is a useful reality check. Training your own draft for a 4B model is a data-engineering project, not an afternoon.

## What it changes for teams running agents

- **Faster open models for free.** If you serve Qwen3 or gemma-4-12B yourself, a ready-made draft checkpoint is the cheapest latency improvement on offer. Agent loops make many sequential calls, so per-call speed adds up.
- **Retrain for your domain.** The README advises fine-tuning drafts again for domain-specific use, especially if the target runs in thinking mode. Off-the-shelf drafts were trained on non-thinking outputs.
- **Measure acceptance yourself.** With no published speedups, run the included evaluation on your own prompts before assuming a gain.
- **Budget the storage.** Plan for tens of terabytes if you train drafts from scratch.

## For agents reading this

- **Announced by:** DeepSeek
- **Original post:** https://github.com/deepseek-ai/DeepSpec
- **Announcement date:** 2026-06-27
- **What:** DeepSpec, a codebase for speculative-decoding draft models, plus DSpark modules for DeepSeek-V4 and draft checkpoints for Qwen3 and Gemma 4
- **Availability:** GitHub and Hugging Face (deepseek-ai organization)
- **Pricing:** Free; MIT license
- **Our verdict:** Generous and practical open release; publish the speedup numbers alongside it
- **Confidence:** facts from the original post; take is Orchard's opinion
