Files
openclaw-skill/openclaw-knowhow-skill/docs/models/opencode.md
Selig 4c966a3ad2 Initial commit: OpenClaw Skill Collection
6 custom skills (assign-task, dispatch-webhook, daily-briefing,
task-capture, qmd-brain, tts-voice) with technical documentation.
Compatible with Claude Code, OpenClaw, Codex CLI, and OpenCode.
2026-03-13 10:58:30 +08:00

1.0 KiB

OpenCode Zen

Overview

OpenCode Zen represents a curated list of models recommended by the OpenCode team for coding agents. It functions as an optional hosted model access pathway requiring an API key and the opencode provider, currently in beta status.

Setup Instructions

CLI Configuration (Interactive):

openclaw onboard --auth-choice opencode-zen

CLI Configuration (Non-Interactive):

openclaw onboard --opencode-zen-api-key "$OPENCODE_ZEN_API_KEY"

Configuration File:

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

Key Details

The service accepts either OPENCODE_ZEN_API_KEY or OPENCODE_API_KEY for authentication. Users establish their account through Zen's login portal, configure billing information, and retrieve their API credentials from the platform.

Billing Model

The service operates on a per-request pricing structure. Cost details and usage monitoring are available through the OpenCode dashboard.