OpenClaw
Connect the OpenClaw agent to LiteRouter through a custom OpenAI-compatible provider.
OpenClaw accepts any OpenAI-compatible base URL and API key, and switches models by their ID. Add LiteRouter as a custom provider during setup.
Setup
- Run OpenClaw's setup (its configuration wizard).
- Add a Custom Provider and choose the OpenAI-compatible format.
- Base URL:
https://api.literouter.com/v1 - API Key: your LiteRouter API key.
- Model: pick a model id here, for example
glm-5.2.
ⓘ
Use the OpenAI-compatible mode (base URL ending in /v1), not the Anthropic-native one.