https://api.routing.run/v1, authenticate with your dashboard rk_ key, and use model IDs with the route/ prefix.
Setup
Get your API key
Create an API key at app.routing.run. Copy the full secret. It starts with
rk_.Create an isolated OpenClaw profile
Use a named profile like
routingrun-test so you can test routing.run without changing your main OpenClaw setup.Save the profile config and env file
Create
~/.openclaw-routingrun-test/openclaw.json and ~/.openclaw-routingrun-test/.env with the exact values below.Connection prompt
Use Copy on the block below for a complete setup sequence.OpenClaw CLI - connect to routing.run
Working config notes
This profile shape was validated with a live setup on OpenClaw 2026.3.13.- Use
models.providers.routing-run.api: "openai-completions". - Put
reasoning: trueonly undermodels.providers.routing-run.models[]. - Do not put
reasoninginsideagents.defaults.models. That shape fails validation on the tested version. - Set
gateway.modetolocalfor a fresh isolated profile, or OpenClaw will block startup. - Use
tools.profile: "coding"if you want the coding-agent tool surface. thinkingDefault: "high"is optional. Remove it first if you suspect reasoning parameters are involved in a failure.
Manual configuration
Create~/.openclaw-routingrun-test/.env:
~/.openclaw-routingrun-test/openclaw.json:
When you start the isolated gateway for the first time, OpenClaw may add
gateway.auth.token automatically. That is expected.Troubleshooting
- Invalid model — Keep the full model ID, including the
route/prefix. Use published IDs from the models page. - Gateway start blocked — Set
gateway.modetolocalin the profile config, or start with--allow-unconfigured. - Wrong host or 401 — Confirm the custom provider still points at
https://api.routing.run/v1andROUTING_RUN_API_KEYis available in~/.openclaw-routingrun-test/.envor the current shell. - Reasoning issues — Remove
thinkingDefaultfirst, then retry with the same model list. - Config validation error for
reasoning— Keepreasoningonly inmodels.providers.routing-run.models[], not inagents.defaults.models. - Tooling mismatch — If OpenClaw exposes the wrong tool surface, set
tools.profiletocoding.
Recommended models
Published model IDs are listed on the models page. Exact access depends on your plan tier and the dashboard; common picks:| Model | Use case |
|---|---|
route/glm-5.1-precision | Strongest reasoning-first choice |
route/qwen3.6-plus | Best default starting point |
route/minimax-m2.7 | Long-context sessions |
route/glm-5.1 | Faster GLM alternative |
route/mimo-v2-pro | General-purpose coding |