Subscribe and get an API key
Sign in to OpenCode, subscribe to Go, and copy your API key. OpenCode currently allows one Go subscription per workspace.Configuration
Add OpenCode Go in Settings > Models and paste the key, or set:opencode-go provider at runtime.
Go models use the opencode-go/ prefix. Connecting the provider adds a curated
set of eligible models and recommends lower-cost options for helper work.
Usage behavior
Requests consume the rolling and monthly allowances defined by your Go plan. The OpenCode account console is authoritative for current usage and resets. If you enable Use balance in OpenCode, requests can fall back to your Zen balance after the included allowance is exhausted. See OpenCode Go documentation for current models, limits, pricing, and retention details.Verify setup
- save
OPENCODE_GO_API_KEY - confirm OpenCode Go models appear in Settings > Models
- apply a preset or assign an
opencode-go/...model manually - run a small task and confirm it appears in OpenCode usage
Common issues
- The key is rejected. Confirm the workspace has an active Go subscription and that you copied its OpenCode API key.
- A model is unavailable. Go’s catalog can change; select another model shown in the OpenCode Go console.
- Requests stop after sustained use. Check the plan’s rolling, weekly, and monthly allowance windows in OpenCode.