LIVE · Thursday 3 December

Small Executor Model, Frontier Planner: When to Use the Advisor Tool, Subagents or Per-Turn Routing

Three ways to send an agent's tool calls to a smaller model and its planning to a frontier model. Which one is cheapest comes down to workload shape and whether the frontier model's prompt cache stays warm.

By Nick11 min read

To route an agent's tool calls to a small model and its planning to a frontier model, use one of three patterns. For one long sequential loop, let a small executor model call a frontier advisor at decision points; on Anthropic's API that is the advisor_20260301 tool. For work that splits into independent pieces, use a frontier orchestrator that hands each piece to a subagent pinned to a small model, such as a Claude Code subagent set to model: haiku. Switching models turn by turn inside one loop is the third option, and the riskiest: every switch to a model with a cold cache re-reads the whole conversation at full price. Nobody has published a head-to-head measurement of the three on the same tasks, so the choice comes down to the shape of your workload and the price list.

Three ways to split the work

All three patterns aim at the same thing. Most agent turns are routine: read a file, run a search, call an API, parse the result. A few turns decide whether the task succeeds: the first plan, the moment a tool keeps failing, the check before calling the job done. You want a cheap model on the first kind and a frontier model on the second. The patterns differ in who decides when the frontier model runs, and in what it gets to see.

Executor plus advisor. The small model runs the whole loop and makes every tool call. When it reaches a decision it can't settle, it calls the frontier model. Anthropic's API docs describe the advisor as a model that "reads the full conversation and produces a plan or course correction, and the executor continues with the task." Its launch post of April 9, 2026 adds that the advisor never calls tools or writes user-facing output, and presents the pattern as an inversion of the usual sub-agent design.

Orchestrator plus subagents. The frontier model holds the plan, splits the work and dispatches subagents on a smaller model. Each subagent starts with a fresh context. Claude Code's subagent docs say a non-fork subagent "doesn't see your conversation history"; it gets only the delegation message the orchestrator writes.

Per-turn routing. One conversation, one transcript, and a router that picks which model answers each turn. Claude Code's opusplan setting is a simple version: it uses Opus in plan mode and Sonnet in execution. General-purpose routers such as Amazon Bedrock's intelligent prompt routing and the open-source RouteLLM make the choice per request from a predicted quality score.

What the published numbers show

The evidence for each pattern comes from the vendor that built it, and none of it compares the patterns with each other.

For the advisor, Anthropic's blog reports that Sonnet 4.6 with an Opus 4.6 advisor scored 2.7 percentage points higher on SWE-bench Multilingual than Sonnet alone, at 11.9% lower cost per task. On BrowseComp, Haiku 4.5 with an Opus advisor scored 41.2%, against 19.7% for Haiku alone. That still trails Sonnet working solo, but Anthropic says it costs 85% less per task.

For orchestration, Anthropic's engineering post of June 13, 2025 says its research system, an Opus 4 lead with Sonnet 4 subagents, outperformed a single Opus 4 agent by 90.2% on an internal research eval, and that parallelism cut research time by up to 90% for complex queries. The same post sets out the price: multi-agent systems use about 15 times the tokens of a chat, against about four times for a single agent.

For per-turn routing, RouteLLM's repository claims up to 85% lower cost while keeping 95% of GPT-4's performance on MT Bench. That benchmark scores single chat answers, not agent loops with tools.

None of these is a direct comparison. They use different models, different tasks and different baselines. A measurement of success rate, cost per task and p50/p95 latency for all three patterns plus a frontier-only baseline, on the same tool-heavy and parallel workloads, has not been published. What can be worked out without one is cost, because the price list and the caching rules are public.

The hidden cost: every model has its own cache

Agent loops are affordable because of prompt caching. Each turn re-sends the whole conversation, and the provider bills the unchanged prefix at a fraction of the input price. On Anthropic's pricing page, a cache hit on Opus 5.5 costs $0.20 per million tokens, against $4 for fresh input and $5 for a five-minute cache write.

That discount belongs to one model. Claude Code's prompt-caching docs say: "Each model has its own cache. Switching models recomputes the entire request even when the content is identical." They add that with opusplan, "each plan-mode toggle is a model switch and starts a fresh cache." The API's cache follows the order tools, system, messages, and changing tool definitions invalidates all of it.

This is where the three patterns separate.

