Frontier Frugality

The best model costs 10x the cheap one, and agentic workflows re-bill your entire context every turn. How to spend frontier tokens only where the intelligence actually lives.

All prices are nominal USD list prices per million tokens from Anthropic's pricing documentation, retrieved September 2026. Savings percentages from papers and vendor write-ups depend on workload mix: treat them as commonly cited ranges, not guarantees.

Executive Summary

An agentic coding session re-sends its whole history on every turn, so its input bill grows with the square of its length. In the calculator below, at its defaults (Claude Fable 5.1, 40 turns), the same session costs about $30 done naively and about $2.30 with the levers in this post: 13x cheaper.

1
Context is a recurring cost. Every token is re-billed on every later turn; each lever below shrinks, discounts, or re-meters that.
2
Caching is the biggest dollar lever, and fragile. Reads cost 0.1x, down to 0.025x on Fable 5.1, but a miss there now costs 40x a hit.
3
Never let the frontier model read in bulk. Delegate reading to cheap subagents, route cheap-first, and verify independently.
4
Multipliers stack. Batch plus cache reads reaches 5% of list price, 1.25% on Fable 5.1; re-tune routing as the ladder moves.
5
Distill judgment. Write rules that cheaper models execute mechanically; they survive losing frontier access.

The Price of Thinking at the Frontier

Every model family ships as a ladder of tiers, and the rungs are far apart. Here is Anthropic’s ladder as of September 2026:

Model Input / MTok Output / MTok Cache read / MTok vs. Haiku (output)
Claude Fable 5.1 $10.00 $50.00 $0.25 10x
Claude Opus 5.5 $4.00 $20.00 $0.20 4x
Claude Sonnet 5.5 $2.00 $10.00 $0.20 2x
Claude Haiku 4.5 $1.00 $5.00 $0.10 1x

Anthropic list prices, September 2026. Cache reads are no longer a flat 10% of input: 2.5% on Fable 5.1, 5% on Opus 5.5, and 10% on Sonnet 5.5 and Haiku 4.5. Sonnet 5's launch price of $2/$10, originally introductory, is now the standard rate; the scheduled rise to $3/$15 on September 1 was cancelled. Darker cells cost more; the cache-read column uses the same scale as the input column.

Think of the frontier model as a senior consultant billing $800 an hour and the cheap tiers as capable staff billing $80. Nobody asks the consultant to photocopy documents, yet most agentic setups have the most expensive model read every file and log. The goal is not to use the frontier model less; it is to spend every frontier token on a decision only it can make.

Per-token prices also understate the gap: Claude 4.7 and later models (Fable 5.1, Opus 5.5, Sonnet 5.5) use a newer tokenizer that produces roughly 30% more tokens for the same text than Haiku 4.5’s, so 10x per token is closer to 13x per page of text.

Where the Money Actually Goes

The API is stateless: every turn re-sends the full conversation history as input. An agentic session is a loop (read a file, run a test, read the output, edit) and each iteration appends to the context. For $T$ turns, a base context $C_0$ (system prompt, instructions, tool definitions), and $\Delta$ new tokens per turn:

$$ \text{Input tokens billed} = \sum_{t=1}^{T} \big( C_0 + (t-1)\Delta \big) = T C_0 + \Delta \frac{T(T-1)}{2} $$

The second term grows with the square of session length. A 5,700-token file read on turn 10 of a 60-turn session is paid for 50 more times. At Fable 5.1’s $10/MTok, 60 turns at 3,000 tokens per turn bills about 6.2 million input tokens, roughly $62 of input alone, for what feels like one coding task. Extended thinking adds to this: it is billed as output ($50/MTok on Fable 5.1), and practitioners budget 2-5x the visible output for thinking-heavy turns (an unverified rule of thumb).

Input tokens billed on each turn of a 60-turn session
Base context (system prompt, tools) Accumulated history, re-sent every turn
Turn 1Turn 60
The core mechanic: context is a recurring cost, not a one-time cost. The levers below either shrink what gets re-billed (delegation), discount the re-billing (caching), or move it to a cheaper meter (routing).

Lever 1: Caching, the Discount You Must Not Fumble

Mechanism Prompt caching reads a repeated prefix back at a fraction of the input price: 0.1x on Sonnet 5.5 and Haiku 4.5, 0.05x on Opus 5.5, 0.025x on Fable 5.1. Writes cost 1.25x (2x for the 1-hour TTL). A 5-minute write pays for itself after one hit, so in a tight loop nearly all of the quadratic term gets the discount. On Fable 5.1 the $62 session drops to about $3.9 (about $8 under the old flat 0.1x).

Re-sending one million tokens of history: full price versus a cache hit
Fable 5.1
Full price $10.00
Cache hit $0.25 40x cheaper
Opus 5.5
Full price $4.00
Cache hit $0.20 20x cheaper
Sonnet 5.5
Full price $2.00
Cache hit $0.20 10x cheaper
Haiku 4.5
Full price $1.00
Cache hit $0.10 10x cheaper
Each row is scaled to its own model's full price, so the blue bar is the size of the discount.

