Prerequisites
Before getting started, make sure you have:-
OpenClaw installed
Download and install OpenClaw. Once installed, you should be able to run
openclawfrom your terminal. -
A ToAPIs API key
Sign in to the ToAPIs Console to obtain your API key (starts with
sk-).
Configuration Steps
Run the following command in your terminal to start the setup wizard:Step 1: Select Model/Auth Provider
Step 2: Enter API Base URL
Step 3: Enter API Key
sk-xxxxxxxxxxxx).
Step 4: Select Endpoint Compatibility
Step 5: Enter Model ID
Recommended Models
You’re All Set
Once configuration is complete, OpenClaw will use ToAPIs as its backend. All your requests will be routed through ToAPIs to the chosen model.Troubleshooting
Authentication failed?
- Confirm your API key is correct and starts with
sk- - Check that your key is active in the ToAPIs Console
- Ensure your account has sufficient balance
Model not available?
- Make sure API Base URL is set to
https://toapis.com/v1(including the/v1suffix) - Make sure Endpoint compatibility is set to OpenAI-compatible
- Double-check the model ID spelling
Support
If you encounter any issues:- 📚 ToAPIs Documentation
- 💬 Discord Community
- 🐦 Twitter @toapisai
- 📧 Technical support: zhihong@toapis.com
[## Get Started with ToAPIs Sign up for ToAPIs today, get your API key, and start using AI with OpenClaw!](https://toapis.com)