OpenClaw
OpenClaw Integration
Use UnoRouter as the model provider for your OpenClaw agent.
Overview
OpenClaw is an open-source agent platform for self-hosted AI assistants on Telegram, Discord, Slack, and more from one config. Set its openai provider to UnoRouter's base URL and every channel reaches the full catalog with one key.
Quick Config
Paste these into the client. Your key auto-fills when signed in.
text
Base URL: https://api.unorouter.com/v1
API Key: YOUR_API_KEYCompatibility
Chat CompletionsStreamingTool calling
Step-by-step setup
- 1Install and onboard
Install OpenClaw globally with npm, then run `openclaw onboard` to scaffold the config.
bashnpm install -g openclaw@latest openclaw onboard - 2Point the provider at UnoRouter
Edit `~/.openclaw/config.json`. Point the openai provider at UnoRouter's base URL, read the key from `OPENAI_API_KEY`, and set your default model under agents.
json// ~/.openclaw/config.json { "env": { "OPENAI_API_KEY": "YOUR_API_KEY" }, "agents": { "defaults": { "model": { "primary": "openai/YOUR_MODEL_ID" } } }, "providers": { "openai": { "baseUrl": "https://api.unorouter.com/v1", "apiKey": "env:OPENAI_API_KEY" } } } - 3Start OpenClaw
Run `openclaw start` to launch the agent against UnoRouter.
bashopenclaw start
powershell
# In %APPDATA%\openclaw\config.json set
# providers.openai.baseUrl to "https://api.unorouter.com/v1"
$env:OPENAI_API_KEY="YOUR_API_KEY"
openclaw onboardRecommended models
Free models that work here. Paste any model id into the client.
glm-5.3-search:freeglm-5.3-think-search:freeglm-5.3-thinking:freeglm-5.3:freeqwen-3.8-27b:free
Gotchas
- If OpenClaw cannot reach the API, confirm `providers.openai.baseUrl` ends in `/v1` and `OPENAI_API_KEY` is exported in the same shell.
- If the model is rejected, set `agents.defaults.model.primary` to a valid id prefixed with `openai/`, copied from UnoRouter's models page.