---
{
  "title": "Diffusion-based AI models explained: how they work and why they're suddenly fast",
  "slug": "diffusion-based-ai-models-explained",
  "intent": "hype",
  "locale": "en",
  "alternates": {
    "x-default": "diffusion-based-ai-models-explained",
    "en": "diffusion-based-ai-models-explained",
    "de": "diffusionsbasierte-ki-modelle-erklaert",
    "es": "modelos-de-ia-basados-en-difusion-explicados",
    "fr": "modeles-ia-bases-sur-la-diffusion-expliques",
    "ja": "diffusion-ai-models",
    "pt": "modelos-de-ia-baseados-em-difusao-explicados"
  },
  "date": "2026-06-17",
  "updated": "2026-06-17T07:52:54Z",
  "template": "default",
  "excerpt": "A plain-English guide to diffusion-based AI models: how they differ from autoregressive LLMs, why they generate text 10x faster, and what that means for businesses.",
  "categories": ["Guides"],
  "tags": [
    "diffusion models",
    "diffusion language models",
    "large language models",
    "AI infrastructure"
  ],
  "readTime": 11,
  "author": 20,
  "reviewer": 4,
  "seo": {
    "title": "Diffusion-based AI models explained: how they work and why they matter",
    "description": "What are diffusion-based AI models? A clear guide to how text diffusion differs from autoregressive LLMs, the 10x speed gain, the quality trade-offs, and the business case.",
    "image": "https://cdn-public.eesel.ai/355ca1d8-3d7c-4618-973f-22c7b8780d42/48a0ef84-d2a4-48f0-9c4c-79c75fe7aa4d/ea3671f6fd6e44ea8dc8b1132737a306.webp"
  },
  "coverImage": "https://cdn-public.eesel.ai/355ca1d8-3d7c-4618-973f-22c7b8780d42/48a0ef84-d2a4-48f0-9c4c-79c75fe7aa4d/ea3671f6fd6e44ea8dc8b1132737a306.webp",
  "coverImageAlt": "Illustration of scattered noise and masked blocks resolving into clean lines of text, with a stopwatch signalling speed",
  "coverImageWidth": 1920,
  "coverImageHeight": 1080,
  "faqs": {
    "heading": "Frequently Asked Questions",
    "type": "blog",
    "answerType": "html",
    "faqs": [
      {
        "question": "What is a diffusion-based AI model in simple terms?",
        "answer": "A diffusion-based AI model generates output by starting from random noise (or masked placeholders) and refining it step by step into a finished result. It is the technique behind image tools like Stable Diffusion and, more recently, behind diffusion language models that write text by denoising a whole sequence in parallel instead of one word at a time. For a wider primer, see our overview of <a href=\"https://eesel.ai/blog/generative-ai-for-support-teams\">generative AI for support teams</a>."
      },
      {
        "question": "How are diffusion language models different from autoregressive LLMs like GPT or Claude?",
        "answer": "Autoregressive LLMs such as <a href=\"https://eesel.ai/blog/chatgpt-alternatives\">ChatGPT</a> and <a href=\"https://eesel.ai/blog/claude-ai-integration\">Claude</a> generate text left to right, one token at a time, with each token waiting for everything before it. Diffusion language models refine many tokens at once across a few denoising passes, which makes them far faster and lets them revise earlier words. The trade-off is that they currently trail on hard reasoning and long-context tasks."
      },
      {
        "question": "Are diffusion-based AI models actually faster than normal LLMs?",
        "answer": "Yes, on raw throughput. Independent testing clocked Inception's Mercury 2 at roughly 1,196 tokens per second, against tens to a couple hundred tokens per second for speed-optimized autoregressive models. The catch is that the speed advantage is biggest on long, parallelizable outputs and shrinks on very short answers. See how speed feeds into <a href=\"https://eesel.ai/blog/ai-customer-service-metrics\">AI customer service metrics</a>."
      },
      {
        "question": "Should my business switch to a diffusion language model?",
        "answer": "For most production apps, not yet. Autoregressive models still lead on reasoning depth, long context, and ecosystem maturity. The sensible move is routing, sending high-frequency, latency-sensitive steps to a fast diffusion model and keeping autoregressive models for deep reasoning. For customer support specifically, the model matters less than the <a href=\"https://eesel.ai/blog/ai-helpdesk-agent\">AI helpdesk agent</a> orchestration around it."
      },
      {
        "question": "Does the model architecture matter for AI customer support?",
        "answer": "Less than you would think. A support answer is a grounded answer over your knowledge base, ticket history, and policies, so retrieval, guardrails, and integrations drive quality more than whether tokens were emitted in parallel. A faster model wired to stale knowledge just produces wrong answers faster. Tools like <a href=\"https://eesel.ai/blog/ai-customer-service-software\">eesel AI</a> focus on that orchestration layer regardless of the underlying model."
      }
    ],
    "supportLink": null
  }
}
---

## TL;DR

Diffusion-based AI models flip how generation works. Instead of writing one word after another, they start from noise or masked placeholders and <mark>refine the whole output in parallel over a few denoising passes</mark>. It is the same idea behind image tools like Stable Diffusion, now ported to text.

The headline is speed. Diffusion language models like Inception's Mercury and Google's Gemini Diffusion run at [around 1,000 to 1,500 tokens per second](https://www.theneurondaily.com/p/diffusion-models-are-coming-for-text-at-0-80-per-million-flat), roughly 10x faster than speed-optimized autoregressive models on the same hardware. They can also revise earlier tokens and fill in the middle of a sequence, which standard left-to-right models cannot.

The catch: they still trail autoregressive models like GPT and Claude on hard reasoning and long context, and the ecosystem is young. For now the smart play is routing, not replacement. And if you run a support team, the architecture matters far less than the knowledge, guardrails, and integrations wrapped around the model.

## What is a diffusion-based AI model?

A diffusion model is a generative model that learns to build data by reversing a gradual noising process. The idea comes from physics: [you define a chain of steps that slowly add random noise to real data, then train a network to reverse that process and reconstruct samples from the noise](https://lilianweng.github.io/posts/2021-07-11-diffusion-models/). The foundational work is [Sohl-Dickstein et al. (2015)](https://arxiv.org/abs/1503.03585) and the 2020 paper on [denoising diffusion probabilistic models](https://arxiv.org/abs/2006.11239).

There are two halves. In the **forward process**, you take a real image and add a little Gaussian noise over and over until it becomes pure static. That part needs no learning; its only job is to manufacture training pairs. In the **reverse process**, a neural network learns to undo one step of noise at a time. At generation time you start from random noise and run the network repeatedly, [each pass stripping away a bit more until a coherent result emerges](https://theaisummer.com/diffusion-models/).

Here is the intuition that makes it click. Imagine filming an ice sculpture melting into a puddle, then running the film backwards: starting from a shapeless puddle and, frame by frame, refreezing it into the sculpture. Because the model works on the whole canvas at every step, it can keep fixing earlier mistakes as it goes.

This is the technique that powers most modern image, video, and audio generation. [Diffusion sits behind Sora, Midjourney, and Riffusion](https://www.inceptionlabs.ai/blog/introducing-mercury), along with [DALL-E 2](https://moocaholic.medium.com/openai-and-the-road-to-text-guided-image-generation-dall-e-clip-glide-dall-e-2-unclip-c6e28f7194ea), [Imagen](https://imagen.research.google/), and [Stable Diffusion](https://www.louisbouchard.ai/latent-diffusion-models/). The throughline: they all start from noise and iteratively denoise toward a result, guided by your prompt.

## How autoregressive LLMs generate text

To see why diffusion is a big deal for text, you need the contrast. Almost every [large language model](https://eesel.ai/blog/llm-optimization) you have used, including [ChatGPT](https://eesel.ai/blog/chatgpt-alternatives), [Claude](https://eesel.ai/blog/claude-ai-integration), [Gemini](https://eesel.ai/blog/gemini-ai), and Llama, is an **autoregressive** model. It [generates text left to right, one token at a time, and a token cannot be produced until everything before it exists](https://www.inceptionlabs.ai/blog/introducing-mercury).

Two consequences fall out of that design, and both matter for the comparison:

- **Latency is sequential.** [Producing each token requires a full forward pass through billions of parameters](https://www.inceptionlabs.ai/blog/introducing-mercury), so long outputs (think long reasoning traces) directly inflate how long you wait and how much you pay.
- **There is no going back.** Once a token is out, it is fixed. The model cannot revise an earlier word in light of a later one. This unidirectional habit is blamed for quirks like the [reversal curse, where a model knows "A is B" but stumbles on "B is A"](https://arxiv.org/abs/2502.09992).

The upside is that variable-length output is easy: the model just emits an end-of-sequence token whenever it is done. That flexibility is one reason autoregression has stayed dominant for text.

## How diffusion language models generate text differently

Diffusion language models (dLLMs) port the image recipe to text. Instead of pixels-from-noise, they do tokens-from-masks. Google DeepMind describes it plainly: rather than predicting text directly, [the model learns to generate outputs by refining noise step by step, so it can iterate on a solution quickly and error-correct during generation](https://deepmind.google/models/gemini-diffusion/).

![How a diffusion language model writes text: starting from all-masked placeholders, locking in confident words, refining the rest in parallel, and arriving at a final answer](https://cdn-public.eesel.ai/355ca1d8-3d7c-4618-973f-22c7b8780d42/48a0ef84-d2a4-48f0-9c4c-79c75fe7aa4d/366253bff327495c83ac39bd52e30501.png)

The dominant approach for text is **masked diffusion**. In [LLaDA, an 8B open diffusion model](https://arxiv.org/abs/2502.09992), the forward process masks tokens and the reverse process uses a transformer "mask predictor" to fill in all the masked tokens at once, simulating diffusion from fully masked back to fully written. An earlier line, [Diffusion-LM](https://arxiv.org/abs/2205.14217), used continuous diffusion over word vectors instead.

The headline difference is **parallel decoding**. A dLLM [generates tokens in parallel rather than one at a time, and the underlying transformer can modify multiple tokens at once to globally improve the answer](https://www.inceptionlabs.ai/blog/introducing-mercury). Because the formulation is non-autoregressive, it also allows **any-order generation**: the model can lock in the words it is confident about anywhere in the sequence first, then fill in the rest.

One of the clearest explanations actually came from a developer on Hacker News, cutting through the "diffusion replaces transformers" confusion:

> "Despite the name, diffusion LMs have little to do with image diffusion and are much closer to BERT and old good masked language modeling... in order to generate something from scratch, you start by feeding the model all [MASK]s... in 10 steps you'll have generated a whole sequence." [nvtop, in the Gemini Diffusion discussion on Hacker News](https://news.ycombinator.com/context?id=44059646)

That parallel, bidirectional view is also why a diffusion model can see context on *both* sides of a gap. LLaDA, for instance, [beats GPT-4o on a reversal-poem-completion task, overcoming the reversal curse](https://arxiv.org/abs/2502.09992) that trips up left-to-right models.

## Autoregressive vs diffusion: the core difference

If you remember one picture from this post, make it this one. Autoregressive models build a sentence like a relay race, each word handing off to the next. Diffusion models build it like developing a Polaroid, the whole image surfacing at once and sharpening with each pass.

![Comparison of autoregressive generation, where words are produced one at a time in sequence, versus diffusion generation, where the whole sequence is refined in parallel](https://cdn-public.eesel.ai/355ca1d8-3d7c-4618-973f-22c7b8780d42/48a0ef84-d2a4-48f0-9c4c-79c75fe7aa4d/556dd872d5f04c6dae85d514af08e3c3.png)

Here is how the two stack up on the dimensions a buyer actually cares about:

| Dimension | Autoregressive (GPT, Claude, Gemini) | Diffusion (Mercury, Gemini Diffusion) |
| --- | --- | --- |
| Generation order | Left to right, one token at a time | Whole sequence in parallel, any order |
| Speed | Tens to ~200 tokens/sec | ~1,000 to ~1,500 tokens/sec |
| Can revise earlier tokens? | No, once emitted it is fixed | Yes, across denoising passes |
| Editing and infilling | Awkward (append-only) | Natural (conditions on both sides) |
| Hard reasoning | Stronger today | Trails, especially at frontier scale |
| Long context | More efficient (reuses KV cache) | Weaker (recomputes attention each pass) |
| Output length | Variable, flexible | Often fixed-length blocks |
| Ecosystem maturity | Five years of tooling | Early, fast-moving |

Note the symmetry: diffusion's wins (speed, revision, infilling) and its losses (reasoning depth, long context, maturity) both trace back to the same root cause. Working on the whole sequence in parallel is what makes it fast and editable, and also what makes long context and step-by-step reasoning harder.

## The speed payoff, and the catch

The speed numbers are genuinely striking, and they are not all marketing. Developer and LLM blogger Simon Willison got off the Gemini Diffusion waitlist and tried it:

> "The key feature then is speed. I made it through the waitlist and tried it out just now and wow, they are not kidding about it being fast." [Simon Willison, first impressions of Gemini Diffusion](https://simonwillison.net/2025/May/21/gemini-diffusion/)

Here is how throughput compares across a few models, with the autoregressive baselines for context:

| Model | Type | Throughput (tokens/sec) | Source |
| --- | --- | --- | --- |
| Gemini Diffusion | Diffusion | ~1,479 (excl. overhead) | [Vendor](https://deepmind.google/models/gemini-diffusion/) |
| Mercury 2 (Inception) | Diffusion | ~1,196 peak | [Artificial Analysis](https://www.theneurondaily.com/p/diffusion-models-are-coming-for-text-at-0-80-per-million-flat) |
| Mercury Coder Mini | Diffusion | 1,109 | [Vendor, AA-corroborated](https://www.inceptionlabs.ai/blog/introducing-mercury) |
| Gemini 2.0 Flash-Lite | Autoregressive | ~201 | [Per Inception](https://www.inceptionlabs.ai/blog/introducing-mercury) |
| Claude 4.5 Haiku | Autoregressive | ~89 | [Per Inception](https://thenewstack.io/inception-labs-mercury-2-diffusion/) |
| GPT-5 Mini | Autoregressive | ~71 | [Per Inception](https://thenewstack.io/inception-labs-mercury-2-diffusion/) |

Two things to keep honest here. First, most throughput figures are measured on an NVIDIA H100 and many are vendor claims; [Artificial Analysis is the main independent source, and it has corroborated Mercury's speed but not yet its quality](https://artificialanalysis.ai/models/mercury-2). Second, the speed advantage is real but conditional. [High-quality generation usually needs many denoising steps, and naively cutting steps degrades quality sharply](https://arxiv.org/pdf/2505.22618), so the speed has to be spent carefully.

And the quality gap is still visible, especially on hard tasks. Gemini Diffusion scores [40.4% versus 56.5% on GPQA Diamond, and 69.1% versus 79.0% on Global MMLU against Flash-Lite](https://deepmind.google/models/gemini-diffusion/), even though it leads on some code and math benchmarks. The honest read from an engineer who works on production agent stacks is worth quoting, because it names the historical problem directly:

> "[Earlier diffusion LMs] were fast in the way that a broken clock is fast - it doesn't matter how quickly you get the wrong answer." [vainkop, "Mercury 2 and the End of Autoregressive Monopoly"](https://dev.to/vainkop/mercury-2-and-the-end-of-autoregressive-monopoly-what-diffusion-llms-mean-for-production-agent-334p)

His verdict for teams today is measured: this is a "follow closely and prepare to move fast" moment, not a "rewrite your agent stack immediately" one.

## The models leading the charge

The space went from research curiosity to shipping products fast. The funding signal is loud: Inception Labs, founded by Stanford's Stefano Ermon, [raised $50M in November 2025](https://techcrunch.com/2025/11/06/inception-raises-50-million-to-build-diffusion-models-for-code-and-text/) from a strategic list that includes Nvidia, Microsoft's M12, Databricks, and Snowflake, plus angels Andrew Ng and Andrej Karpathy. When the infrastructure players bet, they think the speed is serveable.

| Model | Who | Status | What stands out |
| --- | --- | --- | --- |
| [Mercury / Mercury 2](https://www.inceptionlabs.ai/blog/introducing-mercury) | Inception Labs | API live, $0.25 / $0.75 per 1M tokens | First commercial diffusion LLM; ~1,196 tok/s |
| [Gemini Diffusion](https://deepmind.google/models/gemini-diffusion/) | Google DeepMind | Experimental, waitlist | ~Gemini 2.0 Flash-Lite quality at several times the speed |
| [DiffusionGemma](https://deepmind.google/models/gemma/diffusiongemma/) | Google DeepMind | Open weights (Apache 2.0), June 2026 | 26B mixture-of-experts; >1,000 tok/s, below Gemma 4 on quality |
| [LLaDA 8B](https://github.com/ML-GSAI/LLaDA) | ML-GSAI (research) | Open weights | MMLU 65.9, roughly matching Llama3 8B |
| [Dream 7B](https://arxiv.org/abs/2508.15487) | HKU NLP + Huawei | Open weights | Dominates planning tasks (Sudoku 81.0 vs Qwen's 21.0) |

A quick clarification, because the names are confusingly similar: <mark>"Gemini Diffusion" (closed, waitlist) and "DiffusionGemma" (open weights) are two different Google releases</mark>. The first is an experimental hosted model shown at Google I/O 2025; the second is a [downloadable 26B model released on June 10, 2026 under Apache 2.0](https://www.marktechpost.com/2026/06/10/google-ai-releases-diffusiongemma-a-26b-moe-open-model-using-text-diffusion-for-up-to-4x-faster-generation/), which generates by denoising blocks of 256 tokens in parallel and stays below standard Gemma 4 on every published benchmark. Speed for quality, openly traded.

The recurring pattern across all of these: a 10x-plus throughput advantage that narrows the quality gap at small and mid scale (LLaDA roughly matching Llama3 8B, Mercury competitive on code) but still shows at the frontier. The primary use case today is [code generation](https://eesel.ai/blog/ai-content-generator) and low-latency, agentic loops, where parallel decoding's speed compounds.

## Why diffusion-based AI models matter for businesses

Speed is not a vanity metric once you put a model inside a product. The clearest framing comes from production experience: latency in autoregressive systems *compounds in chains*.

![A language model sits at the centre, surrounded by the layers that decide answer quality: knowledge and retrieval, guardrails and escalation, helpdesk integrations, and testing and oversight](https://cdn-public.eesel.ai/355ca1d8-3d7c-4618-973f-22c7b8780d42/48a0ef84-d2a4-48f0-9c4c-79c75fe7aa4d/933c9ed604c7485cb90d3e9c2cf658cd.png)

As one engineer described it, a single agent step that calls the model three times (reason, plan, act) is three sequential passes; [chain a few of those together and you are at seven or eight seconds, which is "not a real-time agent, that's a slow batch job"](https://dev.to/vainkop/mercury-2-and-the-end-of-autoregressive-monopoly-what-diffusion-llms-mean-for-production-agent-334p). Faster per-step generation makes deeper [AI agent](https://eesel.ai/blog/best-ai-agents) chains affordable. The same piece notes teams currently cap chain depth at three to five steps to stay under their SLA; with diffusion-speed inference, ten-step chains start to look viable.

A few concrete places the speed pays off:

- **Real-time chat and copilots.** Sub-second responses are, as that engineer puts it, "the difference between adoption and abandonment" for an assistant layer in a SaaS product.
- **High-volume batch text.** Summarization, classification, reformatting, and translation are throughput-bound and parallelizable, which is exactly where diffusion shines.
- **Coding assistants.** Diffusion's infilling nature fits code edits, generating the start and end of a block in the same pass and editing the middle.

Then there is cost. [Faster generation on the same hardware means lower inference cost per token](https://dev.to/vainkop/mercury-2-and-the-end-of-autoregressive-monopoly-what-diffusion-llms-mean-for-production-agent-334p), and Inception's co-founder argues the approach "performs more computation per unit of memory transferred," which [opens new ways of reducing AI inference costs on older hardware](https://news.ycombinator.com/item?id=43190585). For teams running hundreds of thousands of agent calls a day, that compounds. Mercury 2's public pricing of [$0.25 per million input tokens and $0.75 per million output](https://artificialanalysis.ai/models/mercury-2) is genuinely cheap.

But here is the part most coverage skips. For most production apps, autoregressive models remain the default, and for good reason: they handle [long context more efficiently](https://www.seangoedecke.com/limitations-of-text-diffusion-models/), they reason more deeply (diffusion does [less work per token, so there is less room to "think"](https://www.seangoedecke.com/limitations-of-text-diffusion-models/)), and they have five years of tooling behind them. The pragmatic move is not replacement but **routing**: send the simple, high-frequency steps (lookup, format, classify) to a fast diffusion model, and reserve frontier autoregressive models for the deep reasoning. Compare that to the economics of [AI agents versus human agents](https://eesel.ai/blog/ai-agent-vs-human-agent-cost) and the appeal is obvious: do more of the cheap work cheaply.

## What it means for AI customer support

Customer support looks like the perfect diffusion use case at first glance. Live chat and [AI support agents](https://eesel.ai/blog/ai-helpdesk-agent) are exactly the low-latency, user-facing scenario where the one-second-versus-several-seconds gap decides whether the experience feels responsive or sluggish. A faster model should mean snappier replies in your [AI chatbot](https://eesel.ai/blog/ai-chatbot-platform).

![eesel AI chat interface showing a grounded conversation](https://cdn-public.eesel.ai/blog/internal-assets/eesel-chat-interface-no-customers-20261122-20261122.png)

The reframe worth sitting with: for a support team, <mark>the model architecture matters far less than the orchestration around it</mark>. A real support answer is almost never a from-scratch generation. It is a *grounded* answer over your [knowledge base](https://eesel.ai/blog/ai-helpdesk-chatbot), ticket history, and policy docs. That puts diffusion's weakness, [long context handling](https://www.seangoedecke.com/limitations-of-text-diffusion-models/), squarely in the path of the support use case, and it means retrieval quality, knowledge freshness, and guardrails drive the answer far more than whether the final tokens were emitted left-to-right or in parallel.

Put bluntly: a faster model wired to stale knowledge or weak escalation rules just produces wrong answers faster. The broken-clock problem, applied to support. That is also why [AI chatbot problems](https://eesel.ai/blog/ai-chatbot-problems) so rarely come down to the base model and so often come down to grounding, testing, and the [metrics you actually track](https://eesel.ai/blog/ai-customer-service-metrics).

The genuinely useful advice, then, is to stay model-agnostic. Pick a layer that lets the underlying model improve underneath you, whether that is a faster diffusion model next year or a smarter autoregressive one. The teams who will benefit most from diffusion are the ones who built on solid orchestration first and treated the model as a swappable component.

## Try eesel

This is exactly how [eesel AI](https://eesel.ai/blog/ai-customer-service-software) is built. Rather than betting on one model architecture, eesel is the orchestration layer: it learns from your past tickets, help docs, and tooling on day one, then drafts replies, triages, and escalates across the helpdesk you already use, with [confidence-based routing](https://www.eesel.ai/ai-helpdesk-agent) so low-confidence answers stay as drafts rather than going live.

![eesel AI helpdesk dashboard overview](https://cdn-public.eesel.ai/blog/internal-assets/eesel-dashboard-overview-no-customers-20261122.png)

The differentiator that matters for this topic: a [simulation mode](https://www.eesel.ai/ai-helpdesk-agent) that runs the agent against your past tickets so you can see coverage and fix gaps before going live, which is how you stop a fast model from confidently shipping wrong answers. It runs across [100+ integrations and 80+ languages](https://www.eesel.ai), so whatever model is fastest or smartest next year, your support setup keeps working. You can [try eesel](https://www.eesel.ai) free, no credit card needed.
