copilot-custom-endpoint 2.1.6 → 2.1.7

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 CHANGED
@@ -29,6 +29,7 @@ That's it. No code, no servers to manage (unless the model specifically needs th
29
29
  | **Qwen 3.7 Max** | DashScope | Optional (recommended) | ❌ | [Manual setup](docs/models/qwen.md) |
30
30
  | **Qwen 3.8 Max** | DashScope | Optional (recommended) | ✅ | [Manual setup](docs/models/qwen.md) |
31
31
  | **MiniMax M3** | MiniMax | No | ✅ | [Extension](https://github.com/tugudush/minimax-copilot) ★ / [Manual setup](docs/models/minimax.md) |
32
+ | **GLM 5.3 Flash** | Z.ai | No | ✅ | [Manual setup](docs/models/glm.md) |
32
33
  | **GLM 5.3 / 5.2 / 5.1** | Z.ai | No | ✅ via extension proxy | [Manual setup](docs/models/glm.md) |
33
34
  | **GLM 5V Turbo** | Z.ai | No | ✅ | [Manual setup](docs/models/glm.md) |
34
35
  | **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) |
@@ -110,6 +111,7 @@ All prices are **USD per 1M tokens** (non-cached). 1 AI credit = $0.01. To conve
110
111
 
111
112
  | Model | Provider | Cost per intelligence | Intelligence Score | Est. session | Vision | Context window |
112
113
  | -------------------------- | --------- | --------------------- | ------------------ | ------------ | ------ | -------------- |
114
+ | **GLM 5.3 Flash** ¹⁸ | Z.ai | **~$0.0022** | **57.5** | ~$0.13 | ✅ | 1M |
113
115
  | **MiMo V2.5** | Xiaomi | **~$0.0026** | **38.0** | ~$0.10 | ✅ | 1M |
114
116
  | **GPT-5.6 Luna** | OpenAI | **~$0.0042** | **52.3** | ~$0.22 | ✅ | 1M |
115
117
  | **MiniMax M3** | MiniMax | **~$0.0060** | **45.4** | ~$0.27 | ✅ | 1M |
@@ -178,6 +180,8 @@ All prices are **USD per 1M tokens** (non-cached). 1 AI credit = $0.01. To conve
178
180
 
179
181
  ¹⁷ **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
182
 
183
+ ¹⁸ **GLM 5.3 Flash** (Z.ai, released August 26, 2026) — Z.ai's first native multimodal GLM-5 model (text + image input, text output). Hybrid sparse + linear attention architecture, 320B total / 18B active parameters (open weights, MIT), 1M context window. AA Intelligence Index **57.5** (Coding **71.5**, Agentic **58.2**). Priced at **$0.15 / $0.03 / $0.50** per 1M input/cached/output (list; 50% off launch promo through September 9, 2026). Always-thinking with `reasoning_effort` (low/high/max, default max). The cheapest cost-per-intelligence row in this table (~$0.0022, ~$0.13/session). See [docs/models/glm.md](docs/models/glm.md) and the [AA model page](https://artificialanalysis.ai/models/glm-5-3-flash).
184
+
181
185
  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).
182
186
 
183
187
  > **👤 Personal picks** —
