Skip to content

Commit 6af90ba

Browse files
committed
chore: Added information about Grok-4 and x.ai in README.md
1 parent 32bd421 commit 6af90ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ The following LLM providers are currently supported besides OpenAI:
131131
- [Perplexity.ai](https://www.perplexity.ai/pro) Pro users have $5/month free API credits available (the default PPLX agent uses Mixtral-8x7b).
132132
- [Anthropic](https://www.anthropic.com/api) to access Claude models, which currently outperform GPT-4 in some benchmarks.
133133
- [Google Gemini](https://ai.google.dev/) with a quite generous free range but some geo-restrictions (EU).
134+
- [x.ai](https://x.ai/api) to access Grok-4 with pre-paid credit plans (No free credit available at this moment).
134135
- Any other "OpenAI chat/completions" compatible endpoint (Azure, LM Studio, etc.)
135136

136137
Below is an example of the relevant configuration part enabling some of these. The `secret` field has the same capabilities as `openai_api_key` (which is still supported for compatibility).
@@ -171,6 +172,11 @@ Below is an example of the relevant configuration part enabling some of these. T
171172
endpoint = "https://api.anthropic.com/v1/messages",
172173
secret = os.getenv("ANTHROPIC_API_KEY"),
173174
},
175+
176+
xai = {
177+
endpoint = "https://api.x.ai/v1/chat/completions",
178+
secret = os.getenv("XAI_API_KEY"),
179+
},
174180
},
175181
```
176182

0 commit comments

Comments
 (0)