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

  1. Sign in to the xAI Console.
  2. Open API Keys.
  3. Click Create API Key and copy the secret (xai-...).

Add it to AnyRouter

  1. Open Dashboard → BYOK, find xAI under Available and click Add key.
  2. Paste the key.
  3. Click Save. AnyRouter validates the key against xAI first; on failure the dialog shows the upstream error and nothing is saved.

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