Files
openclaw/docs/providers/opencode.md
Gustavo Madeira Santana 4629054403 chore: apply local workspace updates (#9911)
* chore: apply local workspace updates

* fix: resolve prep findings after rebase (#9898) (thanks @gumadeiras)

* refactor: centralize model allowlist normalization (#9898) (thanks @gumadeiras)

* fix: guard model allowlist initialization (#9911)

* docs: update changelog scope for #9911

* docs: remove model names from changelog entry (#9911)

* fix: satisfy type-aware lint in model allowlist (#9911)
2026-02-05 16:54:44 -05:00

932 B

summary, read_when, title
summary read_when title
Use OpenCode Zen (curated models) with OpenClaw
You want OpenCode Zen for model access
You want a curated list of coding-friendly models
OpenCode Zen

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

openclaw onboard --auth-choice opencode-zen
# or non-interactive
openclaw onboard --opencode-zen-api-key "$OPENCODE_API_KEY"

Config snippet

{
  env: { OPENCODE_API_KEY: "sk-..." },
  agents: { defaults: { model: { primary: "opencode/claude-opus-4-6" } } },
}

Notes

  • OPENCODE_ZEN_API_KEY is 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.