The Compute Bill Behind Every Instant AI Answer
The Compute Bill Behind Every Instant AI Answer

Ask an AI assistant a question and the answer feels close to free. A few words typed, a paragraph back in under a second, no hint of the machinery that produced it. The machinery is enormous. By one widely cited estimate, spending on the data centers and hardware that run these systems reached $290 billion in 2024 and is on course to pass $1 trillion a year by 2030. Every fast reply a user gets from a conversational assistant draws on that infrastructure, and the companies deploying AI at consumer scale are learning that the cost of running a model, rather than building it, is what decides whether the product can survive.
AI-generated summary, reviewed by editors
Aditi Patodiya works at the layer where that cost is decided. A Senior Software Engineer with more than 10 years in large-scale distributed systems, she builds the backend infrastructure that lets generative AI run for hundreds of millions of people without the economics falling apart. She has written publicly about how large enterprises engineer AI systems to hold up under production load, a problem that has less to do with the model itself and more to do with the pipes, storage, and routing around it. Her work sits on the side of AI that most users never think about, the part that determines what an answer costs in compute and in milliseconds before it ever reaches the screen.
Why the same answer costs more as more people ask
A website can serve a million visitors to the same page and barely notice, because the page is built once and copied cheaply. A generative AI assistant works nothing like that. Each reply is computed fresh, token by token, on specialized processors that rank among the most expensive hardware in a data center. When a person asks a follow-up, the system feeds the earlier exchange back through the model, so the work per answer grows as the conversation runs longer. Multiply that by hundreds of millions of people holding those conversations at the same moment, and the bill climbs in a way a traditional web service never taught anyone to expect.
Patodiya's work targets exactly that math. She designs the backend services that decide how much of a conversation the model actually needs to see, and how that history is stored, moved, and reused across the many systems that make up a production assistant. Handled poorly, each turn drags the full weight of everything said before it into an expensive computation. Handled well, the system carries only what matters and leaves the rest behind. None of that is visible to the user. All of it is visible on the hardware bill.
“People assume the cost of an AI reply is fixed, like the price of a stamp,” says Aditi Patodiya. “It is not. A careless design can make the same answer cost several times what a careful one does, and at scale that gap is the whole budget.”
The speed users never think to notice
Speed is the other half of the problem, and it is less forgiving than cost. A user who waits 4 seconds for an answer assumes the assistant is broken and leaves. The expectation set by every fast app they have ever used is that a reply appears the instant they finish typing. Meeting that expectation while a model does heavy computation behind the scenes is a hard engineering problem, and it grows harder as traffic rises and the work per request grows with it.
Reducing that lag is a large part of what Patodiya builds. She engineers high-throughput backend services that route each request, manage the working memory a model holds during a session, and stream results back as they are produced rather than making a person wait for a finished block of text. The economics and the speed are linked. A design that trims wasted computation also tends to answer faster, because the system is doing less work per request. Getting both at once, low cost and low latency, under traffic that swings without warning, is the standard these systems are now judged against.
“Users have no vocabulary for backend latency, and they should not need one,” Patodiya notes. “Their only signal is whether the answer felt instant. My job is to make sure the honest answer is yes, even on the busiest day of the year.”
Running the model, not building it, is where the money goes
For years, the expense that captured attention was training — the months of computation it takes to build a model in the first place. That is the one-time cost. The recurring cost is inference, the work of running the finished model every time someone uses it, and it has become the larger number. In 2026, worldwide spending on inference is set to overtake spending on training for the first time, reaching $20.6 billion. Training a model happens once. Serving it happens billions of times a day, and that is the line on the budget that never stops growing.
This is the economic logic Patodiya's designs are built around. When the recurring cost of a product is paid per request, every wasted step compounds across billions of calls, so trimming those steps pays back at a scale that is hard to picture. She reworks how much computation each request truly requires — how much context the model is handed, so it processes what it needs rather than everything that's been said. She also targets how the backend avoids repeating work it's already done. Each change amounts to a small efficiency on its own. Across a global user base, small efficiencies are what keep the product financially viable.
“There is a myth that a better model makes the cost problem go away,” Patodiya observes. “It usually makes it worse, because a better model gets used more. The savings come from the plumbing, from being disciplined about what you compute and how often. That work is unglamorous, and it is where the margins live.”
The standards that hold the field together
The people who build this infrastructure also decide, together, what counts as sound engineering in a field that is only a few years old. Much of that happens through the conferences and review processes where new work is scrutinized before it reaches the wider community. It is slow, careful work, and it sets the bar that production systems are eventually measured against. Engineers who do it well tend to be the same ones who turn that scrutiny on their own designs.
Patodiya does that work outside her day job. She is a peer reviewer for CHI 2026, the Association for Computing Machinery's conference on human factors in computing systems and the leading international venue for human-computer interaction research. Evaluating submissions there means judging whether a claim actually holds up and whether the result would survive contact with production traffic. The same questions run through her own work. A design that looks elegant in a document still has to prove it can carry every request, cheaply, when traffic spikes.
“Reviewing keeps me honest,” Patodiya reflects. “You read enough work that overpromises and you get allergic to it in your own designs. The question I keep asking, of other people's systems and mine, is whether it holds up when it is not a demo.”
Building AI the planet can afford to run
The cost of running AI is not measured only in dollars. It is measured in power. Data centers drew about 415 terawatt-hours of electricity worldwide in 2024, and that figure is set to more than double to roughly 945 terawatt-hours by 2030, close to the entire annual consumption of Japan, with AI the largest driver of the rise. Every inefficiency in how a model is served turns into real electricity pulled off real grids. The engineering that makes AI cheaper to run is, more and more, the same engineering that makes it possible to run at all.
That is the frame Patodiya expects to define the next stretch of the field. The first wave of generative AI proved the models could be impressive. The harder task now is running them for everyone, all the time, without the compute bill or the power draw outgrowing the value they create. The backend discipline she works on, computing only what a request truly needs and tracking cost per answer as closely as most teams track accuracy, is what turns a striking demonstration into a service a company can afford to keep running.
“The demos are over,” Patodiya explains. “The real contest now is who can run this at consumer scale without going broke or draining the grid. That comes down to infrastructure, and it is the work I want to be doing for the next 10 years.”


Click it and Unblock the Notifications