The deeper discount has two consequences. The frontier premium shrinks once caching works: the same cached session on Sonnet 5.5 has an input bill of about $1.7, so Fable 5.1 costs about 2.3x that, not the 5x list ratio. And a broken cache hurts more: a full miss on Fable 5.1 costs 40x a hit (10x before).

Three rules keep the discount alive:

  1. The cache is a prefix match. One changed byte early (a timestamp in the system prompt, a reordered tool definition) invalidates everything after it. Stable content first, volatile last.
  2. The default TTL is 5 minutes. Pause longer and the next request re-writes the cache. Human-in-the-loop workflows may justify the 1-hour TTL at 2x write cost, which breaks even after two hits.
  3. Defaults move. In March 2026 Anthropic changed the default TTL from 1 hour to 5 minutes, and community trackers attributed 20-60% cost increases to it (Anthropic disputed the attribution). Monitor caching defaults like a dependency.

Caching discounts the waste; it does not remove it. Models also reason worse when the window fills with stale tool output, so a bloated context is a quality problem even when it is a cheap one.

Lever 2: Don’t Let the Expensive Model Read

Architecture The quadratic term exists because bulk material enters the frontier model’s context. Keep it out: the frontier model orchestrates; cheap models read. It dispatches a subagent on a cheap model, in its own isolated context, to do the reading and return only conclusions. Anthropic’s multi-agent research system has this shape; in one circulating example, a subagent read 6,100 tokens and returned a 420-token summary. The 5,700-token difference was never re-billed and never diluted the orchestrator’s attention.

One delegated file read
Subagent reads
6,100 tokens
Orchestrator receives
420 tokens 93% stays out

The arithmetic is lopsided twice: the bulk is paid once instead of on every remaining turn, and at the worker’s meter (Haiku’s $1/MTok, on a tokenizer that yields about 30% fewer tokens for the same file). Practitioners claim 5-10x savings for Haiku-class subagents (vendor figures, not audited).

Triage is the hard part. If you could hand the task to a junior developer with a clear spec, a cheap subagent can do it; if it needs judgment or taste, it stays with the orchestrator. Every dispatch needs a goal, acceptance criteria, and a report format (“conclusions and file:line only”), because a sloppy spec produces work the expensive model then repairs at expensive rates.

The 2,000-token test. Before any step, ask: will this pull more than ~2,000 tokens of raw material into the expensive context when I only need a summary? If yes, delegate it. The threshold is arbitrary; the habit is not.

Lever 3: Route by Difficulty, Verify Independently

Architecture Delegation splits work within a task; routing splits it across tasks, because most queries never needed the frontier model. FrugalGPT (Stanford, 2023) cascaded models, cheapest first, escalating on a failed score, and matched GPT-4 accuracy at up to 98% lower cost on its benchmarks; production routers commonly cite 40-70% savings at under 2% quality loss (vendor figures). By hand, the discipline is:

  1. Default down. Start at the cheapest tier that has handled this kind of subtask well.
  2. Escalate on evidence. One Haiku-class failure goes to Sonnet-class; two Sonnet-class failures on the same subtask go to the frontier model with the full failure trail. Escalate judgment failures, not missing facts: a module-not-found error needs someone to read it, not a smarter model.
  3. De-escalate after the breakthrough. Once the frontier model cracks the hard instance, batch-apply the pattern with a cheap model.

Also take the tier upgrade. Sonnet 5 launched in June 2026 scoring 63.2% on Anthropic’s agentic-coding benchmark against Opus 4.8’s 69.2% at less than half the price (Anthropic’s numbers). Its $2/$10 price has since become permanent and Opus 5.5 arrived at $4/$20, so a routing policy tuned six months ago probably over-escalates today.

Verify independently. Checking work is cheaper than producing it, which suggests plan-execute-review: the frontier model writes a short plan with acceptance criteria, a cheap model executes it (where most tokens burn), and a reviewer checks the diff and test log. Self-verification does not come free, though: use a fresh context, ideally a model at least as strong as the producer, given the criteria and artifacts but not the producer’s reasoning, which would anchor it.

Smaller Knobs That Stack

Configuration Pricing multipliers are multiplicative, so these compound with everything above:

Cost as % of list input price Cache read Batch Batch + cache read
Fable 5.1 2.5% 50% 1.25%
Opus 5.5 5% 50% 2.5%
Sonnet 5.5 / Haiku 4.5 10% 50% 5%

Multipliers stack: the last column is the cache-read share times the 50% batch discount. Darker cells cost more.

Interactive: The Agentic Session Bill

