copilot-custom-endpoint 2.1.4 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -26
- package/docs/example-config.md +19 -3
- package/docs/models/deepseek.md +35 -2
- package/docs/models/glm.md +39 -20
- package/docs/pricing.md +47 -42
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -20,18 +20,19 @@ That's it. No code, no servers to manage (unless the model specifically needs th
|
|
|
20
20
|
|
|
21
21
|
## Pick a model
|
|
22
22
|
|
|
23
|
-
| Model
|
|
24
|
-
|
|
|
25
|
-
| **Kimi K3 / K2.7 Code / K2.6**
|
|
26
|
-
| **MiMo V2.5**
|
|
27
|
-
| **MiMo V2.5 Pro**
|
|
28
|
-
| **Qwen 3.7 Plus**
|
|
29
|
-
| **Qwen 3.7 Max**
|
|
30
|
-
| **Qwen 3.8 Max**
|
|
31
|
-
| **MiniMax M3**
|
|
32
|
-
| **GLM 5.2 / 5.1**
|
|
33
|
-
| **GLM 5V Turbo**
|
|
34
|
-
| **DeepSeek V4
|
|
23
|
+
| Model | Provider | Needs proxy? | Vision | Setup guide |
|
|
24
|
+
| ------------------------------ | --------- | ---------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
25
|
+
| **Kimi K3 / K2.7 Code / K2.6** | Moonshot | **Yes** | ✅ | [Manual setup](docs/models/kimi.md) |
|
|
26
|
+
| **MiMo V2.5** | Xiaomi | Optional (recommended) | ✅ | [Extension](https://marketplace.visualstudio.com/items?itemName=sdmapvstool.xiaomimimo-for-copilot) ★ / [Manual setup](docs/models/mimo.md) |
|
|
27
|
+
| **MiMo V2.5 Pro** | Xiaomi | Optional (recommended) | ❌ | [Extension](https://marketplace.visualstudio.com/items?itemName=sdmapvstool.xiaomimimo-for-copilot) ★ / [Manual setup](docs/models/mimo.md) |
|
|
28
|
+
| **Qwen 3.7 Plus** | DashScope | Optional (recommended) | ✅ | [Manual setup](docs/models/qwen.md) |
|
|
29
|
+
| **Qwen 3.7 Max** | DashScope | Optional (recommended) | ❌ | [Manual setup](docs/models/qwen.md) |
|
|
30
|
+
| **Qwen 3.8 Max** | DashScope | Optional (recommended) | ✅ | [Manual setup](docs/models/qwen.md) |
|
|
31
|
+
| **MiniMax M3** | MiniMax | No | ✅ | [Extension](https://github.com/tugudush/minimax-copilot) ★ / [Manual setup](docs/models/minimax.md) |
|
|
32
|
+
| **GLM 5.3 / 5.2 / 5.1** | Z.ai | No | ✅ via extension proxy | [Manual setup](docs/models/glm.md) |
|
|
33
|
+
| **GLM 5V Turbo** | Z.ai | No | ✅ | [Manual setup](docs/models/glm.md) |
|
|
34
|
+
| **DeepSeek V4 Flash 0731** | DeepSeek | No (uses an extension) | ❌ | [Extension](https://marketplace.visualstudio.com/items?itemName=Vizards.deepseek-v4-for-copilot) / [setup notes](docs/models/deepseek.md) |
|
|
35
|
+
| **DeepSeek V4 Pro 0813** | DeepSeek | No (uses an extension) | ❌ | [Extension](https://marketplace.visualstudio.com/items?itemName=Vizards.deepseek-v4-for-copilot) / [setup notes](docs/models/deepseek.md) |
|
|
35
36
|
|
|
36
37
|
## Setup
|
|
37
38
|
|
|
@@ -65,7 +66,7 @@ Open the setup guide for the model you picked (links in the table above) and cop
|
|
|
65
66
|
1. Open VS Code Settings (`Ctrl+,` / `Cmd+,`).
|
|
66
67
|
2. Search for **"Chat: Utility Small Model"** (setting ID: `chat.lm.utilitySmallModel`).
|
|
67
68
|
3. Pick the **fastest, cheapest model** available to you from the dropdown. Good choices:
|
|
68
|
-
- **DeepSeek V4 Flash** — if you have the [DeepSeek V4 for Copilot Chat](https://marketplace.visualstudio.com/items?itemName=Vizards.deepseek-v4-for-copilot) extension installed (fastest, ~$0.
|
|
69
|
+
- **DeepSeek V4 Flash** — if you have the [DeepSeek V4 for Copilot Chat](https://marketplace.visualstudio.com/items?itemName=Vizards.deepseek-v4-for-copilot) extension installed (fastest, ~$0.35/session at peak rates).
|
|
69
70
|
- **MiMo V2.5** — if you already have Xiaomi MiMo configured (cheapest custom-endpoint option, ~$0.10/session).
|
|
70
71
|
- **Default** — if you still have native Copilot model access, this lets VS Code use its built-in fast model.
|
|
71
72
|
4. The setting takes effect immediately — no restart needed.
|
|
@@ -105,22 +106,23 @@ npx copilot-custom-endpoint clean # Remove debug_log/
|
|
|
105
106
|
|
|
106
107
|
## Pricing snapshot
|
|
107
108
|
|
|
108
|
-
All prices are **USD per 1M tokens** (non-cached). 1 AI credit = $0.01. To convert to AI credits, multiply by 100 (e.g., $5.00/1M = 500 credits/1M). Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns.
|
|
109
|
+
All prices are **USD per 1M tokens** (non-cached). 1 AI credit = $0.01. To convert to AI credits, multiply by 100 (e.g., $5.00/1M = 500 credits/1M). Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns. DeepSeek V4 estimates use peak rates; official off-peak rates are half.
|
|
109
110
|
|
|
110
111
|
| Model | Provider | Cost per intelligence | Intelligence Score | Est. session | Vision | Context window |
|
|
111
112
|
| -------------------------- | --------- | --------------------- | ------------------ | ------------ | ------ | -------------- |
|
|
112
|
-
| **DeepSeek V4 Flash 0731** | DeepSeek | **~$0.0019** | **51.8** | ~$0.10 | ❌ | 1M |
|
|
113
113
|
| **MiMo V2.5** | Xiaomi | **~$0.0026** | **38.0** | ~$0.10 | ✅ | 1M |
|
|
114
114
|
| **GPT-5.6 Luna** | OpenAI | **~$0.0042** | **52.3** | ~$0.22 | ✅ | 1M |
|
|
115
115
|
| **MiniMax M3** | MiniMax | **~$0.0060** | **45.4** | ~$0.27 | ✅ | 1M |
|
|
116
|
-
| **DeepSeek V4
|
|
116
|
+
| **DeepSeek V4 Flash 0731** | DeepSeek | **~$0.0068** | **51.8** | ~$0.35 | ❌ | 1M |
|
|
117
117
|
| **MiMo V2.5 Pro** | Xiaomi | **~$0.0070** | **42.9** | ~$0.30 | ❌ | 1M |
|
|
118
118
|
| **Qwen 3.7 Plus** ¹² | DashScope | **~$0.0074** | **39.4** | ~$0.29 | ✅ | 1M |
|
|
119
119
|
| **MiniMax M3 Priority**⁴ | MiniMax | **~$0.0090** | **45.4** | ~$0.41 | ✅ | 1M |
|
|
120
120
|
| **Gemini 3.7 Flash** ¹³ | Google | **~$0.013** | **56** | ~$0.75 | ✅ | 1M |
|
|
121
121
|
| **Qwen 3.6 Plus** ¹⁶ | DashScope | **~$0.014** | **40.0** | ~$0.55 | ✅ | 1M |
|
|
122
122
|
| **Gemini 3.6 Flash** ⁸ | Google | **~$0.015** | **51.6** | ~$0.75 | ✅ | 1M |
|
|
123
|
+
| **GLM 5.3** ¹⁷ | Z.ai | **~$0.019** | **59.5** | ~$1.14 | ❌ | 1M |
|
|
123
124
|
| **Kimi K2.6** | Moonshot | **~$0.020** | **45.0** | ~$0.88 | ✅ | 262K |
|
|
125
|
+
| **DeepSeek V4 Pro 0813** | DeepSeek | **~$0.020** | **53.2** | ~$1.06 | ❌ | 1M |
|
|
124
126
|
| **GPT-5.4 mini** | OpenAI | **~$0.020** | **40.9** | ~$0.83 | ❌ | 400K |
|
|
125
127
|
| **Kimi K2.7 Code** | Moonshot | **~$0.020** | **43.0** | ~$0.88 | ✅ | 262K |
|
|
126
128
|
| **GLM 5.2** | Z.ai | **~$0.022** | **52.6** | ~$1.14 | ❌ | 1M |
|
|
@@ -174,30 +176,32 @@ All prices are **USD per 1M tokens** (non-cached). 1 AI credit = $0.01. To conve
|
|
|
174
176
|
|
|
175
177
|
¹⁶ **Qwen 3.6 Plus** (DashScope, released April 2, 2026) — AA Intelligence Index **40.0**. Priced at $0.50 / $3.00 per MTok input/output ($0.05 cached). 1M context, text + image + video input. **Deprecated** in favor of Qwen 3.7 Plus.
|
|
176
178
|
|
|
179
|
+
¹⁷ **GLM 5.3** (Z.ai, released August 18, 2026) — new flagship. AA Intelligence Index **59.5** (OpenRouter AA-sourced; AA page lists rounded **60**, #8/182). Priced identically to GLM 5.2: $1.40 / $0.26 / $4.40 per 1M input/cached/output. 1M context, text-only, always-thinking with `reasoning_effort` (low/high/max, default max). Released too recently for Arena rankings. See the [AA model page](https://artificialanalysis.ai/models/glm-5-3) and [Z.ai docs](https://docs.z.ai/guides/llm/glm-5.3).
|
|
180
|
+
|
|
177
181
|
For footnotes, sources, and detailed notes (cache behavior, tiered pricing, free quotas) see [docs/pricing.md](docs/pricing.md). For a copy-paste config containing **all providers at once**, see [docs/example-config.md](docs/example-config.md).
|
|
178
182
|
|
|
179
183
|
> **👤 Personal picks** —
|
|
180
184
|
>
|
|
181
|
-
> For serious coding work, **GPT-5.6 Luna**
|
|
185
|
+
> For serious coding work, **GPT-5.6 Luna** is the cheapest 50+ vision model, while **DeepSeek V4 Flash 0731** is the low-cost text-only pick:
|
|
182
186
|
>
|
|
183
|
-
> - **GPT-5.6 Luna** (Copilot native) — scores **52.3**, ~$0.22/session, vision-capable.
|
|
184
|
-
> - **DeepSeek V4 Flash 0731** (extension) — scores **51.8** after the AA v4.1.1 benchmark refresh, ~$0.
|
|
187
|
+
> - **GPT-5.6 Luna** (Copilot native) — scores **52.3**, ~$0.22/session, vision-capable. It is cheaper than MiniMax M3 (45.4) and consumes fewer AI credits after OpenAI's July price cut.
|
|
188
|
+
> - **DeepSeek V4 Flash 0731** (extension) — scores **51.8** after the AA v4.1.1 benchmark refresh, ~$0.35/session at peak rates (~$0.18 off-peak). It is the lowest-cost text-only model above 50 in this table; pair it with a vision model when you need images.
|
|
185
189
|
> - **Gemini 3.7 Flash** (Copilot native, new August 13) — scores **56** at ~$0.75/session under promotional pricing. The best-value Google model in Copilot: it beats Gemini 3.5 Flash (52.0) and Grok 4.5 (55.8) on intelligence at roughly half the session cost, with 1M context, full multimodal input, and AA's fastest output speed. A strong upgrade pick if you use Google models.
|
|
186
190
|
>
|
|
187
|
-
> **MiniMax M3** (45.4, ~$0.27/session) is still the best **direct** custom-endpoint option — no proxy or extension, vision, 1M context, strong coding
|
|
191
|
+
> **MiniMax M3** (45.4, ~$0.27/session) is still the best **direct** custom-endpoint option — no proxy or extension, vision, 1M context, strong coding. Pick M3 when you want a plug-and-play custom endpoint with vision.
|
|
188
192
|
>
|
|
189
|
-
> For **plan mode / architecture & design thinking**, **Qwen 3.8 Max**, **Kimi K3**, **GLM 5.
|
|
193
|
+
> For **plan mode / architecture & design thinking**, **Qwen 3.8 Max**, **Kimi K3**, **GLM 5.3**, **GPT-5.6 Luna**, and **DeepSeek V4 Flash 0731** are worth considering:
|
|
190
194
|
>
|
|
191
|
-
> - **Qwen 3.8 Max** — scores **58.1** (#5 overall, the #2 custom-endpoint model) — the default planning pick. Near-flagship intelligence at ~$1.60/session
|
|
195
|
+
> - **Qwen 3.8 Max** — scores **58.1** (#5 overall, the #2 custom-endpoint model) — the default **multimodal** planning pick. Near-flagship intelligence at ~$1.60/session, with 1M context and vision. Strong for whole-codebase planning, architecture, and large spec review.
|
|
192
196
|
> - **Kimi K3** — new flagship. Highest intelligence score among custom-endpoint models (**59.7**, #4 overall). Best for complex reasoning, long-horizon planning, and architecture decisions when you want the absolute best — but at ~$3.00/session it's ~2× Qwen 3.8 Max for +1.6 points, so **reserve it for hard problems**.
|
|
193
|
-
> - **GLM 5.
|
|
197
|
+
> - **GLM 5.3** — new flagship, scores **59.5** (now the #2 custom-endpoint model, just behind Kimi K3's 59.7) at ~$1.14/session. 1M context, text-only, always-thinking. It is the strongest text-only planning value above 59 and offers best-in-class agentic coding per Z.ai (50% gain over 5.2 on their Code Bench) — ideal for whole-codebase planning and large spec review. ~4× MiniMax M3, so **not a daily driver for agent mode** — reserve it for planning, then hand implementation off to a cheaper model.
|
|
194
198
|
> - **GPT-5.6 Luna** (Copilot native) — scores **52.3** and is now the cheapest 50+ model. OpenAI cut its API price to $0.20/$1.20 per 1M input/output tokens; in Copilot, the equivalent benefit is lower AI-credit consumption, while your subscription price and monthly allowance stay unchanged. Ideal for high-quality planning on a budget.
|
|
195
|
-
> - **DeepSeek V4 Flash 0731** (extension) — scores **51.8** at ~$0.
|
|
199
|
+
> - **DeepSeek V4 Flash 0731** (extension) — scores **51.8** at ~$0.35/session at peak rates (~$0.18 off-peak) — the lower-cost planning pick. Text-only, so pair it with a vision model for design review, but it remains strong for reasoning-heavy planning.
|
|
196
200
|
>
|
|
197
201
|
> Cheaper alternatives for simpler tasks:
|
|
198
202
|
>
|
|
199
|
-
> - **Qwen 3.7 Plus** — ~$0.29/session after the August 7 price cut, 39.4 score, vision-capable — the
|
|
200
|
-
> - **MiMo V2.5** — ~$0.10/session, 38.0 score
|
|
203
|
+
> - **Qwen 3.7 Plus** — ~$0.29/session after the August 7 price cut, 39.4 score, vision-capable — the budget option among the Qwen entries
|
|
204
|
+
> - **MiMo V2.5** — ~$0.10/session, 38.0 score, vision-capable — the lowest modeled cost-per-intelligence option in the table
|
|
201
205
|
|
|
202
206
|
## Companion tools
|
|
203
207
|
|
package/docs/example-config.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Full example config
|
|
2
2
|
|
|
3
|
-
Here's a complete, real-world `chatLanguageModels.json` that combines **the `customendpoint` providers from the live `chatLanguageModels.json`**, plus the additional GLM models (`glm-5.2`, `glm-5.1`) that are validated in [docs/models/glm.md](models/glm.md) but not present in every live config. Copy what you need, leave the rest out.
|
|
3
|
+
Here's a complete, real-world `chatLanguageModels.json` that combines **the `customendpoint` providers from the live `chatLanguageModels.json`**, plus the additional GLM models (`glm-5.3`, `glm-5.2`, `glm-5.1`) that are validated in [docs/models/glm.md](models/glm.md) but not present in every live config. Copy what you need, leave the rest out.
|
|
4
4
|
|
|
5
5
|
> **⚠️ Reminder:** After adding models, you must also configure the **Utility Small Model** setting in VS Code. Open Settings → search **"Chat: Utility Small Model"** → pick your fastest model (e.g., DeepSeek V4 Flash or MiMo V2.5). Without this, custom-endpoint models may not function correctly. See the [main README](../README.md#4-configure-the-utility-small-model) for details.
|
|
6
6
|
>
|
|
@@ -163,6 +163,22 @@ Here's a complete, real-world `chatLanguageModels.json` that combines **the `cus
|
|
|
163
163
|
"apiKey": "",
|
|
164
164
|
"apiType": "chat-completions",
|
|
165
165
|
"models": [
|
|
166
|
+
{
|
|
167
|
+
"id": "glm-5.3",
|
|
168
|
+
"name": "GLM 5.3 (text)",
|
|
169
|
+
"url": "https://api.z.ai/api/paas/v4/chat/completions",
|
|
170
|
+
"toolCalling": true,
|
|
171
|
+
"vision": false,
|
|
172
|
+
"streaming": true,
|
|
173
|
+
"maxInputTokens": 1048576,
|
|
174
|
+
"maxOutputTokens": 131072,
|
|
175
|
+
"requestBody": {
|
|
176
|
+
"thinking": { "type": "enabled" },
|
|
177
|
+
"reasoning_effort": "max",
|
|
178
|
+
"temperature": 1.0,
|
|
179
|
+
"top_p": 0.95
|
|
180
|
+
}
|
|
181
|
+
},
|
|
166
182
|
{
|
|
167
183
|
"id": "glm-5.2",
|
|
168
184
|
"name": "GLM 5.2 (text)",
|
|
@@ -221,6 +237,6 @@ If you only need one provider, jump straight to its setup guide:
|
|
|
221
237
|
- [Qwen 3.7 Plus / 3.7 Max](qwen.md)
|
|
222
238
|
- [Xiaomi MiMo (V2.5 / V2.5 Pro)](mimo.md)
|
|
223
239
|
- [MiniMax M3 (Standard)](minimax.md) and [MiniMax M3 (Priority)](minimax.md#5-m3-priority-tier-optional)
|
|
224
|
-
- [GLM (5.2 / 5.1 / 5V Turbo)](glm.md)
|
|
240
|
+
- [GLM (5.3 / 5.2 / 5.1 / 5V Turbo)](glm.md)
|
|
225
241
|
|
|
226
|
-
> **DeepSeek V4 Pro / V4 Flash** use the [DeepSeek V4 for Copilot Chat](https://marketplace.visualstudio.com/items?itemName=Vizards.deepseek-v4-for-copilot) extension. They appear in `chatLanguageModels.json` as `vendor: "deepseek"` (not as a `customendpoint` provider) and are configured via the extension's settings block.
|
|
242
|
+
> **DeepSeek V4 Pro 0813 / V4 Flash 0731** use the [DeepSeek V4 for Copilot Chat](https://marketplace.visualstudio.com/items?itemName=Vizards.deepseek-v4-for-copilot) extension. They appear in `chatLanguageModels.json` as `vendor: "deepseek"` (not as a `customendpoint` provider) and are configured via the extension's settings block.
|
package/docs/models/deepseek.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
DeepSeek V4 Pro and Flash are provided by the [DeepSeek V4 for Copilot Chat](https://marketplace.visualstudio.com/items?itemName=Vizards.deepseek-v4-for-copilot) extension. They do not use this repository's `chatLanguageModels.json` custom-endpoint configuration.
|
|
4
4
|
|
|
5
|
+
## Current builds
|
|
6
|
+
|
|
7
|
+
The API model IDs remain stable while DeepSeek rolls newer builds behind them:
|
|
8
|
+
|
|
9
|
+
| API model | Current version | Update | Context | Modality | Parameters |
|
|
10
|
+
| ------------------- | ---------------------- | --------------------------------------------- | ------- | ------------------ | ----------------------- |
|
|
11
|
+
| `deepseek-v4-flash` | DeepSeek-V4-Flash-0731 | July 31, 2026; re-post-trained public release | 1M | Text in / text out | 284B total / 13B active |
|
|
12
|
+
| `deepseek-v4-pro` | DeepSeek-V4-Pro-0813 | August 13, 2026; GA release | 1M | Text in / text out | 1.6T total / 49B active |
|
|
13
|
+
|
|
14
|
+
The [DeepSeek API change log](https://api-docs.deepseek.com/updates/) says both builds are selected with the plain API model ID. Do not add the version suffix to the API request or the extension override.
|
|
15
|
+
|
|
5
16
|
## Model ID overrides
|
|
6
17
|
|
|
7
18
|
The extension's `deepseek-copilot.modelIdOverrides` setting changes the upstream API model IDs while keeping the normal DeepSeek entries in the Copilot model picker. The official DeepSeek Chat Completions API only accepts two `model` values — `deepseek-v4-flash` and `deepseek-v4-pro` — so the correct map for the official endpoint is just the defaults:
|
|
@@ -15,11 +26,33 @@ The extension's `deepseek-copilot.modelIdOverrides` setting changes the upstream
|
|
|
15
26
|
}
|
|
16
27
|
```
|
|
17
28
|
|
|
18
|
-
> **Warning:** Do **not** use the human-readable version
|
|
29
|
+
> **Warning:** Do **not** use the human-readable version labels as model IDs. `DeepSeek-V4-Flash-0731` and `DeepSeek-V4-Pro-0813` are version strings, not valid `model` fields. The official endpoint serves those builds under the plain `deepseek-v4-flash` and `deepseek-v4-pro` IDs, so no version-suffixed override is needed there. Sending a version-suffixed ID to `https://api.deepseek.com` can return **HTTP 400 "Invalid request body format"**.
|
|
19
30
|
|
|
20
31
|
Only add an override when the configured `deepseek-copilot.baseUrl` expects a different model name (e.g., a third-party proxy). The left-hand keys are the extension's logical model keys; they are not arbitrary picker labels. The right-hand values are sent verbatim as the provider's `model` field.
|
|
21
32
|
|
|
22
|
-
For Flash, select **DeepSeek V4
|
|
33
|
+
For Flash or Pro, select the corresponding **DeepSeek V4** entry in Copilot Chat after reloading the window. The picker may still display the family name without the build suffix; that is expected. The override is not a model registration or a way to add a new picker entry.
|
|
34
|
+
|
|
35
|
+
## Updated benchmarks
|
|
36
|
+
|
|
37
|
+
DeepSeek's official August updates report the following agent-focused results, measured with the DeepSeek Harness at max effort for Flash and the GA Pro release:
|
|
38
|
+
|
|
39
|
+
- **Flash 0731:** Terminal-Bench 2.1 **82.7**, NL2Repo **54.2**, Cybergym **76.7**, DeepSWE **54.4**, Toolathlon Verified **70.3**, Agents' Last Exam **25.2**, AutomationBench (Public) **25.1**, DSBench-FullStack **68.7**, and DSBench-Hard **59.6**.
|
|
40
|
+
- **Pro 0813:** HLE without/with tools **42.7/60.0**, Terminal-Bench 2.1 **87.9**, NL2Repo **61.5**, Cybergym **83.3**, DeepSWE **62.7**, Toolathlon Verified **74.1**, Agents' Last Exam **25.7**, AutomationBench (Public) **31.8**, DSBench-FullStack **71.1**, and DSBench-Hard **67.2**.
|
|
41
|
+
|
|
42
|
+
The current Artificial Analysis snapshot exposed through OpenRouter reports **Flash 51.8 AA Intelligence / 69.1 Coding / 48.4 Agentic** and **Pro 53.2 AA Intelligence / 68.8 Coding / 49.6 Agentic**. The AA values are independent composite scores; DeepSeek's agent results above are vendor-reported and should not be treated as the same metric.
|
|
43
|
+
|
|
44
|
+
Sources: [DeepSeek update log](https://api-docs.deepseek.com/updates/), [Flash benchmark snapshot](https://openrouter.ai/deepseek/deepseek-v4-flash-0731), [Pro benchmark snapshot](https://openrouter.ai/deepseek/deepseek-v4-pro-0813), [Flash AA page](https://artificialanalysis.ai/models/deepseek-v4-flash), and [Pro AA page](https://artificialanalysis.ai/models/deepseek-v4-pro).
|
|
45
|
+
|
|
46
|
+
## Current API pricing
|
|
47
|
+
|
|
48
|
+
DeepSeek switched V4 pricing to peak/off-peak rates at **16:00 UTC on August 16, 2026**. Prices below are USD per 1M tokens. Peak hours are **01:00-04:00 and 06:00-10:00 UTC**; off-peak rates are half the peak rates.
|
|
49
|
+
|
|
50
|
+
| API model | Cache hit | Cache miss | Output |
|
|
51
|
+
| ------------------- | ----------------------------- | --------------------------- | --------------------------- |
|
|
52
|
+
| `deepseek-v4-flash` | $0.007 off-peak / $0.014 peak | $0.22 off-peak / $0.44 peak | $0.66 off-peak / $1.32 peak |
|
|
53
|
+
| `deepseek-v4-pro` | $0.022 off-peak / $0.044 peak | $0.66 off-peak / $1.32 peak | $1.98 off-peak / $3.96 peak |
|
|
54
|
+
|
|
55
|
+
See the [official Models & Pricing page](https://api-docs.deepseek.com/quick_start/pricing) for the live rates and concurrency limits.
|
|
23
56
|
|
|
24
57
|
## Tool-list stabilization (`experimental.stabilizeToolList`)
|
|
25
58
|
|
package/docs/models/glm.md
CHANGED
|
@@ -20,20 +20,21 @@
|
|
|
20
20
|
| Billing | **Pay-as-You-Go** (PaaS API) — Coding Plan subscription exists but is **not usable** from VS Code custom endpoints |
|
|
21
21
|
| Vision | ✅ Yes (`glm-5v-turbo` only) |
|
|
22
22
|
| Tool calling | ✅ Yes (native multimodal tool use on `glm-5v-turbo`) |
|
|
23
|
-
| Context | 1M (`glm-5.2` Solid Lossless Context)
|
|
23
|
+
| Context | 1M (`glm-5.3` / `glm-5.2` Solid Lossless Context) |
|
|
24
24
|
| Max output | 131072 |
|
|
25
|
-
| Required `requestBody` | `thinking: { type: "enabled" }` (recommended)
|
|
25
|
+
| Required `requestBody` | `thinking: { type: "enabled" }` + `reasoning_effort: "max"` (recommended) |
|
|
26
26
|
| Endpoint (intl) | `https://api.z.ai/api/paas/v4/chat/completions` |
|
|
27
27
|
| Endpoint (China) | `https://open.bigmodel.cn/api/paas/v4/chat/completions` |
|
|
28
28
|
| Auth | `Authorization: Bearer $ZAI_API_KEY` |
|
|
29
29
|
|
|
30
30
|
### Models
|
|
31
31
|
|
|
32
|
-
| Model | Vision | Context | Max output | Notes
|
|
33
|
-
| -------------- | ------ | ------- | ---------- |
|
|
34
|
-
| `glm-5.
|
|
35
|
-
| `glm-5.
|
|
36
|
-
| `glm-
|
|
32
|
+
| Model | Vision | Context | Max output | Notes |
|
|
33
|
+
| -------------- | ------ | ------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
34
|
+
| `glm-5.3` | ❌ | 1M | 131072 | **New flagship** — ~50% coding gain over 5.2 on Z.ai Code Bench; always-thinking, `reasoning_effort` `low`/`high`/`max` (default `max`) ($1.40 / $4.40 per 1M) |
|
|
35
|
+
| `glm-5.2` | ❌ | 1M | 131072 | Previous flagship — "Opus-level" long-context engineering & agentic coding; thinking `enabled` ($1.40 / $4.40 per 1M) |
|
|
36
|
+
| `glm-5.1` | ❌ | 200K | 131072 | Previous flagship — long-horizon / 8h autonomous work; thinking `enabled` ($1.40 / $4.40 per 1M) |
|
|
37
|
+
| `glm-5v-turbo` | ✅ | 200K | 131072 | Multimodal **coding** model — vision-based agentic coding; thinking `enabled` ($1.20 / $4.00 per 1M) |
|
|
37
38
|
|
|
38
39
|
> Other GLM models (`glm-5`, `glm-5-turbo`, `glm-4.5-air`, etc.) are callable on the same endpoint but are intentionally **not** added to the default `chatLanguageModels.json` block below. Add them in the same shape if you need them. Note: `glm-4.6v-flashx` was previously in the default block but has been **removed** because live testing showed it is not reliable for tool calling.
|
|
39
40
|
|
|
@@ -63,6 +64,22 @@
|
|
|
63
64
|
"apiKey": "",
|
|
64
65
|
"apiType": "chat-completions",
|
|
65
66
|
"models": [
|
|
67
|
+
{
|
|
68
|
+
"id": "glm-5.3",
|
|
69
|
+
"name": "GLM 5.3 (text)",
|
|
70
|
+
"url": "https://api.z.ai/api/paas/v4/chat/completions",
|
|
71
|
+
"toolCalling": true,
|
|
72
|
+
"vision": false,
|
|
73
|
+
"streaming": true,
|
|
74
|
+
"maxInputTokens": 1048576,
|
|
75
|
+
"maxOutputTokens": 131072,
|
|
76
|
+
"requestBody": {
|
|
77
|
+
"thinking": { "type": "enabled" },
|
|
78
|
+
"reasoning_effort": "max",
|
|
79
|
+
"temperature": 1.0,
|
|
80
|
+
"top_p": 0.95
|
|
81
|
+
}
|
|
82
|
+
},
|
|
66
83
|
{
|
|
67
84
|
"id": "glm-5.2",
|
|
68
85
|
"name": "GLM 5.2 (text)",
|
|
@@ -134,25 +151,27 @@
|
|
|
134
151
|
- **Sampling:** recommended `temperature: 1`, `top_p: 0.95`. Z.ai's `temperature` is **hard-capped at `1.0` server-side** — sending `> 1.0` will reject with a 400. Don't set `do_sample: false` from `requestBody` (it would make `temperature`/`top_p` be ignored).
|
|
135
152
|
- **`tool_choice` only supports `auto`** — don't override it (VS Code's default is `auto`).
|
|
136
153
|
- **`clear_thinking` defaults to `true` server-side**, which strips historical `reasoning_content` from prior turns before sending to the model. This is what makes multi-turn tool loops stable. **Do not** set `clear_thinking: false` from `requestBody` — VS Code can't forward `reasoning_content` and the request will fail.
|
|
137
|
-
- **
|
|
154
|
+
- **GLM 5.3 is always-thinking** — `thinking.type` only supports `enabled`; disabling reasoning is **not supported**. `reasoning_effort` accepts `low`, `high`, or `max` (default `max`; `max` recommended for coding). If you previously sent `thinking.type: "disabled"` for other GLM models, switch it to `enabled` with `reasoning_effort: "low"` when moving to `glm-5.3`.
|
|
155
|
+
- **Vision** is supported only on `glm-5v-turbo` (OpenAI `image_url` content-part format — external URLs and base64 data URIs both work). `glm-5.3`, `glm-5.2` and `glm-5.1` are text-only. For turnkey VS Code video understanding via `glm-5v-turbo`, see [**Video Context MCP**](https://www.videocontextmcp.com/).
|
|
138
156
|
- **Context caching** is automatic — `usage.prompt_tokens_details.cached_tokens` reports cache hits; cache writes are currently free.
|
|
139
157
|
|
|
140
158
|
## Troubleshooting
|
|
141
159
|
|
|
142
|
-
| Symptom | Likely cause | Fix
|
|
143
|
-
| -------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
144
|
-
| Model not in picker | Config not reloaded, or JSON syntax error | Restart VS Code; validate JSON
|
|
145
|
-
| HTTP 400 on the first turn | `requestBody` removed `do_sample` semantics or invalid `temperature` | Ensure `temperature ≤ 1.0` and `top_p ∈ [0.01, 1.0]`
|
|
146
|
-
| `invalid temperature: only values ≤ 1.0 are allowed` | Set `temperature > 1.0` | Lower it to `1.0` or below
|
|
147
|
-
| Tool call succeeds but follow-up turn degrades | `clear_thinking: false` set in `requestBody` | Remove the `clear_thinking` key and let the server default to `true`
|
|
148
|
-
| `tool_choice: required` rejected | GLM only supports `auto` | Don't override `tool_choice` (VS Code's default is `auto`)
|
|
149
|
-
| `
|
|
150
|
-
|
|
|
151
|
-
|
|
|
152
|
-
|
|
|
160
|
+
| Symptom | Likely cause | Fix |
|
|
161
|
+
| -------------------------------------------------------- | --------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
|
|
162
|
+
| Model not in picker | Config not reloaded, or JSON syntax error | Restart VS Code; validate JSON |
|
|
163
|
+
| HTTP 400 on the first turn | `requestBody` removed `do_sample` semantics or invalid `temperature` | Ensure `temperature ≤ 1.0` and `top_p ∈ [0.01, 1.0]` |
|
|
164
|
+
| `invalid temperature: only values ≤ 1.0 are allowed` | Set `temperature > 1.0` | Lower it to `1.0` or below |
|
|
165
|
+
| Tool call succeeds but follow-up turn degrades | `clear_thinking: false` set in `requestBody` | Remove the `clear_thinking` key and let the server default to `true` |
|
|
166
|
+
| `tool_choice: required` rejected | GLM only supports `auto` | Don't override `tool_choice` (VS Code's default is `auto`) |
|
|
167
|
+
| `thinking.type: disabled` rejected on `glm-5.3` | GLM 5.3 only supports enabled thinking; reasoning cannot be disabled | Use `thinking: { "type": "enabled" }` + `reasoning_effort: "low"` (or higher) |
|
|
168
|
+
| `Failed to download multimodal content` on a vision call | Z.ai's servers couldn't reach the image URL | Use a base64 `data:image/...` URI instead |
|
|
169
|
+
| 401 Unauthorized | Region mismatch (international key used on China URL, or vice versa) | Match your key to the regional endpoint |
|
|
170
|
+
| Upstream complains about `reasoning_content is missing` | You set `clear_thinking: false` from a client that doesn't forward it | Drop `clear_thinking` from `requestBody` |
|
|
171
|
+
| 429 / "concurrency limit exceeded" | Too many in-flight requests | Reduce concurrent agent sessions, or upgrade your Z.ai plan |
|
|
153
172
|
|
|
154
173
|
## Pricing
|
|
155
174
|
|
|
156
175
|
All prices are **USD per 1M tokens** (cache miss) on the Z.ai international platform. Per-model input/output rates are listed in the `Cost` column of the [Models](#models) table above.
|
|
157
176
|
|
|
158
|
-
> **Cache writes** are currently **Limited-time Free** for all models. Cached-input pricing is roughly 18% of the input price (e.g. `$1.40` input → `$0.
|
|
177
|
+
> **Cache writes** are currently **Limited-time Free** for all models. Cached-input pricing is roughly 18% of the input price (e.g. `$1.40` input → `$0.26` cached for `glm-5.3` / `glm-5.2` / `glm-5.1`). China platform (`bigmodel.cn`) prices in CNY; see the [China pricing page](https://bigmodel.cn/pricing). For the cross-provider comparison, see [docs/pricing.md](../pricing.md).
|
package/docs/pricing.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Pricing
|
|
2
2
|
|
|
3
|
-
> **Updated:** August
|
|
3
|
+
> **Updated:** August 20, 2026 — **DeepSeek V4 Flash 0731** and **DeepSeek V4 Pro 0813** refreshed (footnote ¹⁹): current builds, AA Intelligence Index **51.8** / **53.2**, and peak/off-peak API pricing effective August 16. Pro's official GA agent benchmark update is documented in [docs/models/deepseek.md](models/deepseek.md). August 19: **GLM 5.3** added (footnote ¹⁸): Z.ai's new flagship (August 18, 2026), AA Intelligence Index **59.5**, priced identically to GLM 5.2 ($1.40 / $0.26 / $4.40). August 17: **GLM 5.2** OpenRouter promo refreshed (footnote ⁴): NovitaAI cut to 48% off; Open Sail Research now cheapest at $0.50 / $3.15. August 15: **Claude Fable 5** and **Qwen 3.6 Plus** added (footnotes ¹⁶–¹⁷); **Grok 4.5 / 4.6** and **Claude Fable 5** are now **GitHub Copilot native** (footnotes ¹², ¹⁴, ¹⁶). **Grok 4.6** and **Gemini 3.7 Flash** added August 14 (footnotes ¹⁴–¹⁵). **Gemini 3.6 Flash promotional price cut** to $0.75 / $3.75 (footnote ⁹). **Qwen 3.7 Max / 3.7 Plus price cuts** (see footnote ¹³). OpenRouter is running limited-time promos on GPT-5.6 Terra/Luna (⁸), GLM 5.2 (⁴), GLM 5.1, MiMo V2.5/V2.5 Pro, and MiniMax M3.
|
|
4
4
|
|
|
5
5
|
> **⏰ June 1, 2026 — GitHub Copilot switched to usage-based billing (AI Credits) today.**
|
|
6
6
|
>
|
|
@@ -18,52 +18,53 @@
|
|
|
18
18
|
>
|
|
19
19
|
> Code completions remain unlimited and **not** billed. Auto model selection gets a 10% discount.
|
|
20
20
|
|
|
21
|
-
All prices below are in **USD per 1M tokens** (non-cached). To convert to AI credits, multiply by 100 (e.g., $5.00/1M = 500 credits/1M).
|
|
21
|
+
All prices below are in **USD per 1M tokens** (non-cached). To convert to AI credits, multiply by 100 (e.g., $5.00/1M = 500 credits/1M). DeepSeek V4 rows use peak rates for the comparison; its official off-peak rates are half.
|
|
22
22
|
|
|
23
23
|
All models are listed together below, sorted by Cost per intelligence ascending (lower is better). Models without a Cost per intelligence are ordered by estimated session cost ascending. Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns.
|
|
24
24
|
|
|
25
|
-
| Model
|
|
26
|
-
|
|
|
27
|
-
| **
|
|
28
|
-
| **
|
|
29
|
-
| **
|
|
30
|
-
| **
|
|
31
|
-
| **
|
|
32
|
-
| **
|
|
33
|
-
| **
|
|
34
|
-
| **
|
|
35
|
-
| **
|
|
36
|
-
| **
|
|
37
|
-
| **
|
|
38
|
-
| **Kimi K2.6**
|
|
39
|
-
| **
|
|
40
|
-
| **
|
|
41
|
-
| **
|
|
42
|
-
| **
|
|
43
|
-
| **
|
|
44
|
-
| **
|
|
45
|
-
| **
|
|
46
|
-
| **GLM
|
|
47
|
-
| **
|
|
48
|
-
| **
|
|
49
|
-
| **
|
|
50
|
-
| **
|
|
51
|
-
| **
|
|
52
|
-
| **
|
|
53
|
-
| **
|
|
54
|
-
| **Claude Sonnet
|
|
55
|
-
| **Claude
|
|
56
|
-
| **Claude Opus
|
|
57
|
-
| **
|
|
58
|
-
| **
|
|
59
|
-
| **
|
|
60
|
-
| **
|
|
25
|
+
| Model | Provider | Cost per intelligence | Intelligence Score | Input (per 1M) | Cached input | Output (per 1M) | Est. session | Context window |
|
|
26
|
+
| ----------------------------- | --------- | --------------------- | ------------------ | ----------------------------- | ----------------------------- | ----------------------------- | ------------ | -------------- |
|
|
27
|
+
| **MiMo V2.5** | Xiaomi | **~$0.0026** | **38.0** | $0.14 | $0.0028 | $0.28 | ~$0.10 | 1M |
|
|
28
|
+
| **GPT-5.6 Luna** | OpenAI | **~$0.0042** | **52.3** | $0.20 | $0.02 | $1.20 | ~$0.22 | 1M |
|
|
29
|
+
| **MiniMax M3** | MiniMax | **~$0.0060** | **45.4** | $0.60 (≤512K) / $1.20 (>512K) | $0.12 (≤512K) / $0.24 (>512K) | $2.40 (≤512K) / $4.80 (>512K) | ~$0.27 | 1M |
|
|
30
|
+
| **DeepSeek V4 Flash 0731** ¹⁹ | DeepSeek | **~$0.0068** | **51.8** | $0.44 | $0.014 | $1.32 | ~$0.35 | 1M |
|
|
31
|
+
| **MiMo V2.5 Pro** | Xiaomi | **~$0.0070** | **42.9** | $0.435 | $0.0036 | $0.87 | ~$0.30 | 1M |
|
|
32
|
+
| **Qwen 3.7 Plus** ¹³ | DashScope | **~$0.0074** | **39.4** | $0.32 (≤256K) / $0.40 (>256K) | $0.064 | $1.28 (≤256K) / $1.60 (>256K) | ~$0.29 | 1M |
|
|
33
|
+
| **MiniMax M3 Priority**⁵ | MiniMax | **~$0.0090** | **45.4** | $0.90 (≤512K) / $1.80 (>512K) | $0.18 (≤512K) / $0.36 (>512K) | $3.60 (≤512K) / $7.20 (>512K) | ~$0.41 | 1M |
|
|
34
|
+
| **Gemini 3.7 Flash** ¹⁵ | Google | **~$0.013** | **56** | $0.75 | $0.075 | $3.75 | ~$0.75 | 1M |
|
|
35
|
+
| **Qwen 3.6 Plus** ¹⁷ | DashScope | **~$0.014** | **40.0** | $0.50 | $0.05 | $3.00 | ~$0.55 | 1M |
|
|
36
|
+
| **Gemini 3.6 Flash** ⁹ | Google | **~$0.015** | **51.6** | $0.75 | $0.075 | $3.75 | ~$0.75 | 1M |
|
|
37
|
+
| **GLM 5.3** ¹⁸ | Z.ai | **~$0.019** | **59.5** | $1.40 | $0.26 | $4.40 | ~$1.14 | 1M |
|
|
38
|
+
| **Kimi K2.6** | Moonshot | **~$0.020** | **45.0** | $0.95 | $0.16 | $4.00 | ~$0.88 | 256K |
|
|
39
|
+
| **DeepSeek V4 Pro 0813** ¹⁹ | DeepSeek | **~$0.020** | **53.2** | $1.32 | $0.044 | $3.96 | ~$1.06 | 1M |
|
|
40
|
+
| **GPT-5.4 mini** | OpenAI | **~$0.020** | **40.9** | $0.75 | $0.075 | $4.50 | ~$0.83 | 400K |
|
|
41
|
+
| **Kimi K2.7 Code** | Moonshot | **~$0.020** | **43.0** | $0.95 | $0.19 | $4.00 | ~$0.88 | 262K |
|
|
42
|
+
| **GLM 5.2** ⁴ | Z.ai | **~$0.022** | **52.6** | $1.40 | $0.26 | $4.40 | ~$1.14 | 1M |
|
|
43
|
+
| **Qwen 3.7 Max** ¹³ | DashScope | **~$0.025** | **46.7** | $1.475 (≤1M) | $0.295 | $4.425 (≤1M) | ~$1.18 | 1M |
|
|
44
|
+
| **Grok 4.6** ¹⁴ | xAI | **~$0.026** | **61** | $2.00 | $0.50 | $6.00 | ~$1.60 | 500K |
|
|
45
|
+
| **Qwen 3.8 Max** ¹¹ | DashScope | **~$0.028** | **58.1** | $2.00 | $0.25 | $6.00 | ~$1.60 | 1M |
|
|
46
|
+
| **GLM 5.1** | Z.ai | **~$0.028** | **41.0** | $1.40 | $0.26 | $4.40 | ~$1.14 | 200K |
|
|
47
|
+
| **GLM 5V Turbo** | Z.ai | **~$0.029** | **35.0** ³ | $1.20 | $0.24 | $4.00 | ~$1.00 | 200K |
|
|
48
|
+
| **Grok 4.5** ¹² | xAI | **~$0.029** | **55.8** | $2.00 | $0.50 | $6.00 | ~$1.60 | 500K |
|
|
49
|
+
| **Gemini 3.5 Flash** | Google | **~$0.032** | **52.0** | $1.50 | $0.15 | $9.00 | ~$1.65 | 1M |
|
|
50
|
+
| **GPT-5.6 Terra** | OpenAI | **~$0.039** | **56.6** | $2.00 | $0.20 | $12.00 | ~$2.20 | 1M |
|
|
51
|
+
| **Gemini 3.1 Pro** | Google | **~$0.046** | **47.7** | $2.00¹ | $0.20 | $12.00¹ | ~$2.20 | 1M |
|
|
52
|
+
| **Kimi K3** ⁷ | Moonshot | **~$0.050** | **59.7** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
|
|
53
|
+
| **GPT-5.4** | OpenAI | **~$0.052** | **53.1** | $2.50 | $0.25 | $15.00 | ~$2.75 | 1M |
|
|
54
|
+
| **Claude Sonnet 5** ⁶ | Anthropic | **~$0.054** | **55.3** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
|
|
55
|
+
| **Claude Sonnet 4.6** | Anthropic | **~$0.062** | **48.4** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
|
|
56
|
+
| **Claude Opus 5** ¹⁰ | Anthropic | **~$0.079** | **63.1** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
|
|
57
|
+
| **Claude Opus 4.8** | Anthropic | **~$0.087** | **57.3** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
|
|
58
|
+
| **GPT-5.6 Sol** | OpenAI | **~$0.090** | **60.9** | $5.00 | $0.50 | $30.00 | ~$5.50 | 1M |
|
|
59
|
+
| **Claude Opus 4.7** | Anthropic | **~$0.091** | **55.0** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
|
|
60
|
+
| **GPT-5.5** | OpenAI | **~$0.098** | **56.3** | $5.00 | $0.50 | $30.00 | ~$5.50 | 1M |
|
|
61
|
+
| **Claude Fable 5** ¹⁶ | Anthropic | **~$0.161** | **62.1** | $10.00 | $1.00 | $50.00 | ~$10.00 | 1M |
|
|
61
62
|
|
|
62
63
|
¹ Gemini 3.1 Pro pricing applies to prompts ≤200K tokens.
|
|
63
64
|
|
|
64
65
|
³ Score is an **estimate** from Artificial Analysis (labelled "independent evaluation forthcoming"). Not a confirmed run of the full evaluation suite. As of August 7, 2026, **GLM 5V Turbo (35.0)** is the only remaining estimate in this table — MiMo V2.5 is now a measured 38.0.
|
|
65
66
|
|
|
66
|
-
⁴ GLM 5.2
|
|
67
|
+
⁴ GLM 5.2 was Z.ai's previous flagship (superseded by **GLM 5.3** on August 18, 2026 — see footnote ¹⁸). AA Intelligence Index score (**52.6**) and pricing of **$1.40** (input), **$0.26** (cached), and **$4.40** (output) per 1M tokens confirmed on its [model page](https://artificialanalysis.ai/models/glm-5-2). Session cost is identical to GLM 5.1 (~$1.14). As of August 17, 2026, OpenRouter's cheapest provider is **Open Sail Research** at **$0.50 / $3.15** per 1M (listed price, no promo); NovitaAI's temporary promo has been reduced from 52% to **48% off** (effective **$0.7238 / $2.275** per 1M, cache reads $0.1344).
|
|
67
68
|
|
|
68
69
|
⁵ **MiniMax M3 Priority** is not a separate model — it is the same `MiniMax-M3` weights invoked with `"service_tier": "priority"` in the request body. Priority costs **1.5× Standard** across input, output, and cache reads (list prices shown above; effective rates after the standing 50% off are $0.45/$1.80/$0.09 ≤512K and $0.90/$3.60/$0.18 >512K), in exchange for **priority admission** (faster responses, fewer failures during MiniMax peak hours — typically 15:00–17:30 weekdays). Capabilities, context window (1M, guaranteed 512K), vision, tool calling, rate limits (200 RPM / 10M TPM), and thinking modes are identical to Standard. To enable it on the custom-endpoint entry, add `"service_tier": "priority"` to the `requestBody` of the single `MiniMax-M3` block (and remove it to go back to Standard). See [docs/models/minimax.md](models/minimax.md#4-m3-priority-tier-optional) and [docs/research/minimax-m3-priority.md](research/minimax-m3-priority.md) for the full breakdown.
|
|
69
70
|
|
|
@@ -91,11 +92,15 @@ All models are listed together below, sorted by Cost per intelligence ascending
|
|
|
91
92
|
|
|
92
93
|
¹⁷ **Qwen 3.6 Plus** (DashScope, released **April 2, 2026**) — AA Intelligence Index **40.0**. Priced at **$0.50 / $0.05 / $3.00** per 1M input/cached/output (≤256K input tier; explicit cache read $0.05). 1M context window, text + image + video input, reasoning model. **Deprecated** — superseded by Qwen 3.7 Plus; AA marks it deprecated and no longer refreshes performance benchmarks beyond the default workload. See the [AA model page](https://artificialanalysis.ai/models/qwen3-6-plus).
|
|
93
94
|
|
|
95
|
+
¹⁸ **GLM 5.3** is Z.ai's newest flagship (released **August 18, 2026**) — same base model as GLM 5.2 with post-training improvements (~50% coding gain over 5.2 on Z.ai Code Bench). AA Intelligence Index **59.5** (OpenRouter's AA-sourced benchmark; AA's [model page](https://artificialanalysis.ai/models/glm-5-3) lists a rounded **60**, **#8/182**), Coding **74.8**, Agentic **59.1**. Pricing is identical to GLM 5.2: **$1.40** input, **$0.26** cached, **$4.40** output per 1M tokens (so the modeled session cost is the same, ~$1.14). 1M context window, 753B params, text-only. Always-thinking: `thinking.type` only supports `enabled` and `reasoning_effort` accepts `low` / `high` / `max` (default `max`). See the [Z.ai model page](https://docs.z.ai/guides/llm/glm-5.3).
|
|
96
|
+
|
|
97
|
+
¹⁹ **DeepSeek V4 Flash 0731** and **DeepSeek V4 Pro 0813** are the current API builds. Flash's AA Intelligence Index is **51.8** and Pro's is **53.2** (current OpenRouter/Artificial Analysis snapshots). Both are text-only with 1M context; Flash has 284B total / 13B active parameters and Pro has 1.6T total / 49B active. DeepSeek's official V4 pricing changed on August 16, 2026 to peak/off-peak rates: Flash is **$0.44 / $0.014 / $1.32** and Pro is **$1.32 / $0.044 / $3.96** per 1M input/cache-hit/output at peak, with off-peak rates at half those values. See the [DeepSeek pricing page](https://api-docs.deepseek.com/quick_start/pricing), [update log](https://api-docs.deepseek.com/updates/), and [canonical model record](models/deepseek.md).
|
|
98
|
+
|
|
94
99
|
Cost per intelligence = estimated session cost ÷ Intelligence Index score. Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns.
|
|
95
100
|
|
|
96
101
|
> **Notes:**
|
|
97
102
|
>
|
|
98
|
-
> - **DeepSeek V4** input pricing shown is the **cache miss** price.
|
|
103
|
+
> - **DeepSeek V4** input pricing shown is the **peak cache miss** price. Peak cache hits are $0.014/M for Flash and $0.044/M for Pro; off-peak rates are half. See footnote ¹⁹ for the full schedule.
|
|
99
104
|
> - **MiMo** input pricing shown is the **cache miss** price. Cache hits are essentially free for V2.5 Pro ($0.0036/M, ~120× cheaper) and V2.5 ($0.0028/M, ~50× cheaper). A Xiaomi price cut took effect on 2026-05-27.
|
|
100
105
|
> - **Anthropic (Claude)** models also have a cache write cost ($6.25/MTok for Opus, $3.75/MTok for Sonnet, $1.25/MTok for Haiku). Opus 4.7+, Opus 5, Sonnet 5, and Fable 5 use a new tokenizer that produces approximately 30% more tokens for the same text.
|
|
101
106
|
> - **OpenAI** models support cached input at 0.1× base input rate.
|
|
@@ -105,13 +110,13 @@ Cost per intelligence = estimated session cost ÷ Intelligence Index score. Sess
|
|
|
105
110
|
> - **DashScope** offers a **free quota** of 1M input + 1M output tokens per model, valid for 90 days.
|
|
106
111
|
> - **MiniMax M3** uses **tiered pricing** — input price doubles above 512K input tokens. Cache hits are priced at 20% of the input rate ($0.12/M ≤512K, $0.24/M >512K). A **permanent 50% off** discount applies to all MiniMax-M3 pay-as-you-go usage (Standard and Priority tiers), making the effective rates half the list prices above.
|
|
107
112
|
> - **MiniMax M3 Priority** is not a separate model — it is the same `MiniMax-M3` weights invoked with `"service_tier": "priority"` in the request body. Priority costs **1.5× Standard** across input, output, and cache reads, in exchange for **priority admission** (faster responses, fewer failures during MiniMax peak hours — typically 15:00–17:30 weekdays). Capabilities, context window (1M, guaranteed 512K), vision, tool calling, rate limits (200 RPM / 10M TPM), and thinking modes are identical to Standard. See [docs/research/minimax-m3-priority.md](research/minimax-m3-priority.md) for the full breakdown.
|
|
108
|
-
> - **GLM** models support prompt caching — cache hits are priced at $0.
|
|
113
|
+
> - **GLM** models support prompt caching — cache hits are priced at $0.26/M for 5.3, 5.2, and 5.1; $0.24/M for 5V Turbo.
|
|
109
114
|
> - **MiMo** offers a **Token Plan** subscription model with discounted rates and a free cache-writing promotion.
|
|
110
115
|
> - For typical Copilot chat usage (short-to-medium prompts), you'll almost always fall in the lowest pricing tier.
|
|
111
116
|
|
|
112
117
|
> **How long does 7,000 credits last?** A Pro+ subscriber running 50-turn sessions could afford roughly **13 GPT-5.5 sessions** or **23 Opus sessions** per month — or mix and match. (Multiply session cost by 100 to convert to AI credits.)
|
|
113
118
|
|
|
114
|
-
> Prices last verified: August
|
|
119
|
+
> Prices last verified: August 20, 2026. Always check the official pages for the latest rates:
|
|
115
120
|
>
|
|
116
121
|
> - [GitHub Copilot models & pricing](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing)
|
|
117
122
|
> - [OpenAI pricing](https://openai.com/api/pricing/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "copilot-custom-endpoint",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "Local proxies for VS Code Copilot custom endpoints — Kimi K2, Qwen 3.x & MiMo V2.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -57,4 +57,4 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"dotenv": "^17.4.2"
|
|
59
59
|
}
|
|
60
|
-
}
|
|
60
|
+
}
|