Install
openclaw skills install smart-router-intentsRoute any query by intent. Code, analysis, creative, realtime, general. Each goes to the cheapest model that can handle it.
openclaw skills install smart-router-intentsRoute any query by intent. Code, analysis, creative, realtime, general. Each goes to the cheapest model that can handle it.
INPUT: any query
↓
Is it cached? → Return instantly (0 cost)
↓ if no
Detect intent:
CODE
write / debug / refactor
→ Qwen3.5 Flash (fast) or Grok 4.20
ANALYSIS
research / explain / compare / evaluate
→ Grok 4.20 (standard) or Opus 4.8 (deep)
CREATIVE
write / brainstorm / design / draft
→ Grok 4.20
REALTIME
news / prices / weather / current events
→ Grok 4.20 (live data)
GENERAL
Q&A / summarize / translate / chat
→ Qwen3.5 Flash
Router adds 2ms. The rest is the LLM you'd wait for anyway.
| Setup | Average wait per query |
|---|---|
| All Opus 4.8 | 45s |
| All Grok 4.20 | 11s |
| With router | ~13s |
| Setup | Cost per 1k queries |
|---|---|
| All Opus 4.8 | $15 |
| All Grok 4.20 | $4 |
| All Qwen3.5 Flash | $0.80 |
| With router | ~$3 |
CODE
Keywords: write, code, debug, fix, refactor, function, class, test
→ Qwen3.5 Flash (fast), Grok 4.20 (complex)
ANALYSIS
Keywords: analyze, explain, compare, research, evaluate, assess
→ Grok 4.20. Opus 4.8 for audits.
CREATIVE
Keywords: write a story, brainstorm, imagine, design, draft
→ Grok 4.20
REALTIME
Keywords: now, today, current, latest, news, price, weather
→ Grok 4.20 (requires live data)
GENERAL
Default. Simple Q&A, translate, summarize, chat
→ Qwen3.5 Flash
clawhub install smart-router-intents
Created by CertainLogic — deterministic AI infrastructure. certainlogic.ai