Guides

Guide

TokenSpend auto routing: 69% cheaper than always-Fable

Published

We replayed the published Terminal-Bench 4.1 runs through TokenSpend's auto routing. It was 69% cheaper than running Fable 5.2 on every task, with about the same quality: it solved 65.9 of every 100 trials, against Fable's 64.5. Here is what we did, what it shows, and how to find the same kind of saving in your own team's usage.

How much do coding agents cost when every task runs on the top model?

A lot. On Terminal-Bench 4.1, a set of long command-line tasks, one coding-agent trial on Fable 5.2 at effort max cost $46.30 on average at Anthropic's list prices. Teams that leave the strongest model as the default pay that on every task, including the ones a cheaper model finishes just as well.

We wanted to know how much of that a router can take off while keeping results, measured on real agent runs rather than on single prompts.

How did we test it?

How the replay works

  1. Published runs

    Harbor Hub's Claude Code trials of Terminal-Bench 4.1: four models, 62 tasks, up to 5 trials each.

  2. First request

    We take the first request Claude Code sent on each task.

  3. Router picks

    Auto routing chooses Opus, Sonnet or Haiku 5.5. The picks were fixed before the per-task outcomes were downloaded.

  4. Score the pick

    Each task gets the chosen model's recorded trials: whether they passed the hidden tests, and what they cost.

Every policy is scored on the same recorded trials, so only the model choice changes. No model was called for this test.
  • Real runs, no new model calls. Harbor Hub publishes the Claude Code trials on Terminal-Bench 4.1 for Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.2, with per-call token counts for almost every trial. We used 62 tasks, up to 5 scored trials each.
  • The router's real decision. We captured the first request Claude Code sends on each task and let auto routing's instant mode pick a model, as it was shipped on 2026-11-19, choosing among Opus, Sonnet and Haiku 5.5.
  • Scored on the recorded outcome. Each task gets the trials of the model the router picked, priced call by call from the session logs.
  • Rules fixed in advance. We registered the policy and the quality test before downloading the per-task data (having seen about 15 Sonnet 5.5 outcomes the day before, which the registration says), and had the results recomputed independently.

What did it cost?

Auto routing against running Fable 5.2 on every task

About the same quality, under a third of the cost

Cost per trial

Fable 5.2$46.30
Auto routing$14.43

69% cheaper

Trials solved, per 100

Fable 5.264.5
Auto routing65.9

About the same

+1.4, within the noise

Opus 5.5 on every task did the same ($14.25 a trial, 65.8 solved per 100), so the saving comes from not running Fable 5.2 on everything. All five policies are in the table below.

69% cheaper than running Fable 5.2 on every task, with about the same quality: $14.43 a trial against $46.30, solving 65.9 of every 100 trials against Fable's 64.5. A trial is one attempt by the coding agent at one task; it counts as solved when the benchmark's hidden tests pass. Every one of 10,000 bootstrap resamples came out cheaper. On quality against Fable, a loss of up to about 5 points is not ruled out.

Against Opus 5.5, the test we registered in advance passed. It ruled out routing being 5 or more points worse than Opus 5.5 on every task (p 0.003): routing solved 65.9% against 65.8%, at about the same cost.

Auto routing sent 45 tasks to Opus 5.5 and 17 to Sonnet 5.5. Opus 5.5 on every task was also 69% cheaper than always-Fable: the saving comes from not running Fable 5.2, which routing here could not pick. The full results have every row, interval and limit.

What should a team running Claude Code take from this?

  • Check the default model first. On this benchmark the most expensive model cost 3.2 times as much as Opus 5.5 and solved no more. Here, that one setting decided most of the bill.
  • Look at cost per task, not price per token. Sonnet 5.5 costs half as much per token as Opus 5.5 but more per trial here, because at effort max it made more calls and read more cached tokens to finish the same task.
  • Measure it on your own work. A benchmark is one set of tasks. Your team's mix of tasks, effort settings and models decides what you save.

How does TokenSpend help?

TokenSpend shows Claude Code's tokens and estimated cost by model, per person, from an Anthropic Admin key or OpenTelemetry, so you can see what your default model costs before you change it. Send Claude Code through the router with the model set to auto and Routing activity shows which model answered each request, with its cost in Requests. See Coding agents and Router.

What the replay leaves out

It scores the router's first pick only; live, the router can also move a struggling conversation to Opus 5.5. It covers one benchmark and one agent, at effort max, at list prices. The comparison with Fable 5.2 was added after the registered test. Auto on TokenSpend's keys is capped at $25 a month per workspace, so agent work at this scale needs your own Anthropic key. The limits are on the results page.