DocsOpenCode

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).

  1. 1
    Open the settings file
    mkdir -p ~/.config/opencode && touch ~/.config/opencode/opencode.json && open -e ~/.config/opencode/opencode.json

    For a single project only, use opencode.json in its root.

  2. 2
    Paste 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": {}
          }
        }
      }
    }
  3. 3
    Pick a model

    Run opencode in 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 seeWhat to do
404 on every requestbaseURL needs /v1: https://api.zukko.pro/v1
No Zukko models in /modelsCheck the file path and commas, restart opencode
404 model_not_foundTake the name from the model list
401Typo in the key — create a new one
402Top up
403 email_unverifiedVerify your email in the dashboard
OpenCode · Zukko Docs