← All writing

MiniT2I: From a $0.018 API Call to Free In-Browser Image Generation in Four Years

MIT's MiniT2I shows how open weights, quantization, and browser runtimes have collapsed the cost of a paid image-generation API call to zero, while bringing small, simple research back into focus.

· Updated 2026-11-28

  • AI
  • Machine Learning
  • Open Source
  • Diffusion Models

Four years, from API billing to a browser tab

In 2022, generating an image with DALL-E 2 meant one thing: an API call. The launch price was $0.018 per image, the weights were closed, and the model ran on someone else's server. In June 2026, a research release from an MIT group made the same point in reverse. MiniT2I, described in the paper "A Minimalist Baseline for Text-to-Image Generation", ships under the MIT license with public weights, and a viral demo on X (posted by @calebfahlgren) showed the model running in a browser in roughly half a second per image, for free.

The comparison is worth taking seriously, because the gap between those two moments is not one model beating another. It is a change in who gets to run a capable text-to-image system at all.

What MiniT2I actually is

MiniT2I comes from an MIT group: Xianbang Wang, Hanhong Zhao, Yiyang Lu, Kangyang Zhou, Linrui Ma, and Kaiming He. The stated goal was a minimal, reproducible baseline rather than a leaderboard chase, and the design reflects that:

  • Pixel-space diffusion with no VAE. The model denoises pixels directly, which removes an entire trained component (and a decode step) from the pipeline.
  • MM-JiT architecture with no AdaLN. A multimodal joint-attention design instead of the usual conditioning layers.
  • A frozen FLAN-T5-Large text encoder. No fine-tuning of the language side.
  • Flow matching, no RL, no DPO. Training is plain flow matching; none of the preference-optimization machinery common in recent models.
  • Fully public training data. A LLaVA-recaptioned CC12M pretraining set plus roughly 120,000 high-quality fine-tuning pairs, all released.

Two sizes ship: B/16 with a 258M-parameter denoiser (plus the 341M-parameter frozen text encoder) and L/16 with a 912M-parameter denoiser. Despite the small scale, benchmark results are competitive: GenEval scores of 0.873 (B/16) and 0.883 (L/16), and DPG-Bench scores of 84.2 and 85.9 respectively. The B/32 ablation trained in about three days, which is the kind of number only a deliberately small model can produce.

The weights are on Hugging Face under the MIT license, with PyTorch/Diffusers and JAX code available.

The 313 MB in the browser

The detail that made the release go viral is not the benchmark table. It is that quantized community exports (around fp8) land at a few hundred megabytes, and community demos run the model client-side in a browser via WebGPU, with the viral posts claiming around 313 MB and roughly 0.5 seconds per image. Those speed and size numbers come from the demo authors, not from the paper, and I have not independently reproduced them. Still, the direction of the claim is hard to argue with: a 512x512 text-to-image model, small enough to download and fast enough to feel instant on commodity hardware, with no server in the loop.

That is only half the story, though. The enabling stack is broader than one model:

  • Open weights. Nothing in the browser demo is possible without a permissive license and published checkpoints.
  • Quantization. fp8-style exports turn a research checkpoint into a sub-500 MB download.
  • Browser runtimes. WebGPU and tools in the Transformers.js lineage give ordinary browsers a real inference path that did not exist when DALL-E 2 launched.

What it does not do

Honest framing matters here. MiniT2I is a baseline, not a frontier model. Its own reporting places it behind SD3-Medium on text rendering, and its public limitations section flags named-entity generation and the constraints of its public-only training data as known weak points. Output is 512x512. Nobody should cancel a commercial API subscription based on a browser demo of a research baseline.

The relevant comparison is narrower and more interesting: for the class of tasks a $0.018-per-image API call used to uniquely serve, there is now a free, open, locally runnable alternative that produces reasonable results.

Why this matters

Two shifts seem worth naming.

The first is economic. A paid API call has a per-image marginal cost. A model running on the user's own hardware, downloaded once, has a marginal cost of zero. When the open model is merely good enough rather than best-in-class, that asymmetry is enough to hollow out the low end of any paid image API.

The second is cultural. For a while, credible text-to-image research meant massive proprietary data and compute. MiniT2I is a small, deliberately simple, fully public release, and it was taken seriously by exactly the community that sets the agenda. Small and simple is back in style, and the reason it can be is that the surrounding infrastructure, quantization, open runtimes, public datasets, carries the load that the model itself no longer has to.

Takeaway

MiniT2I will not win a beauty contest against frontier commercial models. It does not need to. Four years after a $0.018 API call was the only way to generate an image on demand, a 258M-parameter open-weights model runs in a browser tab for free, and the interesting question has shifted from "can open models compete" to "which paid services are still worth a marginal cost". That question was unaskable in 2022. It is the real headline.

Sources

Command palette

↑↓ navigate · Enter select · Esc close