Unlimited Tokens, Smaller Bill: AI Coding Cost Is a Structure Problem, Not a Quota Problem
Your AI coding agent bill is high mostly because of how the work is structured, not because engineers use it too much.
The agent re-reads the same context over and over, sends simple chores to the most expensive model, and retries without checking whether the last attempt actually worked. Fix those three, and you can loosen limits instead of tightening them.
What people are actually seeing
A recent LinkedIn post by Stanislav Beliaev claims that Revolut cut its AI coding bill by 90% while giving 2,000 engineers unlimited tokens.
The same post says some engineers had been burning $1,000 to $10,000 a month without clear ROI.
Those are the post's claims, not numbers I can verify. But the reaction tells you something. The post drew 653 reactions and 156 comments. That is an unusually high ratio of people who wanted to talk, not just nod.
The discussion keeps circling the same tension:
- Finance sees a line item that grows every month.
- Engineering leaders see a tool that clearly helps.
- The obvious lever, a per-person cap, punishes exactly the people who use the tool well.
Caps feel like control. In practice they move the problem around. The engineer who hits the limit on day 20 stops using the agent for the rest of the month. The expensive pattern that caused the spend is still there next month.
The more interesting claim in that post is the combination: the bill went down while limits went away. That only makes sense if the spend was never really about how much people used the agent. It was about how the agent was doing the work.
Why it happens
An AI coding agent does not charge you for "help." It charges you for tokens: what goes in, what comes out, on whichever model handled the call.
That makes the bill a direct readout of structure. Three patterns account for most of the waste.
1. Reading the same context again and again
Agents have no memory between sessions unless you give them one.
So every new session starts by rediscovering the project: reading the same files, re-inferring the same conventions, re-learning which test command works and which one is broken.
Within a long session it gets worse. Large chunks of context are carried forward turn after turn, and you pay for them every time.
None of that reading is new work. It is the agent paying again for knowledge it already had yesterday.
2. Big models doing small jobs
Renaming a variable, updating an import, reformatting a file, writing a boilerplate test: these are mechanical tasks.
When everything runs through the largest, most capable model by default, you pay top rates for work that does not need deep reasoning.
The opposite mistake also exists. A risky change to auth or payments, sent to a small model and accepted without review, is cheap until it is not.
The cost problem is the absence of routing: one model, one depth of attention, for every kind of task.
3. Retrying without verification
This is the most expensive pattern, and the least visible.
The agent writes code and says it is done. Nobody ran the build. The tests fail. The engineer pastes the error back. The agent tries again, often re-reading everything to do so. Repeat.
Each loop costs the full context again. And because "done" was never checked against evidence, the agent can loop on confident guesses: plausible fixes that were never tested.
That is where the $1,000-to-$10,000 months described in the post become easy to imagine. Not one huge request, but hundreds of unverified loops.
Intelligence is grounded in data. An agent that never runs the tests is guessing. Guessing is expensive when every guess is billed.
What you can do today (with any tool)
None of this requires a specific product. These are workflow changes you can make this week.
Give the project a memory
Write down what the agent keeps rediscovering:
- How to build, test, and lint the project, with the exact commands
- Conventions that are not obvious from the code
- Decisions already made, and why
- Known failures and their causes ("this test is flaky because of X")
Keep it short, keep it in the repo, and point the agent at it at the start of every session.
The goal is not documentation for its own sake. It is to replace an expensive rediscovery step with a cheap read of a small file.
When a session ends with a lesson, such as a decision or a root cause, add it. The next session starts smarter instead of starting over.
Route by task, not by habit
Split work into two rough buckets:
- Routine: mechanical, low-risk, easy to check. Use a smaller, cheaper model.
- Risky: security, data, money, migrations, public interfaces. Use a stronger model and a deeper review.
You do not need a perfect taxonomy. Even a crude split stops the default of sending everything to the top model.
The point is to spend attention where mistakes are costly, not evenly everywhere.
Make "done" mean "verified"
This is the single highest-leverage change.
Before the agent declares a task finished, it should run the build and the relevant tests, and show the output.
If it fails, the failure output is concrete evidence for the next attempt. It is not a vague "it doesn't work" pasted in by a frustrated engineer.
This does two things for cost:
- It catches failures early, inside one session, instead of after a human notices.
- It turns retries from guesses into targeted fixes. Each loop gets shorter because it has data.
Measure the right thing
Per-person spend tells you who uses the tool. It does not tell you where money leaks.
More useful questions:
- How many attempts does a typical task take before it passes the tests?
- How often does a session start by re-reading the whole project?
- What share of calls go to the most expensive model, and for what kinds of tasks?
These point at structure. Structure is what you can fix without telling anyone to use the agent less.
RoutineCode works on the same principles
As one concrete example, RoutineCode, a Claude Code plugin we build, is designed around these same three ideas.
Before declaring a task complete, it actually runs the build and tests and uses the results as evidence. It records project rules, decisions, and failure causes, so they survive the end of a session and can be pulled back into the next one. It splits repetitive work onto smaller models and saves deep review for risky changes.
It installs through npm (npm install -g @routinecrew/routinecode --@routinecrew:registry=https://registry.npmjs.org). But the principles above work with or without it. If you apply them by hand, you get most of the benefit.
What changes, honestly
I am not going to give you a percentage. The only number in this piece is a claim from someone else's post, and your codebase is not theirs.
What you can check for yourself, on your own team:
- Fewer repeat loops. Count how many attempts a task takes before tests pass, before and after making verification mandatory.
- Shorter session warm-ups. See whether sessions stop re-reading the whole project once a project memory exists.
- Model mix. Look at what fraction of calls hit the top model, and whether those calls are the risky ones.
- Trust in "done." Track how often "done" comes with build and test output attached, and how often it later turns out to be wrong.
If those move in the right direction, the bill tends to follow. You also get something a quota never gives you: engineers who can use the agent as much as the work needs.
The lesson from the Revolut claim, if it holds, is not "spend less on AI." It is that limits treat a structural leak as a behavior problem.
Fix the structure, and the limits stop being necessary.
#AIEngineering #DeveloperProductivity #AIAgents #EngineeringLeadership
Want posts like this weekly?
Subscribe for AI dev-workflow insights.