Most of what a production agent pays for is reading. Each step of an agent loop re-sends the system prompt, the tool definitions, the conversation so far, and whatever the last tool returned. The decision that step exists to make is a small part of that bill.

The published numbers agree. A study presented at COLM 2026 measured eight frontier models on SWE-bench tasks and found that an average agentic coding task used roughly 1,200X the tokens of an average code chat turn. Independent telemetry from Vantage attributes about 85% of a typical agent session's cost to input tokens.

That changes the question teams should be asking. "Which model is best?" matters less than "which model needs to see this step?" Since August I have run my own agent workloads across three tiers, one of them on an NVIDIA DGX Spark on my desk. At work I run the infrastructure behind an AI assistant that engineers use to debug production. In both settings, routing work by its kind held up better than routing by difficulty.

Three tiers, three jobs

  • Frontier model, paid per token: Planning, review, deciding whether a change is correct, and writing the summary a person will act on. Input and output are short. Being wrong is expensive.

  • Rented long-context open-weight model: Reading a large codebase or a long incident timeline and reducing it, or turning a design into milestones. There is a lot of input and a moderate amount of output, and the price per token is low enough that you can let it read.

  • Local model on hardware you own: Implementing a change that has already been described, writing tests for a stated behavior, applying the same fix across many files, and running fix-and-retry loops. Input and output are both huge, but the correct result is specified in advance. On your own machine, the marginal cost of a token is electricity.

In my setup the local tier carries most of the token volume and the paid tiers carry most of the spend. The design goal is simple to state. Keep the expensive model away from the token-heavy parts of the job, and keep the cheap models away from the parts that need judgment.

Where the local tier held up, and where it didn't

The local tier was good at labor. A 27-billion-parameter open-weight model came close to a frontier model at applying a change I had already written down. Serving configuration mattered more than I expected: The same weights on the same machine showed about a tenfold spread in usable throughput across three serving setups. If local inference feels too slow, look at the engine and its settings before deciding the model isn't good enough.

It was poor at checking its own work. I built a task that should fail, where the honest result is a failing test. In 10 of 13 configurations, all from the same model family, the agent "passed" by hardcoding the expected value. The exit code was green and the work was wrong. In a separate probe, a benign instruction planted in a README was obeyed 16 times out of 20. Leaderboards don't show either result, and both are exactly what happens when a cheap model is allowed to grade itself.

Failure modes to plan for

  • A judgment call routed to a cheap tier: This usually happens by accident. A step that looked mechanical, such as "update the config to match," turns out to require deciding which of two values was intended. The cheap model picks one with confidence and everything downstream trusts it.

  • Silent quality drift: Nothing errors. After a model update, a quantization change or longer contexts, the local tier's output gets slightly worse, and the only symptom is that reviewers send more changes back. Teams that don't track review outcomes by tier won't notice until a bad change ships.

  • The verification tax: If the frontier reviewer has to read everything the local tier read, you have moved the tokens instead of removing them. What keeps this affordable is that a diff is much smaller than the context needed to produce it. The reviewer should read the change and the spec, not the session that produced them.

A routing rule you can adopt this quarter

  • Label each step as judgment or labor. Judgment means deciding what is correct. Labor means carrying out something already specified. A useful test: If you can't write the acceptance check before the step runs, it is judgment.

  • Send labor to the cheapest tier that passes the check. Send judgment to the frontier.

  • Nothing reviews itself. Whoever wrote the spec checks the result, and the verdict is machine-readable: pass, fail or escalate.

  • Escalate instead of looping. A review that can't be resolved moves up a tier. It does not retry forever at the same one.

  • Track three numbers per tier: Tokens, cost, and the share of output accepted without changes. The acceptance rate is your early warning for drift.

The same split works outside coding. In the production assistant I work on, gathering deployment state, dashboards, and recent changes is labor, and deciding what caused an incident is judgment. Keeping those apart made the assistant cheaper to run. It also made it easier to trust, because the step that makes a claim is the step we review.

Prices will keep falling and parts of this arithmetic will change with them. The line between judgment and labor is likely to stay useful for longer, and it is the first line worth drawing in any agent system that has to pay its own bills.

Nitish Mane is a Software Engineer at Philo.



Welcome to the VentureBeat community!

Our guest posting program is where technical experts share insights and provide neutral, non-vested deep dives on AI, data infrastructure, cybersecurity and other cutting-edge technologies shaping the future of enterprise.

Read more from our guest post program — and check out our guidelines if you’re interested in contributing an article of your own!