go: kimi 2.7 code

This commit is contained in:
Frank 2026-06-12 15:57:13 -04:00
commit 443f103ee3
38 changed files with 288 additions and 326 deletions

View file

@ -59,18 +59,17 @@ Only one member per workspace can subscribe to OpenCode Go.
The current list of models includes:
- **GLM-5**
- **GLM-5.1**
- **Kimi K2.5**
- **GLM-5**
- **Kimi K2.7 Code**
- **Kimi K2.6**
- **MiMo-V2.5**
- **MiMo-V2.5-Pro**
- **MiniMax M2.5**
- **MiniMax M2.7**
- **MiniMax M3**
- **Qwen3.6 Plus**
- **Qwen3.7 Plus**
- **MiniMax M2.7**
- **Qwen3.7 Max**
- **Qwen3.7 Plus**
- **Qwen3.6 Plus**
- **DeepSeek V4 Pro**
- **DeepSeek V4 Flash**
@ -94,13 +93,12 @@ The table below provides an estimated request count based on typical Go usage pa
| ----------------- | ------------------- | ----------------- | ------------------ |
| GLM-5.1 | 880 | 2,150 | 4,300 |
| GLM-5 | 1,150 | 2,880 | 5,750 |
| Kimi K2.5 | 1,850 | 4,630 | 9,250 |
| Kimi K2.6 | 1,150 | 2,880 | 5,750 |
| Kimi K2.7 Code | 1,350 | 4,630 | 9,250 |
| MiMo-V2.5 | 30,100 | 75,200 | 150,400 |
| MiMo-V2.5-Pro | 3,250 | 8,150 | 16,300 |
| MiniMax M3 | 3,200 | 8,000 | 16,000 |
| MiniMax M2.7 | 3,400 | 8,500 | 17,000 |
| MiniMax M2.5 | 6,300 | 15,900 | 31,800 |
| Qwen3.7 Max | 950 | 2,390 | 4,770 |
| Qwen3.7 Plus | 4,300 | 10,800 | 21,600 |
| Qwen3.6 Plus | 3,300 | 8,200 | 16,300 |
@ -110,11 +108,11 @@ The table below provides an estimated request count based on typical Go usage pa
The estimates are based on observed average request patterns:
- GLM-5/5.1 — 700 input, 52,000 cached, 150 output tokens per request
- Kimi K2.5/K2.6 — 870 input, 55,000 cached, 200 output tokens per request
- Kimi K2.7/K2.6 — 870 input, 55,000 cached, 200 output tokens per request
- DeepSeek V4 Pro — 750 input, 82,000 cached, 290 output tokens per request
- DeepSeek V4 Flash — 790 input, 68,000 cached, 280 output tokens per request
- MiniMax M3 — 510 input, 56,000 cached, 190 output tokens per request
- MiniMax M2.7/M2.5 — 300 input, 55,000 cached, 125 output tokens per request
- MiniMax M2.7 — 300 input, 55,000 cached, 125 output tokens per request
- MiMo-V2.5 — 830 input, 71,500 cached, 295 output tokens per request
- MiMo-V2.5-Pro — 790 input, 86,000 cached, 305 output tokens per request
- Qwen3.7 Max — 420 input, 66,000 cached, 200 output tokens per request
@ -127,8 +125,8 @@ The estimates are also based on the following prices per 1M tokens:
| ---------------------------- | ----- | ------ | ----------- | ------------ |
| GLM-5.1 | $1.40 | $4.40 | $0.26 | - |
| GLM-5 | $1.00 | $3.20 | $0.20 | - |
| Kimi K2.7 Code | $0.95 | $4.00 | $0.19 | - |
| Kimi K2.6 | $0.95 | $4.00 | $0.16 | - |
| Kimi K2.5 | $0.60 | $3.00 | $0.10 | - |
| MiMo V2.5 | $0.14 | $0.28 | $0.0028 | - |
| MiMo V2.5 Pro | $1.74 | $3.48 | $0.0145 | - |
| MiniMax M3 | $0.30 | $1.20 | $0.06 | - |
@ -168,7 +166,7 @@ You can also access Go models through the following API endpoints.
| ----------------- | ----------------- | ------------------------------------------------ | --------------------------- |
| GLM-5.1 | glm-5.1 | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
| 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` |
| Kimi K2.7 | kimi-k2.7 | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
| Kimi K2.6 | kimi-k2.6 | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
| DeepSeek V4 Pro | deepseek-v4-pro | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
| DeepSeek V4 Flash | deepseek-v4-flash | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
@ -182,8 +180,8 @@ You can also access Go models through the following API endpoints.
| Qwen3.6 Plus | qwen3.6-plus | `https://opencode.ai/zen/go/v1/messages` | `@ai-sdk/anthropic` |
The [model id](/docs/config/#models) in your OpenCode config
uses the format `opencode-go/<model-id>`. For example, for Kimi K2.6, you would
use `opencode-go/kimi-k2.6` in your config.
uses the format `opencode-go/<model-id>`. For example, for Kimi K2.7 Code, you would
use `opencode-go/kimi-k2.7-code` in your config.
---