OpenClaw
Configure the OpenClaw gateway with EasyAPI to access every supported model through the relay.
Prerequisites
- OpenClaw installed (https://openclaw.ai)
- An EasyAPI API token created in the console
Step 1: Install and Initialize OpenClaw
After installing per the official docs, run openclaw onboard in your terminal and complete the basic setup wizard.
$ openclaw onboard
Welcome to OpenClaw setup
› Choose auth: OpenAI API Key
› Enter API key: sk-your-easyapi-token
Step 2: Choose OpenAI API Key Auth
In the onboard wizard, choose the OpenAI API Key method, or run: openclaw onboard --auth-choice openai-api-key. EasyAPI provides an OpenAI-compatible interface, so you can enter your EasyAPI token here.
Step 3: Configure EasyAPI Base URL
Edit ~/.openclaw/openclaw.json and set baseUrl under models.providers.openai to the EasyAPI API address (including /v1); set apiKey to your console token.
https://token.easyapi.com/v1Create your token in Console → Token Management; see Standard Integration for the standard integration guide.
~/.openclaw/openclaw.json
{
"models": {
"providers": {
"openai": {
"baseUrl": "https://token.easyapi.com/v1",
"apiKey": "sk-your-easyapi-token"
}
}
}
}Step 4: Restart the OpenClaw Gateway
After saving, restart the OpenClaw service or rerun openclaw gateway so model routing points to EasyAPI.
Use OpenAI-compatible model names, e.g. gpt-4o or the EasyAPI-mapped model IDs for the claude family.
Verification
- Send a message to the Agent through a connected channel (Discord, Telegram, etc.) and receive a reply
- A matching model call appears in EasyAPI console usage records