OpenClaw
Integration status
- Recommended protocol: OpenAI Responses
- Configuration checked: July 15, 2026 (official OpenClaw provider documentation)
- Runtime verification: Pending
OpenClaw supports custom providers under models.providers. Use a dedicated API key and an exact GetRouter model ID.
Environment variable
Persist it using the environment mechanism recommended for your OpenClaw installation. Do not commit the key.
Provider configuration
Add or merge this configuration into your OpenClaw config:
Replace MODEL_ID in both locations with the same model ID. Preserve unrelated settings already in your file.
Note
If your OpenClaw version or selected model does not work with Responses, consult that version's provider documentation before switching the api adapter. Do not change it blindly.
Verify
- Restart OpenClaw so it reloads configuration and environment variables.
- Confirm the active model is
getrouter/MODEL_ID. - Send a short text prompt.
- Confirm a successful request in GetRouter usage logs.
- Test tool calling separately before running unattended agents.
Common errors
- Provider or model not found: check both occurrences of
MODEL_IDand thegetrouter/prefix. - 401: confirm
GETROUTER_API_KEYis available to the OpenClaw process. - 404 on
/responses: the provider is using Responses; confirm the Base URL is exactlyhttps://getrouter.ai/v1. - Text works but tools fail: choose a model that supports tool calling and verify OpenClaw compatibility for that model.
