
Intelligent Claude model routing with Haiku → Sonnet → Opus progression. The right model for every task at the lowest cost.
bash pip install opus-router opus route "What's the capital of Japan?" # → Haiku (trivial) opus route "Debug this race condition" # → Sonnet (medium) opus route "Design a consensus algorithm" # → Opus (complex)
| Pros | Cons |
|---|---|
| Automatic cost optimization | Classification isn't perfect |
| Preserves quality on hard tasks | Still need human review for critical outputs |
| Simple drop-in installation |
opus is the routing layer your Claude deployment was missing. The difference between Haiku and Opus is 100x in cost — and opus makes sure you only pay premium prices when you actually need them.