xAI (BYOK)
Create an API key for xAI and add it to AnyRouter.
Route requests through your own xAI account (BYOK); no platform credits are charged. You need a API key string.
Get your API key
- Sign in to the xAI Console.
- Open API Keys.
- Click Create API Key and copy the secret (
xai-...).
Add it to AnyRouter
- Open Dashboard → BYOK, find xAI under Available and click Add key.
- Paste the key.
- Click Save. AnyRouter validates the key against xAI first; on failure the dialog shows the upstream error and nothing is saved.
- Create key: xAI console
AnyRouter routes requests to third-party models. Models and outputs are provided as is, with no warranty; you use them at your own risk. Disclaimer