Discover xAI models here
Get an API key from the xAI Console

Configuration

config.yaml
models:
  - name: <MODEL_NAME>
    provider: xai
    model: <MODEL_ID>
    apiKey: <YOUR_XAI_API_KEY>
Check out a more advanced configuration here