Pay less per token
Run side tasks on a smaller model
Searching, reading files and summarising rarely need a frontier model. Coding agents let a subagent run on a smaller, cheaper model and hand back only its conclusion, which keeps both the bill and the main context smaller.
Where it fits
Building my own agent Fits
Route side tasks to a smaller model.
Using a coding agent Fits
model: haiku in a Claude Code subagent.
Using an enterprise assistant Not available
The vendor picks the model.
Using a workflow tool Partly
Pick the model per node.
The setting in each harness
Read on each vendor's own page, linked next to the setting.
| Harness | Setting |
|---|---|
| Claude Code | Model: haiku in the subagent's file, or |
| Codex |
|
| OpenCode | A subagent with its own model opencode.ai, read 30 Nov 2026 |