The advisor never switches the executor's model. Claude Code's docs say toggling the advisor keeps the main model's cached prefix intact. But the advisor's own read is a full read: "Each advisor call processes the full transcript anew, with no reuse between calls." The API offers an advisor-side caching switch that, by Anthropic's account, costs more than it saves at two or fewer calls per conversation and breaks even at about three.

Subagents never share a cache with the parent. A subagent's first request misses, it warms its own cache over its own turns, and the parent's cache is untouched. You pay for whatever context the delegation message restates, at the small model's rates.

A per-turn router pays for a full re-read every time it hands the conversation to a model whose cache has gone cold. Entries expire after five minutes of inactivity by default, or after an hour if you pay double for cache writes.

Nobody has published a measurement of this cost on a real agent workload, with or without cross-model cache reuse. The arithmetic below shows how large it can be.

A worked example on list prices

Take a sequential, tool-heavy task of 40 turns. The context starts at 10,000 tokens and grows by 2,000 per turn, reaching 88,000 by the last turn, which keeps Haiku 5.5 under the 100,000-token prompt length where its price goes up. Each turn produces 500 output tokens. The prefix is cached at the five-minute rate and stays warm within the loop. Prices are Anthropic's list rates for Opus 5.5 ($4 input, $5 cache write, $0.20 cache hit, $20 output per million) and Haiku 5.5 ($0.10, $0.125, $0.01 and $0.50).

Setup Frontier model runs on Cost per task
Opus 5.5 alone All 40 turns $1.21
Haiku 5.5 alone None $0.04
Haiku executor, Opus advisor 3 advisor calls $0.67
Per-turn router, Opus cache warm 8 turns $0.57
Per-turn router, Opus cache cold 8 turns $1.91

The advisor rows assume calls at turns 3, 20 and 38, each reading the transcript uncached at $4 per million (146,000 tokens in all) and writing 800 tokens of advice, inside the 630-to-840-token mean Anthropic measured with max_tokens: 2048. With advisor caching on and still warm, the advisor's share falls from about $0.63 to about $0.48. The router rows send turns 1, 6, 11 and so on through 36 to Opus. "Warm" means each Opus turn comes within five minutes of the last, so Opus reads its earlier prefix from cache and writes only what is new; "cold" means every Opus turn rewrites the whole context.

The cold router is the most expensive row in the table, dearer than running Opus on every turn. Eight cold Opus turns cost about $1.88, because each pays to write the full context again. These figures cover cost only. Success rates and latency for these setups have not been measured.

Where each pattern wins

Workload shape picks the pattern, and the arithmetic gives the crossover points.

One long sequential loop with shared context: use the advisor. At this context size an advisor call costs about $0.21, roughly seven Opus turns' worth. On these assumptions the advisor stays cheaper than running Opus throughout until about five or six calls per 40-turn task, about one call every seven turns. Set max_uses to stay inside that, and turn on advisor caching only when you expect three or more calls per conversation.

Independent subtasks: use an orchestrator with small-model subagents. On a parallel workload, an Opus orchestrator running 10 turns (10,000 to 28,000 tokens) and dispatching four Haiku subagents of 10 turns each (5,000 to 23,000 tokens) costs about $0.30 at list prices. Opus doing the same work alone in one 50-turn context that grows to 108,000 tokens costs about $1.61. The saving comes from short, separate contexts. Anthropic's engineering post marks the limit: the pattern fits poorly in "domains that require all agents to share the same context," and "most coding tasks involve fewer truly parallelizable tasks than research."

Frequent re-planning inside one loop: per-turn routing, but only with a warm cache. A cold switch to Opus at a 49,000-token average context costs about $0.25, against about $0.03 for a cached Opus turn. A router that switches cold beats Opus-only only if fewer than about one turn in nine goes to the frontier model. Keep the frontier turns inside the cache lifetime, or pay the one-hour write rate ($8 per million on Opus 5.5) so they stay warm.

The configs

On the Claude API, the advisor is a tool entry on the executor's request plus a beta header, anthropic-beta: advisor-tool-2026-03-01:

{
  "model": "claude-haiku-5-5",
  "max_tokens": 16000,
  "tools": [
    {
      "type": "advisor_20260301",
      "name": "advisor",
      "model": "claude-opus-5-5",
      "max_tokens": 2048,
      "max_uses": 5,
      "caching": {"type": "ephemeral", "ttl": "5m"}
    }
  ],
  "messages": [{"role": "user", "content": "..."}]
}

