Zen
由 OpenCode 提供的精选模型列表。
OpenCode Zen 是一份由 OpenCode 团队提供的、经过测试和验证的模型列表。
Zen 的用法与 OpenCode 中的任何其他提供商一样。你登录 OpenCode Zen 并获取你的 API 密钥。它是完全可选的,你不需要使用它就能使用 OpenCode。
背景
外面有大量模型,但其中只有少数几个能作为编码 agent 良好工作。此外,大多数提供商的配置方式非常不同;因此你会得到差异很大的性能和质量。
提示: 我们测试了一组精选的、能与 OpenCode 良好配合的模型和提供商。
所以如果你通过 OpenRouter 之类的方式使用某个模型,你永远无法确定自己是否得到了你想要模型的最佳版本。
为了解决这个问题,我们做了几件事:
- 我们测试了一组精选的模型,并与它们的团队讨论了如何最好地运行它们。
- 然后我们与几个提供商合作,确保这些模型被正确地提供。
- 最后,我们对模型/提供商的组合进行了基准测试,并得出了一份我们乐于推荐的列表。
OpenCode Zen 是一个让你访问这些模型的 AI 网关。
工作原理
OpenCode Zen 的用法与 OpenCode 中的任何其他提供商一样。
- 你登录 OpenCode Zen (opens in a new tab),添加你的账单信息,并复制你的 API 密钥。
- 你在 TUI 中运行
/connect命令,选择 OpenCode Zen,并粘贴你的 API 密钥。 - 在 TUI 中运行
/models以查看我们推荐的模型列表。
你按请求计费,并且可以为你的账户充值。
端点
你也可以通过以下 API 端点访问我们的模型。
| 模型 | Model ID | 端点 | AI SDK 包 |
|---|---|---|---|
| GPT 5.5 | gpt-5.5 | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.5 Pro | gpt-5.5-pro | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.4 | gpt-5.4 | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.4 Pro | gpt-5.4-pro | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.4 Mini | gpt-5.4-mini | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.4 Nano | gpt-5.4-nano | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.3 Codex | gpt-5.3-codex | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.3 Codex Spark | gpt-5.3-codex-spark | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.2 | gpt-5.2 | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.2 Codex | gpt-5.2-codex | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.1 | gpt-5.1 | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.1 Codex | gpt-5.1-codex | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.1 Codex Max | gpt-5.1-codex-max | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5.1 Codex Mini | gpt-5.1-codex-mini | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5 | gpt-5 | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5 Codex | gpt-5-codex | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| GPT 5 Nano | gpt-5-nano | https://opencode.ai/zen/v1/responses | @ai-sdk/openai |
| Claude Opus 4.7 | claude-opus-4-7 | https://opencode.ai/zen/v1/messages | @ai-sdk/anthropic |
| Claude Opus 4.6 | claude-opus-4-6 | https://opencode.ai/zen/v1/messages | @ai-sdk/anthropic |
| Claude Opus 4.5 | claude-opus-4-5 | https://opencode.ai/zen/v1/messages | @ai-sdk/anthropic |
| Claude Opus 4.1 | claude-opus-4-1 | https://opencode.ai/zen/v1/messages | @ai-sdk/anthropic |
| Claude Sonnet 4.6 | claude-sonnet-4-6 | https://opencode.ai/zen/v1/messages | @ai-sdk/anthropic |
| Claude Sonnet 4.5 | claude-sonnet-4-5 | https://opencode.ai/zen/v1/messages | @ai-sdk/anthropic |
| Claude Sonnet 4 | claude-sonnet-4 | https://opencode.ai/zen/v1/messages | @ai-sdk/anthropic |
| Claude Haiku 4.5 | claude-haiku-4-5 | https://opencode.ai/zen/v1/messages | @ai-sdk/anthropic |
| Claude Haiku 3.5 | claude-3-5-haiku | https://opencode.ai/zen/v1/messages | @ai-sdk/anthropic |
| Gemini 3.5 Flash | gemini-3.5-flash | https://opencode.ai/zen/v1/models/gemini-3.5-flash | @ai-sdk/google |
| Gemini 3.1 Pro | gemini-3.1-pro | https://opencode.ai/zen/v1/models/gemini-3.1-pro | @ai-sdk/google |
| Gemini 3 Flash | gemini-3-flash | https://opencode.ai/zen/v1/models/gemini-3-flash | @ai-sdk/google |
| Qwen3.6 Plus | qwen3.6-plus | https://opencode.ai/zen/v1/messages | @ai-sdk/anthropic |
| Qwen3.5 Plus | qwen3.5-plus | https://opencode.ai/zen/v1/messages | @ai-sdk/anthropic |
| MiniMax M2.7 | minimax-m2.7 | https://opencode.ai/zen/v1/chat/completions | @ai-sdk/openai-compatible |
| MiniMax M2.5 | minimax-m2.5 | https://opencode.ai/zen/v1/chat/completions | @ai-sdk/openai-compatible |
| GLM 5.1 | glm-5.1 | https://opencode.ai/zen/v1/chat/completions | @ai-sdk/openai-compatible |
| GLM 5 | glm-5 | https://opencode.ai/zen/v1/chat/completions | @ai-sdk/openai-compatible |
| Kimi K2.5 | kimi-k2.5 | https://opencode.ai/zen/v1/chat/completions | @ai-sdk/openai-compatible |
| Kimi K2.6 | kimi-k2.6 | https://opencode.ai/zen/v1/chat/completions | @ai-sdk/openai-compatible |
| Grok Build 0.1 | grok-build-0.1 | https://opencode.ai/zen/v1/chat/completions | @ai-sdk/openai-compatible |
| Big Pickle | big-pickle | https://opencode.ai/zen/v1/chat/completions | @ai-sdk/openai-compatible |
| DeepSeek V4 Flash Free | deepseek-v4-flash-free | https://opencode.ai/zen/v1/chat/completions | @ai-sdk/openai-compatible |
| Nemotron 3 Super Free | nemotron-3-super-free | https://opencode.ai/zen/v1/chat/completions | @ai-sdk/openai-compatible |
你 OpenCode 配置中的模型 id 使用格式 opencode/<model-id>。例如,对于 GPT 5.5,你会在配置中使用 opencode/gpt-5.5。
模型
你可以从以下地址获取可用模型及其元数据的完整列表:
https://opencode.ai/zen/v1/models定价
我们支持按量付费模式。下面是每 100 万 token 的价格。
| 模型 | 输入 | 输出 | 缓存读取 | 缓存写入 |
|---|---|---|---|---|
| Big Pickle | 免费 | 免费 | 免费 | - |
| DeepSeek V4 Flash Free | 免费 | 免费 | 免费 | - |
| Nemotron 3 Super Free | 免费 | 免费 | 免费 | - |
| MiniMax M2.7 | $0.30 | $1.20 | $0.06 | $0.375 |
| MiniMax M2.5 | $0.30 | $1.20 | $0.06 | $0.375 |
| GLM 5.1 | $1.40 | $4.40 | $0.26 | - |
| GLM 5 | $1.00 | $3.20 | $0.20 | - |
| Kimi K2.5 | $0.60 | $3.00 | $0.10 | - |
| Kimi K2.6 | $0.95 | $4.00 | $0.16 | - |
| Qwen3.6 Plus | $0.50 | $3.00 | $0.05 | $0.625 |
| Qwen3.5 Plus | $0.20 | $1.20 | $0.02 | $0.25 |
| Grok Build 0.1 | 1.00 | $2.00 | $0.20 | - |
| Claude Opus 4.7 | $5.00 | $25.00 | $0.50 | $6.25 |
| Claude Opus 4.6 | $5.00 | $25.00 | $0.50 | $6.25 |
| Claude Opus 4.5 | $5.00 | $25.00 | $0.50 | $6.25 |
| Claude Opus 4.1 | $15.00 | $75.00 | $1.50 | $18.75 |
| Claude Sonnet 4.6 | $3.00 | $15.00 | $0.30 | $3.75 |
| Claude Sonnet 4.5 (≤ 200K tokens) | $3.00 | $15.00 | $0.30 | $3.75 |
| Claude Sonnet 4.5 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 |
| Claude Sonnet 4 (≤ 200K tokens) | $3.00 | $15.00 | $0.30 | $3.75 |
| Claude Sonnet 4 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 |
| Claude Haiku 4.5 | $1.00 | $5.00 | $0.10 | $1.25 |
| Gemini 3.5 Flash | $1.50 | $9.00 | $0.15 | - |
| Gemini 3.1 Pro (≤ 200K tokens) | $2.00 | $12.00 | $0.20 | - |
| Gemini 3.1 Pro (> 200K tokens) | $4.00 | $18.00 | $0.40 | - |
| Gemini 3 Flash | $0.50 | $3.00 | $0.05 | - |
| GPT 5.5 (≤ 272K tokens) | $5.00 | $30.00 | $0.50 | - |
| GPT 5.5 (> 272K tokens) | $10.00 | $45.00 | $1.00 | - |
| GPT 5.5 Pro | $30.00 | $180.00 | $30.00 | - |
| GPT 5.4 (≤ 272K tokens) | $2.50 | $15.00 | $0.25 | - |
| GPT 5.4 (> 272K tokens) | $5.00 | $22.50 | $0.50 | - |
| GPT 5.4 Pro | $30.00 | $180.00 | $30.00 | - |
| GPT 5.4 Mini | $0.75 | $4.50 | $0.075 | - |
| GPT 5.4 Nano | $0.20 | $1.25 | $0.02 | - |
| GPT 5.3 Codex Spark | $1.75 | $14.00 | $0.175 | - |
| GPT 5.3 Codex | $1.75 | $14.00 | $0.175 | - |
| GPT 5.2 | $1.75 | $14.00 | $0.175 | - |
| GPT 5.2 Codex | $1.75 | $14.00 | $0.175 | - |
| GPT 5.1 | $1.07 | $8.50 | $0.107 | - |
| GPT 5.1 Codex | $1.07 | $8.50 | $0.107 | - |
| GPT 5.1 Codex Max | $1.25 | $10.00 | $0.125 | - |
| GPT 5.1 Codex Mini | $0.25 | $2.00 | $0.025 | - |
| GPT 5 | $1.07 | $8.50 | $0.107 | - |
| GPT 5 Codex | $1.07 | $8.50 | $0.107 | - |
| GPT 5 Nano | $0.05 | $0.40 | $0.005 | - |
你可能会在你的用量历史中注意到 Claude Haiku 3.5。这是一个用于生成你会话标题的低成本模型。
注意: 信用卡费用按成本转嫁(每笔交易 4.4% + $0.30);除此之外我们不收取任何费用。
免费模型:
- DeepSeek V4 Flash Free 在 OpenCode 上限时提供。团队正利用这段时间收集反馈并改进该模型。
- Nemotron 3 Super Free 在 OpenCode 上限时提供。团队正利用这段时间收集反馈并改进该模型。
- Big Pickle 是一个隐身模型,在 OpenCode 上限时免费提供。团队正利用这段时间收集反馈并改进该模型。
如果你有任何问题,联系我们。
自动充值
如果你的余额低于 $5,Zen 会自动充值 $20。
你可以更改自动充值金额。你也可以完全禁用自动充值。
月度限额
你还可以为整个工作区以及你团队的每个成员设置一个月度用量限额。
例如,假设你将月度用量限额设为 $20,Zen 在一个月内不会使用超过 $20。但如果你启用了自动充值,当你的余额低于 $5 时,Zen 最终可能会向你收取超过 $20 的费用。
已弃用的模型
| 模型 | 弃用日期 |
|---|---|
| GPT 5.2 Codex | July 23, 2026 |
| GPT 5.1 Codex | July 23, 2026 |
| GPT 5.1 Codex Max | July 23, 2026 |
| GPT 5.1 Codex Mini | July 23, 2026 |
| GPT 5 Codex | July 23, 2026 |
| Claude Sonnet 4 | June 15, 2026 |
| GLM 5 | May 14, 2026 |
| MiniMax M2.1 | March 15, 2026 |
| GLM 4.7 | March 15, 2026 |
| GLM 4.6 | March 15, 2026 |
| Gemini 3 Pro | March 9, 2026 |
| Kimi K2 Thinking | March 6, 2026 |
| Kimi K2 | March 6, 2026 |
| Claude Haiku 3.5 | Feb 16, 2026 |
| Qwen3 Coder 480B | Feb 6, 2026 |
隐私
我们所有的模型都托管在美国。我们的提供商遵循零保留政策,且不会将你的数据用于模型训练,但以下情况除外:
- Big Pickle:在其免费期间,收集的数据可能被用于改进该模型。
- DeepSeek V4 Flash Free:在其免费期间,收集的数据可能被用于改进该模型。
- Nemotron 3 Super Free(NVIDIA 免费端点):依据 NVIDIA API Trial Terms of Service (opens in a new tab) 提供。仅供试用——不用于生产或敏感数据。提示词和输出会被 NVIDIA 记录以改进其模型和服务。请勿提交个人或机密数据。
- OpenAI API:请求会按照 OpenAI 的数据政策 (opens in a new tab) 保留 30 天。
- Anthropic API:请求会按照 Anthropic 的数据政策 (opens in a new tab) 保留 30 天。
面向团队
Zen 对团队也非常好用。你可以邀请队友、分配角色、精选你团队使用的模型等等。
注意: 作为 beta 的一部分,工作区目前对团队免费。
作为 beta 的一部分,管理你的工作区目前对团队免费。我们很快会分享更多关于定价的细节。
角色
你可以邀请队友加入你的工作区并分配角色:
- Admin:管理模型、成员、API 密钥和账单
- Member:仅管理他们自己的 API 密钥
Admin 还可以为每个成员设置月度支出限额,以控制成本。
模型访问
Admin 可以为工作区启用或禁用特定模型。向一个已禁用模型发出的请求会返回一个错误。
这对于你想禁用某个会收集数据的模型的情况很有用。
自带密钥
你可以使用你自己的 OpenAI 或 Anthropic API 密钥,同时仍访问 Zen 中的其他模型。
当你使用自己的密钥时,token 由提供商直接计费,而非由 Zen 计费。
例如,你的组织可能已经有了一个 OpenAI 或 Anthropic 的密钥,而你想使用它,而非 Zen 提供的那个。
目标
我们创建 OpenCode Zen 是为了:
- 基准测试最适合编码 agent 的模型/提供商。
- 能访问最高质量的选项,而不降低性能或路由到更便宜的提供商。
- 通过按成本出售来传递任何降价;因此唯一的加价是为了覆盖我们的处理费用。
- 无锁定,允许你将它与任何其他编码 agent 一起使用。并始终允许你也在 OpenCode 中使用任何其他提供商。