OpenCode Zen
OpenCode Zen
Section titled “OpenCode Zen”OpenCode Zen is a curated list of models recommended by the OpenCode team for coding agents. It is an optional, hosted model access path that uses an API key and the opencode provider. Zen is currently in beta.
CLI setup
Section titled “CLI setup”openclaw onboard --auth-choice opencode-zen# or non-interactiveopenclaw onboard --opencode-zen-api-key "$OPENCODE_API_KEY"Config snippet
Section titled “Config snippet”{ env: { OPENCODE_API_KEY: "sk-..." }, agents: { defaults: { model: { primary: "opencode/claude-opus-4-5" } } },}OPENCODE_ZEN_API_KEYis also supported.- You sign in to Zen, add billing details, and copy your API key.
- OpenCode Zen bills per request; check the OpenCode dashboard for details.