The calculator prices one agentic session ($T$ turns, each appending $\Delta$ tokens to a 15,000-token base context, 400 output tokens per turn) in four configurations, using September 2026 list prices and each tier’s own cache-read rate. Delegated reading is done by Haiku 4.5 subagents returning 10%-length summaries, with a 2x allowance for their own loops. At 60 turns and 3,000 tokens per turn on Fable 5.1 the naive figure reads about $63: the $62 of input plus output.

Agentic session cost calculator

Input bill per turn = full history re-sent (cache reads at the model's own rate where enabled: 0.025x on Fable 5.1, 0.05x on Opus 5.5, 0.1x on Sonnet 5.5). Delegation keeps (share)% of each turn's bulk material out of the orchestrator's context, replacing it with a 10% summary; subagent reading and output are billed at Haiku 4.5 rates with a 2x overhead factor.

Naive session cost
—
With both levers
—
20 sessions / month
—
Same session, four configurations
Naive
—
+ Caching
—
+ Delegation
—
+ Both
—

Caching plus delegation makes this session — cheaper than the naive configuration.

Three things to try. Drag session length upward: the naive bar pulls away faster than linearly, the quadratic term made visible. Compare caching alone with delegation alone on Fable 5.1: caching cuts $30 to $3.2, delegation alone only to $18, so caching is the bigger dollar lever. Delegation still trims another ~28% on top of a healthy cache (to $2.30), and its bar is roughly what you pay when the cache is not working. And naive at Fable prices versus both levers at Sonnet prices differs by more than 30x for the identical workload.

Into the Weeds: Distill the Playbook Before the Access Ends

Every lever so far assumes you still have frontier access. The most durable one assumes you are about to lose it, to a plan change, a rate limit, or a provider pulling the top tier from subagent use. The research name is Concept Distillation: collect the mistakes a weak model makes on your tasks, have the strong model induce general rules from them, validate the rules on held-out cases, and fold the survivors into the weak model’s standing instructions. No fine-tuning: judgment exported as text, carried to every cheaper or newer model.

I can report a first-person version. On the last day of my own Fable 5 access in July, I pointed the session at itself: audit how this machine’s sessions fail, and write the rules that prevent it. The result is a few plain-text files that cheaper models now execute mechanically, and its table of contents is essentially this post:

Whether this transfers fully is open: the research shows rules recovering a meaningful slice of the gap on tasks similar to those that generated them, not Haiku becoming Fable. The asymmetry is the point. The rules cost one session at frontier prices and run for free forever after, on every future model. The cheapest frontier token is the one you spent writing instructions for the model that replaced it.

Make corrections compound. Call the frontier model right after any model gets something wrong that you had to correct: "here is the mistake and the correction; write the general rule, with a trigger and a counterexample." A one-time fix becomes a standing instruction.

References

  1. Anthropic. "Pricing." Per-MTok rates, caching multipliers (1.25x / 2x write; read 0.1x, 0.05x on Opus 5.5, 0.025x on Fable 5.1), Batch API discount, Sonnet 5 standard-price note, tokenizer note. platform.claude.com. Retrieved September 2026.
  2. Chen, L., Zaharia, M., Zou, J. "FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance." arXiv:2305.05176, 2023. arxiv.org.
  3. Anthropic Engineering. "How we built our multi-agent research system." Lead-agent / parallel-subagent architecture with isolated context windows. anthropic.com. Retrieved July 2026.
  4. Claude Code Documentation. "Create custom subagents." Per-subagent model selection and tool permissions. code.claude.com. Retrieved July 2026.
  5. "Trust but Verify! A Survey on Verification Design for Test-time Scaling." Complexity asymmetry between verification and generation. arXiv:2508.16665. arxiv.org.
  6. "Learning to Self-Verify Makes Language Models Better Reasoners." Generation ability does not transfer to self-verification for free. arXiv:2602.07594. arxiv.org.
  7. "Concept Distillation from Strong to Weak Models via Hypotheses-to-Theories Prompting." Prompt-level rule distillation from teacher to student models. arXiv:2408.09365. arxiv.org.
  8. Anthropic. "Introducing Claude Sonnet 5." June 2026 launch positioning and agentic-coding benchmark figures. anthropic.com; TechCrunch coverage: techcrunch.com.
  9. DEV Community. "Claude Prompt Caching in 2026: The 5-Minute TTL Change That's Costing You Money." dev.to; Anthropic's disputed attribution via The Register: theregister.com. Retrieved July 2026.
  10. MindStudio. "Smart Orchestrator + Cheaper Sub-Agent Models in Claude Code" and "Sub-Agents in Claude Code to Manage Context." Practitioner cost multiples and the 6,100-to-420-token delegation example (vendor blog; figures illustrative). mindstudio.ai. Retrieved July 2026.
  11. Digital Applied. "LLM Model Routing 2026: Cost-Quality Optimization." Production router savings ranges (vendor blog; figures illustrative). digitalapplied.com. Retrieved July 2026.