Quick Start
This page is for XAI Control (multi-tenant BYOK). If you prefer a SaaS router with platform-managed keys, see XAI Router Quick Start.
1. Sign up and get your XAI API Key
- Register at a.xaicontrol.com and verify your email.
- After activation, you will receive a welcome email with your XAI API Key.
- Account & usage management is available at m.xaicontrol.com.
2. Add provider keys (BYOK)
In the Admin console (a.xaicontrol.com), open API Keys and add your official OpenAI / Anthropic / DeepSeek keys.
Requests cannot be routed until provider keys are configured.
3. Configure the API endpoint
Update your SDK/application base_url to the unified gateway endpoint:
- Base URL:
https://api.xaicontrol.com(for self-hosting, use yourXAI_APIvalue)
4. Send your first request
# Replace YOUR_XAI_API_KEY with your own key
export XAI_API_KEY="sk-xxxx"
curl https://api.xaicontrol.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $XAI_API_KEY" \
-d '{
"model": "gpt-4o-mini",
"messages": [
{
"role": "user",
"content": "Hello, XAI Control!"
}
]
}'
5. Console shortcuts (optional)
- Admin console: Admin Console
- Manage console: Manage Console
If you need a shared test key, ask your parent account administrator for a temporary key.