Use multiple models
Assign cheap models to exploration and strong models to code edits with Empryo's task router slots, cutting token cost without losing quality on real work.
Assign different models to different tasks. Haiku searches your codebase, Sonnet writes the code, Flash compacts context.
Open the router
/routerOr edit ~/.empryo/config.json:
{
"taskRouter": {
"spark": "anthropic/claude-haiku-4-5",
"ember": "anthropic/claude-sonnet-4-5",
"webSearch": "anthropic/claude-haiku-4-5",
"desloppify": "anthropic/claude-haiku-4-5",
"verify": "anthropic/claude-haiku-4-5",
"compact": "google/gemini-2.5-flash",
"semantic": "anthropic/claude-haiku-4-5",
"default": null
}
}What each slot does
| Slot | Runs when | Good choice |
|---|---|---|
spark | Read-only agents explore your code | Fast/cheap (Haiku, Flash) |
ember | Agents that edit files | Strong coding model (Sonnet, Opus) |
webSearch | Web search agents | Fast/cheap |
desloppify | Cleanup pass after code edits | Fast/cheap |
verify | Adversarial review after code edits | Medium strength |
compact | Context compaction | Fast/cheap (Flash is ideal) |
semantic | Genome one-line symbol summaries | Fast/cheap |
default | Fallback when no slot matches | - |
Recommended setups
Strong code, cheap everything else.
"spark": "anthropic/claude-haiku-4-5",
"ember": "anthropic/claude-sonnet-4-5",
"compact": "google/gemini-2.5-flash"Why this saves money
Agents spend ~70% of their tokens on exploration (reading files, running greps, navigating the Genome). That work doesn't need an expensive model. Reserve your strong model for the ~30% that's actually writing code.