# Model routing rules ## Rules | Ticket | Model | Claude Code alias | Input / output per MTok | | --- | --- | --- | --- | | Default: most builds and fixes | Claude Sonnet 5.5 | `sonnet` | $2 / $10 (cache reads $0.10) | | Small scoped edits: copy, config, rename | Claude Haiku 5.5 | `haiku` | $0.10 / $0.50 under 100K-token prompts; $0.50 / $2.50 above | | Architecture, design decisions, reviews | Claude Opus 5.5 | `opus` | $4 / $20 (cache reads $0.20) | | Only when the owner asks by name | Claude Fable 5.2 | `fable` | $8 / $40 (cache reads $0.20) | ## Escalation 1. A ticket that fails its checks **once** is retried on the same model, with the failing output attached. 2. A ticket that fails **twice** moves to Opus 5.5. The lead records the move in the decision log. 3. A ticket that fails twice on Opus is **not** escalated further. Stop, and bring it to the owner: the ticket is probably wrong. 4. The lead never escalates to Fable on its own. ## Reviews Where possible, review with a different model from the one that wrote the change, so the reviewer is not marking its own work. ## In Claude Code - Set a worker's tier with `model:` in its frontmatter (`sonnet`, `opus`, `haiku`, `fable`, a full model ID or `inherit`). - `CLAUDE_CODE_SUBAGENT_MODEL` sets a default for every subagent; `CLAUDE_CODE_SUBAGENT_MODEL_FORCE=1` forces it. - Docs: https://code.claude.com/docs/en/sub-agents and https://code.claude.com/docs/en/model-config