@@ -190,11 +194,12 @@ For footnotes, sources, and detailed notes (cache behavior, tiered pricing, free
190
194
  >
191
195
  > **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.
192
196
  >
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:
197
+ > For **plan mode / architecture & design thinking**, **Qwen 3.8 Max**, **Kimi K3**, **GLM 5.3**, **GLM 5.3 Flash**, **GPT-5.6 Luna**, and **DeepSeek V4 Flash 0731** are worth considering:
194
198
  >
195
199
  > - **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.
196
200
  > - **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**.
197
201
  > - **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.
202
+ > - **GLM 5.3 Flash** — new (Aug 26): scores **57.5** at just ~$0.13/session (list) — the **cheapest 57+ model** in the table and the first native multimodal GLM-5. Near-GLM-5.3 agentic coding (Z.ai: DeepSWE v1.1 63.4 vs 46.2) at ~9× less cost, with vision. A strong daily-driver planning + image-review pick until the 50% promo ends.
198
203
  > - **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.
199
204
  > - **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.
200
205
  >
@@ -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.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.
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-flash`, `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-flash",
168
+ "name": "GLM 5.3 Flash (multimodal)",
169
+ "url": "https://api.z.ai/api/paas/v4/chat/completions",
170
+ "toolCalling": true,
171
+ "vision": true,
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.3",
168
184
  "name": "GLM 5.3 (text)",
@@ -237,6 +253,6 @@ If you only need one provider, jump straight to its setup guide:
237
253
  - [Qwen 3.7 Plus / 3.7 Max](qwen.md)
238
254
  - [Xiaomi MiMo (V2.5 / V2.5 Pro)](mimo.md)
239
255
  - [MiniMax M3 (Standard)](minimax.md) and [MiniMax M3 (Priority)](minimax.md#5-m3-priority-tier-optional)
240
- - [GLM (5.3 / 5.2 / 5.1 / 5V Turbo)](glm.md)
256
+ - [GLM (5.3 Flash / 5.3 / 5.2 / 5.1 / 5V Turbo)](glm.md)
241
257
 
242
258
  > **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.
@@ -18,9 +18,9 @@
18
18
  | ---------------------- | ------------------------------------------------------------------------------------------------------------------ |
19
19
  | Mode | **Direct** (no proxy) |
20
20
  | Billing | **Pay-as-You-Go** (PaaS API) — Coding Plan subscription exists but is **not usable** from VS Code custom endpoints |
21
- | Vision | ✅ Yes (`glm-5v-turbo` only) |
22
- | Tool calling | ✅ Yes (native multimodal tool use on `glm-5v-turbo`) |
23
- | Context | 1M (`glm-5.3` / `glm-5.2` Solid Lossless Context) |
21
+ | Vision | ✅ Yes (`glm-5.3-flash` / `glm-5v-turbo`) |
22
+ | Tool calling | ✅ Yes (native multimodal tool use on `glm-5.3-flash` / `glm-5v-turbo`) |
23
+ | Context | 1M (`glm-5.3-flash` / `glm-5.3` / `glm-5.2` Solid Lossless Context) |
24
24
  | Max output | 131072 |
25
25
  | Required `requestBody` | `thinking: { type: "enabled" }` + `reasoning_effort: "max"` (recommended) |
26
26
  | Endpoint (intl) | `https://api.z.ai/api/paas/v4/chat/completions` |
@@ -29,12 +29,13 @@
29
29
 
30
30
  ### Models
31
31
 
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) |
32
+ | Model | Vision | Context | Max output | Notes |
33
+ | --------------- | ------ | ------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
34
+ | `glm-5.3-flash` | ✅ | 1M | 131072 | **New multimodal Flash** (Aug 26) — 320B/18B hybrid sparse+linear attention; AA **57.5**; always-thinking, `reasoning_effort` `low`/`high`/`max` (default `max`) ($0.15 / $0.50 per 1M) |
35
+ | `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) |
36
+ | `glm-5.2` | ❌ | 1M | 131072 | Previous flagship — "Opus-level" long-context engineering & agentic coding; thinking `enabled` ($1.40 / $4.40 per 1M) |
37
+ | `glm-5.1` | ❌ | 200K | 131072 | Previous flagship — long-horizon / 8h autonomous work; thinking `enabled` ($1.40 / $4.40 per 1M) |
38
+ | `glm-5v-turbo` | ✅ | 200K | 131072 | Multimodal **coding** model — vision-based agentic coding; thinking `enabled` ($1.20 / $4.00 per 1M) |
38
39
 
39
40
  > 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.
40
41
 
@@ -64,6 +65,22 @@
64
65
  "apiKey": "",
65
66
  "apiType": "chat-completions",
66
67
  "models": [
68
+ {
69
+ "id": "glm-5.3-flash",
70
+ "name": "GLM 5.3 Flash (multimodal)",
71
+ "url": "https://api.z.ai/api/paas/v4/chat/completions",
72
+ "toolCalling": true,
73
+ "vision": true,
74
+ "streaming": true,
75
+ "maxInputTokens": 1048576,
76
+ "maxOutputTokens": 131072,
77
+ "requestBody": {
78
+ "thinking": { "type": "enabled" },
79
+ "reasoning_effort": "max",
80
+ "temperature": 1.0,
81
+ "top_p": 0.95
82
+ }
83
+ },
67
84
  {
68
85
  "id": "glm-5.3",
69
86
  "name": "GLM 5.3 (text)",
@@ -150,10 +167,10 @@
150
167
 
151
168
  - **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).
152
169
  - **`tool_choice` only supports `auto`** — don't override it (VS Code's default is `auto`).
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.
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/).
156
- - **Context caching** is automatic — `usage.prompt_tokens_details.cached_tokens` reports cache hits; cache writes are currently free.
170
+ - **`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. (Note: Z.ai's GLM-5.3-Flash docs recommend `thinking.clear_thinking: false` for clients that **do** preserve `reasoning_content` — e.g. Claude Code / agent SDKs — not for the VS Code custom-endpoint path.)
171
+ - **GLM 5.3 and GLM 5.3 Flash are 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` / `glm-5.3-flash`.
172
+ - **Vision** is supported on `glm-5.3-flash` (native multimodal — the first in the GLM-5 series; text + image input, text output) and `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/). **Validated 2026-08-28 on `glm-5.3-flash`:** both vision surfaces work through the custom endpoint — chat image attachments (base64 `image_url`) and the `view_image` tool on workspace files. Fine-grained text, layout, and image content were read correctly in both tests.
173
+ - **Context caching** is automatic — `usage.prompt_tokens_details.cached_tokens` reports cache hits; cache writes are currently free. Cache reads for `glm-5.3-flash` are $0.03/M (list; $0.015/M during the launch promo).
157
174
 
158
175
  ## Troubleshooting
159
176
 
@@ -174,4 +191,6 @@
174
191
 
175
192
  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.
176
193
 
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).
194
+ > **Cache writes** are currently **Limited-time Free** for all models. Cached-input pricing is roughly 18–20% of the input price (e.g. `$1.40` input → `$0.26` cached for `glm-5.3` / `glm-5.2` / `glm-5.1`; `$0.15` → `$0.03` for `glm-5.3-flash`).
195
+ >
196
+ > **GLM 5.3 Flash** launched **August 26, 2026** at **$0.15 / $0.03 / $0.50** per 1M (input / cached / output) — currently **50% off** (effective **$0.075 / $0.015 / $0.25**) through **September 9, 2026** (24:00 UTC+8). 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 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.
3
+ > **Updated:** August 28, 2026 — **GLM 5.3 Flash** added (footnote ²⁰): Z.ai's first native multimodal GLM-5 model (August 26, 2026), AA Intelligence Index **57.5**, launch pricing **$0.15 / $0.03 / $0.50** (50% off through September 9). It is now the **cheapest cost-per-intelligence row** in the table (~$0.0022). August 20: **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
  >
@@ -24,6 +24,7 @@ All models are listed together below, sorted by Cost per intelligence ascending
24
24
 
25
25
  | Model | Provider | Cost per intelligence | Intelligence Score | Input (per 1M) | Cached input | Output (per 1M) | Est. session | Context window |
26
26
  | ----------------------------- | --------- | --------------------- | ------------------ | ----------------------------- | ----------------------------- | ----------------------------- | ------------ | -------------- |
27
+ | **GLM 5.3 Flash** ²⁰ | Z.ai | **~$0.0022** | **57.5** | $0.15 | $0.03 | $0.50 | ~$0.13 | 1M |
27
28
  | **MiMo V2.5** | Xiaomi | **~$0.0026** | **38.0** | $0.14 | $0.0028 | $0.28 | ~$0.10 | 1M |
28
29
  | **GPT-5.6 Luna** | OpenAI | **~$0.0042** | **52.3** | $0.20 | $0.02 | $1.20 | ~$0.22 | 1M |
29
30
  | **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 |
@@ -96,6 +97,8 @@ All models are listed together below, sorted by Cost per intelligence ascending
96
97
 
97
98
  ¹⁹ **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
99
 
100
+ ²⁰ **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).
101
+
99
102
  Cost per intelligence = estimated session cost ÷ Intelligence Index score. Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns.
100
103
 
101
104
  > **Notes:**
@@ -110,13 +113,13 @@ Cost per intelligence = estimated session cost ÷ Intelligence Index score. Sess
110
113
  > - **DashScope** offers a **free quota** of 1M input + 1M output tokens per model, valid for 90 days.
111
114
  > - **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.
112
115
  > - **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.
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.
116
+ > - **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; $0.03/M for 5.3 Flash (list; $0.015/M during the launch promo).
114
117
  > - **MiMo** offers a **Token Plan** subscription model with discounted rates and a free cache-writing promotion.
115
118
  > - For typical Copilot chat usage (short-to-medium prompts), you'll almost always fall in the lowest pricing tier.
116
119
 
117
120
  > **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.)
118
121
 
119
- > Prices last verified: August 20, 2026. Always check the official pages for the latest rates:
122
+ > Prices last verified: August 28, 2026. Always check the official pages for the latest rates:
120
123
  >
121
124
  > - [GitHub Copilot models & pricing](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing)
122
125
  > - [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.6",
3
+ "version": "2.1.7",
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
+ }