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

> OpenClaw에서 OpenCode Zen(엄선된 모델) 사용하기

# OpenCode

# OpenCode Zen

OpenCode Zen은 OpenCode 팀이 코딩 에이전트용으로 추천하는 **엄선된 모델 목록**입니다.
API 키와 `opencode` 제공업체를 사용하는 선택형 호스팅 모델 액세스 경로입니다.
Zen은 현재 베타입니다.

## CLI 설정

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw onboard --auth-choice opencode-zen
# 또는 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 대시보드에서 확인하세요.
