sk-xxxxxxxxxxxxxxxx | Please directly enter the Key generated in the RezeAI console |https://api.rezeai.com/v1 | Must include the /v1 suffix |gpt-5 or claude-opus-4-6 | Enter the model that RezeAI actually supports and that your account has permission to access |opencode --version. If the version number is output successfully, the installation is successful.C:\Users\Your username\.config\opencode\opencode.json~/.config/opencode/opencode.json
### Step 2: Configure the Authentication Key (Auth)
1. Locate or create the key file:
* **Windows path**: `C:\Users\Your Username\.local\share\opencode\auth.json`
* **macOS / Linux path**: `~/.local/share/opencode/auth.json`
*(If the corresponding folder does not exist, please create it manually)*
2. Paste the following JSON content and save it (**Remember to replace `sk-...` with your actual RezeAI API Key**):
``json
{
"openai": {
"type": "api",
"key": "sk-your RezeAI key"
},
"anthropic": {
"type": "api",
"key": "sk-your RezeAI key"
}
}/models in the input box and press Enter. Select the model you want to use from the list (for example, if you select the Claude model, it will automatically use the Anthropic channel configured above).Write a piece of Python bubble sort codeauth.json is copied completely, ensuring there are no extra spaces.baseURL in opencode.json correctly includes the /v1 suffix (i.e., https://api.rezeai.com/v1)./models in the dialog box to view the list of models currently supported by the tool. As long as you select a model and the RezeAI backend supports mapping that model, it can be used normally.