opencode 提供商。Zen 目前处于测试阶段。
CLI 设置
配置片段
注意事项
- 也支持
OPENCODE_ZEN_API_KEY。 - 你需要登录 Zen,添加账单信息,然后复制你的 API 密钥。
- OpenCode Zen 按请求计费;详情请查看 OpenCode 控制台。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Claude Code
OpenCode Zen 文档
opencode 提供商。Zen 目前处于测试阶段。
openclaw onboard --auth-choice opencode-zen
# 或非交互式
openclaw onboard --opencode-zen-api-key "$OPENCODE_API_KEY"
{
env: { OPENCODE_API_KEY: "sk-..." },
agents: { defaults: { model: { primary: "opencode/claude-opus-4-5" } } },
}
OPENCODE_ZEN_API_KEY。Was this page helpful?