|
2 | 2 |
|
3 | 3 | **Switch between multiple AI model vendors with one click, breaking Copilot plan limitations.** |
4 | 4 |
|
5 | | -Supports domestic major vendors like Zhipu, Kimi, iFlytek, Volcengine, MiniMax, Baidu Qianfan, Tencent Cloud, JD Cloud, Kuaishou KAT, X-AIO, Compshare, Alibaba Cloud, Qiniu, DeepSeek, as well as **any** vendor compatible with OpenAI Chat, OpenAI Responses, or Anthropic API styles. No need to change usage habits; seamlessly call directly in VS Code Copilot Chat. |
| 5 | +Supports domestic major vendors like Zhipu, Kimi, iFlytek, Volcengine, MiniMax, Baidu Qianfan, Tencent Cloud, JD Cloud, Kuaishou KAT, X-AIO, Compshare, Alibaba Cloud, Xiaomi MiMo, DeepSeek, as well as **any** vendor compatible with OpenAI Chat, OpenAI Responses, or Anthropic API styles. No need to change usage habits; seamlessly call directly in VS Code Copilot Chat. |
6 | 6 |
|
7 | 7 | --- |
8 | 8 |
|
@@ -59,40 +59,38 @@ You can also directly edit `settings.json`; the extension will open settings and |
59 | 59 |
|
60 | 60 | The following vendors come with built-in default configurations and are ready to use after installation: |
61 | 61 |
|
62 | | -| Vendor | Default Endpoint (Anthropic) | OpenAI Compatible Endpoint | |
| 62 | +| Vendor | Default Built-in Endpoint | Other Compatible Endpoints | |
63 | 63 | | --- | --- | --- | |
64 | | -| Zhipu (zhipu) | `https://open.bigmodel.cn/api/anthropic/v1` | `https://open.bigmodel.cn/api/coding/paas/v4` | |
| 64 | +| Zhipu (zhipu) | `https://open.bigmodel.cn/api/coding/paas/v4` | `https://open.bigmodel.cn/api/anthropic` (Claude Code) / `https://open.bigmodel.cn/api/paas/v4` (general) | |
65 | 65 | | z.ai | `https://api.z.ai/api/anthropic` | `https://api.z.ai/api/coding/paas/v4` | |
66 | 66 | | Volcano Engine | `https://ark.cn-beijing.volces.com/api/coding` | `https://ark.cn-beijing.volces.com/api/coding/v3` | |
67 | 67 | | Volcengine Overseas | `https://ark.ap-southeast.bytepluses.com/api/coding` | `https://ark.ap-southeast.bytepluses.com/api/coding/v3` | |
68 | | -| MiniMax Mainland | `https://api.minimaxi.com/anthropic` | `https://api.minimaxi.com/v1` | |
69 | | -| MiniMax Overseas | `https://api.minimax.io/anthropic` | `https://api.minimax.io/v1` | |
70 | | -| Kimi Mainland | `https://api.moonshot.cn/anthropic` | `https://api.moonshot.cn/v1` | |
71 | | -| Kimi Overseas | `https://api.moonshot.ai/anthropic` | `https://api.moonshot.ai/v1` | |
72 | | -| Alibaba Cloud (Aliyun) | `https://coding.dashscope.aliyuncs.com/apps/anthropic` | `https://coding.dashscope.aliyuncs.com/v1` | |
73 | | -| Tencent Cloud | `https://api.lkeap.cloud.tencent.com/coding/anthropic` | — | |
74 | | -| Qiniu (七牛) | `https://api.qnaigc.com` | — | |
| 68 | +| Kimi | `https://api.kimi.com/coding/v1` | `https://api.kimi.com/coding/v1` | |
| 69 | +| Alibaba Cloud (Aliyun) | `https://token-plan.cn-beijing.maas.aliyuncs.com/apps/anthropic` | `https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1` | |
| 70 | +| Tencent Cloud | `https://api.lkeap.cloud.tencent.com/plan/anthropic` | `https://api.lkeap.cloud.tencent.com/plan/v3` | |
| 71 | +| Xiaomi MiMo | `https://token-plan-cn.xiaomimimo.com/anthropic` | `https://token-plan-cn.xiaomimimo.com/v1` | |
75 | 72 | | DeepSeek | `https://api.deepseek.com/anthropic` | `https://api.deepseek.com/v1` | |
76 | 73 | | OpenRouter | `https://openrouter.ai/api` | `https://openrouter.ai/api/v1` | |
77 | 74 |
|
78 | 75 | To switch to OpenAI-compatible endpoints, modify the vendor's `baseUrl` and `defaultApiStyle`. |
| 76 | +The built-in Zhipu default uses the dedicated GLM Coding Plan endpoint `https://open.bigmodel.cn/api/coding/paas/v4`. If you want the Claude Code-compatible entrypoint instead, switch `baseUrl` to `https://open.bigmodel.cn/api/anthropic` and set `defaultApiStyle` to `anthropic`. |
| 77 | +The built-in Xiaomi MiMo default uses the Token Plan endpoint. If you want pay-as-you-go API access instead, switch `baseUrl` to `https://api.xiaomimimo.com/anthropic` (`https://api.xiaomimimo.com/v1` for OpenAI compatibility) and use the matching API key. |
79 | 78 |
|
80 | 79 | ### Configuration Examples |
81 | 80 |
|
82 | | -**Anthropic Style (Default)** |
| 81 | +**Anthropic Style Example** |
83 | 82 |
|
84 | 83 | ```json |
85 | 84 | { |
86 | 85 | "coding-plans.vendors": [ |
87 | 86 | { |
88 | | - "name": "zhipu", |
89 | | - "baseUrl": "https://open.bigmodel.cn/api/anthropic/v1", |
90 | | - "usageUrl": "https://open.bigmodel.cn/api/monitor/usage/quota/limit", |
| 87 | + "name": "my-anthropic-vendor", |
| 88 | + "baseUrl": "https://api.example.com/anthropic", |
91 | 89 | "defaultApiStyle": "anthropic", |
92 | 90 | "useModelsEndpoint": false, |
93 | 91 | "models": [ |
94 | 92 | { |
95 | | - "name": "glm-4.7", |
| 93 | + "name": "my-model", |
96 | 94 | "capabilities": { "tools": true, "vision": false }, |
97 | 95 | "contextSize": 128000 |
98 | 96 | } |
@@ -271,7 +269,7 @@ graph TB |
271 | 269 |
|
272 | 270 | #### 📦 Domestic Plans |
273 | 271 |
|
274 | | -- **Coverage**: Zhipu, Kimi, iFLYTEK, Volcengine, MiniMax, Baidu Qianfan, Tencent Cloud, JD Cloud, Kuaishou KAT, X-AIO, Compshare, Alibaba Cloud, Infini, Qiniu, Xiaomi MiMo, Moore Threads, StepFun, China Unicom Cloud, National Supercomputing Internet, and 20+ more vendors |
| 272 | +- **Coverage**: Zhipu, Kimi, iFLYTEK, Volcengine, MiniMax, Baidu Qianfan, Tencent Cloud, JD Cloud, Kuaishou KAT, X-AIO, Compshare, Alibaba Cloud, Infini, Xiaomi MiMo, Moore Threads, StepFun, China Unicom Cloud, National Supercomputing Internet, and 20+ more vendors |
275 | 273 | - **Currency**: Chinese Yuan (CNY) |
276 | 274 | - **Filtering Rules**: Standard monthly plans only (excluding annual, quarterly, and first-month promotional prices) |
277 | 275 | - **Display**: Plan name, price, included quota, validity period, purchase links |
|
0 commit comments