AgentBaton: handing the task from the capable model to the cheap one, the math of a 66% saving

In a relay, you hand the baton to the right runner at the right moment: whoever starts hard does not have to finish the leg. AgentBaton does exactly this with language models: the capable model opens the task — the decisive, decision-dense part — and then passes the baton to the cheap model for the long middle section, which is mostly routine. Measured on the paper's benchmarks, the trick cuts API costs by 65.9% on average and even improves accuracy in some cases.
The problem: long tasks are the most expensive
An agent does not make a single call. An agentic task — exploring a repository, filling out an application, answering a data request in several steps — unfolds over dozens or hundreds of steps, and every step is a model call with its own token cost. That is where the bill explodes: not in one prompt, but in the multiplication by the steps.
Do the math with a realistic example. A 100-step task, 500 input and output tokens on average per step, is 50,000 tokens per task. The frontier model is not the only one that can do the job — but it is the most expensive one per individual step. Multiply 50,000 tokens by a hundred tasks per month and you get 5 million tokens: a quantity that, at frontier prices, turns quickly into hundreds of euros per month for a single workflow. The point of the paper is exactly this: most of the steps in a long task do not require the model's maximum capability. They are mechanical steps — reading a file, calling a tool with simple arguments, formatting a result — where a smaller, cheaper model does the job just as well.
What the paper measured
The work studies collaboration between two kinds of models inside a single long task, with a precise mechanism: the handoff, the transfer of control from one model to the other. The first finding is the direction.
- From cheap to capable: the cheap model tries, and when it gets stuck it passes the task to the capable model. Result: it performs worse than running the capable model alone, with limited or even no cost reduction. The cheap model wastes steps on the hard parts, and by the time the capable model arrives, the task is already damaged.
- From capable to cheap: the capable model makes the opening — the plan, the hard decisions, the context understanding — and then passes the baton. Result: accuracy is preserved or even improved, and costs drop by 65.9% on average.
On top of that result sits the engineering piece: AgentBaton is a lightweight detector that learns, from recurring patterns in task progress, exactly when to make the hand. You do not need a huge model to decide: a small classifier trained on progress signals is enough. The full numbers, across 11 model pairs and two representative benchmarks:
| Scenario | Accuracy | API cost |
|---|---|---|
| Capable model only (baseline) | baseline | baseline |
| Cheap → capable | below capable-only | limited or no savings |
| Capable → cheap (AgentBaton) | preserved, up to +8.8 percentage points | −65.9% on average |
And the advantage is not only "same result, less money": by varying the reasoning effort of the capable model, AgentBaton shifts the entire accuracy-cost Pareto frontier downward. In other words: for every level of quality you need, there is a cheaper-plus-capable combination that reaches it for less than any single-model run.
The math, with an example
65.9% is an average, but it is the number to build on. Take an agent that today costs you 10 euros per completed task (a realistic order of magnitude for a long agentic workflow on a frontier model; the exact value depends on your provider's pricing, as explained in how much a token costs):
| Scenario | No handoff | With AgentBaton | Savings |
|---|---|---|---|
| 1 task | 10.00 € | 3.41 € | 6.59 € |
| 100 tasks | 1,000 € | 341 € | 659 € |
| 1,000 tasks | 10,000 € | 3,410 € | 6,590 € |
A thousand tasks per month is not a lab use case: it is a document-processing pipeline, a support assistant that answers in several steps, a reporting agent. At that volume, 65.9% is not a detail: it is the difference between a workflow you can afford and one you shut down. And if the context is the Gartner report on agent costs with open-weight models, model collaboration becomes the third way between "all frontier" and "all local".
If you have a local model, the math changes
The paper's definition of "cheap model" explicitly includes small open-weights models that run on your own hardware. That is the detail that makes the result interesting for anyone with a GPU at home: the capable-cheap pattern becomes capable-cloud-local-model. The frontier model (or the big model you already have in memory) does the planning and the high-decision steps; the local model — a quantized 7B or 8B, the one that runs comfortably on your VRAM — executes the routine steps, where its quality is sufficient and its marginal cost is near zero.
The criterion for deciding what to delegate to the cheap model is the same one the detector learns on its own:
- Delegate the mechanical steps: reading and formatting, tool calls with simple arguments, extraction from already-understood texts, intermediate summaries.
- Keep for the capable model: the initial planning, recovery from an unexpected error, the decisions where a wrong choice invalidates the rest of the task.
A delegation mistake is asymmetric: a routine step done by the capable model costs too much; a hard step handed to the cheap model costs you the whole task. That is why the hand happens at the top, not at the bottom: the quality of the opening protects the entire leg that follows.
And before you optimize, measure: cost gateways exist precisely for this, to know what each step of your agent really spends and where the tokens concentrate.
And the limits?
Be clear about what these numbers are not. The 65.9% is an average over 11 model pairs and two benchmarks: on your specific workflow, the savings can be much higher or much lower, and you measure them — you do not inherit them. The handoff is one-time: once you have passed to the cheap model, the paper does not provide for going back — if the "easy" part of the task becomes hard halfway through, you need an extra mechanism (an harness check, a retry with the capable model). The detector is trained on the patterns of a certain type of task: changing the task type or the model pair means retraining it. And the paper's costs are in API dollars: a local model does not cost zero (electricity, hardware amortization), but for long sessions its cost structure is something else than price per token, as you will see in the calculations in the linked posts.
Sources
- AgentBaton: Efficient Model Collaboration in Agentic Tasks — Hugging Face Papers
- AgentBaton: Efficient Model Collaboration in Agentic Tasks — arXiv 2610.35959
In summary
Long agentic tasks are expensive because they multiply the steps, and most of the steps do not need the most expensive model. The AgentBaton paper measures collaboration between a capable model and a cheap one inside the same task: the capable-to-cheap handoff, decided by a small detector, cuts API costs by 65.9% on average while preserving or improving accuracy, up to +8.8 percentage points. The opposite direction does not work. If the cheap model in the formula is a local one, the formula becomes: plan with the big model, run the routine with the one on your own hardware — and measure before you optimize.
Article generated with AI
In these reading paths
Enjoyed this article?
Subscribe to the newsletter for new tutorials and guides.

