copilot-custom-endpoint 3.1.0 → 3.1.2
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 +53 -38
- package/docs/models/deepseek.md +21 -21
- package/docs/models/qwen.md +5 -5
- package/docs/pricing.md +33 -33
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -20,18 +20,18 @@ 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**
|
|
26
|
-
| **MiMo V2.5**
|
|
27
|
-
| **MiMo V2.5 Pro**
|
|
28
|
-
| **Qwen 3.8 Max (0803)**
|
|
29
|
-
| **Qwen 3.8 Max (0902)**
|
|
30
|
-
| **MiniMax M3**
|
|
31
|
-
| **GLM 5.3 Flash**
|
|
32
|
-
| **GLM 5.3**
|
|
33
|
-
| **DeepSeek V4 Flash
|
|
34
|
-
| **DeepSeek V4 Pro 0813**
|
|
23
|
+
| Model | Provider | Needs proxy? | Vision | Setup guide |
|
|
24
|
+
| ------------------------ | ---------- | ----------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
25
|
+
| **Kimi K3** | 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.8 Max (0803)** | OpenRouter | Optional (experimental) | ✅ | [Snapshot/proxy setup](docs/models/qwen.md#optional-openrouter-snapshot-proxy) |
|
|
29
|
+
| **Qwen 3.8 Max (0902)** | DashScope | Optional (recommended) | ✅ | [Manual setup](docs/models/qwen.md) |
|
|
30
|
+
| **MiniMax M3** | MiniMax | No | ✅ | [Extension](https://github.com/tugudush/minimax-copilot) ★ / [Manual setup](docs/models/minimax.md) |
|
|
31
|
+
| **GLM 5.3 Flash** | Z.ai | No | ✅ | [Manual setup](docs/models/glm.md) |
|
|
32
|
+
| **GLM 5.3** | Z.ai | No | ❌ | [Manual setup](docs/models/glm.md) |
|
|
33
|
+
| **DeepSeek V4.1 Flash** | DeepSeek | No (uses an extension) | ✅ | [Extension](https://marketplace.visualstudio.com/items?itemName=Vizards.deepseek-v4-for-copilot) / [setup notes](docs/models/deepseek.md) |
|
|
34
|
+
| **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
35
|
|
|
36
36
|
## Setup
|
|
37
37
|
|
|
@@ -65,7 +65,8 @@ Open the setup guide for the model you picked (links in the table above) and cop
|
|
|
65
65
|
1. Open VS Code Settings (`Ctrl+,` / `Cmd+,`).
|
|
66
66
|
2. Search for **"Chat: Utility Small Model"** (setting ID: `chat.lm.utilitySmallModel`).
|
|
67
67
|
3. Pick the **fastest, cheapest model** available to you from the dropdown. Good choices:
|
|
68
|
-
- **
|
|
68
|
+
- **GLM 5.3 Flash** — if you have [GLM configured](docs/models/glm.md) (cheapest custom-endpoint option, ~$0.13/session).
|
|
69
|
+
- **GPT-5.6 Luna** — if it is available through your native Copilot models (fast, ~$0.22/session).
|
|
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,31 +106,45 @@ 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
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
|
125
|
-
|
|
|
126
|
-
| **
|
|
127
|
-
| **
|
|
128
|
-
| **GPT-5.6
|
|
129
|
-
| **
|
|
130
|
-
| **
|
|
131
|
-
| **
|
|
132
|
-
| **
|
|
109
|
+
All prices are **USD per 1M tokens** (non-cached). 1 AI credit = $0.01; multiply a dollar amount by 100 to convert it to credits (for example, $5.00/1M = 500 credits/1M).
|
|
110
|
+
|
|
111
|
+
The table is sorted by **Cost per intelligence**, lowest first. This is a value metric calculated as:
|
|
112
|
+
|
|
113
|
+
`estimated session cost / Intelligence Score`
|
|
114
|
+
|
|
115
|
+
It approximates the cost of one point on the AA Intelligence Index under the common workload below. A lower number means more benchmark intelligence per estimated dollar; it is not an overall quality ranking or a provider billing quote.
|
|
116
|
+
|
|
117
|
+
**Est. session** uses ~10K input + ~2K output tokens per turn over 50 turns: 500K input tokens plus 100K output tokens total. For each model, the estimate is:
|
|
118
|
+
|
|
119
|
+
`(0.5 × input price) + (0.1 × output price)`
|
|
120
|
+
|
|
121
|
+
For example, GLM 5.3 Flash is `(0.5 × $0.15) + (0.1 × $0.50) = $0.125`, shown as `~$0.13`. Cached-input discounts are not included. Actual costs vary with context length, output length, caching, pricing tiers, promotions, and provider billing. DeepSeek estimates use peak rates; official off-peak rates are half.
|
|
122
|
+
|
|
123
|
+
The current AA values come from OpenRouter's September 15 model metadata and ranking card; **every pricing cell comes from first-party provider pricing or GitHub Copilot's official billing table, never OpenRouter.** The OpenRouter ranking card places unversioned Qwen3.8 Max at **53.4 (#2)**, while the exact 0902 API metadata row is **45.4**. Qwen Cloud PAYG pricing remains **$2 / $0.25 implicit cache / $6** for Qwen3.8 Max; its separate Token Plan is not the PAYG rate table. Current corrections include DeepSeek V4.1 Flash at **$0.30 / $0.006 / $1.20** peak, OpenAI GPT-5.6 Sol at **$4 / $0.40 / $20**, and Anthropic Sonnet 5 at **$2 / $0.20 / $10**.
|
|
124
|
+
|
|
125
|
+
| Model | Provider | Cost per intelligence | Intelligence Score | Est. session | Vision | Context window |
|
|
126
|
+
| ------------------------ | --------- | --------------------- | ------------------ | ------------ | ------ | -------------- |
|
|
127
|
+
| **GLM 5.3 Flash** | Z.ai | **~$0.0030** | **41.9** | ~$0.13 | ✅ | 1M |
|
|
128
|
+
| **MiMo V2.5** | Xiaomi | **~$0.0045** | **22.3** | ~$0.10 | ✅ | 1M |
|
|
129
|
+
| **GPT-5.6 Luna** | OpenAI | **~$0.0059** | **37.5** | ~$0.22 | ✅ | 1M |
|
|
130
|
+
| **DeepSeek V4.1 Flash** | DeepSeek | **~$0.0068** | **39.5** | ~$0.27 | ✅ | 1M |
|
|
131
|
+
| **MiniMax M3** | MiniMax | **~$0.0091** | **29.6** | ~$0.27 | ✅ | 1M |
|
|
132
|
+
| **MiMo V2.5 Pro** | Xiaomi | **~$0.0114** | **26.4** | ~$0.30 | ❌ | 1M |
|
|
133
|
+
| **MiniMax M3 Priority** | MiniMax | **~$0.0139** | **29.6** | ~$0.41 | ✅ | 1M |
|
|
134
|
+
| **Gemini 3.8 Flash** | Google | **~$0.0182** | **41.2** | ~$0.75 | ✅ | 1M |
|
|
135
|
+
| **GLM 5.3** | Z.ai | **~$0.0254** | **44.9** | ~$1.14 | ❌ | 1M |
|
|
136
|
+
| **DeepSeek V4 Pro 0813** | DeepSeek | **~$0.0292** | **36.3** | ~$1.06 | ❌ | 1M |
|
|
137
|
+
| **Qwen 3.8 Max (0803)** | DashScope | **~$0.0300** | **53.4** | ~$1.60 | ✅ | 1M |
|
|
138
|
+
| **Qwen 3.8 Max (0902)** | DashScope | **~$0.0352** | **45.4** | ~$1.60 | ✅ | 1M |
|
|
139
|
+
| **Grok 4.6** | xAI | **~$0.0360** | **44.4** | ~$1.60 | ✅ | 500K |
|
|
140
|
+
| **GPT-5.6 Terra** | OpenAI | **~$0.0520** | **42.3** | ~$2.20 | ✅ | 1M |
|
|
141
|
+
| **Claude Sonnet 5** | Anthropic | **~$0.0521** | **38.4** | ~$2.00 | ✅ | 1M |
|
|
142
|
+
| **Kimi K3** | Moonshot | **~$0.0685** | **43.8** | ~$3.00 | ✅ | 1M |
|
|
143
|
+
| **GPT-5.6 Sol** | OpenAI | **~$0.0849** | **47.1** | ~$4.00 | ✅ | 1M |
|
|
144
|
+
| **Claude Opus 5** | Anthropic | **~$0.0986** | **50.7** | ~$5.00 | ✅ | 1M |
|
|
145
|
+
| **Claude Fable 5.1** | Anthropic | **~$0.1873** | **53.4** | ~$10.00 | ✅ | 1M |
|
|
146
|
+
| **GPT-6 Astra** | OpenAI | **~$0.1894** | **52.8** | ~$10.00 | ✅ | 1M |
|
|
147
|
+
| **Claude Fable 5** | Anthropic | **~$0.2012** | **49.7** | ~$10.00 | ✅ | 1M |
|
|
133
148
|
|
|
134
149
|
> Detailed pricing, benchmark provenance, and model-specific notes live in [docs/pricing.md](docs/pricing.md) and [docs/benchmarks.md](docs/benchmarks.md). This page stays focused on setup and model selection. For a copy-paste config containing **all providers at once**, see [docs/example-config.md](docs/example-config.md).
|
|
135
150
|
|
package/docs/models/deepseek.md
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
# DeepSeek V4 for Copilot Chat
|
|
2
2
|
|
|
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.
|
|
3
|
+
DeepSeek V4 Pro and V4.1 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
5
|
## Current builds
|
|
6
6
|
|
|
7
|
-
The API model IDs
|
|
7
|
+
The current API model IDs and builds are:
|
|
8
8
|
|
|
9
|
-
| API model
|
|
10
|
-
|
|
|
11
|
-
| `deepseek-
|
|
12
|
-
| `deepseek-v4-pro`
|
|
9
|
+
| API model | Current version | Update | Context | Modality | Parameters |
|
|
10
|
+
| ----------------- | -------------------- | ------------------------------------- | ------- | -------------------------- | --------------------------------------------------------------- |
|
|
11
|
+
| `deepseek-flash` | DeepSeek-V4.1-Flash | September 10, 2026; current API build | 1M | Text + image in / text out | Causal Encoder-Decoder sparse MoE; 8B input / 16B output 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
13
|
|
|
14
|
-
The [DeepSeek API
|
|
14
|
+
The [DeepSeek API pricing page](https://api-docs.deepseek.com/quick_start/pricing) identifies `deepseek-flash` as the current Flash model and says the legacy `deepseek-v4-flash` names remain accepted but are retired. Do not add the version suffix to the API request or the extension override.
|
|
15
15
|
|
|
16
16
|
## Model ID overrides
|
|
17
17
|
|
|
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
|
|
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 current official DeepSeek Chat Completions API accepts `deepseek-flash` and `deepseek-v4-pro`, so map the extension's logical Flash entry to the canonical current ID:
|
|
19
19
|
|
|
20
20
|
```jsonc
|
|
21
21
|
{
|
|
22
22
|
"deepseek-copilot.modelIdOverrides": {
|
|
23
|
-
"deepseek-v4-flash": "deepseek-
|
|
23
|
+
"deepseek-v4-flash": "deepseek-flash",
|
|
24
24
|
"deepseek-v4-pro": "deepseek-v4-pro"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
> **Warning:** Do **not** use the human-readable version labels as model IDs. `DeepSeek-V4-Flash
|
|
29
|
+
> **Warning:** Do **not** use the human-readable version labels as model IDs. `DeepSeek-V4.1-Flash` and `DeepSeek-V4-Pro-0813` are version strings, not valid `model` fields. Use `deepseek-flash` for current Flash requests and `deepseek-v4-pro` for Pro. Sending a version-suffixed ID to `https://api.deepseek.com` can return **HTTP 400 "Invalid request body format"**.
|
|
30
30
|
|
|
31
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.
|
|
32
32
|
|
|
@@ -34,25 +34,25 @@ For Flash or Pro, select the corresponding **DeepSeek V4** entry in Copilot Chat
|
|
|
34
34
|
|
|
35
35
|
## Updated benchmarks
|
|
36
36
|
|
|
37
|
-
DeepSeek's official August updates report the following agent-focused results
|
|
37
|
+
DeepSeek's official August updates report the following agent-focused results for the retired 0731 Flash release and the GA Pro release:
|
|
38
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**.
|
|
39
|
+
- **Historical 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
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
41
|
|
|
42
|
-
The current
|
|
42
|
+
The current OpenRouter metadata reports **V4.1 Flash 39.5 AA Intelligence** and **Pro 36.3 AA Intelligence**. Current Flash Coding and Agentic composites were not exposed in the checked metadata. The older 0731 snapshot reported **51.8 AA Intelligence / 69.1 Coding / 48.4 Agentic**, while Pro's current metadata reports **36.3 AA Intelligence / 68.8 Coding / 49.6 Agentic**. AA values are independent composite scores; DeepSeek's agent results above are vendor-reported and should not be treated as the same metric.
|
|
43
43
|
|
|
44
|
-
Sources: [DeepSeek
|
|
44
|
+
Sources: [DeepSeek pricing and model page](https://api-docs.deepseek.com/quick_start/pricing), [Flash benchmark snapshot](https://openrouter.ai/deepseek/deepseek-v4.1-flash), [Pro benchmark snapshot](https://openrouter.ai/deepseek/deepseek-v4-pro-0813), [Flash AA page](https://artificialanalysis.ai/models/deepseek-v4-1-flash), and [Pro AA page](https://artificialanalysis.ai/models/deepseek-v4-pro).
|
|
45
45
|
|
|
46
46
|
## Current API pricing
|
|
47
47
|
|
|
48
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
49
|
|
|
50
|
-
| API model
|
|
51
|
-
|
|
|
52
|
-
| `deepseek-
|
|
53
|
-
| `deepseek-v4-pro`
|
|
50
|
+
| API model | Cache hit | Cache miss | Output |
|
|
51
|
+
| ----------------- | ----------------------------- | --------------------------- | --------------------------- |
|
|
52
|
+
| `deepseek-flash` | $0.003 off-peak / $0.006 peak | $0.15 off-peak / $0.30 peak | $0.60 off-peak / $1.20 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
54
|
|
|
55
|
-
See the [official Models & Pricing page](https://api-docs.deepseek.com/quick_start/pricing) for the live rates and concurrency limits.
|
|
55
|
+
The legacy `deepseek-v4-flash` and `deepseek-v4-flash-vision-exp` names remain accepted but are retired aliases for V4.1 Flash. See the [official Models & Pricing page](https://api-docs.deepseek.com/quick_start/pricing) for the live rates and concurrency limits.
|
|
56
56
|
|
|
57
57
|
## Tool-list stabilization (`experimental.stabilizeToolList`)
|
|
58
58
|
|
|
@@ -68,11 +68,11 @@ Recommendation: leave it `true` if you use **agent mode or MCP tools** with Deep
|
|
|
68
68
|
|
|
69
69
|
1. Confirm the extension is installed and update it if the setting is not recognized. The setting is owned by `Vizards.deepseek-v4-for-copilot`.
|
|
70
70
|
2. Use the exact setting name and logical key:
|
|
71
|
-
`deepseek-copilot.modelIdOverrides` → `deepseek-
|
|
71
|
+
`deepseek-copilot.modelIdOverrides` → `deepseek-flash`.
|
|
72
72
|
3. Reload VS Code after changing the setting (`Developer: Reload Window`).
|
|
73
73
|
4. Verify the extension's `deepseek-copilot.baseUrl` points at the compatible provider or proxy. An override changes only the model ID; it does not change the endpoint, authentication, request format, or model capabilities.
|
|
74
74
|
5. For HTTP 400 errors during agent mode or MCP/tool use, enable the extension's tool-list compatibility option:
|
|
75
75
|
`deepseek-copilot.experimental.stabilizeToolList: true` (see [Tool-list stabilization](#tool-list-stabilizationexperimentalstabilizetoollist)). This does **not** help plain-chat 400s — those are usually an invalid `model` ID (see the override warning above).
|
|
76
|
-
6. Enable the extension's diagnostic mode (`deepseek-copilot.debugMode: "verbose"`) or inspect its request dump to confirm the outbound request's `model` field.
|
|
76
|
+
6. Enable the extension's diagnostic mode (`deepseek-copilot.debugMode: "verbose"`) or inspect its request dump to confirm the outbound request's `model` field. The canonical current Flash value should read `"model":"deepseek-flash"`. If a 400 persists with a valid model ID, the remaining cause is request-shape compatibility or authorization — capture the full request body via the dump and compare against the [Chat Completions schema](https://api-docs.deepseek.com/api/create-chat-completion).
|
|
77
77
|
|
|
78
78
|
The extension's published settings documentation is authoritative for this setting. Its default model-ID map may change between releases, so do not copy an old default blindly.
|
package/docs/models/qwen.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Qwen (DashScope) — VS Code Custom Endpoint Setup Guide
|
|
2
2
|
|
|
3
|
-
> **TL;DR:** `qwen3.8-max` (vision) works both direct and via the local proxy. OpenRouter's
|
|
3
|
+
> **TL;DR:** `qwen3.8-max` (vision) works both direct and via the local proxy. OpenRouter's live rankings card shows unversioned Qwen3.8 Max at **#2 with 53.4**, while the exact `qwen/qwen3.8-max-0902` API metadata row is **45.4**; the public API no longer exposes the unversioned ID. The proxy forwards the upstream `model` value unchanged, so use the exact model ID supported by the endpoint you choose. The proxy gives you dynamic thinking suppression: reasoning stays ON in plain chat but turns OFF automatically when tools are invoked. The direct path is simpler if you don't need reasoning in chat.
|
|
4
4
|
|
|
5
5
|
## At a Glance
|
|
6
6
|
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
|
|
31
31
|
These are separate OpenRouter catalog entries, not two picker labels for one model:
|
|
32
32
|
|
|
33
|
-
| OpenRouter slug | Snapshot | AA Intelligence Index | Notes
|
|
34
|
-
| ----------------------- | -------- | --------------------- |
|
|
35
|
-
| `qwen/qwen3.8-max` | 0803 | **53.4 (#2)** |
|
|
36
|
-
| `qwen/qwen3.8-max-0902` | 0902 | **
|
|
33
|
+
| OpenRouter slug | Snapshot | AA Intelligence Index | Notes |
|
|
34
|
+
| ----------------------- | -------- | --------------------- | ----------------------------------------------------------------------------- |
|
|
35
|
+
| `qwen/qwen3.8-max` | 0803 | **53.4 (#2)** | Current ranking-card result; exact unversioned API entry is no longer exposed |
|
|
36
|
+
| `qwen/qwen3.8-max-0902` | 0902 | **45.4** | September snapshot; current exact-ID API metadata |
|
|
37
37
|
|
|
38
38
|
The DashScope custom-endpoint snippets below use the provider model ID `qwen3.8-max`. Do not replace it with the OpenRouter `qwen/qwen3.8-max-0902` slug unless you also change the upstream URL to OpenRouter and have verified that path independently.
|
|
39
39
|
|
package/docs/pricing.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Pricing
|
|
2
2
|
|
|
3
|
-
> Release history is kept in the reference notes below. Use the current table and September
|
|
3
|
+
> Release history is kept in the reference notes below. Use the current table and September 16 refresh note for present scores and estimates. The September 11 roster cleanup removes two retired models.
|
|
4
4
|
|
|
5
|
-
> **Latest refresh (September
|
|
5
|
+
> **Latest refresh (September 16, 2026):** OpenRouter's live benchmark card puts the unversioned Qwen3.8 Max entry at **#2 with 53.4**. The public model API no longer exposes that unversioned ID and canonicalizes it to 0902; the exact `qwen/qwen3.8-max-0902` metadata row now reports **45.4**. The table preserves both values as separate records rather than silently merging them. Qwen Cloud's current PAYG API rates remain **$2 / $0.25 implicit cache / $6** for Qwen3.8 Max. DeepSeek now serves V4.1 Flash as `deepseek-flash` at peak rates of **$0.30 / $0.006 cache hit / $1.20**; the legacy V4 Flash alias is retired. Anthropic kept Sonnet 5 at **$2 / $0.20 / $10**, and OpenAI's Sol rate is **$4 / $0.40 / $20** through at least November 21. GLM 5.3 Flash's 50% launch promotion ended September 9, so list rates are now the applicable baseline.
|
|
6
6
|
|
|
7
7
|
> **⏰ June 1, 2026 — GitHub Copilot switched to usage-based billing (AI Credits) today.**
|
|
8
8
|
>
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
>
|
|
21
21
|
> Code completions remain unlimited and **not** billed. Auto model selection gets a 10% discount.
|
|
22
22
|
|
|
23
|
-
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
|
|
23
|
+
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 rows use peak rates for the comparison; its official off-peak rates are half. Provider promotions are shown separately in the notes; OpenRouter's effective, batch, or free-provider prices are excluded.
|
|
24
24
|
|
|
25
25
|
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.
|
|
26
26
|
|
|
27
|
-
| Model
|
|
28
|
-
|
|
|
29
|
-
| **GLM 5.3 Flash**
|
|
30
|
-
| **MiMo V2.5**
|
|
31
|
-
| **GPT-5.6 Luna**
|
|
32
|
-
| **
|
|
33
|
-
| **
|
|
34
|
-
| **MiMo V2.5 Pro**
|
|
35
|
-
| **MiniMax M3 Priority**
|
|
36
|
-
| **Gemini 3.8 Flash**
|
|
37
|
-
| **GLM 5.3**
|
|
38
|
-
| **DeepSeek V4 Pro 0813**
|
|
39
|
-
| **Qwen 3.8 Max (0803)²⁵**
|
|
40
|
-
| **
|
|
41
|
-
| **
|
|
42
|
-
| **GPT-5.6 Terra**
|
|
43
|
-
| **Claude Sonnet 5**
|
|
44
|
-
| **Kimi K3**
|
|
45
|
-
| **GPT-5.6 Sol**
|
|
46
|
-
| **Claude Opus 5**
|
|
47
|
-
| **Claude Fable 5.1**
|
|
48
|
-
| **GPT-6 Astra**
|
|
49
|
-
| **Claude Fable 5**
|
|
27
|
+
| Model | Provider | Cost per intelligence | Intelligence Score | Input (per 1M) | Cached input | Output (per 1M) | Est. session | Context window |
|
|
28
|
+
| ------------------------- | --------- | --------------------- | ------------------ | ----------------------------- | ----------------------------- | ----------------------------- | ------------ | -------------- |
|
|
29
|
+
| **GLM 5.3 Flash** | Z.ai | **~$0.0030** | **41.9** | $0.15 | $0.03 | $0.50 | ~$0.13 | 1M |
|
|
30
|
+
| **MiMo V2.5** | Xiaomi | **~$0.0045** | **22.3** | $0.14 | $0.0028 | $0.28 | ~$0.10 | 1M |
|
|
31
|
+
| **GPT-5.6 Luna** | OpenAI | **~$0.0059** | **37.5** | $0.20 | $0.02 | $1.20 | ~$0.22 | 1M |
|
|
32
|
+
| **DeepSeek V4.1 Flash** | DeepSeek | **~$0.0068** | **39.5** | $0.30 | $0.006 | $1.20 | ~$0.27 | 1M |
|
|
33
|
+
| **MiniMax M3** | MiniMax | **~$0.0091** | **29.6** | $0.60 (≤512K) / $1.20 (>512K) | $0.12 (≤512K) / $0.24 (>512K) | $2.40 (≤512K) / $4.80 (>512K) | ~$0.27 | 1M |
|
|
34
|
+
| **MiMo V2.5 Pro** | Xiaomi | **~$0.0114** | **26.4** | $0.435 | $0.0036 | $0.87 | ~$0.30 | 1M |
|
|
35
|
+
| **MiniMax M3 Priority** | MiniMax | **~$0.0139** | **29.6** | $0.90 (≤512K) / $1.80 (>512K) | $0.18 (≤512K) / $0.36 (>512K) | $3.60 (≤512K) / $7.20 (>512K) | ~$0.41 | 1M |
|
|
36
|
+
| **Gemini 3.8 Flash** | Google | **~$0.0182** | **41.2** | $0.75 | $0.075 | $3.75 | ~$0.75 | 1M |
|
|
37
|
+
| **GLM 5.3** | Z.ai | **~$0.0254** | **44.9** | $1.40 | $0.26 | $4.40 | ~$1.14 | 1M |
|
|
38
|
+
| **DeepSeek V4 Pro 0813** | DeepSeek | **~$0.0292** | **36.3** | $1.32 | $0.044 | $3.96 | ~$1.06 | 1M |
|
|
39
|
+
| **Qwen 3.8 Max (0803)²⁵** | DashScope | **~$0.0300** | **53.4** | $2.00 | $0.25 | $6.00 | ~$1.60 | 1M |
|
|
40
|
+
| **Qwen 3.8 Max (0902)²⁶** | DashScope | **~$0.0352** | **45.4** | $2.00 | $0.25 | $6.00 | ~$1.60 | 1M |
|
|
41
|
+
| **Grok 4.6** | xAI | **~$0.0360** | **44.4** | $2.00 | $0.50 | $6.00 | ~$1.60 | 500K |
|
|
42
|
+
| **GPT-5.6 Terra** | OpenAI | **~$0.0520** | **42.3** | $2.00 | $0.20 | $12.00 | ~$2.20 | 1M |
|
|
43
|
+
| **Claude Sonnet 5** | Anthropic | **~$0.0521** | **38.4** | $2.00 | $0.20 | $10.00 | ~$2.00 | 1M |
|
|
44
|
+
| **Kimi K3** | Moonshot | **~$0.0685** | **43.8** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
|
|
45
|
+
| **GPT-5.6 Sol** | OpenAI | **~$0.0849** | **47.1** | $4.00 | $0.40 | $20.00 | ~$4.00 | 1M |
|
|
46
|
+
| **Claude Opus 5** | Anthropic | **~$0.0986** | **50.7** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
|
|
47
|
+
| **Claude Fable 5.1** | Anthropic | **~$0.1873** | **53.4** | $10.00 | $0.25 | $50.00 | ~$10.00 | 1M |
|
|
48
|
+
| **GPT-6 Astra** | OpenAI | **~$0.1894** | **52.8** | $10.00 | $1.00 | $50.00 | ~$10.00 | 1M |
|
|
49
|
+
| **Claude Fable 5** | Anthropic | **~$0.2012** | **49.7** | $10.00 | $1.00 | $50.00 | ~$10.00 | 1M |
|
|
50
50
|
|
|
51
51
|
> **Reference notes:** The details below preserve release and pricing context. Use the current table and September 10 refresh note for present values.
|
|
52
52
|
|
|
53
53
|
⁵ **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.
|
|
54
54
|
|
|
55
|
-
⁶ **Claude Sonnet 5**
|
|
55
|
+
⁶ **Claude Sonnet 5** launched at **$2.00 / $0.20 / $10.00** (input / cached / output). Anthropic's current pricing makes those rates standard; the previously announced September 1 increase to $3.00 / $0.30 / $15.00 will not occur. See [Anthropic's pricing page](https://platform.claude.com/docs/en/about-claude/pricing) for the latest.
|
|
56
56
|
|
|
57
57
|
⁷ **Kimi K3** was released on **July 16, 2026**. 2.8T parameters (open-source, weights by July 27, 2026). 1M context window. Always-thinking reasoning model — uses `reasoning_effort` (not the K2.x `thinking` parameter). Fixed sampling: `temperature=1`, `top_p=0.95`. Pricing is flat (no tiering by context length). See [Kimi K3 pricing](https://platform.kimi.ai/docs/pricing/chat-k3) and the [Artificial Analysis model page](https://artificialanalysis.ai/models/kimi-k3).
|
|
58
58
|
|
|
59
|
-
⁸ **GPT-5.6** pricing is **$0.20 / $0.02 / $1.20** for Luna, **$2.00 / $0.20 / $12.00** for Terra, and **$
|
|
59
|
+
⁸ **GPT-5.6** pricing is **$0.20 / $0.02 / $1.20** for Luna, **$2.00 / $0.20 / $12.00** for Terra, and currently **$4.00 / $0.40 / $20.00** for Sol (input / cached input / output per 1M tokens). The Sol rate is a promotional reduction from $5.00 / $0.50 / $30.00 and is available at least through **November 21, 2026**. OpenAI reduced Luna by 80% and Terra by 20% on July 30, 2026. OpenAI bills cache writes at 1.25x the uncached input rate for GPT-5.6 and later. The Batch API provides an additional 50% discount for asynchronous jobs. All three tiers have a 1M-token context window and support text + image input. See [OpenAI's API pricing](https://developers.openai.com/api/docs/pricing) and [GPT-5.6 announcement](https://openai.com/index/gpt-5-6/).
|
|
60
60
|
|
|
61
61
|
¹⁰ **Claude Opus 5** was released on **July 24, 2026**. AA Intelligence Index score (**63.1**) confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/claude-opus-5). Pricing is $5.00 / $0.50 / $25.00 per MTok input/cached/output. 1M context window, text + image input, adaptive reasoning. Also available in Fast mode ($10/$50 per MTok input/output) and Batch ($2.50/$12.50 per MTok input/output). Uses the newer Claude tokenizer (~30% more tokens than pre-4.7 models). See [Anthropic's Opus 5 announcement](https://www.anthropic.com/news/claude-opus-5).
|
|
62
62
|
|
|
63
|
-
¹¹ **Historical Qwen 3.8 Max launch record:** the August 3, 2026 launch package used the unversioned `qwen3.8-max` name. An earlier Artificial Analysis snapshot reported **58.1**; the current OpenRouter ranking now distinguishes the unversioned **0803** row (**53.4**) from the separate **0902** row (**
|
|
63
|
+
¹¹ **Historical Qwen 3.8 Max launch record:** the August 3, 2026 launch package used the unversioned `qwen3.8-max` name. An earlier Artificial Analysis snapshot reported **58.1**; the current OpenRouter ranking now distinguishes the unversioned **0803** row (**53.4**) from the separate **0902** row (**45.4**). Use the current rows and footnotes ²⁵–²⁶ for comparisons rather than carrying the earlier score forward. See the [Qwen Cloud model page](https://www.qwencloud.com/models/qwen3.8-max), [AA model page](https://artificialanalysis.ai/models/qwen3-8-max), and [OpenRouter model page](https://openrouter.ai/qwen/qwen3.8-max).
|
|
64
64
|
|
|
65
65
|
¹⁴ **Grok 4.6** (xAI/SpaceXAI, released **August 12, 2026**) is now a **GitHub Copilot native** model (GA). AA Intelligence Index **61** (high reasoning preset, #6/188). 500K context window, text + image input, text output. Priced at $2.00 / $0.50 / $6.00 per 1M input/cached/output (75% cache discount). See the [AA model page](https://artificialanalysis.ai/models/grok-4-6), the [xAI announcement](https://x.ai/news/grok-4-6), and the [GitHub Copilot models & pricing page](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing).
|
|
66
66
|
|
|
@@ -68,7 +68,7 @@ All models are listed together below, sorted by Cost per intelligence ascending
|
|
|
68
68
|
|
|
69
69
|
¹⁸ **GLM 5.3** is Z.ai's newest flagship (released **August 18, 2026**) with post-training improvements over the previous GLM flagship (~50% coding gain 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 **$1.40** input, **$0.26** cached, and **$4.40** output per 1M tokens (modeled session cost ~$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).
|
|
70
70
|
|
|
71
|
-
¹⁹ **DeepSeek V4 Flash
|
|
71
|
+
¹⁹ **DeepSeek V4.1 Flash** and **DeepSeek V4 Pro 0813** are the current API builds. Flash uses canonical model ID `deepseek-flash`, supports text + image input, and has AA Intelligence **39.5** in the current OpenRouter metadata. Pro remains text-only with AA Intelligence **36.3**. DeepSeek's current peak/off-peak pricing is Flash **$0.30 / $0.006 / $1.20** and Pro **$1.32 / $0.044 / $3.96** per 1M input/cache-hit/output at peak, with off-peak rates at half those values. The legacy `deepseek-v4-flash` name remains accepted but is retired. 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).
|
|
72
72
|
|
|
73
73
|
²⁰ **GLM 5.3 Flash** (`glm-5.3-flash`) is Z.ai's first native multimodal model in the GLM-5 series (released **August 26, 2026**; tested pre-release as "ox-alpha"). Hybrid sparse + linear attention architecture with 320B total / 18B active parameters (open weights, MIT license) and a 1M-token context window; text + image input, text output. AA Intelligence Index **57.5** (OpenRouter's AA-sourced benchmark; AA's [model page](https://artificialanalysis.ai/models/glm-5-3-flash) lists a rounded **57** and ranks it **#3/110** within its open-weights size class), Coding **71.5**, Agentic **58.2**. Launch pricing is **$0.15** input / **$0.03** cached / **$0.50** output per 1M (list), with a **50% off** launch promo (effective **$0.075 / $0.015 / $0.25**) through **September 9, 2026** (24:00 UTC+8). At list price the modeled session cost is ~$0.13 and the cost per intelligence is ~$0.0022 — the cheapest row in this table. Always-thinking: `thinking.type` only supports `enabled`, `reasoning_effort` accepts `low` / `high` / `max` (default `max`). See the [Z.ai model page](https://docs.z.ai/guides/llm/glm-5.3-flash) and [AA model page](https://artificialanalysis.ai/models/glm-5-3-flash).
|
|
74
74
|
|
|
@@ -80,13 +80,13 @@ All models are listed together below, sorted by Cost per intelligence ascending
|
|
|
80
80
|
|
|
81
81
|
²⁵ **Qwen 3.8 Max (0803)** is the August 3, 2026 launch checkpoint represented by OpenRouter's unversioned ranking card [`qwen/qwen3.8-max`](https://openrouter.ai/qwen/qwen3.8-max). The September 10 ranking card places it at **#2 with 53.4**. It shares Qwen Cloud's **$2.00 / $0.25 implicit cache / $6.00** PAYG rates, 1M context, 131K maximum output, and text/image/video input with the 0902 snapshot. The validated DashScope setup continues to use provider ID `qwen3.8-max` and the proxy forwards that ID unchanged.
|
|
82
82
|
|
|
83
|
-
²⁶ **Qwen 3.8 Max (0902)** is a separate OpenRouter snapshot, [`qwen/qwen3.8-max-0902`](https://openrouter.ai/qwen/qwen3.8-max-0902), released September 4, 2026. The current public model API reports an AA Intelligence Index of **
|
|
83
|
+
²⁶ **Qwen 3.8 Max (0902)** is a separate OpenRouter snapshot, [`qwen/qwen3.8-max-0902`](https://openrouter.ai/qwen/qwen3.8-max-0902), released September 4, 2026. The current public model API reports an AA Intelligence Index of **45.4** for this exact ID. It has the same published **$2.00 / $0.25 implicit cache / $6.00** rates, 1M context, 131K maximum output, and text/image/video input. The OpenRouter slug is not automatically a valid DashScope model ID; see [the Qwen setup guide](models/qwen.md) before changing the upstream URL.
|
|
84
84
|
|
|
85
85
|
Cost per intelligence = estimated session cost ÷ Intelligence Index score. Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns.
|
|
86
86
|
|
|
87
87
|
> **Notes:**
|
|
88
88
|
>
|
|
89
|
-
> - **DeepSeek
|
|
89
|
+
> - **DeepSeek** input pricing shown is the **peak cache miss** price. Peak cache hits are $0.006/M for V4.1 Flash and $0.044/M for Pro; off-peak rates are half. See footnote ¹⁹ for the full schedule.
|
|
90
90
|
> - **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.
|
|
91
91
|
> - **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 5, Sonnet 5, and Fable 5 / 5.1 use a new tokenizer that produces approximately 30% more tokens for the same text.
|
|
92
92
|
> - **OpenAI** models support cached input at 0.1× base input rate.
|
|
@@ -101,7 +101,7 @@ Cost per intelligence = estimated session cost ÷ Intelligence Index score. Sess
|
|
|
101
101
|
|
|
102
102
|
> **How long does 7,000 credits last?** A Pro+ subscriber running 50-turn sessions can estimate monthly capacity by multiplying each modeled session cost by 100 to convert it to AI credits, then mixing models as needed.
|
|
103
103
|
|
|
104
|
-
> Prices last verified: September
|
|
104
|
+
> Prices last verified: September 16, 2026. Always check the official pages for the latest rates:
|
|
105
105
|
>
|
|
106
106
|
> - [GitHub Copilot models & pricing](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing)
|
|
107
107
|
> - [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": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
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
|
+
}
|