Why AI Infrastructure Costs Spiral Out of Control
TL/DR
The Predictability Crisis:AI infrastructure breaks traditional cloud pricing models. Specialized hardware and volatile inference demands make budgets so unpredictable that even a tech giant burned its annual AI budget in four months.
The Architecture Trap: The massive cost differences in AI systems are locked in before deployment. Suboptimal choices around model placement, data movement, and lack of caching can quietly inflate your bill by 5x to 10x.
The FinOps Blind Spot: AI complexity has driven cloud waste up to 29% (and up to 50% in container environments) because existing tools only look backward at invoices, rather than forward at design.
The Diagrm Fix: Diagrm prevents runaway bills by calculating projected costs on a visual canvas in real time—stopping the AI cost spiral while your architecture is still a design and cheap to change.
Why AI Infrastructure Costs Spiral Out of Control
In April 2026, Uber's CTO admitted the company had burned through its entire annual AI budget in just four months (Fortune, May 2026). Uber is among the most AI-native companies on the planet — and it still couldn't predict its own AI spend.
Uber's bill ran away through sheer usage: engineers adopting AI tools faster than anyone had budgeted for. That kind of overrun at least leaves a trail you can follow. The more insidious driver of AI cost is quieter and far harder to see, because it is locked in before any usage happens at all — in the architecture. The most expensive decision in an AI project is often made before the first model is ever deployed.
Here's why AI costs spiral, where the money actually goes, and what changes when you can see the cost of a design before you commit to it.
AI workloads do not have the same pricing structure as traditional cloud workloads
A traditional web application has a fairly predictable cost shape. You provision some compute, some storage, a database, and as traffic grows, cost grows with it in a way you can roughly forecast.
AI systems break that intuition in several ways at once. They lean on expensive, specialized hardware — GPUs and accelerators that can cost many times more per hour than general-purpose compute. They split into two very different cost profiles: training, which can demand enormous bursts of compute up front, and inference, which generates continuous operating expense for as long as the model is in production. And they move and store far more data, across pipelines, vector databases, and model-serving layers that each carry their own charges.
The result is that AI cost is fluid and usage-driven in a way that's genuinely hard to predict. A small change in how often a model is called, how large its context is, or where its data lives can swing the bill substantially.
The biggest costs are decided before you deploy
Here's the part most teams miss. When the bill arrives, attention goes to utilization — which instances are underused, what can be right-sized, where to negotiate. That's real, but it's treating a symptom.
The largest cost outcomes in an AI system are usually determined by architectural decisions made before anything is deployed. Picture two teams shipping the same feature, backed by the same model.
The first team takes the straightforward path. They stand up a dedicated GPU endpoint that runs around the clock so the model is always ready, store their data wherever it already lives, and call the model fresh on every request. It works on day one, and nothing about it looks reckless.
The second team makes three quieter decisions. They serve the model through shared, autoscaling inference, so they pay for capacity only when it's used. They cache the most common requests, so identical calls never hit the model twice. And they place their data close to where it's retrieved, so they aren't paying to shuttle it across regions on every query. Same feature, same user experience — and an operating cost that can run five to ten times lower.
Nothing separated those outcomes except the architecture, and every decision that produced the gap was made before either team saw a single invoice. That is the pattern underneath almost every runaway AI bill: model placement, inference design, and data movement quietly setting the cost structure that everything else inherits. Once those choices are deployed, you can optimize around the edges, but you rarely change the fundamentals without a redesign. A system architected expensively can be made a little cheaper. It rarely becomes cheap.
The mistake I keep watching teams make
After years of doing this across fast-scaling startups and large enterprises, I've come to expect a particular version of this story, and it has very little to do with the database engine everyone fixates on.
When costs climb, teams reach for the database first. They tune queries, add indexes, and celebrate shaving a transaction down to a single millisecond — while the application layer above it quietly does most of the expensive work. I've watched a team optimize a database transaction to the millisecond while their microservices carried so much logic that they were the real bottleneck, and the real cost. The database was never the problem. It was just the safest thing to touch, because changing the application layer felt risky — and it felt risky mostly because the team had no solid regression testing to fall back on. So they optimized the layer they were least afraid of instead of the layer that actually drove the bill.
Underneath that is a deeper habit: software teams think in broad domains rather than in the specific transactions their users actually perform. They build large, all-purpose services that try to handle everything — the equivalent of standing up an entire accounting department just to print a single invoice — instead of letting each real user action drive how data is accessed and what gets computed. It's a reasonable instinct for keeping code clean, and it quietly inflates both compute and cost. Nearly every hyper-growth startup I've seen struggles here, and it's precisely this missing analysis that makes them so hard to scale. Enterprises hit the same wall and reach for the most expensive possible answer — a full platform replacement or a ground-up overhaul — when a careful analysis of how their user-facing applications actually access data would have solved it for a fraction of the cost. The same trap is now waiting in AI systems, where an over-broad service calling a model on every request, instead of along the path the use case actually requires, turns a design habit into a recurring GPU bill.
No single person can see the whole picture
AI infrastructure also spreads decision-making across more people than traditional software. Engineering owns performance, security owns data protection and model access, finance owns the budget, and increasingly an executive sponsor owns the strategic bet. Each sees a slice. None sees the whole.
So the cost conversation becomes a reconstruction exercise: finance flags a number, engineering explains a design choice, someone digs through a dashboard, and the actual cause — an architectural decision several steps upstream — is hard to trace back to. By the time the picture is assembled, the spend has already happened.
The tooling is built for after, not before
This is the root of the spiral. Nearly every cost tool in the stack — FinOps dashboards, cost explorers, optimization recommendations — operates on infrastructure that is already running. They are excellent at telling you what you spent. They are structurally incapable of telling you what you're about to spend, because they only see resources that exist.
And the waste is not a rounding error. Flexera's 2026 State of the Cloud Report, a survey of more than 750 cloud decision-makers, found that roughly 29% of cloud infrastructure spend is wasted — the first increase in five years, which the report attributes specifically to the complexity of AI workloads. That is the average; in container-heavy, aggressively over-provisioned environments, optimization case studies routinely find waste running as high as 50%, almost all of it from the kind of "just-in-case" capacity the two teams above were choosing between. For AI systems, where a single design choice can swing the bill by an order of magnitude, that average is a starting point, not a ceiling — and almost all of it is set in motion at design time, then discovered at invoice time.
What changes when cost is visible at design time
The fix isn't another dashboard that reacts faster. It's moving the cost question to the moment the decision is actually made — when the architecture is still a design and still cheap to change. The two teams above didn't need a better invoice; they needed to see the gap between their designs before either one shipped.
That is exactly what we set out to build with Diagrm. You design your cloud or AI architecture on a visual canvas, and as you place each component, you see the projected cost in real time. So you can compare two architectures by projected cost and choose deliberately, instead of finding out which one was expensive after it's already in production.
AI infrastructure costs spiral because the decisions that drive them are invisible until they're irreversible. Make those decisions visible while they're still decisions, and the spiral stops being inevitable.
---Javier Navarro-Machuca, PhD — Founder & CEO, Diagrm
Want to see what your AI architecture would cost before you build it? contact@diagrm.com and we will price a real design with you.

