OpenClaw Setup
Set UnioAPI as a custom provider in the onboarding wizard of OpenClaw, the open-source personal AI assistant — choose OpenAI- or Anthropic-compatible and enter a model ID.
OpenClaw is an open-source personal AI assistant that connects to chat apps and can be extended with Skills. Its onboarding wizard supports custom providers; pick the matching compatibility mode to use UnioAPI.
Details depend on your version
Installation and wizard options follow OpenClaw's official docs; this page reflects the version at the time of writing.
Prerequisites
- OpenClaw installed as its official docs describe (the website offers one-line install scripts for macOS / Linux and a PowerShell script for Windows).
- A topped-up UnioAPI account and an API key.
Steps
Start the wizard
openclaw onboard --install-daemonThe wizard asks for the model service, address, key and model in turn.
Choose Custom Provider
At the model service step choose Custom Provider, then the compatibility mode for your models:
| Use | Compatibility | API Base URL |
|---|---|---|
| GPT models | OpenAI-compatible | https://api.unioapi.com/v1 |
| Claude models | Anthropic-compatible | https://api.unioapi.com |
public/docs/screenshots/openclaw-onboard.png · 1600×1000Enter the key and model
- API Key: your UnioAPI key.
- Model ID: e.g.
gpt-5.6-solorclaude-sonnet-5; see GET /v1/models.
When the wizard finishes, OpenClaw runs as a background service.
Verify
Send OpenClaw a message from a connected chat app. If it replies and the call appears in the console's Request logs, you are connected.
FAQ
| Symptom | Check |
|---|---|
| 404 | Compatibility and address don't match: OpenAI-compatible needs /v1, Anthropic-compatible doesn't |
| 401 / 402 | Invalid key, or the balance is too low |
| Changes don't take effect | Run the wizard again, or restart OpenClaw's background service |
Next steps
- Other compatible clients
- Rate limits: an always-on assistant should watch concurrency and request rate
CC Switch Setup
Use the open-source desktop tool CC Switch to add UnioAPI configurations for Claude Code, Codex and the Claude app, and switch between them in one click.
WorkBuddy Setup
Add a custom model service in the WorkBuddy desktop app's model settings with UnioAPI's endpoint, API key and model IDs.