OpenClaw model routing: the right model for each task

You choose a main model in OpenClaw, set a thinking level and get on with your work. Then the same setup handles a quick question, an email rewrite and a difficult debugging problem.
That is convenient. It is not necessarily efficient.
A powerful model with high thinking can spend unnecessary time and tokens on routine work. A cheaper, lighter setup can struggle when the next request needs deeper reasoning.
OpenClaw model routing changes the decision from “which model should I use?” to “which model and thinking level does this task need?” The opportunity is faster replies, lower API spend, less unnecessary reasoning and better-matched responses—without manually changing settings for every request.
Key takeaways
- One default model and thinking level can be a poor fit for a varied workload.
- Routing can choose both the model and reasoning effort for each request.
- Routine work may finish faster and more cheaply; difficult work can receive more capability.
- Lower token use, lower cost and better answers are separate outcomes to measure, not guaranteed benefits.
- Keep manual overrides, compatibility checks and human approval where needed.
Why one OpenClaw setup can be the wrong fit
OpenClaw supports a configured primary model alongside thinking defaults and session preferences. If you leave those choices unchanged, different requests can inherit the same model and effort setting even when their demands are very different.
This is not a limitation to one model across the whole product. OpenClaw supports overrides, per-agent settings, fallback models and specialised tool models. Its documentation explains how model selection works and how thinking settings are resolved. Some providers also support adaptive thinking, so a shared setting does not mean every request consumes the same number of tokens.
The practical problem is leaving one setup to cover everything:
- Optimise for the hardest task: Routine requests may take longer and cost more than necessary.
- Optimise for the cheapest response: Difficult requests may need correction or another attempt.
- Change settings manually: You have to judge the task and adjust the controls each time.
A task-aware router aims to make that choice for you. Instead of keeping every request on the same default, it assesses the work before choosing how to execute it.
What is AI model routing?
AI model routing is the process of choosing which model handles a request. Rather than sending every task to the same model, a router applies rules or uses a classifier to decide what level of capability is appropriate.
A straightforward system might send routine drafting to a smaller model, work with more ambiguity to a mid-sized model, and difficult technical reasoning to a more capable model.
Those categories are starting points, not quality guarantees. A model that works well for short summaries may struggle with your terminology, document structure or required output format. The route needs to earn its place through testing.
Routing also does not have to involve another AI call. If a workflow always extracts the same fields from the same kind of document, a fixed model choice may be enough. A classifier becomes more useful when the incoming work varies substantially.
How do you choose the right AI model for a task?
Start with the work, not the model’s reputation. Look at how much reasoning is required, what information the model needs and what happens if it gets the answer wrong.
The same principle applies to a broader AI strategy: define the business problem before choosing the tools.
- Difficulty: Several dependent steps, unfamiliar problems or competing constraints may call for a more capable model. Test that rather than assuming extra effort will be enough.
- Context: Long conversations, multiple documents and information spread across systems require a model that can use the necessary context reliably.
- Ambiguity: Missing requirements or several plausible interpretations are a reason to clarify the task before spending more on execution.
- Urgency: A person waiting for an answer has different needs from background work. Measure response time alongside quality.
- Consequences: An internal draft is different from a decision affecting customers, money or access. Require stronger checks and appropriate human approval.
For example, rewriting a short internal email is usually bounded work. Investigating why a customer record differs across three systems is not. It may require tracing updates, comparing evidence and distinguishing a genuine fault from an expected delay.
Message length alone cannot tell you the difference. “Why did that happen?” is a short request, but answering it may depend on a long conversation and several earlier tool results.
An email, a question,
a difficult problem.
Difficulty · context · urgency
- Model
- Capability
- Thinking
- Effort
Using the selected
model and effort.
Illustrative flow. Zero Nine selects the resources; OpenClaw executes. Manual overrides still apply.
This flow is illustrative; explicit model and thinking overrides still apply. A larger model is not a substitute for missing information, reliable tools or permission to perform an action.
Model choice and reasoning effort are different controls
Model choice determines the capability available. Reasoning effort, where supported, controls how much deliberation the selected model is asked to apply.
Giving a smaller model more time to think can be worth testing on a clearly defined task. It does not establish that the model can match a more capable one. Equally, choosing a powerful model does not mean every request needs its highest effort setting.
Consider a routine document conversion. If the input, output and validation rules are clear, extensive reasoning may add little. A difficult debugging task with several plausible causes may benefit from more deliberate investigation.
Keep the two decisions separate:
- Choose a model that can perform the task reliably.
- Choose an effort level that helps it reach an acceptable result without unnecessary delay.
For a closer look at the second decision, read our guide to matching AI reasoning effort to the work.
Where model routing can make the biggest difference
The opportunity is not simply to use a cheaper model. It is to stop treating every request as though it needs the same resources.
- Faster replies: Use a faster model or less reasoning for bounded work. Verify the total time to a usable answer, including classification.
- Lower model and API costs: Reserve expensive models and high effort for tasks that benefit. Compare total billed spend, including retries and applicable caching.
- Less unnecessary token use: Reduce reasoning that adds little value on simple tasks. Check input, output and reasoning usage where reported.
- Better responses: Assign difficult work to a more suitable model and effort level. Assess correctness, completeness and how much repair is needed.
These benefits do not always move together. Switching to a lower-priced model can reduce spend without reducing token count. A more capable model may use more resources on one difficult request but avoid several failed attempts. Routing does not automatically shorten conversation history or tool output.
For example, consider an OpenClaw session used for three kinds of work:
- Rewrite a short email: Test a smaller model with modest effort against the required meaning and tone.
- Compare conflicting system records: Allow more capability and reasoning to trace the evidence.
- Investigate a difficult software fault: Route to a model suited to the technical work, then verify the proposed fix with tests.
These are illustrative choices, not measured results. The win is matching resources to the request rather than making every request inherit the same compromise.
Measure the saving across the whole task
A lower-priced response is not a saving if somebody has to spend longer repairing it. Equally, a more expensive individual response can be worthwhile if it gets difficult work right without repeated attempts.
A model-based router adds a classification call before execution. That introduces its own cost and delay. On a substantial task, the overhead may be worthwhile. On a quick answer, it may outweigh the benefit.
- 01 / SelectRoute
Include the
selection overhead. - 02 / RunExecute
Count model usage
and waiting. - 03 / ReviewCheck
Include review
and corrections. - 04 / OutcomeA usable result
Meets the task’s
requirements.
If the check fails: correct or retry, then check again.
- Total spend
- All calls and retries
- Token use
- Not just the final answer
- Elapsed time
- Until the work is usable
- Accepted results
- Correct without repair
An evaluation framework, not a promise of savings or an automatic retry feature.
Compare three things:
- Total model spend: Include classification, execution and any further attempts.
- Time to a usable result: Include waiting, checking and corrections.
- Acceptance rate: Count how often the result meets the task’s requirements without repair.
Suppose a smaller model drafts a customer response cheaply but repeatedly misses an important policy condition. The initial answer costs less, but the workflow may cost more once a team member checks and rewrites it.
That does not automatically mean every response needs a larger model. The cause could be missing policy information or unclear instructions. Diagnose the failure before changing the route.
How to test a model router before relying on it
Use a small set of representative tasks and compare routed results with your current approach. Define what a good result looks like before running the comparison.
1. Choose tasks you can check
Include common requests, a few difficult cases and examples where earlier attempts failed. For document extraction, check the required fields against the source. For code changes, run the relevant tests. For drafting, check facts, required content and tone.
2. Record the whole result
Capture the selected model, reasoning effort, total spend, elapsed time and whether correction was needed. Do not treat a completed API call as a successful task: it only proves that a response arrived.
3. Inspect failures before changing rules
Ask whether the router chose poorly, the request lacked context, a tool failed or the acceptance criteria were unclear. These are different problems and need different fixes.
4. Test changes on fresh examples
A rule that fixes yesterday’s examples may still fail on new work. Keep some tasks outside the tuning set and use them to check whether the change generalises.
5. Keep an override and a safe fallback
Let people select a specific model when the work requires it. Decide what happens if classification fails, and retain approval steps for consequential actions. Routing is a resource decision, not a safety or authorisation system.
Trying model routing with OpenClaw
Zero Nine’s open-source OpenClaw model router provides an experimental implementation. It uses a small classifier and deterministic rules to select both the execution model and reasoning effort, with a fallback when classification fails.
The repository includes the policy, tests and installation guidance under an MIT licence. Explicit model pins bypass routing, and stored thinking preferences retain the selected effort. To evaluate automatic model-and-effort selection, check that those overrides are not fixing the controls you intend the router to choose.
The implementation does not establish a production savings percentage, grade every final answer or automatically retry every poor result.
This is a version-specific integration, not a universal plug-in installation. Read the compatibility guidance, run the supplied compatibility check and adapt the configured models to those available in your environment before testing it.
Start with low-risk, routine work. Compare the routed results with your usual model, and expand only where the evidence supports it.
Choose enough capability to finish the job
One model and one thinking level are convenient defaults. They are not necessarily the right settings for every job you give OpenClaw.
Routing offers a way to make routine work quicker and cheaper while giving harder requests the capability they need. Less waiting, less unnecessary token use and better answers are the goals. Your workload determines how much of that opportunity becomes a real gain.
Start with the OpenClaw model router’s compatibility and testing guidance, compare it with your current setup and keep the routes that improve the result.
Stop giving every task the same AI budget. Give it the model and thinking it needs to finish the job.