For two decades, large language models have behaved like typewriters: hammering out one token after another, left to right, each word waiting for the one before it. Google wants to swap the typewriter for a printing press.
This week the company released DiffusionGemma, an experimental open model that abandons sequential token generation in favor of a diffusion-based approach borrowed from image generators. Instead of producing words one at a time, it drafts an entire 256-token block at once and refines it over several passes — a design Google says delivers up to 4x faster text generation on dedicated GPUs while running entirely on local hardware. Released under a permissive Apache 2.0 license and arriving alongside the broader Gemini 3.5 family, it is pitched not as a flagship but as a speed-optimized companion for developers working on-device.
A printing press, not a typewriter
The core idea inverts how conventional models use hardware. Autoregressive LLMs generate text token by token, which means generating 1,000 tokens requires roughly 1,000 sequential steps. In the cloud, that inefficiency is hidden because servers batch thousands of user requests together to keep accelerators busy. Run locally for a single user, the same process leaves a GPU mostly idle — waiting, as Google's research team puts it, "for the next 'keystroke.'"
DiffusionGemma reverses that. "Instead of predicting words sequentially, it drafts an entire 256-token paragraph simultaneously," wrote research scientists Brendan O'Donoghue and Sebastian Flennerhag in Google's announcement. "It upgrades your model inference from a single, sequential typewriter to a massive printing press that stamps the entire block of text simultaneously."
Mechanically, the model works much like Stable Diffusion does for images. It begins with a canvas of random placeholder tokens, then makes multiple passes — locking in the tokens it is confident about and using them as context to refine the rest — until the block converges into clean output. That parallelism is the source of both its speed and its quirks.
The performance numbers are concrete. Google reports more than 1,000 tokens per second on a single NVIDIA H100 and over 700 tokens per second on a consumer GeForce RTX 5090. Under the hood, DiffusionGemma is a 26-billion-parameter Mixture-of-Experts model that activates only 3.8B parameters per forward pass, letting it fit within roughly 18GB of VRAM when quantized — comfortably inside the limits of high-end consumer cards like the RTX 5090 and 4090.
Why bi-directional attention matters
The shift to parallel generation buys a structural advantage autoregressive models lack: every token in the 256-token block can attend to every other token, including ones that come "after" it. Google frames this bi-directional attention as DiffusionGemma's killer feature for a specific class of work — "in-line editing, code infilling, amino acid sequences or mathematical graphs." Filling a gap in the middle of a code file, where the completion has to fit both what precedes and what follows it, is exactly the kind of non-linear task that trips up a strictly left-to-right model.
Google offered a vivid illustration: the model-tuning startup Unsloth fine-tuned DiffusionGemma to solve Sudoku, "a task autoregressive models struggle with because each token depends on future tokens." The model also iteratively self-corrects, re-evaluating the whole block to fix mistakes mid-generation — useful for cleanly closing complex markdown or rendering code in near real-time.
That said, the company is unusually blunt about the trade-off. DiffusionGemma "trails standard Gemma 4 on every benchmark," and Google explicitly recommends deploying the autoregressive Gemma 4 "for applications that demand maximum quality." This is a tool for speed-critical, interactive local workflows — not a replacement for Gemini 3.5 Flash or Pro.
The diffusion-vs-autoregressive moment
DiffusionGemma lands in a year when text diffusion has gone from research curiosity to genuine competitive front. Inception Labs' Mercury 2 has claimed throughput north of 1,000 tokens per second, and Google's own cloud-hosted Gemini Diffusion — the research lineage DiffusionGemma is built on — reported inference several times faster than comparable autoregressive Flash models. The open-weights release pushes that frontier onto consumer hardware.
The catch, well documented by researchers, is that diffusion models generate fixed-length outputs and refine globally rather than building step-by-step logical chains, which can make complex multi-step reasoning harder. Google's own caveats reinforce this: the speedup is "designed for local and low-concurrency inference." In high-QPS cloud serving, where autoregressive models can saturate compute through batching, parallel decoding "offers diminishing returns and can result in higher serving costs." There's even a hardware footnote — unified-memory machines like Apple Silicon Macs, with lower compute-to-memory-bandwidth ratios, "may not see the same acceleration."
That positioning is the real story. DiffusionGemma is engineered for a precise niche: the developer who needs fast, interactive generation on a machine they control, for code or content that can't be sent to a cloud API. For enterprises with proprietary codebases barred from external endpoints, an on-device model that infills code at 700-plus tokens per second is a privacy-and-latency proposition, not merely a benchmark flex.
What to watch
The hard question is whether quality-for-speed is a trade developers will actually take. Google has seeded a deep tooling ecosystem to find out — weights on Hugging Face, serving via MLX, vLLM and Transformers, fine-tuning paths through Unsloth and NVIDIA NeMo, with llama.cpp support promised. The Sudoku demo hints that targeted fine-tuning can close some of the quality gap on structured tasks where bi-directional attention shines.
Watch three things. First, whether independent benchmarks confirm the 4x figure outside Google's chosen hardware. Second, whether diffusion's reasoning limitations prove fatal for real coding assistants or merely a rough edge that fine-tuning smooths. And third, whether rivals follow Google's lead in releasing open-weights diffusion models for the desktop — because if the printing-press analogy holds, the next race in local AI may not be about who is smartest, but who can stamp out tokens fastest.
"It upgrades your model inference from a single, sequential typewriter to a massive printing press that stamps the entire block of text simultaneously."- Brendan O'Donoghue and Sebastian Flennerhag, Research Scientists, Google