OpenRouter Paid Fallback
Set OpenClaw to use a paid OpenRouter model first and fall back to free models when quota is exhausted or rate-limited. Use when the user wants a paid OpenRouter model such as gpt-5.4-mini as the primary model with automatic free fallback.
OpenRouter Paid Fallback
Configure
- Keep the OpenRouter API key present in config.
- Set
agents.defaults.model.primaryto the requested paid model. - Set
agents.defaults.model.fallbacksto:openrouter/freenvidia/nemotron-3-nano-30b-a3b:freeqwen/qwen3-next-80b-a3b-instruct:freestepfun/step-3.5-flash:freearcee-ai/trinity-mini:free
- Restart the gateway.
- Verify with
openclaw statusor/status.
Defaults
- Primary:
openrouter/openai/gpt-5.4-mini - Keep the same fallback list unless the user asks otherwise.
Rules
- Edit only the model-routing keys.
- Preserve unrelated config.
- If restart fails, check gateway status and remove stale config entries before retrying.
- Downloads
- 833All time
- Security audit
- Pass
- Last updated
- 6mo ago
- Current version
- v1.0.0
- License
- MIT-0
