xAI

You’ll need a xAI API key.

To use xAI:

python -m pip install -U aider-chat

export XAI_API_KEY=<key> # Mac/Linux
setx   XAI_API_KEY <key> # Windows, restart shell after setx

aider --model xai/grok-beta

# List models available from xAI
aider --list-models xai/