Agent Efficiency: Getting the Same Work Done on Half the Tokens
Agent efficiency is the amount of tokens an AI agent spends to finish a job. The same job, at the same quality, can finish on very different amounts. The difference usually lies not in the model but in how the agent is set up. ⚙️
This guide explains how a team that has built an agent or an automation brings consumption down, through four items: context, the loop, tool responses and caching. The seventeen articles of the Efficiency File all link back to this guide. The ‘half’ in the title is a target, not a promise; the result depends on the job.
Every article ends with a meter: one number to measure and where to read it. The figures in this article are the providers’ own measurements; results in your own work may differ.
What is agent efficiency, and why measure it?
A chat is one question and one answer. An agent does the same job in dozens of steps, and each step is a bill.

Item one: why is context the largest spend?
The model reads the whole context at every step. As the context grows, every step gets more expensive.
Clearing old tool responses
The easiest gain is to take tool responses whose job is done out of the context. If the agent has read a file and taken the information it needed, the whole file does not have to sit in the context. Describing the context editing feature it announced in September 2025, Anthropic reported that in a 100-turn web search evaluation the method reduced token consumption by 84 percent and let workflows complete that would otherwise have failed because the context ran out. That is the provider’s own measurement; in your work the proportion will differ. The direction is clear all the same: a response that has been used is a load being carried. Having the agent write important interim results to a note before clearing prevents loss of information.
Tool definitions take up room too
Every tool connected to an agent is written into the context with its name, description and parameters, even if the agent never uses it. In a setup with several servers and dozens of tools, those definitions alone can take tens of thousands of tokens. In an agent like that, a significant part of the context may be full before the work starts. A tool that is not used is rent paid at every step. The first step is to count the tools the agent really uses and remove the rest; that is a change of settings, not a software project. 🧰
Item two: where does the loop spin for nothing?
BU BÖLÜMÜN ÖZETİ
- The stop condition
- Wasted work
- An automation that triggers itself
An agent does not know by itself when to stop. You tell it where it has to stop.

The stop condition
A stop condition is the rule that decides when the agent leaves the loop. Three kinds are used together: a step limit, a budget limit and a success criterion. Anthropic’s guide to building agents notes that it is common to include stopping conditions, such as a maximum number of iterations, to keep control. An agent with no condition repeats the same attempt on a job it cannot solve, and each repeat costs more than the last, because the context has grown. The limit protects the bill, not the agent. The three ways are set out in what a stop condition is. 🛑
Wasted work
Not every run ends in a job done. Some stop halfway, some repeat the same step, and some produce output nobody uses. Their share of total consumption is the wasted work ratio. Most teams never measure it, because the bill does not separate a successful run from a failed one. The number that comes out of the first measurement usually surprises. A wasted token is sold at the same price as a token from a successful job. The way to bring the ratio down is usually not a better model but an agent that stops sooner: giving up on the third attempt when there is no progress is cheaper than giving up on the tenth. To measure it, sort runs into three columns: finished the job, stopped halfway, output not used.
An automation that triggers itself
On automation platforms a loop is born another way too: the output of a flow triggers the same flow, or another one, again. A record is updated, the update fires the trigger, and the flow updates the record again. This is not an agent error but a setup error, and it can run all night without being noticed. Unbounded consumption is named as a risk of its own on security lists as well. Every trigger should have a ceiling: at most how many runs an hour? If that number is not written down, there is no ceiling. Setting it takes a minute; the price of not setting it is a night’s consumption. 🔁
Items three and four: tool responses and caching
BU BÖLÜMÜN ÖZETİ
- Shortening tool responses
- Caching
- Model tier
One brings down the amount that enters the context; the other brings down the cost of reading the same text again.
Shortening tool responses
A tool can return more than the agent needs: a hundred records with every field, a whole page, a long error dump. Four methods help: pagination, range selection, filtering and truncation with a sensible default limit. Some agent tools also put a default ceiling on tool responses. Returning what the agent needs for its next decision is enough. Shortening is usually a small adjustment made in the tool, and its effect is seen again at every step. Opening one tool response and looking at what the agent used from it shows at once how much can be cut. The methods are listed in how to shorten tool responses. ✂️
Caching
The fixed part the agent reads again at every step, the instruction and the tool definitions, can be cached. According to the Claude documentation, input read from the cache is charged at a tenth of the normal input price, while the first write to the cache costs a little more. The cache recognises the part that stays the same from the start of the text; that is why order matters: what does not change goes first, what changes goes last. If the order is broken the cache does not work, and nothing but the bill tells you so. Whether it is working can be read from the usage fields the provider returns; if both are zero, the cache is not in play. The reasons are set out in why prompt caching fails. 🗄️
Model tier
Not every step needs the largest model. Classifying a text, extracting a field or summarising a result can be done with a smaller model. Many of the calls in agent systems are repetitive and narrow in scope; for calls of that kind a small model may be enough and more economical. That is an assumption, and it is tested separately for each job. Do not move down without testing: run the same twenty jobs on two models and read the results side by side. If quality does not fall, that step belongs to the small model. 🪜
Measurement and decision: where do you start?
There is no need to fix all four items at once. First the measurement, then the largest item.

