Skip to content
back to the episode
Episode summary2026Fellow

What does it cost to finish a task with AI?

Before a trip, my children and I came up with several games. Then we wanted to play them offline on the plane. I used to spend much longer working out how to phrase even the first request. This time we could keep asking the model for one more thing. I checked the token bill afterwards. Engineering teams face much the same question when the monthly invoice arrives.

3 AImigo · S1E1415 min read

This summary condenses the conversation. Team examples and spending estimates reflect the speakers’ experience.

The main thread of the material
01

Why the bill goes up

Evgeny Sergeev breaks the bill into four factors. What does a token cost? How many tokens does an attempt consume? How many attempts does it take to get a task accepted? How many such tasks does the team take on in a month? A model can get cheaper while spending longer reasoning through each request. In my family’s case, getting one game working quickly made us want several more, plus an offline version.

Aleksey Litvinov points to another source of apparent growth. When a company starts buying subscriptions centrally, its books begin to show work employees previously paid for themselves. In other teams a change of model really does cause a spike. In one investigation, Aleksey traced the jump to an engineer who had begun using an expensive new model for every task. Those explanations call for quite different budget decisions.

The four factors explain the token bill. Aleksey points out that engineers are also paid for the time they spend experimenting, adapting tools after a model update and maintaining the internal platform. A provider discount can bring the cost of a call down while leaving those hours untouched. An annual budget needs an estimate for getting the platform ready as well as one for each subsequent task.

02

What an experiment buys

Aleksey gives engineers room to try tools at the outset. A tight cap on day one limits the range of tasks they can learn from. Later the question changes. A finance director has to decide how much of the engineering budget should go to models and what that money buys.

Pull requests are easy to count, but some never get merged. Even getting a change to users faster tells you little about its effect on the product. We follow the measures from adoption through delivery time to business outcomes. If a team never measured delivery time before, taking AI away for two weeks makes for a poor reconstruction of the past. Engineers have learned new ways of working and can go back to their personal subscriptions.

I show how I used the DX measurement framework. First find out who uses their subscription and which work they hand to an agent. Then look at delivery time, throughput and release quality. For a conversation with the business, one question remains: where did the freed-up hours go? If the team clears regressions faster while the changes users need stay in the backlog, a higher count of completed tasks tells only part of the story.

I would bring the product team into the discussion before anyone writes production code. Suppose the analytics show that a particular group of users arrives and soon leaves. The team can build several prototypes using its existing design system and test which one addresses those users’ problem. Only the chosen idea enters the delivery process. The bill will include those experiments even if most of the prototypes never ship.

03

How to compare changes of different sizes

One pull request updates a dependency. Another migrates part of a service. Counting them as equal units of work makes a change in the mix look like a change in productivity or cost. We discuss incident.io’s use of effort points to estimate the size of a shipped change. The points give the team a common scale for comparison. They remain an estimate, and the engineer’s time spent specifying and checking the work still counts.

One detail in the incident.io account caught our attention. After engineers switched to Opus 5.5, monthly AI spend per engineer fell to roughly a third of its previous level. A change of model was part of the savings story. Two invoices alone cannot tell you how much came from new prices and how much from shorter agent runs. Recording task type and size makes it possible to check what got cheaper within a comparable category.

04

How much review a change warrants

As spend at Flo began growing faster, Evgeny and his colleagues looked at different kinds of changes. One review tool they tried cost about $30 per pull request. For a minor Dependabot update covered by reliable CI, the team allows an automatic merge with a brief additional check. That decision depends on which failures the service’s tests already catch.

The same question applies to model choice and reasoning effort. During an audit Aleksey asks engineers to show him their screens. Sometimes the most expensive configuration is running on routine work and producing an unnecessarily complex solution. A fair comparison asks whether a cheaper setup can get a similar task accepted and how many retries it takes.

Faster delivery changes what users experience. If releases double and the failure rate stays flat, the number of failures roughly doubles too. Users experience individual incidents, so we suggest tracking the count alongside delivery speed.

05

The Harbor benchmarks: what does one solution cost?

About forty minutes in, I bring up a chart from our review of Harbor Adapters and Harbor-Index. The authors brought more than 80 benchmarks into a common format. For the large evaluation they used 54 of them, running eight models, including GPT, Claude and Gemini models, in different harnesses. The harness determines which tools an agent can use and how it moves to the next step. The researchers had to validate the adapters themselves: a ported task should still test what the original benchmark tested. Compute for the large evaluation cost around $300,000.

The chart groups tasks by how well the configurations actually performed on them. A run with a top-tier model cost more. Now look at the hardest group: the other models scored about 1%, the top tier about 4%. That is a gain of only three percentage points, yet roughly four times the yield for the same number of attempts. Even the stronger group came up empty most of the time.

I suggest changing the denominator. For work with a clear pass condition, add up the cost of every attempt, including failures, and divide by the number of accepted solutions. Suppose one configuration solves one task in a hundred attempts and another solves four. The second can spend nearly four times as much overall and still cost less per solution. That is an illustration using the rounded figures on the chart. A team needs its own spending data and its own acceptance test. Earning a benchmark score is some distance from getting a change reviewed and into users’ hands.

