Integrations
Use Verboo Code with OpenCode
Install OpenCode, connect your Verboo Code key, and choose a model to start coding.
1. Prepare access
With Node.js and npm installed, install OpenCode. Your Verboo Code account needs access to the model you want to use.
npm install -g opencode-aiCreate a key in the dashboard and replace <VERBOO_API_KEY> below. Export the variable in the same terminal where you will launch the CLI. The configuration reads this variable for authentication, keeping your key out of the JSON file.
export VERBOO_API_KEY="<VERBOO_API_KEY>"On Windows, set the variable with PowerShell:
$env:VERBOO_API_KEY = "<VERBOO_API_KEY>"2. Configure the provider
Create ~/.config/opencode/opencode.json and its parent folders if they do not exist. If the file already exists, add the verboo entry to the providers object while preserving your current configuration.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"verboo": {
"npm": "@ai-sdk/openai-compatible",
"name": "Verboo Code",
"options": {
"baseURL": "https://code.verboo.ai/router/v1",
"apiKey": "{env:VERBOO_API_KEY}"
},
"models": {
"<MODEL_ID>": {
"name": "Verboo Code"
}
}
}
}
}Use the exact model ID
Replace <MODEL_ID> with an ID returned by your account’s models API, including in the commands below. Choose a model with tool support. Context, images, and reasoning depend on the model capabilities and your plan.
The openai-compatible adapter uses Chat Completions. On Windows, the global file is %USERPROFILE%/.config/opencode/opencode.json. You can also use opencode.json at the project root.
3. Start and verify
Open a terminal in your project folder and start the CLI with your configured model:
opencode --model "verboo/<MODEL_ID>"Inside OpenCode, use /models to select another model you have added to the verboo provider.
To check available IDs and key access, query the API in Bash or Zsh:
curl https://code.verboo.ai/router/v1/models \
-H "Authorization: Bearer $VERBOO_API_KEY"For a 401 response, check the key and environment variable. For 403, check model access in your plan. If the model is missing, check its ID and provider configuration.
Official OpenCode documentation