A diffusion language model writes text by starting from a sequence of blank placeholder tokens and filling them in over a series of refinement steps, with every position updated at once. Ordinary language models are autoregressive: they produce one token, append it, and run again for the next. Diffusion borrows its method from image generators, which start from noise and sharpen a whole picture step by step.
The reason to care is speed. An autoregressive model has to read all of its weights from memory for every token it writes, so a single user's generation speed is capped by memory bandwidth (LLM inference). A diffusion model reads its weights once per refinement step, and each step can settle many tokens. If a passage of a few hundred tokens takes a few dozen steps, the same hardware writes it several times faster. The open questions are whether quality holds up and whether training costs too much, and by late 2026 both had partial answers.
How it works
Masking and unmasking
Most text diffusion models use masking rather than continuous noise. In training, a random fraction of a passage's tokens is replaced with a mask symbol, and the model learns to predict the hidden tokens from everything that remains, on both sides. To generate, the model starts from a block that is entirely masked, predicts every position, keeps the predictions it is most confident about, and repeats on the rest until nothing is masked. The number of steps is a dial. Fewer steps are faster, and more steps let later tokens take account of earlier choices.
Seeing both directions changes what the model can do. LLaDA, an 8-billion-parameter diffusion model trained from scratch, was competitive with LLaMA 3 8B at learning from examples in the prompt, and it beat GPT-4o at completing a poem's previous line given the next one. Autoregressive models are weak at that kind of reversed task.[3]
Blocks
Pure diffusion over a whole answer has practical problems. The output length must be fixed in advance, and the KV cache that lets an autoregressive model avoid recomputing earlier tokens doesn't apply when every token can still change. Block diffusion splits the difference. It writes a block of tokens by diffusion, freezes it, and moves on to the next block left to right, so earlier blocks can be cached. DiffusionGemma, Google's open model, works this way and generates blocks of text at a time.[6]
Fewer steps
Speed depends on how few steps a model can get away with. Distilling a diffusion model into a version of itself that takes bigger steps cut the step count by a factor of 32 to 64. At 1.3 billion parameters, the distilled model produced at least 32 tokens per step and generated up to eight times faster than an autoregressive model using a KV cache, with better text quality on the measures the authors used.[2]
History and timeline
- Oct 2023: Score entropy discrete diffusion makes text diffusion competitive with autoregressive models of similar size and beats GPT-2 on standard benchmarks.[1]
- Oct 2024: Self-distillation through time cuts diffusion sampling steps by 32 to 64 times.[2]
- Feb 2025: LLaDA scales a diffusion model trained from scratch to 8 billion parameters.[3]
- Jun 2025: Inception Labs' Mercury Coder models reach 1,109 and 737 tokens a second on an Nvidia H100, by independent measurement, at quality comparable to speed-optimized frontier models.[4]
- Feb 2026: Inception Labs' Mercury 2 passes 1,000 output tokens a second in independent benchmarks, more than three times the next fastest model in its size and price class.[5]
- Jun 2026: Google releases DiffusionGemma, a 26-billion-parameter mixture-of-experts model (one that runs only a few of its sub-networks for each token) built on Gemma 4 under the Apache 2.0 license, announced as up to four times faster on consumer GPUs.[6] It runs locally in 18 GB of memory and can be run and trained with Unsloth's open-source tools.[7] I call a trainable open diffusion model a big deal.[8]
- Oct 2026: A study of about 1,700 models finds the training-cost gap with autoregressive models smaller than 16 times (12.8 times like for like), and as low as 3 times with small-block diffusion.[9]
My position
I saw DiffusionGemma's release as a big step, because an open diffusion model that can be trained lets anyone fine-tune it and find out where the approach works.[8] My interest is the single-user case. Running a model on one's own machine loses to hosted inference on price, because a provider batches many users through each chip and a home machine can't.[10] Diffusion speeds up exactly the case batching can't help, one person waiting on one answer. More tokens a second from the same hardware and power means a lower cost per token at home, which is the gap batching gives providers, so diffusion is the technique most likely to change that comparison.
Criticism and counterpoints
Training cost was long the main objection. A frequently cited estimate held that diffusion models needed about 16 times the training compute of autoregressive models to reach the same quality as measured by likelihood, a score of how well a model predicts held-out text. The October 2026 revision found that measuring likelihood exactly lowered the multiple to 12.8 times, and that block diffusion with an encoder-decoder design, which splits the model into one part that reads the context and one that generates, lowered it to 7.8 times at blocks of 32 tokens and 3.0 times at blocks of 4.[9] That is a large improvement, but small blocks give up some of the parallelism that makes diffusion fast, so the cost and speed advantages pull against each other.
The speed numbers come mostly from the builders. Mercury's figures were measured independently, but on data-center hardware and for coding,[4] and DiffusionGemma's "up to four times faster" is a best case from the announcement.[6] Gains depend on how many steps a task needs, and harder text may need more of them.
Quality at the frontier is also unproven. The published comparisons pit diffusion models against autoregressive models of similar, modest size or against speed-optimized models, not against the strongest models available. The independent benchmarking firm Artificial Analysis rated Mercury 2 competitive with models of its size and price but without leading intelligence. It scored at about the level of Claude Haiku 4.5, Anthropic's small model, on Terminal-Bench Hard, a set of command-line agent tasks.[5] And autoregressive models are getting faster too, through speculative decoding and multi token prediction, which give some of the same benefit without changing how the model is trained.
Open questions
- Can diffusion models match the best autoregressive models on long, multi-step agent work, where one early mistake carries through the rest of a task?
- Which block size gives the best balance of training cost and generation speed?
- Will serving software support diffusion models as well as it supports autoregressive ones?
- Does bidirectional generation help with editing tasks, such as filling in the middle of a file?
Change log
- 2026-12-03: First written, from the diffusion papers in my reading and the DiffusionGemma release.
- 2026-12-03: Enriched with Mercury 2's independently measured speed and quality.
See also
Reading
References
- ^ Lou, Meng and Ermon, Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution
- ^ Deschenaux and Gulcehre, Beyond Autoregression: Fast LLMs via Self-Distillation Through Time
- ^ Nie et al., Large Language Diffusion Models
- ^ Inception Labs, Mercury: Ultra-Fast Language Models Based on Diffusion
- ^ Mercury 2 passes 1,000 output tokens a second (@ArtificialAnlys, Feb 2026)
- ^ DiffusionGemma, an open diffusion text model (@osanseviero, Jun 2026)
- ^ DiffusionGemma runs locally in 18 GB of memory (@UnslothAI, Jun 2026)
- ^ A trainable diffusion text model is big (@trashpandaemoji, Jun 2026), since deleted
@LottoLabs A trainable diffusion text model is big
- ^ Wang et al., Revisiting the 16x Pretraining Compute Gap between Diffusion and Autoregressive Language Models
- ^ Tokens from your own hardware cost more (@trashpandaemoji, Aug 2026), since deleted
You pay more for tokens you serve from your own hardware though. If you buy tokens for the same open model from something like open router, you get benefits from the economies of scale from the batched inference. You get guaranteed capacity and other benefits like privacy or education from local hardware which might justify the cost. But token cost alone is not really a good justification for running local hardware.