Subagent model routing
Chooses the model, effort level and cascade for each subagent by cost per finished task, keeping loops safe.
Claude's review
7/10 Data backed model and effort routing, dense and tied to specific models and experiments that will date.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Decide which model, effort level, and cascade shape each subagent gets, and how to keep improvement loops safe (evaluator-as-selector, stop on regression). Routes on measured cost-per-completed-task rather than per-token price, because a tier's token count varies more by task shape than price varies across tiers. Covers per-model effort semantics, the concision lever, cascade preconditions, context handoff, and watching a subagent fan-out live. Use when choosing a subagent's model or effort, when choosing how to escalate a failed attempt, or when asked which model or effort a task should get. Grounded in a 2026-07 calibration, a 2026-08 coding-cost study, a 2026-09 seeded-bug repair battery, a 2026-10 Haiku 5.5 ladder priced per spawn, a 2026-10 retry-versus-escalation ladder on 295 SWE-bench Verified tasks, and a 2026-11 Haiku-swarm-versus-Sonnet-loop search at equal spend; Managed Agents API specifics are operational, not calibrated.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: agent-routing
description: Decide which model, effort level, and cascade shape each subagent gets, and how to keep improvement loops safe (evaluator-as-selector, stop on regression). Routes on measured cost-per-completed-task rather than per-token price, because a tier's token count varies more by task shape than price varies across tiers. Covers per-model effort semantics, the concision lever, cascade preconditions, context handoff, and watching a subagent fan-out live. Use when choosing a subagent's model or effort, when choosing how to escalate a failed attempt, or when asked which model or effort a task should get. Grounded in a 2026-07 calibration, a 2026-08 coding-cost study, a 2026-09 seeded-bug repair battery, a 2026-10 Haiku 5.5 ladder priced per spawn, a 2026-10 retry-versus-escalation ladder on 295 SWE-bench Verified tasks, and a 2026-11 Haiku-swarm-versus-Sonnet-loop search at equal spend; Managed Agents API specifics are operational, not calibrated.
compatibility: Designed for Claude Code / Claude Code on the Web — assumes an orchestrator with Agent/Workflow subagent tools. Only the Workflow tool sets a subagent's effort; the Agent tool sets its model. Not applicable to claude.ai chat use.
metadata:
author: Oskar Austegard and Claude
version: "2.10.0"
---
# Agent Routing — model, effort, and cascade selection
## Current prices, and what changed in 2026-10
| model | $/MTok in | out | cache read | one Agent-tool spawn, small seeded repo | one spawn, SWE-bench Verified |
|---|---|---|---|---|---|
| Haiku 5.5 | $0.10 | $0.50 | $0.01 | **$0.005–0.011** | **$0.024–0.037** |
| Sonnet 5.5 | $2 | $10 | $0.20 | **$0.17** | **$0.23–0.35** |
| Opus 5.5 | $4 | $20 | $0.20 | ~$0.34 (2× Sonnet, not measured) | — |
| Fable 5.1 | $10 | $50 | $0.25 | — | — |
Haiku 5.5 is **20× under Sonnet 5.5 on every token class** (Haiku 4.5 was 2–5×), and its
prices hold for prompts up to 100K tokens ($0.50/$2.50 beyond). On the 14-repo
seeded-bug battery it solved 11/14 at rung 1, which is the pass set Sonnet 5.5 at `low` gets. With
the same-model informed retry it solved **14/14 for $0.12 in total, less than one Sonnet 5.5 spawn**
(`oaustegard/experiments` → `temporal-routing-headroom`, 2026-10-07). Where the Haiku
4.5 figures below say Haiku loses on cost, rerun the arithmetic at 5.5 prices before
trusting them.
On real issues the picture holds with a smaller margin. Over 295 SWE-bench Verified tasks
(django and sympy) Haiku 5.5 resolved **256 (86.8%)** at rung 1 for $7.06 in total. On its
39 misses, rung 2 with the failing tests' output resolved **30 retrying Haiku ($1.43) and
34 escalating to Sonnet 5.5 ($13.53)**. Sonnet solved every task the Haiku retry did and 4
more (p = 0.125) (`oaustegard/experiments` → `swe-ladder`, 2026-10-09). Real repair spawns
run longer than seeded ones, so a spawn costs 3–5× the small-repo figure on Haiku and
1.5–2× on Sonnet; the ratio between the tiers stays near 10×.
**In Claude Code, price a subagent per spawn first.** A fresh Agent-tool subagent
writes a ~55K-token prefix (system prompt, tools, skills list) to the 5-minute cache on its
first request. On short repair tasks that prefix outweighed everything the subagent
produced: a Sonnet 5.5 spawn cost $0.17 input-side, 14× the $0.0121 output-only figure
...From oaustegard's repository, MIT licence.
Related skills
-
Checked
Council of AI models
Asks several AI models the same question separately, compares their answers and gives you the best one.
7/101 credit -
Checked
RAG evaluation
Measures how well a RAG system retrieves and answers, with test questions, metrics and chunking advice.
8/101 credit -
Checked
AI automation planner
Works out which manual work in your business to automate first, then designs the system, tools and safeguards.
7/101 credit -
Checked
LangGraph agent design
Guides LangGraph builds through topology, checkpoint and human review choices so agents survive failures.
7/101 credit -
Checked
Agent system design
Asks staged questions to design agent pipelines and sub agents, so you only add agents where they help.
7/101 credit -
Checked
Subjective quality evals
Tests if a prompt or model change improves subjective output with blind comparisons and a calibrated judge.
8/101 credit