Glossary · Tokens in, tokens out

Multi-token prediction (MTP)

Also: MTPnum_nextn_predict_layersnextn

Read it at the depth you need: one sentence · a paragraph · the math · in the models here

1In one sentence

Extra modules trained to predict tokens further ahead than the next one; they help training and can drive speculative decoding, and they add weight to the checkpoint.

2In a paragraph

A language model is trained to predict the next token. MTP adds small modules that, from the model's hidden state, also predict the token after that. During training this gives a denser signal. At inference the modules can draft tokens that the main model then checks in one pass (speculative decoding), which speeds up generation; or they can be ignored. DeepSeek-V3 ships one MTP module in its checkpoint.

3The math, shapes and parameters

DeepSeek-V3's module takes the main model's last hidden state and the embedding of the next token, normalizes both, joins them with a [d, 2d] projection, runs them through one full transformer block, and predicts with its own head. In the checkpoint it carries its own copies of the embedding and head, so it adds a block plus 2·V·d: 14B for V3, the difference between its 671B and the 685B in the files.

4In the 96 models on this site

Models here that ship MTP weights: DeepSeek-V3 (13.5B), DeepSeek-R1 (13.5B), Inkling-Small (2.23B), Inkling (5.26B), DeepSeek-V3.1 (13.5B), GLM-4.5-Air (3.62B), GLM-4.5 (5.54B), Qwen3-Next 80B-A3B (1.65B), Qwen3.5 0.8B (20.5M), Qwen3.5 2B (60.8M), Qwen3.5 4B (121M), Qwen3.5 9B (243M), Qwen3.5 27B (425M), Qwen3.5 35B-A3B (845M), Qwen3.5 122B-A10B (2.52B), Qwen3.5 397B-A17B (6.6B), Nemotron 3 Super 120B-A12B (2.94B), Nemotron 3 Ultra 550B-A55B (11.2B), DeepSeek-V3.2 (13.5B), GLM-5.2 (9.95B).

Introduced in Gloeckle et al., “Better & Faster Large Language Models via Multi-token Prediction” (2024).

Related

Transformer block · Parameters · Mixture of experts (MoE) · every term