How it works
Five-tier priority system, evaluated in order:- Task-type override — if you’ve pinned a specific model to a task type, that wins
- Self-learning — if a model has a strong success record for this task type (min 20 samples), use it
- Budget fallback — if monthly spend exceeds your threshold, downgrade non-critical tasks to Haiku
- Ollama — if Ollama is running locally and the task is eligible (summary, chat), route there
- Task-type defaults — built-in sensible defaults per task type
Default routing
Configuration
Configure in Settings → Model Router in the dashboard, or directly in~/.openclaw/openclaw.json: