Skip to content
Laava
Back to news

News & analysis

Building software with agents: count accepted changes, not tokens

Token usage says little about what building software with AI agents delivers. Measure what a change released by a person costs, including review time and rework.

Laava

Token usage is the wrong counter

When companies start building software with AI agents, the first question is usually: what will it cost in tokens? It is an understandable question, because it is the number on the invoice. But it says little about what you get for it. An agent that burns many tokens and delivers one usable change can be cheaper than one that burns few and delivers three changes a developer has to rewrite.

We therefore advise companies to track one unit: cost per accepted change. A change only counts once it has passed through the development pipeline and been released by a person.

What to count

  • Model cost of all attempts, including rejected or discarded changes.
  • Review time of your own developers. This is often the largest part and appears in no AI vendor dashboard.
  • Rework: the hours needed to turn an almost-right change into a right one.
  • The number of accepted changes in the same period, judged against the agreed quality checks: preview, tests and security check.

Divide total cost by the number of accepted changes and you have a figure management can use. You can set it against the cost of the same change without an agent, and see at once whether a more expensive model pays for itself.

Why it changes behaviour

Steering on tokens makes people save in the wrong places: shorter context, cheaper model, fewer attempts. Steering on accepted changes makes people improve the environment: clearer tickets, smaller changes, better tests, better project rules for the agent. That is where the gain is.

It also shows which work suits agents. Well-scoped tickets in an existing application have a high acceptance rate. Vague wishes without test coverage produce many attempts and little delivered work. That is not the agent failing; it is information about the ticket.

One part of a bigger picture

This is one part of what we tell companies. Building software with agents also touches hosting, the development pipeline, integrations, the access an agent gets to systems, and maintenance after delivery. The starting point is always the same: the agent may propose and prepare a change, the automated checks and your own developers decide, and the agent has no merge or production rights.

Measure before you scale

Want to know whether agents pay off for your team? For a few weeks, include every change, rejected ones too, and note the review time. Then work back to cost per accepted change. You no longer have an assumption but a figure from your own way of working, and a clear view of which tickets to hand to an agent first.

At Laava we put AI to work in companies' daily processes and keep it running. The same sober yardstick applies there: what counts is the result in the work, not the consumption.

Translate this to your operation

Determine where this affects you first for real

The practical question is not whether this news is interesting, but where it directly changes your process, tooling, risk, or commercial approach.

Make your business
work for you.

Get in touch