Route queries to the right model tier. Save money without thinking about it.
clawhub install certainlogic-smart-router# Route a query
python3 scripts/smart_router.py "Write a Python function"
# Force cheap tier
python3 scripts/smart_router.py "Any query" --cheap
# Use custom profiles
python3 scripts/smart_router.py "query" --config my_profiles.jsonClassifies your query and recommends an LLM tier:
- cheap — Simple lookups, greetings, short answers
- default — Standard tasks, explanations, drafting
- powerful — Complex reasoning, architecture, strategy
Keyword + regex matching. Deterministic, not learned. No AI involved in routing.
- Static keyword lists (update config for new domains)
- English only
- Returns recommendation only (doesn't make API calls)
- Simple heuristics — will misroute edge cases
Free — 4 profiles, custom config, override flags Pro ($29) — Dynamic feedback, usage analytics, fallback chains, team profiles
Built by CertainLogic. Keyword routing. Not AI. Not magic. Just cheaper.