Two Brothers Trained a Text-to-Image Model for $20,000 and Released the Weights Under Apache 2.0
The two-person Linum lab trained a text-to-image model for ~$20,000 on 660 million images and released the weights under Apache 2.0. The secret is the Pyramid-JiT architecture: diffusion operates directly in pixel space, without a VAE, eliminating the need for two training stages. For teams worried about training and inference bills, this provides a practical cost benchmark.
AI-processed from Hacker News AI; edited by Hamidun News
Conversations about building a custom generative model usually end when the word “budget” comes up. Two brothers from the Linum lab decided to find out what a decent text-to-image model actually costs. The answer: about $20,000. They released the weights under Apache 2.0 and published the research on their website.
What They Built
The industry standard is latent diffusion. First, a VAE compresses an image into a compact latent space; then, a diffusion model learns to generate within that space. That means two training stages, two models, and two opportunities for something to go wrong.
Linum removed the VAE. The diffusion model operates directly in pixel space and learns the representation best suited to its task on its own. The architecture is called Pyramid-JiT. The model was trained for roughly a month as an extended experiment: ~$20K and 660 million samples.
Why It Matters
The authors cite three benefits. First, the architecture is simpler: there is no need to train two components sequentially. Second, according to their data, convergence is 11 times faster than with the latent counterpart. Third, inference is cheaper: the attention context can be reduced 4 times more aggressively without a noticeable decline in quality.
Imagine a startup generating marketing illustrations. In the past, a custom model was a luxury: cluster rental, a team of researchers, and months of work. Now there is a public recipe that costs about as much as one small round of experiments. It is not a replacement for Midjourney, but it is already a sufficient foundation for a narrowly specialized model.
There is a more ambitious goal behind the work as well. Linum is building video models, and almost all video models begin as image models. The authors joke that models learn nouns first and verbs later. If images become inexpensive to generate, video will become cheaper too—and speed and cost are precisely what currently prevent video from being used in iterative creative workflows.
Limitations
A few caveats up front. This is a Show HN project from a tiny team, not an independent benchmark. The authors themselves describe the quality as “decent” and say they were surprised by the result; the post contains no comparison tables against market leaders. The claims of an 11-fold speedup and a 4-fold token reduction come from their own comparisons with their own latent variant, so they should not be generalized to other tasks. The $20K figure also covers only the final run: judging by the description, it excludes the cost of earlier experiments and architecture selection.
The Hacker News discussion remains modest so far: around 110 points and 11 comments. There is no strong consensus, so this is better viewed as an interesting signal than a proven breakthrough.
What to Do With It
If you are building an image-generation product, download the weights and test them on your own prompts: the Apache 2.0 license allows unrestricted commercial use. If you are a researcher or ML engineer, read the Pyramid-JiT paper and consider whether your next project actually needs a VAE. And if you are a product leader, remember the main takeaway: the barrier to entry for custom generative models has fallen again, and “it is too expensive” is becoming a weaker argument.
- Nov 2, 2026We Audited 929 Automations at Alpina: What Corporate AI Training Should Look Like in 2026
- Oct 25, 2026Shadow AI in the Enterprise: Why 90% of Security Officers Break Their Own Bans and How a 3-Zone Traffic Light System Works
- Oct 19, 2026Black Forest Labs: A 70-Person Team Takes On Silicon Valley's Giants
- Oct 11, 2026BBC: AI Is Devaluing Images and Raising the Price of Human-Made Work
Key Questions Answered
What They Built?
The industry standard is latent diffusion. First, a VAE compresses an image into a compact latent space; then, a diffusion model learns to generate within that space. That means two training stages, two models, and two opportunities for something to go wrong. Linum removed the VAE. The diffusion model operates directly in pixel space and learns the representation best suited to its task on its own. The architecture is called Pyramid-JiT.
Why It Matters?
The authors cite three benefits. First, the architecture is simpler: there is no need to train two components sequentially. Second, according to their data, convergence is 11 times faster than with the latent counterpart. Third, inference is cheaper: the attention context can be reduced 4 times more aggressively without a noticeable decline in quality. Imagine a startup generating marketing illustrations. In the past, a custom model was a luxury: cluster rental, a team of researchers, and months of work.
What are the key details on Limitations?
A few caveats up front. This is a Show HN project from a tiny team, not an independent benchmark. The authors themselves describe the quality as “decent” and say they were surprised by the result; the post contains no comparison tables against market leaders. The claims of an 11-fold speedup and a 4-fold token reduction come from their own comparisons with their own latent variant, so they should not be generalized to other tasks.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.