OpenCode
Connect your toolsIntermediate3 min
Run OpenCode on Claude models through Zukko, billed from your balance.
You need: OpenCode (install), a fetch_... key (create one) and a balance from $1 (top up).
- 1Open the settings file
mkdir -p ~/.config/opencode && touch ~/.config/opencode/opencode.json && open -e ~/.config/opencode/opencode.jsonFor a single project only, use
opencode.jsonin its root. - 2Paste the settings
Replace
fetch_...with your key and save:json{ "$schema": "https://opencode.ai/config.json", "provider": { "anthropic": { "options": { "baseURL": "https://api.zukko.pro/v1", "apiKey": "fetch_..." }, "models": { "claude-opus-5-5": {}, "claude-sonnet-5": {} } } } } - 3Pick a model
Run
opencodein your project folder, type/models→ Anthropic → claude-sonnet-5. Type "Hi".
Add other Claude models to the models block — names are in the model list.
If it doesn't work
| What you see | What to do |
|---|---|
| 404 on every request | baseURL needs /v1: https://api.zukko.pro/v1 |
No Zukko models in /models | Check the file path and commas, restart opencode |
404 model_not_found | Take the name from the model list |
| 401 | Typo in the key — create a new one |
| 402 | Top up |
403 email_unverified | Verify your email in the dashboard |