Guides
OpenCode
Connection
| Setting | Field | Value |
|---|---|---|
| Base URL (OpenAI format) | provider.monkeybird.options.baseURL | https://api.monkeybird.si/v1 |
| Key | provider.monkeybird.options.apiKey | {env:MONKEYBIRD_API_KEY} · Create key |
| Main model | model | monkeybird/monkeybird-glm-5.3-sem-censura |
| Fast model | small_model | monkeybird/monkeybird-glm-5.3-flash-sem-censura |
Commands to store the key in the MONKEYBIRD_API_KEY variable
Setup
Paste the prompt into OpenCode and it edits its own configuration, or edit the files yourself:
~/.config/opencode/opencode.json (Windows: %USERPROFILE%\.config\opencode\opencode.json)
Configure OpenCode to use MonkeyBird (an API compatible with OpenAI). The key is already in the MONKEYBIRD_API_KEY environment variable; do not show the key in your reply.
Create or edit ~/.config/opencode/opencode.json (Windows: %USERPROFILE%\.config\opencode\opencode.json), merging this content without deleting what is already there:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"monkeybird": {
"npm": "@ai-sdk/openai-compatible",
"name": "MonkeyBird",
"options": {
"baseURL": "https://api.monkeybird.si/v1",
"apiKey": "{env:MONKEYBIRD_API_KEY}"
},
"models": {
"monkeybird-glm-5.3-flash-sem-censura": {
"name": "GLM 5.3 Flash"
},
"monkeybird-deepseek-v4.1-flash-sem-censura": {
"name": "DeepSeek V4.1 Flash"
},
"monkeybird-glm-5.3-sem-censura": {
"name": "GLM 5.3"
},
"monkeybird-kimi-k3.1-pro-sem-censura": {
"name": "Kimi K3.1 Pro sem censura"
},
"monkeybird-kimi-k3.1-pro": {
"name": "Kimi K3.1 Pro"
},
"monkeybird-minimax-m3.1-flash": {
"name": "MiniMax M3.1 Flash"
},
"monkeybird-deepseek-v4.1-flash-fast": {
"name": "DeepSeek V4.1 Flash Fast"
}
}
}
},
"model": "monkeybird/monkeybird-glm-5.3-sem-censura",
"small_model": "monkeybird/monkeybird-glm-5.3-flash-sem-censura"
}
At the end, tell me: Open OpenCode, type /models and pick "GLM 5.3" from the MonkeyBird provider.Open OpenCode, type /models and pick "GLM 5.3" from the MonkeyBird provider.