The docs set three conditions. The advisor must be Sonnet 4.6 or more capable, and at least as capable as the executor. The request-level max_tokens does not cap advisor output, so set the tool's own max_tokens, which has a minimum of 1024. Changing the advisor configuration mid-conversation is an edit to tools, and if the history holds thinking blocks the next request can return a 400 error. On prompting, the docs suggest telling the executor to call the advisor before substantive work and again before declaring the task done. For Haiku executors, a reminder sent as its own user message raised Haiku 4.5 pass rates by about seven points in Anthropic's testing. In Claude Code the equivalent is /advisor opus, "advisorModel": "opus" in settings, or claude --advisor opus.

For subagents in Claude Code, pin the model in the agent file's frontmatter:

---
name: test-runner
description: Runs the test suite and reports failures
tools: Read, Grep, Bash
model: haiku
---

The docs give the precedence. First comes a per-invocation model parameter, which Claude can pass when it starts the subagent (aliases only). Then the frontmatter model field, then the CLAUDE_CODE_SUBAGENT_MODEL environment variable, then the main conversation's model. Setting CLAUDE_CODE_SUBAGENT_MODEL_FORCE=1 (v2.1.257 or later) makes the environment variable win everywhere and stops Claude choosing a model per call. Subagents inherit the configured advisor, so the two patterns can be combined.

For a per-turn router, RouteLLM exposes an OpenAI-compatible endpoint where the model name carries the router and a calibrated threshold, such as router-mf-0.11593. Its calibrate_threshold script sets what share of calls go to the strong model. On Bedrock, the managed equivalent is a prompt router created from the CLI with two models from one family, a fallback and a quality threshold:

aws bedrock create-prompt-router \
  --prompt-router-name agent-router \
  --models '[{"modelArn": "<small model ARN>"}]' \
  --fallback-model '[{"modelArn": "<fallback model ARN>"}]' \
  --routing-criteria '{"responseQualityDifference": 0.5}'

Off Anthropic's API

The advisor tool is the pattern that doesn't travel. Claude Code's docs say it "isn't available on Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry," and the API docs list only the Claude API, Claude Platform on AWS and Claude Models on Google Cloud (Anthropic managed). In Claude Code it also needs a feature flag fetched from Anthropic, so DISABLE_TELEMETRY switches it off.

Subagent routing does travel. Pin the alias to your provider's model ID, for example ANTHROPIC_DEFAULT_OPUS_MODEL='us.anthropic.claude-opus-4-8' on Bedrock, and the frontmatter model field follows it. Check what haiku resolves to first: Claude Code's model-config docs list Haiku 4.5 on Bedrock and Agent Platform. At $1 input and $5 output per million on Anthropic's own price list, that is ten times Haiku 5.5. Outside Claude Code, the OpenAI Agents SDK lets each agent set its own model and turn an agent into a tool with agent.as_tool(), so a frontier orchestrator keeps control. Its LiteLLM and Any-LLM adapters for non-OpenAI models are described as "best-effort, beta."

Bedrock's intelligent prompt routing is the managed per-request router, but its docs limit it to exactly two models from the same family, choosing between them on a predicted response-quality difference. They say it is optimised for English and "can't adjust routing decisions or responses based on application-specific performance data." The page does not mention tool use or multi-turn agents.

A task-tuned executor

Every published number above uses a stock Haiku or Sonnet as the small model. Parsec, a small language model lab, offers a different executor: models post-trained on a customer's own traffic, with routing per turn rather than per task. Its routers page says a "universal K/V cache" avoids breaking the cache when the model changes mid-conversation, putting a switch at 15 to 19% of the cost of a full re-read. That would bear directly on the cold-switch penalty above, but it is Parsec's own figure. The page links a K/V cache report rather than stating a workload, it defines no baseline for its savings claims, and Parsec publishes no price for the service.

Bottom line

If your agent runs one long sequential loop on Anthropic's API, make the small model the executor and add an Opus advisor with max_tokens: 2048 and a max_uses cap of about five. If the work splits into independent subtasks, put the frontier model in charge and pin subagents to model: haiku. Route turn by turn only if the frontier model gets fewer than about one turn in nine or its cache stays warm between calls, because a cold switch costs more than staying on Opus. On Bedrock, Vertex or Foundry the advisor is unavailable, so use pinned subagents. Whichever you choose, run it alongside a frontier-only baseline on your own tasks, as Anthropic itself recommends, because no published benchmark yet compares the three.

Sources

More in Models

All Models →