What it does
The right model for every function, prompt and subagent — and the bill you just avoided.
ActRouter is a model router. Give it a function name or a sentence about a piece of work: it classifies the task, ranks the catalog against your cost and latency budgets, and prices the call against the model you would otherwise have used. ActDecor calls it for every decorated Python function, and the Claude Code plugin calls it for every prompt and subagent — so a big task’s subtasks each run on the cheapest model that can do them well.
- One field is enoughA bare function name or a one-line task classifies the work; anything more only sharpens it
- Built into Claude CodeA marketplace plugin routes every prompt and subagent to Haiku, Sonnet or Opus
- Metadata onlyNothing your function processes is ever sent, logged or stored
- A broad model catalogOpenAI, Anthropic, Google, DeepSeek, xAI, Mistral, Cohere, Llama, Qwen and more
- Priced before you callEvery route comes back with its estimated cost, latency and what it saves against your baseline
- Describea function name or a subtask
- Classifytask type, family, confidence
- Routemodel, cost, latency
- Savepriced against your baseline