-
Notifications
You must be signed in to change notification settings - Fork 0
Model Routing
luiseiman edited this page Mar 21, 2026
·
1 revision
claude-kit provides explicit model selection criteria in template/rules/model-routing.md. Every bootstrapped project gets this rule.
| Model | Use for |
|---|---|
| haiku | File search, grepping, running tests, repetitive transforms, short factual questions |
| sonnet | Feature implementation, bug fixing (known root cause), code review, debugging, documentation |
| opus | Architecture decisions with real tradeoffs, security audits, ambiguous high-stakes tasks, production operations |
| Agent | Model | Reason |
|---|---|---|
| researcher | haiku | Exploration — speed over depth |
| test-runner | haiku | Execute and report — no complex reasoning |
| implementer | sonnet | Standard implementation work |
| code-reviewer | sonnet | Focused review of single concern |
| session-reviewer | sonnet | Pattern analysis, not architecture |
| architect | opus | Tradeoffs with lasting consequences |
| security-auditor | opus | Missing a vulnerability has production consequences |
Start with sonnet. Escalate to opus when:
- 2+ valid approaches exist with real consequences for choosing wrong
- Task touches security, data integrity, or production systems
- After 2 attempts the approach is still unclear
| Operation | Model |
|---|---|
| Read (SELECT, list, get) | haiku |
| Write with known intent | sonnet |
| Migration, schema change, production operation | opus |