Skip to main content
OpenCode exposes two hosted catalogs in OpenClaw: Both catalogs use the same OpenCode API key infrastructure (OPENCODE_API_KEY, alias OPENCODE_ZEN_API_KEY). Go still requires its own paid subscription; having a Zen key does not by itself grant Go access. OpenClaw keeps the runtime provider ids split so upstream per-model routing stays correct.

Getting started

Best for: the curated OpenCode multi-model proxy (Claude, GPT, Gemini, GLM, DeepSeek, Kimi, MiniMax, Qwen).
1

Run onboarding

Or pass the key directly:
2

Set a Zen model as the default

3

Verify models are available

Config example

Provider catalogs

Zen

Run openclaw models list --provider opencode for the current active list, which also includes the promoted free-tier rows opencode/big-pickle, opencode/deepseek-v4-flash-free, opencode/laguna-s-2.1-free, opencode/ling-3.0-tiny-free, opencode/longcat-2.0-free, opencode/mimo-v2.5-free, opencode/nemotron-3-ultra-free, and opencode/north-mini-code-free. Live discovery safely intersects OpenCode’s returned IDs with trusted OpenClaw metadata. A key-scoped response can omit models that are unavailable to that workspace; that absence does not retire the offline definition. Deprecated explicit refs remain resolvable for existing configurations but are not shown as current recommendations.

Go

See OpenCode Go for the full Go model table.

Advanced configuration

OPENCODE_ZEN_API_KEY is also accepted as an alias for OPENCODE_API_KEY.
Entering one OpenCode key during setup can store credentials for both runtime providers. It does not create a Go subscription or grant Go entitlement; subscribe to Go in the OpenCode console before using it.
Create an OpenCode account and generate an API key at opencode.ai/auth. Billing and catalog availability are managed from the OpenCode dashboard.
Gemini-backed OpenCode refs stay on the proxy-Gemini path, so OpenClaw keeps Gemini thought-signature sanitation there without enabling native Gemini replay validation or bootstrap rewrites.
Non-Gemini OpenCode refs keep the minimal OpenAI-compatible replay policy.
Billing, retention, and training policies are model-specific. Check the current OpenCode Zen pricing and policy before selecting a route. Free models may be temporary feedback programs.

OpenCode Go

Full Go catalog reference.

Model selection

Choosing providers, model refs, and failover behavior.

Configuration reference

Full config reference for agents, models, and providers.