This commit is contained in:
Paul Gauthier 2024-11-19 06:52:15 -08:00
parent ab5a8b24a5
commit 20ab5f9326

View file

@ -0,0 +1,24 @@
---
parent: Connecting to LLMs
nav_order: 400
---
# xAI
You'll need a [xAI API key](https://console.x.ai.).
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/groq-beta
# List models available from xAI
aider --list-models groq/
```