SUZENT / Docs
THE SUZENT HANDBOOK

xAI (Grok)

Use Grok models with an xAI API key.

Use Grok models with an API key from xAI.

Set up

  1. Get an API key from console.x.ai.
  2. Open Settings → Providers → xAI (Grok), click CHANGE on the API KEYS tab, and paste the key.
  3. On the MODELS tab, click FETCH, tick the models you want, and click Save Changes.

Settings

FieldEnvironment variableNotes
API KeyXAI_API_KEYStarts with xai-.

You can set the key's environment variable before starting Suzent instead of pasting it. It then shows as Set in env and can't be changed from the app.

Edit this page on GitHub ↗

On this page