Reading the run log
The step-by-step record showing how the agent did a job is the only true source for efficiency: how many steps did it take, how many tokens did it read at each step, which tool did it call how many times, where did it stop? Reading a single record from start to finish teaches more than a chart of a month’s total consumption. Often the problem shows on the first read: the same search made three times, a file read and never used, five more steps taken after the answer was found. Whoever does not open the log cannot know what to fix. Reading one log a week takes less than ten minutes once it is a habit. The order of reading is given in how to read an agent run log. 🔎
Meter: this guide’s meter
Every article ends with a meter. This guide’s meter is a single number: tokens per completed job. Where to read it: take the total tokens for the past seven days from your provider’s usage console; count from your own system the number of jobs the agent completed in the same seven days; divide one by the other. Write the number in a table and repeat on the same day each week. If the number is rising, something is bloating; the run log tells you which. Forecast: within two years agent frameworks will show tokens per job as a separate indicator by themselves. Update log. 3 December 2026: first publication. Forecasts on this page are re-read when they fall due; one that proves wrong is corrected here, not deleted.
How does Adapte Digital review agent efficiency?
BU BÖLÜMÜN ÖZETİ
- A single delivery package
- What is reviewed
- Where to start
The Efficiency File is the consumption part of the audit: how many tokens a job takes is measured, and the largest item is found.
A single delivery package
Adapte Digital does not charge a monthly management fee. Work starts with a single delivery package whose scope is written down in advance: 36,000 TRY + VAT. If the work grows, the new need is defined as a separate add-on package, priced by what will be delivered rather than by the hours spent. 📦
What is reviewed
Agents’ run logs, the make-up of the context, stop conditions, the length of tool responses and the use of caching are examined; a tokens-per-job table is left behind.
Where to start
Our current packages and capacity are listed on our campaign pages; scope and price are written there before any work starts. 🧭
Quick Summary
- Agent efficiency is the tokens spent per completed job.
- The largest item is usually the context read again at every step.
- An agent with no stop condition spins, at rising cost, on a job it cannot solve.
- Shortening tool responses and ordering the cache correctly bring consumption down.
- First one run log is read; then one thing is changed and measured again.
Short Glossary
- Agent
- An agent is a system in which a language model carries out a job by using tools in a loop by its own decision.
- Context
- Context is all the text a model reads at one step: the instruction, the tool definitions and the history.
- Tokens per job
- Tokens per job is the average amount of tokens spent on a single completed job.
Frequently Asked Questions
Next Step
Take the total tokens for the past seven days from your provider console and divide by the number of jobs the agent completed on those days. The number you get is the measure for every decision from here on.
Sources: Anthropic — How we built our multi-agent research system · Anthropic — Managing context on the Claude Developer Platform (29 September 2025) · Claude Docs — Prompt caching · Anthropic — Building effective agents
Updated: November 2026
Sık Sorulan Sorular
An agent is a language model using tools in a loop by its own decision. At every step the model reads again everything up to that point: the instruction, the tool definitions, the earlier steps, the responses that came back from tools. As the number of steps grows, so does the text being read. In the article describing its own research system, Anthropic wrote that in its data agents typically use about four times more tokens than chat interactions, and multi-agent systems about fifteen times more. The cost comes less from the work done than from the text read again. The same article notes that these architectures are economical only when the value of the task is high enough to pay for that spend. 📈
The measure is tokens per completed job: how many tokens did it take to close a support ticket, prepare a report, process a record? Total monthly consumption does not answer that, because the number of jobs changes too. Tokens per job is the only fair way to compare two months, two agents or two setups. A number with no denominator cannot be compared. The second measure is how much of that spend did any good: runs that stop halfway, repeat themselves or produce output nobody uses are counted separately. That second number is described in what wasted work ratio is. No special tool is needed to measure either; the provider’s usage console and your own count of jobs are enough.
A large company has a team that looks after this. In a small team the person who built the agent also looks after ten other things, and as long as the agent runs nobody looks inside. The bill arrives at the end of the month; which job cost what is never seen. In that arrangement one of two things happens: either consumption grows without anyone noticing, or one day the bill catches someone’s eye and the agent is shut down without anyone checking what was working. An agent that is not measured either gets quietly more expensive or is closed one day for no stated reason. Measuring prevents both. 🧭
Context fills with three things: tool definitions, conversation history and the responses that come back from tools. The last grows fastest: a search result, a whole file, a long table. The agent uses that response once; but it stays in the context and is read again at every later step. Context is a limited resource with diminishing returns: past a certain point each piece of text added only makes the bill larger instead of improving the result. The aim is the smallest and most valuable set of text that makes the wanted result likely. Too much context is not only expensive; it scatters the model’s attention as well. The detail is in what context bloat is. 🎈
Sometimes the largest saving is not to use an agent at all. Anthropic’s guide to building agents recommends trying the simplest solution first and adding complexity only when it is needed; it also notes that agentic systems often trade latency and cost for better task performance. A job whose steps are known in advance, the same things in the same order every time, can be done with a fixed workflow: the model is called only at the step that needs it. Having an agent decide in a job whose decision is known in advance is a needless expense. An agent is for jobs whose steps cannot be known in advance. In most teams the two sit side by side, as agent or fixed workflow explains.
This article promises no proportion. The gain depends on how bloated the agent is today; measure first.
Sometimes it helps; but a bloated context is bloated on a small model too. Fix the items first, then test the tier.
You can do the measurement and count the tools. For tool responses and cache settings, work with the person who built the agent.
