Run AI Locally or Pay for Cloud SaaS? The 2026 Math
DHH's $18M Omarchy movement and a new class of 192GB desktops are turning "own your AI" from a slogan into a spreadsheet decision. Here's the math.
Run AI locally or keep paying for cloud SaaS? For a growing share of developer workloads, local wins outright. Cloud still wins for frontier reasoning tasks and unpredictable bursts. The honest picture is hybrid, but the line has moved hard toward ownership, for three concrete reasons: hardware, cost curves, and a closing capability gap.
This isn't a manifesto. It's a cost structure that changed.
Omarchy didn't start as an AI story, but it became one
Omarchy is DHH's Arch/Hyprland-based Linux distribution. It began as a personal dotfiles project and is now backed by the Omacom Foundation, which has pulled in roughly $18.35 million in pledges from DigitalOcean, Meta Superintelligence Labs, Dell, Stripe, and Cloudflare.12 DigitalOcean alone committed $1 million a year for three years, a $3 million line item that made headlines partly because DigitalOcean had recently ended a much smaller sponsorship of GNOME and Flathub.12
The money matters less than the doctrine behind it. Omarchy's stated philosophy is blunt: "Own the machine... No tollbooths, no gatekeepers, no platforms that can change the terms on you."3 That's not branding. It's a design constraint baked into every choice Omarchy makes, from open protocols to local-first defaults. One recent breakdown of the self-hosted stack walks through pairing Omarchy with Rails 8 and Ollama to run compute, storage, jobs, and AI without a single rented subscription. That's the doctrine applied to a real developer's toolchain, not a press release.
When a Linux distribution built on that philosophy attracts eight-figure corporate backing, it's a signal. "Own your machine" has stopped being a fringe developer position and started being a funded bet by companies that sell infrastructure for a living.
The hardware just caught up: 192GB on your desk
The doctrine needed hardware to back it up, and 2026 delivered it. A new class of unified-memory desktops can now run 100-billion-parameter-class models entirely on one box, no data center required.
- Framework Desktop. The AMD Ryzen AI MAX+ PRO 495 configuration ships with 192GB of unified LPDDR5X memory at 273GB/s bandwidth, enough to run DeepSeek V4-Flash at Q8 quantization with room left for long context windows.4 The existing 128GB model starts around $3,500; the 192GB version is expected to land above $5,000.4
- Mac Studio M4 Ultra. Apple's unified-memory architecture scales to the same 192GB territory, and it's now widely treated as the consumer benchmark for local inference at this tier.5
- Minisforum and GMKtec. Both are shipping Ryzen AI Max+ boxes chasing the same unified-memory sweet spot at competitive prices, turning what used to be a single-vendor curiosity into an actual product category.
The practical threshold to watch is memory, not raw GPU horsepower. Guidance on local AI hardware pegs 128GB and up as the point where 70B-parameter models stop being a compromise, with 192GB unlocking the current wave of 100B+ open-weight models.5 That's the same territory the Mac Studio M5 Ultra occupies, and it's why the machine, not the model, is now the binding constraint on what a developer can run at their desk.
DHH already ran this experiment, and it saved 37signals $10 million
Skeptics of "own the compute" arguments have a reasonable question: does this actually pay off, or is it a hobbyist's rationalization? DHH already answered that question at the infrastructure level, years before Omarchy existed.
37signals ran a $3.2 million-a-year AWS bill in 2022.6 By 2024, after moving most workloads to owned hardware, that bill was down to $1.3 million a year.6 The Dell hardware that made the move possible cost about $700,000, and it paid for itself within the first year.6 Independent analysis of the exit puts the infrastructure cost cut at over 90%, from $3.2M to roughly $360K on bare metal for the core compute, with the hardware investment recouped in about six months.7 37signals now projects total savings from the combined cloud exit, including a further move of 18 petabytes of data off S3, at more than $10 million over five years.7
That's not a thought experiment. It's a company that rented infrastructure, ran the numbers, bought the hardware, and banked the difference. Running AI locally instead of through an API is the same trade, at a smaller scale, made by an individual developer instead of a company. The case for owning your dev stack after a string of cloud outages covers the same instinct from the failure-mode side rather than the cost side.
How much does local AI actually save versus cloud APIs?
Here's where opinion has to yield to arithmetic. A 2026 total-cost-of-ownership analysis modeled local LLM deployment against proprietary cloud APIs like GPT-4.1 across usage tiers, and the crossover point is specific, not hand-wavy.
- Light usage. Under roughly 2 million tokens/day, cheap hosted open-weight APIs remain the cheapest option. Buying hardware for occasional use just isn't worth it.8
- Medium usage. Local deployment breaks even against GPT-4.1-class API pricing at around 2 to 3 million tokens/day within a 12-month window.8 This is the tier most solo developers and small teams doing daily coding-assistant work will land in.
- Heavy usage. At 50 million tokens/day sustained over 36 months, local enterprise hardware reaches an effective cost of $7.15 per million tokens, undercutting OpenAI and Anthropic API pricing, which runs $6.90 to $9.86 per million tokens depending on model and provider.8
The honest caveat: this math assumes you already have, or are willing to buy, the hardware, and that your workload is steady rather than spiky. For a more granular breakdown of exactly where that break-even point sits for open-weight models like GLM and Qwen against frontier APIs, see the real break-even math.
Is local AI actually more private than a cloud API?
Even where the math is a wash, privacy tips the decision toward local. In Deloitte's State of Ethics and Trust in Technology survey, 72% of respondents ranked data privacy among their top three concerns about generative AI, and 40% ranked it their single biggest concern, more than three times the next most-cited issue.9
That's not abstract risk. Every prompt sent to a hosted API is a document, a codebase snippet, or a customer record leaving your infrastructure and entering someone else's logs, someone else's retention policy, and someone else's breach surface. For regulated industries and security-conscious teams, that's a governance problem long before it's a cost problem. Running inference on hardware you control turns that question into a non-issue by construction.
Open-weight models closed the gap enough to matter
The old objection to local AI was capability: cloud models were simply smarter. That gap has narrowed sharply. Epoch AI's Capabilities Index shows the best open-weight models trailing frontier closed models by an average of just four months and about 8 points as of 2026, roughly the same gap as between GPT-5 and GPT-5.5.10
Models like DeepSeek V4-Flash, Qwen, Kimi K2, and GLM-5.3-Flash are the practical result: open weights good enough to run day-to-day coding, drafting, and assistant work locally without a noticeable quality tax. For a lot of workloads, "good enough and yours" now beats "marginally better and rented."
The bigger pattern: cloud repatriation meets shadow AI meets SaaS fatigue
Zoom out and the local-AI-desktop trend isn't isolated. It's the personal-computing edge of a much larger movement already visible at the enterprise level.
A Citrix/Cloud Software Group survey of 350 IT leaders found 93% had been involved in a cloud repatriation project in the past three years, and 25% of UK organizations surveyed had already moved half or more of their workloads back on-premises, with cost cited most often as the driver.11 A separate Barclays CIO survey found 86% of CIOs planned to move at least some public cloud workloads back to private infrastructure, though analysts caution this reflects selective workload redistribution rather than wholesale exits, since IDC finds only 8-9% of enterprises plan to fully repatriate.12
The same instinct is showing up inside individual teams, too, as shadow AI and SaaS sprawl push developers to build their own tools rather than add another subscription. The receipts behind this shift show tech workers quietly rebuilding their stacks around things they own instead of things they rent. That's also the honest reason tools like Remy exist: helping teams see the software they've actually built and own, instead of losing track of it inside a subscription stack. DHH's own framing makes the connection explicit: the Omarchy Doctrine's "own the machine" principle is described by outside observers as the same instinct now driving developers toward local AI hardware instead of API dependency.313
When does cloud SaaS still win?
None of this makes cloud APIs obsolete. They win clearly in specific situations:
- Burst scaling. If your workload spikes 50x during a launch and sits idle the rest of the month, owned hardware sits idle too, and you paid for it upfront.
- Frontier-only capability. For the hardest reasoning tasks, top-tier closed models like Claude Opus-class systems still lead, and that 4-to-8-point gap is real even if it's shrinking.10
- Zero infra ops. Someone still has to patch, monitor, and replace local hardware. If you don't have that time or headcount, renting buys it back.
- Pre-product-market-fit experimentation. When you don't yet know your usage pattern, committing capital to hardware is premature. Rent until the pattern is clear, then reassess.
The verdict: own the machine, rent the frontier
Omarchy's doctrine was never really about Linux. It's about refusing to let a vendor set the terms on infrastructure you depend on every day.3 The $18 million in backing behind it, the 192GB desktops now shipping at consumer prices, and 37signals' own $10 million cloud-exit receipt all point the same direction: owning compute is no longer a purity test, it's a spreadsheet with a clear breakeven point.147
The practical stance for most developers is hybrid, not absolutist. Own the machine for your baseline coding assistant, your privacy-sensitive workloads, and anything running north of a few million tokens a day. Rent the frontier model selectively, for the hardest problems and the burstiest demand, where a few dollars of API spend beats buying a machine that sits idle most of the month. That's not a compromise. It's just where the math and the doctrine agree.
It depends on volume. Below roughly 2 million tokens/day, cheap hosted open-weight APIs are usually cheapest. Between 2 and 3 million tokens/day, local hardware breaks even against GPT-4.1-class pricing within about 12 months. At heavy usage (50 million tokens/day over 36 months), local enterprise hardware can hit an effective $7.15 per million tokens, below typical OpenAI and Anthropic API rates.8
As of 2026, the best open-weight models trail frontier closed models by an average of about four months and 8 points on Epoch AI's Capabilities Index, a gap similar to the difference between GPT-5 and GPT-5.5. For most day-to-day coding and assistant work, that gap is small enough to not matter.10
Omarchy is DHH's Arch/Hyprland Linux distribution built around an 'own the machine' philosophy that rejects vendor lock-in.3 It has grown into the Omacom Foundation, backed by roughly $18.35 million from DigitalOcean, Meta Superintelligence Labs, Dell, Stripe, and Cloudflare, making it a funded proof point for the broader shift toward owning infrastructure instead of renting it, including AI compute.12
For many regulated or security-conscious teams, yes. In Deloitte's survey on GenAI ethics, 72% of respondents ranked data privacy among their top three concerns, and 40% called it their single biggest concern, more than three times the next issue. Running inference locally removes the question of where prompts and data end up entirely.9
- 1DigitalOcean joins as a Founding Corporate Patron with $3 millionOmarchy (omarchy.us)
- 2Omarchy Funding Surges to $18.5M With DigitalOcean's $3M PledgeLinuxiac
- 3The Omarchy DoctrineOmarchy (omarchy.org)
- 4Framework Previews Its AMD Ryzen AI MAX+ PRO 495 PC Desktop With 192 GB Unified Memory That Effortlessly Runs DeepSeek V4-Flash at Q8Wccftech
- 5How Much RAM Do You Need for Local AI in 2026? System Memory GuideCompute Market
- 6Our cloud-exit savings will now top ten million over five yearsHEY World (DHH)
- 7DHH Was Right: The Inside Story of 37signals' $10M Cloud ExitInspectural
- 8Local LLMs vs Cloud APIs: 2026 Total Cost of Ownership AnalysisSitePoint
- 9Addressing ethics amid ascending AI adoptionDeloitte (Insights2Action)
- 10Open models lag state-of-the-art closed models by 4 monthsEpoch AI
- 11Why companies are leaving the cloudInfoWorld
- 12Cloud Repatriation 2026 Is a Statistical IllusionDigital Chiefs
- 13The Malleable Machine: DHH, Omarchy, open source and the computer I want to own in the agentic ageMyGeekSpace (Substack)



