OpenClaw
Support: pay-as-you-go Xiaoku APIs are supported.
Install
- macOS/Linux:bash
curl -fsSL https://openclaw.ai/install.sh | bash - Windows (PowerShell):powershell
iwr -useb https://openclaw.ai/install.ps1 | iex
Configure
| Method | When to use | Notes |
|---|---|---|
| Option 1: interactive wizard | Pay-as-you-go API | Run openclaw onboard --install-daemon, choose the Xiaoku provider, and follow the prompts |
Option 2 example
Remove the auth field from the config file, then add a provider under models.providers. Do not name it xiaoku:
json
{
"models": {
"mode": "merge",
"providers": {
"xiaoku-coding": {
"baseUrl": "https://api-ai.xiaoku.ai/v1",
...
}
}
}
}The default agent format is provider-name/model-name, for example xiaoku-coding/deepseek-v4-pro.
Test
Run openclaw tui to open the TUI, or use the Web UI link printed in the terminal.
