docs: adding new provider

This commit is contained in:
Jay V
2025-08-26 12:27:10 -04:00
parent d9de78cfe8
commit 83b9b67c4c

View File

@@ -759,6 +759,23 @@ In this example:
---
### xAI
For a limited time, you can use xAI's Grok Code for free with opencode.
:::tip
Grok Code is available for free for a limited time on opencode.
:::
1. Make sure you are on the latest version of opencode.
2. Run the `/models` command and select **Grok Code Free**.
As a part of the trial period, the xAI team will be using the request logs to
monitor and improve Grok Code.
---
### Z.AI
1. Head over to the [Z.AI API console](https://z.ai/manage-apikey/apikey-list), create an account, and click **Create a new API key**.