Install
openclaw skills install openclaw-switchManage multi-provider model switching and fallback chains in OpenClaw. "OpenClaw Switch" helps users set up automatic model failover (e.g. 429 rate-limit → f...
openclaw skills install openclaw-switchThe missing model manager for OpenClaw. Switch models, visualize fallback chains, and manage multi-provider setups.
# Show current model, fallback chain, heartbeat & subagent config
bash {baseDir}/scripts/openclaw-switch.sh status
# List all available models across all providers
bash {baseDir}/scripts/openclaw-switch.sh list
# Switch primary model (by number from list)
bash {baseDir}/scripts/openclaw-switch.sh switch 2
# Show fallback chain only
bash {baseDir}/scripts/openclaw-switch.sh fallback
OpenClaw natively supports model.fallbacks — when the primary model returns an error (429, 500, etc.), the next model in the chain is tried automatically. OpenClaw Switch helps users configure, visualize, and toggle this chain.
Register multiple providers in openclaw.json, each with its own API key:
{
"models": {
"providers": {
"provider-a": { "apiKey": "...", "models": [{ "id": "model-1" }] },
"provider-b": { "apiKey": "...", "models": [{ "id": "model-2" }] }
}
},
"agents": {
"defaults": {
"model": {
"primary": "provider-a/model-1",
"fallbacks": ["provider-b/model-2"]
}
}
}
}
The bundled script:
bash + python3 stdlib — zero external dependencies