Sep. 29, 2026
Read time: 4 minutes and 51 seconds.
tags:Picture a finance manager at a small software company on the first of the month, opening the AI provider’s invoice. It’s higher again. She forwards it to the engineering lead with one line: “is this normal?” He replies that usage went up, which is true. What neither of them knows is that a large share of the requests were the same three-page instruction block sent thousands of times, attached to questions as simple as “is this email about a refund, yes or no?” The bill isn’t wrong. It’s just paying top price for the easy work.
Most teams treat their AI bill like rent. It goes up, they grumble, they assume that’s simply the price of using good models, and they move on. A large part of that bill is a leak, and like most leaks, it’s sitting in plain sight.
The leak usually starts with a sensible decision. While building a feature, someone picks the most capable model available because they want the demo to work. The demo works. The feature ships. Nobody goes back to ask whether every request really needs that model, so every request keeps going to it, forever.
That’s like taking a taxi to the mailbox.
I’m not above this. Years ago I wrote about wasting real money on AI image credits, throwing prompt after prompt at a generator when a simple design tool would have done the job. The lesson there applies here: the most powerful option isn’t automatically the right one, and the bill is where you find out.
Look at what the requests actually are. Plenty of them are simple: classify this message, pull a date out of this sentence, check whether this text mentions a refund. A small, cheap model handles those perfectly well. Only a slice of the work truly needs the expensive model, the long reasoning, the tricky writing, the cases where being wrong costs real money. Paying top price for everything is paying for capacity you don’t use.
Routing is the first fix. Put a simple rule, or a small model, in front of the work that decides where each request should go. Easy jobs go to the cheap model. Hard jobs go to the strong one. If the cheap model isn’t confident, it hands the job up. Done well, users never notice a difference in quality, because the hard cases still get the best answer.
This isn’t a hunch. Researchers have studied it directly. The FrugalGPT paper looked at how much providers’ prices differ and proposed a cascade that learns which model to call for each query, reporting large cost savings at similar quality. The RouteLLM paper trained routers that decide per query whether the expensive model or a cheaper one should answer, again aiming to cut cost without hurting quality. Your numbers will be your own, but the direction is well documented.
You don’t need a research team to start. Anthropic’s engineering post on building effective agents describes routing as one of the simple building blocks: classify the input, then send it to the specialised path that fits. A few lines of code and an honest look at your request types get you most of the way.
Caching is the second fix, and it’s often the easier one. Many systems send the same long instructions with every single request, the same background documents, the same examples. Most model providers offer ways to reuse that repeated part instead of paying full price for it every time. Many teams simply never turn it on. Others ask the same question about the same document over and over and could store the answer the first time.
Provider docs explain the mechanics clearly. Anthropic’s page on prompt caching, for example, covers how a repeated prompt prefix can be reused to reduce both cost and latency. Other providers have their own versions. The common thread is that the stable part of your prompt goes first and the changing part goes last, so the reusable piece is actually reusable.
Then there’s the waste nobody sees. Prompts stuffed with context that the model never needs. Retries that fire on every small error. Test scripts left running against the expensive model in the background. None of these are dramatic, but together they add up to a bill that grows faster than usage.
This is where teams of agents can quietly multiply the cost. If you run several agents with checks between them, the approach I described in running coding agents as a small team, each agent’s instructions and context get sent on every call. That setup is worth it for quality. It’s also exactly where routing and caching pay back the most, because the repetition is built in.
The audit itself doesn’t have to be painful. Pull a sample of real requests. Sort them by type and by which model handled them. Ask, for each type, what the cheapest option is that still gives an acceptable answer, and test that honestly with real examples instead of assuming. Turn on caching where the inputs repeat. Then watch the quality closely for a while, so you know the savings didn’t come at the expense of worse answers.
There’s a mindset shift underneath all of this. The most capable model is a tool for the hardest problems, not a default for every problem. Engineers would never run every database query on the biggest server they could rent. Model calls deserve the same thinking.
There’s also a business in it for people who like this kind of work. In the post on the money around coding agents, the point was that the plumbing around the models is where smaller teams can win. Cost visibility is a big part of that plumbing, and most teams have none.
Export one day of model requests from your logs. Put them in a spreadsheet with three columns: what the request was for, which model handled it, and whether a smaller model could plausibly have done it. Then find the single longest block of text you send over and over, and check whether your provider can cache it. Those two answers usually point straight at the leak.
Plug the leak before you ask for a bigger budget.