06

Who decides which model gets the task?

Evgeny offers a thought experiment. A strong model could plan the work and several cheaper ones could implement it in parallel. But if Haiku needs ten to fifteen attempts where Opus finishes in one turn, the cheaper call may produce much the same bill. Using Opus at maximum reasoning effort for every small edit can also be slow and expensive. Model choice and reasoning effort have to be evaluated together for a particular class of work.

Aleksey and I differ on how readily that pays off. In his experience, a company with more than a hundred engineers may save enough to fund a team to build a router. I find the case easier to make for a team that knows its own services. A few kinds of Dependabot updates can be routed by an explicit rule. At a company that runs a platform, a retail product and regulated payments, even the word “difficult” means different things across teams. Collect past runs, select representative tasks and try them with both the old and proposed settings. Then the team can see what the router saved and which tasks stopped passing after the switch.

07

How a model router increased spending

Aleksey recalls a team that tried to economise by picking a model for each prompt. Its router might send the next turn in the same conversation to a different model. The team had to pay for the accumulated context again and its bill went up. Aleksey suggested choosing the model at the start of a task. Subsequent turns on that task could then benefit from the cached context.

Aleksey also asks engineers to spend five to ten minutes dictating a brief before starting a difficult task. The exercise gives them time to recall constraints and collect the context the agent will need. When CI keeps catching the same failure, the team can move that check into the agent’s local environment. The next attempt can then be corrected before a change goes out for review.

Evgeny describes how Flo fed review findings back into development. After a session the team could match an agent’s actions to its pull request and the reviewer’s comments. A recurring comment could become a lint rule, an agent instruction or a CI check. The team tried a rule locally before rolling it out more widely.

I add one more signal to look for in a retrospective. An agent that gets stuck can keep going long after a successful one would have finished. The most expensive session may never produce a merged pull request at all. Trace when the attempts began repeating and where it would have made sense to stop. Turning that finding into a shared check can spare the next team the same expense.

08

What Flo learned from requests for a higher limit

Evgeny describes an iOS engineer whose bill stood out. The engineer was preparing a monorepo for agents, giving them a way to launch an emulator locally and step through application screens. That removed some manual testing for the whole team. An individual spending report would miss the time other people saved.

After the initial experiments, Flo set a monthly allowance of $1,000 per person. Someone who reaches it can explain the task to a manager and request more. Those requests showed the platform team where shared tools could help and which roles consistently needed more capacity. For some roles, Flo raised the default to $2,000. The allowance is what someone may spend without further approval. Actual usage varies widely.

Evgeny gives a sense of actual spending at Flo: around $40 per engineer per month at the median and around $4,000 at the 99th percentile. Under its enterprise agreement, assigning someone a seat does not in itself incur that amount. Aleksey answers a different question: how much to budget in advance. For an engineer working in one agent session on a subscription, his starting estimate is $200–500 a month. He thinks several parallel sessions could bring that into the thousands. To compare those figures, first establish whether they describe subscriptions, metered API use, actual spend or an allowance.

09

When it makes sense to run inference in-house

An API lets a company buy compute as needed. Buying accelerators means paying for capacity up front and taking responsibility for running it. If all developers share a time zone, they can be waiting for responses during the day while the hardware sits idle at night. We discuss scheduling background agent work overnight and serving teams in different time zones from the same installation.

In the Revolut example, some engineers started scheduling agent work outside office hours because the agents ran faster off peak. That is one way to make use of hardware already purchased. A company still choosing between an API and its own cluster faces a further question: who can keep the service running in production? Both accelerator utilisation and the team needed to operate the service affect the economics.

10

What to bring to a budget review

At the end of the episode I put two figures side by side for the year from Q3 2025 to Q3 2026. I quote token spending of roughly $10 million at the start and $425 million at the end. Alongside it I show DX’s TrueThroughput: median weekly pull requests per developer, weighted for complexity, rose about 75%. One figure measures total spend, the other the output of a typical developer. Dividing one growth rate by the other cannot tell us the return. That requires the full cost of engineering and the value of the changes that reached users.

I would start a budget discussion with a specific kind of work. If migrating an old system matters to the company, show what it now costs to carry out and verify a migration. A new product has a different starting point. In an existing system, engineers first have to assemble the context and prepare the environment. Agree with the business on what outcome would justify the investment before approving the amount.

Takeaways

What to take away

  1. 01Break the bill into token price, tokens per attempt, attempts per accepted task and tasks per period. Each factor can move independently.
  2. 02Within one task class, divide the cost of all runs, including failures, by the number of accepted solutions. That lets you compare an expensive model that succeeds more often with a cheaper one that needs retries.
  3. 03Include the cost of reprocessing context when comparing models. Switching models in the middle of a task can undo the savings on an individual request.
  4. 04A request for a higher allowance can reveal engineering work that saves a whole team time. Look at who benefits as well as who incurred the cost.

Sources