| Setting | Value |
|---|---|
| Base URL | https://studio.dataeyes.ai/v1 (use this for both the OpenAI and Anthropic providers) |
| API key | Your Model API key, starting with sk- |
| Example models | openai/gpt-6-sol, anthropic/claude-sonnet-5-5 |
opencode --version. If it prints a version number, the installation succeeded.~/.config/opencode/opencode.json (on Windows: C:\Users\<username>\.config\opencode\opencode.json) and add:{
"$schema": "https://opencode.ai/config.json",
"provider": {
"openai": {
"options": { "baseURL": "https://studio.dataeyes.ai/v1" }
},
"anthropic": {
"options": { "baseURL": "https://studio.dataeyes.ai/v1" }
}
}
}~/.local/share/opencode/auth.json (on Windows: C:\Users\<username>\.local\share\opencode\auth.json) and add:{
"openai": { "type": "api", "key": "sk-xxx" },
"anthropic": { "type": "api", "key": "sk-xxx" }
}/models to switch models: models prefixed with openai/ use GPT, and models prefixed with anthropic/ use Claude.