<< Home | Work
Reduced costs by routing tasks to cheaper models
| Area | Work |
| AI used | Claude Code |
| Source | r/ClaudeAI |
| Posted | 2026-02-01 |
The move
Create custom subagents in Claude Code that route specific tasks to cheaper models like Haiku.Steps
- Create a new skill configuration file in your project.
- Define a subagent with a specific model like Haiku.
- Assign limited tools to the subagent, such as Read, Grep, or Glob.
- Invoke the subagent for routine codebase searches or analysis.
Prompt for your AI
Create a subagent configuration for [task name] that uses [model name] and only has access to [tool names] to perform [specific action].
What happened
Claude Code users often default to expensive models for every task. By defining custom subagents with specific models and tools, users can offload exploration and search tasks to cheaper models. This keeps the main session focused and reduces overall operational costs.Watch out
Using cheaper models for complex coding tasks may result in lower quality output or hallucinations. Ensure the subagent is restricted to read-only or low-stakes operations.Give it to your agent
Read https://howtheyuse.ai/p/reduced-costs-by-routing-tasks-to-cheaper-models.md and help me do this.