mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 17:56:44 +00:00
go: add mimo
This commit is contained in:
@@ -55,6 +55,8 @@ OpenCode Go 的運作方式與 OpenCode 中的任何其他供應商相同。
|
||||
|
||||
- **GLM-5**
|
||||
- **Kimi K2.5**
|
||||
- **MiMo-V2-Pro**
|
||||
- **MiMo-V2-Omni**
|
||||
- **MiniMax M2.5**
|
||||
- **MiniMax M2.7**
|
||||
|
||||
@@ -74,17 +76,19 @@ OpenCode Go 包含以下限制:
|
||||
|
||||
下表提供了基於典型 Go 使用模式的預估請求次數:
|
||||
|
||||
| | GLM-5 | Kimi K2.5 | MiniMax M2.7 | MiniMax M2.5 |
|
||||
| --------------- | ----- | --------- | ------------ | ------------ |
|
||||
| 每 5 小時請求數 | 1,150 | 1,850 | 14,000 | 20,000 |
|
||||
| 每週請求數 | 2,880 | 4,630 | 35,000 | 50,000 |
|
||||
| 每月請求數 | 5,750 | 9,250 | 70,000 | 100,000 |
|
||||
| | GLM-5 | Kimi K2.5 | MiMo-V2-Pro | MiMo-V2-Omni | MiniMax M2.7 | MiniMax M2.5 |
|
||||
| --------------- | ----- | --------- | ----------- | ------------ | ------------ | ------------ |
|
||||
| 每 5 小時請求數 | 1,150 | 1,850 | 1,290 | 2,150 | 14,000 | 20,000 |
|
||||
| 每週請求數 | 2,880 | 4,630 | 3,225 | 5,450 | 35,000 | 50,000 |
|
||||
| 每月請求數 | 5,750 | 9,250 | 6,450 | 10,900 | 70,000 | 100,000 |
|
||||
|
||||
預估值是基於觀察到的平均請求模式:
|
||||
|
||||
- GLM-5 — 每次請求 700 個輸入 token、52,000 個快取 token、150 個輸出 token
|
||||
- Kimi K2.5 — 每次請求 870 個輸入 token、55,000 個快取 token、200 個輸出 token
|
||||
- MiniMax M2.7/M2.5 — 每次請求 300 個輸入 token、55,000 個快取 token、125 個輸出 token
|
||||
- MiMo-V2-Pro — 每次請求 350 個輸入 token、41,000 個快取 token、250 個輸出 token
|
||||
- MiMo-V2-Omni — 每次請求 1000 個輸入 token、60,000 個快取 token、140 個輸出 token
|
||||
|
||||
您可以在 **<a href={console}>console</a>** 中追蹤您目前的使用量。
|
||||
|
||||
@@ -110,10 +114,12 @@ OpenCode Go 包含以下限制:
|
||||
| ------------ | ------------ | ------------------------------------------------ | --------------------------- |
|
||||
| GLM-5 | glm-5 | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
||||
| Kimi K2.5 | kimi-k2.5 | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
||||
| MiMo-V2-Pro | mimo-v2-pro | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
||||
| MiMo-V2-Omni | mimo-v2-omni | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
||||
| MiniMax M2.7 | minimax-m2.7 | `https://opencode.ai/zen/go/v1/messages` | `@ai-sdk/anthropic` |
|
||||
| MiniMax M2.5 | minimax-m2.5 | `https://opencode.ai/zen/go/v1/messages` | `@ai-sdk/anthropic` |
|
||||
|
||||
您的 OpenCode 設定中的 [模型 ID](/docs/config/#models) 使用 `opencode-go/<model-id>` 的格式。例如,對於 Kimi K2.5,您應該在您的設定中使用 `opencode-go/kimi-k2.5`。
|
||||
您的 OpenCode 設定中的 [model id](/docs/config/#models) 使用 `opencode-go/<model-id>` 格式。例如,Kimi K2.5 在設定中應使用 `opencode-go/kimi-k2.5`。
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user