Go add hy3 preview (#26533)

This commit is contained in:
Jack
2026-05-10 02:23:34 -04:00
committed by GitHub
parent ce3235e115
commit bcbc1dba22
55 changed files with 143 additions and 140 deletions
@@ -65,6 +65,7 @@ OpenCode Go 的工作方式与 OpenCode 中的其他提供商一样。
- **MiniMax M2.7**
- **DeepSeek V4 Pro**
- **DeepSeek V4 Flash**
- **Hy3 preview**
随着我们进行测试和添加新模型,该列表可能会发生变化。
@@ -96,6 +97,7 @@ OpenCode Go 包含以下限制:
| Qwen3.5 Plus | 10,200 | 25,200 | 50,500 |
| DeepSeek V4 Pro | 3,450 | 8,550 | 17,150 |
| DeepSeek V4 Flash | 31,650 | 79,050 | 158,150 |
| Hy3 preview | 1,875 | 4,690 | 9,375 |
预估值基于观察到的平均请求模式:
@@ -108,6 +110,7 @@ OpenCode Go 包含以下限制:
- MiniMax M2.7/M2.5 — 每次请求 300 个输入 token,55,000 个缓存 token,125 个输出 token
- Qwen3.5 Plus — 每次请求 410 个输入 token,47,000 个缓存 token,140 个输出 token
- Qwen3.6 Plus — 每次请求 500 个输入 token,57,000 个缓存 token,190 个输出 token
- Hy3 preview — 800 input, 50,000 cached, 400 output tokens per request
你可以在 **<a href={console}>控制台</a>** 中跟踪你当前的使用情况。
@@ -143,6 +146,7 @@ OpenCode Go 包含以下限制:
| MiniMax M2.5 | minimax-m2.5 | `https://opencode.ai/zen/go/v1/messages` | `@ai-sdk/anthropic` |
| Qwen3.6 Plus | qwen3.6-plus | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/alibaba` |
| Qwen3.5 Plus | qwen3.5-plus | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/alibaba` |
| Hy3 preview | hy3-preview | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
你 OpenCode 配置中的 [模型 ID](/docs/config/#models) 使用 `opencode-go/<model-id>` 格式。例如,对于 Kimi K2.6,你将在配置中使用 `opencode-go/kimi-k2.6`。