> ## Documentation Index
> Fetch the complete documentation index at: https://openclaw.veiseule.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenCode Zen

# OpenCode Zen

OpenCode Zen 是由 OpenCode 團隊為程式代理程式推薦的**精選模型清單**。
它是一條可選的、託管式模型存取途徑，使用 API 金鑰 與 `opencode` 提供者。
Zen 目前仍處於 beta。
50\.
50. 這是一條可選的、託管的模型存取路徑，使用 API 金鑰與 `opencode` 提供者。
Zen is currently in beta.

## CLI 設定

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw onboard --auth-choice opencode-zen
# or non-interactive
openclaw onboard --opencode-zen-api-key "$OPENCODE_API_KEY"
```

## 設定片段

```json5 theme={"theme":{"light":"min-light","dark":"min-dark"}}
{
  env: { OPENCODE_API_KEY: "sk-..." },
  agents: { defaults: { model: { primary: "opencode/claude-opus-4-6" } } },
}
```

## 注意事項

* `OPENCODE_ZEN_API_KEY` 也受支援。
* 你需要登入 Zen，新增帳務資料，並複製你的 API 金鑰。
* OpenCode Zen 以每次請求計費；詳情請查看 OpenCode 儀表板。
