Skip to content

Commit

Permalink
copy
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Nov 19, 2024
1 parent ab5a8b2 commit 20ab5f9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions aider/website/docs/llms/xai.md
Original file line number Diff line number Diff line change
@@ -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/
```


0 comments on commit 20ab5f9

Please sign in to comment.