Skip to main content
You need an LLM Gateway key.

Setup

  1. Add the gateway as a provider in ~/.config/opencode/opencode.jsonc. List each model or alias you want:
    ~/.config/opencode/opencode.jsonc
  2. Set the key in your shell profile:
  3. Run opencode and pick an Unbound model with /models.

Check it works

Send a prompt. In LLM Gateway → Keys, the key’s Last Used updates.