OpenClaw with idapt
Register idapt as a custom provider in openclaw.json and route the assistant's every channel through your key.
- 1
Point it at idapt
json// ~/.openclaw/openclaw.json (JSON5, comments allowed) { models: { mode: "merge", providers: { idapt: { baseUrl: "https://idapt.app/api/openrouter/v1", apiKey: "${IDAPT_API_KEY}", api: "openai-completions", models: [ { id: "anthropic/claude-sonnet-5", name: "Claude Sonnet 5" } ] } } }, agents: { defaults: { model: { primary: "idapt/anthropic/claude-sonnet-5" } } } }Model refs are prefixed with the provider id you chose (idapt/...). Restart the gateway with openclaw gateway run after editing. The built-in OpenRouter browser sign-in talks to openrouter.ai and will not connect to idapt, so use this custom provider instead.
GOOD TO KNOW
API keys and scopesOpenAI-compatible API referenceOpenRouter-compatible API referenceRate limits and errors