Connect your own AI provider
The Byok plan needs your own AI provider to work; on Pro and Unlimited you can add one too. Your key or login stays inside your own agent, and we never see it.
1. Get your dashboard link
- Send
/statusto @OpenClawBoxBot. - Tap the Web Dashboard link in the reply.
Keep this link private. Anyone who has it gets full access to your agent.
2. OpenClaw agents
In the dashboard, open Settings → Models → Connect provider.
API key (OpenAI, Anthropic, Google Gemini, OpenRouter, xAI)
- Pick your provider.
- Paste your API key.
- Click Save.
- Click Test connection.
Tip: use a key with a spending limit set at your provider.
ChatGPT Plus or Pro subscription
- Pick OpenAI, then Sign in with ChatGPT.
- Follow the sign-in page (or enter the device code it shows you).
- Come back to the dashboard when it says you are done.
GitHub Copilot subscription
- Pick GitHub Copilot. You get a short code.
- Open github.com/login/device, enter the code, and approve.
Pick your new model
- In the Defaults card, choose your new model as Primary model.
- Existing chats keep the old model until you send
/new(or/model default).
3. Hermes agents
- In the dashboard, open API Keys and paste your key, for example
OPENAI_API_KEY,ANTHROPIC_API_KEY,OPENROUTER_API_KEY, orGEMINI_API_KEY. - Open Config → model, set the provider and default model, and save.
- Restart the agent: System → Gateway → Restart.
ChatGPT or GitHub Copilot subscription on Hermes: ask your agent in chat, for example "connect my GitHub Copilot subscription". It runs hermes auth add copilot or hermes auth add openai-codex and sends you a device code to enter.
Claude subscription
Not supported. Use an Anthropic API key instead.
Troubleshooting
- "Setup required" message: no provider is connected yet. Follow the steps above.
- 401 error: the key is wrong or revoked. Reconnect with a valid key.
- Model not listed: connect the provider first, then pick the model in Defaults.
- Disconnect: remove the key in Settings → Models.
Still stuck? See support options or write to the Telegram Community.