mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-23 18:54:21 +01:00
docs: adding new provider
This commit is contained in:
@@ -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**.
|
||||
|
||||
Reference in New Issue
Block a user