copilot-custom-endpoint 2.1.1 → 2.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 CHANGED
@@ -109,76 +109,82 @@ All prices are **USD per 1M tokens** (non-cached). 1 AI credit = $0.01. To conve
109
109
 
110
110
  | Model | Provider | Cost per intelligence | Intelligence Score | Est. session | Vision | Context window |
111
111
  | -------------------------- | --------- | --------------------- | ------------------ | ------------ | ------ | -------------- |
112
- | **DeepSeek V4 Flash 0731** | DeepSeek | **~$0.0020** | **49.9** | ~$0.10 | ❌ | 1M |
113
- | **MiMo V2.5** | Xiaomi | **~$0.0025** | **40** ³ | ~$0.10 | ✅ | 1M |
114
- | **GPT-5.6 Luna** | OpenAI | **~$0.0043** | **51.2** | ~$0.22 | ✅ | 1M |
115
- | **MiniMax M3** | MiniMax | **~$0.0061** | **44.4** | ~$0.27 | ✅ | 1M |
116
- | **DeepSeek V4 Pro** | DeepSeek | **~$0.0068** | **44.3** | ~$0.30 | ✅ | 1M |
117
- | **MiMo V2.5 Pro** | Xiaomi | **~$0.0072** | **42.2** | ~$0.30 | ❌ | 1M |
118
- | **Qwen 3.7 Plus** | DashScope | **~$0.0092** | **39.0** | ~$0.36 | ✅ | 1M |
119
- | **MiniMax M3 Priority**⁴ | MiniMax | **~$0.0092** | **44.4** | ~$0.41 | ✅ | 1M |
120
- | **Kimi K2.6** | Moonshot | **~$0.021** | **42.8** | ~$0.88 | ✅ | 262K |
121
- | **Kimi K2.7 Code** | Moonshot | **~$0.021** | **42.0** | ~$0.88 | ✅ | 262K |
122
- | **GPT-5.4 mini** | OpenAI | **~$0.021** | **40.0** | ~$0.83 | ❌ | 400K |
123
- | **GLM 5.2** | Z.ai | **~$0.022** | **51.0** | ~$1.14 | ❌ | 1M |
124
- | **GLM 5.1** | Z.ai | **~$0.028** | **40.2** | ~$1.14 | ❌ | 200K |
125
- | **GLM 5V Turbo** | Z.ai | **~$0.029** | **34.0** ³ | ~$1.00 | ✅ | 200K |
126
- | **Gemini 3.6 Flash** ⁸ | Google | **~$0.030** | **50.0** | ~$1.50 | ✅ | 1M |
127
- | **Qwen 3.8 Max** ¹⁰ | DashScope | **~$0.030** | **53.4** | ~$1.60 | ✅ | 1M |
128
- | **Gemini 3.5 Flash** | Google | **~$0.033** | **50.2** | ~$1.65 | ✅ | 1M |
129
- | **GPT-5.6 Terra** | OpenAI | **~$0.040** | **55.0** | ~$2.20 | ✅ | 1M |
130
- | **Qwen 3.7 Max** | DashScope | **~$0.043** | **46.0** | ~$2.00 | ❌ | 1M |
131
- | **Gemini 3.1 Pro** | Google | **~$0.047** | **46.5** | ~$2.20 | ✅ | 1M |
132
- | **Kimi K3** ⁶ | Moonshot | **~$0.053** | **57.0** | ~$3.00 | ✅ | 1M |
133
- | **GPT-5.4** | OpenAI | **~$0.054** | **51.4** | ~$2.75 | ✅ | 1M |
134
- | **Claude Sonnet 5** ⁵ | Anthropic | **~$0.057** | **53.0** | ~$3.00 | ✅ | 1M |
135
- | **Claude Sonnet 4.6** | Anthropic | **~$0.064** | **47.2** | ~$3.00 | ✅ | 1M |
136
- | **Claude Opus 5** ⁹ | Anthropic | **~$0.082** | **61.0** | ~$5.00 | ✅ | 1M |
137
- | **Claude Opus 4.8** | Anthropic | **~$0.090** | **55.7** | ~$5.00 | ✅ | 1M |
138
- | **Claude Opus 4.7** | Anthropic | **~$0.093** | **53.5** | ~$5.00 | ✅ | 1M |
139
- | **GPT-5.6 Sol** | OpenAI | **~$0.093** | **58.9** | ~$5.50 | ✅ | 1M |
140
- | **GPT-5.5** | OpenAI | **~$0.10** | **54.8** | ~$5.50 | ✅ | 1M |
112
+ | **DeepSeek V4 Flash 0731** | DeepSeek | **~$0.0019** | **51.8** | ~$0.10 | ❌ | 1M |
113
+ | **MiMo V2.5** | Xiaomi | **~$0.0026** | **38.0** | ~$0.10 | ✅ | 1M |
114
+ | **GPT-5.6 Luna** | OpenAI | **~$0.0042** | **52.3** | ~$0.22 | ✅ | 1M |
115
+ | **MiniMax M3** | MiniMax | **~$0.0060** | **45.4** | ~$0.27 | ✅ | 1M |
116
+ | **DeepSeek V4 Pro** | DeepSeek | **~$0.0066** | **45.3** | ~$0.30 | ✅ | 1M |
117
+ | **MiMo V2.5 Pro** | Xiaomi | **~$0.0070** | **42.9** | ~$0.30 | ❌ | 1M |
118
+ | **Qwen 3.7 Plus** ¹² | DashScope | **~$0.0074** | **39.4** | ~$0.29 | ✅ | 1M |
119
+ | **MiniMax M3 Priority**⁴ | MiniMax | **~$0.0090** | **45.4** | ~$0.41 | ✅ | 1M |
120
+ | **Kimi K2.6** | Moonshot | **~$0.020** | **45.0** | ~$0.88 | ✅ | 262K |
121
+ | **GPT-5.4 mini** | OpenAI | **~$0.020** | **40.9** | ~$0.83 | ❌ | 400K |
122
+ | **Kimi K2.7 Code** | Moonshot | **~$0.020** | **43.0** | ~$0.88 | ✅ | 262K |
123
+ | **GLM 5.2** | Z.ai | **~$0.022** | **52.6** | ~$1.14 | ❌ | 1M |
124
+ | **Qwen 3.7 Max** ¹² | DashScope | **~$0.025** | **46.7** | ~$1.18 | ❌ | 1M |
125
+ | **Qwen 3.8 Max** ¹⁰ | DashScope | **~$0.028** | **58.1** | ~$1.60 | ✅ | 1M |
126
+ | **GLM 5.1** | Z.ai | **~$0.028** | **41.0** | ~$1.14 | ❌ | 200K |
127
+ | **GLM 5V Turbo** | Z.ai | **~$0.029** | **35.0** ³ | ~$1.00 | ✅ | 200K |
128
+ | **Grok 4.5** ¹¹ | xAI | **~$0.029** | **55.8** | ~$1.60 | ✅ | 500K |
129
+ | **Gemini 3.6 Flash** ⁸ | Google | **~$0.029** | **51.6** | ~$1.50 | ✅ | 1M |
130
+ | **Gemini 3.5 Flash** | Google | **~$0.032** | **52.0** | ~$1.65 | ✅ | 1M |
131
+ | **GPT-5.6 Terra** | OpenAI | **~$0.039** | **56.6** | ~$2.20 | ✅ | 1M |
132
+ | **Gemini 3.1 Pro** | Google | **~$0.046** | **47.7** | ~$2.20 | ✅ | 1M |
133
+ | **Kimi K3** ⁶ | Moonshot | **~$0.050** | **59.7** | ~$3.00 | ✅ | 1M |
134
+ | **GPT-5.4** | OpenAI | **~$0.052** | **53.1** | ~$2.75 | ✅ | 1M |
135
+ | **Claude Sonnet 5** ⁵ | Anthropic | **~$0.054** | **55.3** | ~$3.00 | ✅ | 1M |
136
+ | **Claude Sonnet 4.6** | Anthropic | **~$0.062** | **48.4** | ~$3.00 | ✅ | 1M |
137
+ | **Claude Opus 5** ⁹ | Anthropic | **~$0.079** | **63.1** | ~$5.00 | ✅ | 1M |
138
+ | **Claude Opus 4.8** | Anthropic | **~$0.087** | **57.3** | ~$5.00 | ✅ | 1M |
139
+ | **GPT-5.6 Sol** | OpenAI | **~$0.090** | **60.9** | ~$5.50 | ✅ | 1M |
140
+ | **Claude Opus 4.7** | Anthropic | **~$0.091** | **55.0** | ~$5.00 | ✅ | 1M |
141
+ | **GPT-5.5** | OpenAI | **~$0.098** | **56.3** | ~$5.50 | ✅ | 1M |
141
142
 
142
143
  ¹ Gemini 3.1 Pro pricing applies to prompts ≤200K tokens.
143
144
 
144
- ³ Score is an **estimate** from Artificial Analysis (labelled "independent evaluation forthcoming"). Not a confirmed run of the full evaluation suite.
145
+ ³ 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.
145
146
 
146
147
  ⁴ **MiniMax M3 Priority** is the same `MiniMax-M3` weights invoked with `"service_tier": "priority"` in the request body — **not a separate model**. Costs **1.5× Standard** (effective post-50%-off rates: $0.45 / $1.80 / $0.09 per 1M for input/output/cached ≤512K) in exchange for **priority admission** (faster responses, fewer failures during MiniMax peak hours). Capabilities, context window, vision, tools, rate limits, and thinking modes are identical to Standard. See [docs/research/minimax-m3-priority.md](docs/research/minimax-m3-priority.md).
147
148
 
148
- ⁵ **Claude Sonnet 5** has introductory pricing of **$2.00 / $10.00** per MTok (input/output) through **August 31, 2026**. Standard pricing of $3.00 / $15.00 shown above takes effect September 1, 2026. Released June 30, 2026 — Arena rankings pending. AA Intelligence Index score of **53.0** confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/claude-sonnet-5).
149
+ ⁵ **Claude Sonnet 5** has introductory pricing of **$2.00 / $10.00** per MTok (input/output) through **August 31, 2026**. Standard pricing of $3.00 / $15.00 shown above takes effect September 1, 2026. Released June 30, 2026 — Arena rankings pending. AA Intelligence Index score of **55.3** confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/claude-sonnet-5).
149
150
 
150
- ⁶ **GPT-5.6** launched July 9, 2026. On July 30, OpenAI reduced Luna pricing by 80% to $0.20/$1.20 and Terra pricing by 20% to $2/$12 per 1M input/output tokens; Sol remains $5/$30. All support image input and 1M context. The Batch API offers an additional 50% discount for asynchronous jobs. Benchmark details and cache-write pricing are maintained in [docs/pricing.md](docs/pricing.md).
151
+ ⁶ **GPT-5.6** launched July 9, 2026. On July 30, OpenAI reduced Luna pricing by 80% to $0.20/$1.20 and Terra pricing by 20% to $2/$12 per 1M input/output tokens; Sol remains $5/$30. All support image input and 1M context. The Batch API offers an additional 50% discount for asynchronous jobs. OpenRouter is currently running a limited-time 50% promo on Terra and Luna (effective $0.10/$0.60 and $1/$6 per 1M input/output respectively). Benchmark details and cache-write pricing are maintained in [docs/pricing.md](docs/pricing.md).
151
152
 
152
- ⁷ **Kimi K3** launched July 16, 2026. 2.8T params (open-source weights by July 27, 2026). Always-thinking reasoning model — uses `reasoning_effort` (not the K2.x `thinking` parameter). AA Intelligence Index score of **57.0** confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/kimi-k3). Priced at $3.00 / $15.00 per MTok input/output. Requires the local Kimi proxy. See [docs/models/kimi.md](docs/models/kimi.md).
153
+ ⁷ **Kimi K3** launched July 16, 2026. 2.8T params (open-source weights by July 27, 2026). Always-thinking reasoning model — uses `reasoning_effort` (not the K2.x `thinking` parameter). AA Intelligence Index score of **59.7** confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/kimi-k3). Priced at $3.00 / $15.00 per MTok input/output. Requires the local Kimi proxy. See [docs/models/kimi.md](docs/models/kimi.md).
153
154
 
154
- ⁸ **Gemini 3.6 Flash** launched July 21, 2026. Priced at $1.50 / $7.50 per MTok input/output ($0.15 cached). AA Intelligence Index score of **50.0** confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/gemini-3-6-flash). 1M context with vision.
155
+ ⁸ **Gemini 3.6 Flash** launched July 21, 2026. Priced at $1.50 / $7.50 per MTok input/output ($0.15 cached). AA Intelligence Index score of **51.6** confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/gemini-3-6-flash). 1M context with vision.
155
156
 
156
- ⁹ **Claude Opus 5** launched July 24, 2026. AA Intelligence Index score of **61.0** (#1 overall) confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/claude-opus-5). Priced at $5.00 / $25.00 per MTok input/output (same as Opus 4.8). 1M context, text + image input, adaptive reasoning. Also available in Fast mode ($10/$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).
157
+ ⁹ **Claude Opus 5** launched July 24, 2026. AA Intelligence Index score of **63.1** (#1 overall) confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/claude-opus-5). Priced at $5.00 / $25.00 per MTok input/output (same as Opus 4.8). 1M context, text + image input, adaptive reasoning. Also available in Fast mode ($10/$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).
157
158
 
158
- ¹⁰ **Qwen 3.8 Max** (`qwen3.8-max`) has an OpenRouter-reported Artificial Analysis Intelligence Index of **53.4** (Coding **68.9**, Agentic **44.9**). Arena snapshots place it **#5 in Text**, **#2 in Vision**, and **#4 in Code/WebDev**; it is not listed in Agent Arena. See [OpenRouter](https://openrouter.ai/qwen/qwen3.8-max) and [Arena](https://arena.ai/leaderboard).
159
+ ¹⁰ **Qwen 3.8 Max** (`qwen3.8-max`) has a confirmed Artificial Analysis Intelligence Index of **58.1** (Coding **71.8**, Agentic **58.4**) — see [AA](https://artificialanalysis.ai/models/qwen3-8-max) and [OpenRouter](https://openrouter.ai/qwen/qwen3.8-max). Arena snapshots place it **#5 in Text**, **#2 in Vision**, and **#4 in Code/WebDev**; it is not listed in Agent Arena. See [Arena](https://arena.ai/leaderboard).
160
+
161
+ ¹¹ **Grok 4.5** (xAI, released July 8, 2026) is included for comparison — it is not a GitHub Copilot native model nor a custom-endpoint model in this repo. AA Intelligence Index **55.8** (high), Coding **72.4**, Agentic **48.9**. 500K context, text + image input. Priced at $2.00 / $0.30 / $6.00 per 1M input/cached/output.
162
+
163
+ ¹² **Qwen 3.7 price cuts** (verified August 7, 2026): `qwen3.7-max` dropped from $2.50 / $7.50 to **$1.475 / $4.425** per 1M input/output (cached $0.295), and `qwen3.7-plus` dropped from $0.40 / $1.60 to **$0.32 / $1.28** per 1M (cached $0.064).
159
164
 
160
165
  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).
161
166
 
162
167
  > **👤 Personal picks** —
163
168
  >
164
- > For serious coding work, **GPT-5.6 Luna** is now my top value recommendation:
169
+ > For serious coding work, **GPT-5.6 Luna** and **DeepSeek V4 Flash 0731** are now the top value picks:
165
170
  >
166
- > - Higher intelligence score (**51.2**) than MiniMax M3 (44.4)
167
- > - Lower modeled cost: ~$0.22/session versus MiniMax M3's ~$0.27
168
- > - Available natively in Copilot, with reduced AI-credit consumption after OpenAI's July price cut
171
+ > - **GPT-5.6 Luna** (Copilot native) — scores **52.3**, ~$0.22/session, vision-capable. Higher intelligence than MiniMax M3 (45.4) at a lower modeled cost, with reduced AI-credit consumption after OpenAI's July price cut.
172
+ > - **DeepSeek V4 Flash 0731** (extension) — scores **51.8** after the AA v4.1.1 benchmark refresh, ~$0.10/session — the best intelligence-per-dollar in the lineup. Text-only, so pair it with a vision model when you need images.
169
173
  >
170
- > **MiniMax M3** remains the best direct non-OpenAI custom-endpoint option — no local proxy, vision, 1M context, and strong coding performance at ~$0.27/session.
174
+ > **MiniMax M3** (45.4, ~$0.27/session) is still the best **direct** custom-endpoint option — no proxy or extension, vision, 1M context, strong coding — but it no longer leads on value now that DeepSeek V4 Flash scores higher at a third of the cost. Pick M3 when you want a plug-and-play custom endpoint with vision.
171
175
  >
172
- > For **plan mode / architecture & design thinking**, **Kimi K3**, **GPT-5.6 Luna**, and **GLM 5.2** are worth the premium:
176
+ > For **plan mode / architecture & design thinking**, **Qwen 3.8 Max**, **Kimi K3**, **GLM 5.2**, **GPT-5.6 Luna**, and **DeepSeek V4 Flash 0731** are worth considering:
173
177
  >
174
- > - **Kimi K3** — new flagship. Highest intelligence score among custom-endpoint models (**57.0**, #3 overall). Best for complex reasoning, long-horizon planning, and architecture decisions. 1M context with vision. ~$3.00/session is ~11× MiniMax M3, so **not a daily driver** — reserve it for hard problems.
175
- > - **GPT-5.6 Luna** (Copilot native) — scores **51.2** 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.
176
- > - **GLM 5.2** — scores **51.0**, reasoning-heavy planning at a lower price. 1M lossless context, ideal for whole-codebase planning and large spec review. ~$1.14/session is ~4× MiniMax M3, so **not a daily driver for agent mode** — reserve it for planning, then hand implementation off to a cheaper model.
178
+ > - **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 (roughly half Kimi K3's cost), with 1M context and vision. Strong for whole-codebase planning, architecture, and large spec review.
179
+ > - **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**.
180
+ > - **GLM 5.2** — scores **52.6**, reasoning-heavy planning at a lower price. 1M lossless context, ideal for whole-codebase planning and large spec review. ~$1.14/session is ~4× MiniMax M3, so **not a daily driver for agent mode** — reserve it for planning, then hand implementation off to a cheaper model.
181
+ > - **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.
182
+ > - **DeepSeek V4 Flash 0731** (extension) — scores **51.8** at ~$0.10/session — the budget planning pick. Text-only, so pair it with a vision model for design review, but for reasoning-heavy planning it delivers near-premium scores at a fraction of the cost.
177
183
  >
178
184
  > Cheaper alternatives for simpler tasks:
179
185
  >
180
- > - **DeepSeek V4 Flash 0731** — ~$0.10/session, 49.9 score (solid fallback)
181
- > - **MiMo V2.5** — ~$0.10/session, 40 score (solid fallback, vision-capable)
186
+ > - **Qwen 3.7 Plus** — ~$0.29/session after the August 7 price cut, 39.4 score, vision-capable — the best cost-per-intelligence value in the custom-endpoint lineup
187
+ > - **MiMo V2.5** — ~$0.10/session, 38.0 score (solid fallback, vision-capable)
182
188
 
183
189
  ## Companion tools
184
190
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **TL;DR:** Kimi models require the local proxy. The K2/K3 family locks `temperature: 1` and `top_p: 0.95`. K2.6 needs `thinking: { type: "disabled" }` on tool turns; **K2.7 Code is always-thinking and rejects `thinking: disabled`**. **K3 is always-thinking and uses `reasoning_effort` (not the `thinking` parameter)** — the proxy detects `kimi-k3` and skips the thinking-disable rewrite while keeping sampling enforcement. Direct VS Code → Moonshot is not viable.
4
4
  >
5
- > **🆕 Kimi K3** (released July 16, 2026) is Kimi's flagship — 2.8T parameters, 1M context, AA Intelligence Index **57.0** (#3 overall, between GPT-5.6 Sol and Claude Opus 4.8). Open-source weights coming by July 27, 2026.
5
+ > **🆕 Kimi K3** (released July 16, 2026) is Kimi's flagship — 2.8T parameters, 1M context, AA Intelligence Index **59.7** (#4 overall, between GPT-5.6 Sol and Qwen 3.8 Max). Open-source weights coming by July 27, 2026.
6
6
  >
7
7
  > **🆕 Alternative:** On the **Kimi Coding tier** (`kimi.com/code/console`), the [**Moonshot LM Provider**](https://marketplace.visualstudio.com/items?itemName=DenizhanDaklr.kimi-lm-provider) extension offers zero-proxy setup with reasoning visibility. **Not compatible with Pay-as-You-Go** keys from `platform.kimi.ai`. See [the extension comparison](../research/kimi-vscode-extension.md).
8
8
 
@@ -24,7 +24,7 @@
24
24
 
25
25
  | Model | Vision | Context | Max output | Notes |
26
26
  | ---------------- | ------ | ------- | ---------- | -------------------------------------------------------------------------------------------------------- |
27
- | `kimi-k3` | ✅ Yes | 1M | 131072 | **Flagship.** Always-thinking, uses `reasoning_effort` (not `thinking`). 2.8T params. AA Index **57.0**. |
27
+ | `kimi-k3` | ✅ Yes | 1M | 131072 | **Flagship.** Always-thinking, uses `reasoning_effort` (not `thinking`). 2.8T params. AA Index **59.7**. |
28
28
  | `kimi-k2.6` | ✅ Yes | 262K | 32768 | Proxy forces `thinking: { type: "disabled" }` on tool turns |
29
29
  | `kimi-k2.7-code` | ✅ Yes | 262K | 4096 | Always-thinking; rejects `thinking: disabled`. Keep `maxOutputTokens` low (4096). |
30
30
 
@@ -240,7 +240,9 @@ For the cross-provider comparison, see [docs/pricing.md](../pricing.md). DashSco
240
240
  | Model | Input (≤ 256K tokens) | Input (> 256K tokens) | Output (≤ 256K tokens) | Output (> 256K tokens) |
241
241
  | -------------- | --------------------- | --------------------- | ---------------------- | ---------------------- |
242
242
  | `qwen3.8-max` | $2.00 | — | $6.00 | — |
243
- | `qwen3.7-plus` | $0.40 / 1M | $1.20 / 1M | $1.60 / 1M | $4.80 / 1M |
244
- | `qwen3.7-max` | $2.50 / 1M (≤ 1M) | — | $7.50 / 1M (≤ 1M) | — |
243
+ | `qwen3.7-plus` | $0.32 / 1M | $0.40 / 1M | $1.28 / 1M | $1.60 / 1M |
244
+ | `qwen3.7-max` | $1.475 / 1M (≤ 1M) | — | $4.425 / 1M (≤ 1M) | — |
245
+
246
+ > **Qwen 3.7 price cuts** (verified August 7, 2026): `qwen3.7-max` dropped from $2.50 / $7.50 to **$1.475 / $4.425** per 1M (cached $0.295; >256K input tier $1.844); `qwen3.7-plus` dropped from $0.40 / $1.60 to **$0.32 / $1.28** per 1M (cached $0.064).
245
247
 
246
248
  > Free quota: 1M input + 1M output tokens per model, valid 90 days after activating Model Studio.
package/docs/pricing.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Pricing
2
2
 
3
- > **Updated:** August 3, 2026 — GPT-5.6 Luna and Terra price reductions verified against OpenAI's July 30 announcement. Luna is 80% cheaper and Terra is 20% cheaper; Sol pricing is unchanged.
3
+ > **Updated:** August 7, 2026 — All AA Intelligence Index scores refreshed to **Index v4.1.1** (most models gained ~1–2.5 pts). **Qwen 3.7 Max / 3.7 Plus price cuts** (see footnote ¹³). **Grok 4.5 added** for comparison. 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,41 +24,42 @@ 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
- | **DeepSeek V4 Flash 0731** | DeepSeek | **~$0.0020** | **49.9** | $0.14 | $0.0028 | $0.28 | ~$0.10 | 1M |
28
- | **MiMo V2.5** | Xiaomi | **~$0.0025** | **40** ³ | $0.14 | $0.0028 | $0.28 | ~$0.10 | 1M |
29
- | **GPT-5.6 Luna** | OpenAI | **~$0.0043** | **51.2** | $0.20 | $0.02 | $1.20 | ~$0.22 | 1M |
30
- | **MiniMax M3** | MiniMax | **~$0.0061** | **44.4** | $0.60 (≤512K) / $1.20 (>512K) | $0.12 (≤512K) / $0.24 (>512K) | $2.40 (≤512K) / $4.80 (>512K) | ~$0.27 | 1M |
31
- | **DeepSeek V4 Pro** | DeepSeek | **~$0.0068** | **44.3** | $0.435 | $0.003625 | $0.87 | ~$0.30 | 1M |
32
- | **MiMo V2.5 Pro** | Xiaomi | **~$0.0072** | **42.2** | $0.435 | $0.0036 | $0.87 | ~$0.30 | 1M |
33
- | **Qwen 3.7 Plus** | DashScope | **~$0.0092** | **39.0** | $0.40 (≤256K) / $1.20 (>256K) | — | $1.60 (≤256K) / $4.80 (>256K) | ~$0.36 | 1M |
34
- | **MiniMax M3 Priority**⁵ | MiniMax | **~$0.0092** | **44.4** | $0.90 (≤512K) / $1.80 (>512K) | $0.18 (≤512K) / $0.36 (>512K) | $3.60 (≤512K) / $7.20 (>512K) | ~$0.41 | 1M |
35
- | **Kimi K2.6** | Moonshot | **~$0.021** | **42.8** | $0.95 | $0.16 | $4.00 | ~$0.88 | 256K |
36
- | **Kimi K2.7 Code** | Moonshot | **~$0.021** | **42.0** | $0.95 | $0.19 | $4.00 | ~$0.88 | 262K |
37
- | **GPT-5.4 mini** | OpenAI | **~$0.021** | **40.0** | $0.75 | $0.075 | $4.50 | ~$0.83 | 400K |
38
- | **GLM 5.2** ⁴ | Z.ai | **~$0.022** | **51.0** | $1.40 | $0.26 | $4.40 | ~$1.14 | 1M |
39
- | **GLM 5.1** | Z.ai | **~$0.028** | **40.2** | $1.40 | $0.26 | $4.40 | ~$1.14 | 200K |
40
- | **GLM 5V Turbo** | Z.ai | **~$0.029** | **34.0** ³ | $1.20 | $0.24 | $4.00 | ~$1.00 | 200K |
41
- | **Gemini 3.6 Flash** ⁹ | Google | **~$0.030** | **50.0** | $1.50 | $0.15 | $7.50 | ~$1.50 | 1M |
42
- | **Qwen 3.8 Max** ¹¹ | DashScope | **~$0.030** | **53.4** | $2.00 | $0.25 | $6.00 | ~$1.60 | 1M |
43
- | **Gemini 3.5 Flash** | Google | **~$0.033** | **50.2** | $1.50 | $0.15 | $9.00 | ~$1.65 | 1M |
44
- | **GPT-5.6 Terra** | OpenAI | **~$0.040** | **55.0** | $2.00 | $0.20 | $12.00 | ~$2.20 | 1M |
45
- | **Qwen 3.7 Max** | DashScope | **~$0.043** | **46.0** | $2.50 (≤1M) | — | $7.50 (≤1M) | ~$2.00 | 1M |
46
- | **Gemini 3.1 Pro** | Google | **~$0.047** | **46.5** | $2.00¹ | $0.20 | $12.00¹ | ~$2.20 | 1M |
47
- | **Kimi K3** ⁷ | Moonshot | **~$0.053** | **57.0** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
48
- | **GPT-5.4** | OpenAI | **~$0.054** | **51.4** | $2.50 | $0.25 | $15.00 | ~$2.75 | 1M |
49
- | **Claude Sonnet 5** ⁶ | Anthropic | **~$0.057** | **53.0** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
50
- | **Claude Sonnet 4.6** | Anthropic | **~$0.064** | **47.2** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
51
- | **Claude Opus 5** ¹⁰ | Anthropic | **~$0.082** | **61.0** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
52
- | **Claude Opus 4.8** | Anthropic | **~$0.090** | **55.7** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
53
- | **Claude Opus 4.7** | Anthropic | **~$0.093** | **53.5** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
54
- | **GPT-5.6 Sol** | OpenAI | **~$0.093** | **58.9** | $5.00 | $0.50 | $30.00 | ~$5.50 | 1M |
55
- | **GPT-5.5** | OpenAI | **~$0.10** | **54.8** | $5.00 | $0.50 | $30.00 | ~$5.50 | 1M |
27
+ | **DeepSeek V4 Flash 0731** | DeepSeek | **~$0.0019** | **51.8** | $0.14 | $0.0028 | $0.28 | ~$0.10 | 1M |
28
+ | **MiMo V2.5** | Xiaomi | **~$0.0026** | **38.0** | $0.14 | $0.0028 | $0.28 | ~$0.10 | 1M |
29
+ | **GPT-5.6 Luna** | OpenAI | **~$0.0042** | **52.3** | $0.20 | $0.02 | $1.20 | ~$0.22 | 1M |
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 |
31
+ | **DeepSeek V4 Pro** | DeepSeek | **~$0.0066** | **45.3** | $0.435 | $0.003625 | $0.87 | ~$0.30 | 1M |
32
+ | **MiMo V2.5 Pro** | Xiaomi | **~$0.0070** | **42.9** | $0.435 | $0.0036 | $0.87 | ~$0.30 | 1M |
33
+ | **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 |
34
+ | **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 |
35
+ | **Kimi K2.6** | Moonshot | **~$0.020** | **45.0** | $0.95 | $0.16 | $4.00 | ~$0.88 | 256K |
36
+ | **GPT-5.4 mini** | OpenAI | **~$0.020** | **40.9** | $0.75 | $0.075 | $4.50 | ~$0.83 | 400K |
37
+ | **Kimi K2.7 Code** | Moonshot | **~$0.020** | **43.0** | $0.95 | $0.19 | $4.00 | ~$0.88 | 262K |
38
+ | **GLM 5.2** ⁴ | Z.ai | **~$0.022** | **52.6** | $1.40 | $0.26 | $4.40 | ~$1.14 | 1M |
39
+ | **Qwen 3.7 Max** ¹³ | DashScope | **~$0.025** | **46.7** | $1.475 (≤1M) | $0.295 | $4.425 (≤1M) | ~$1.18 | 1M |
40
+ | **Qwen 3.8 Max** ¹¹ | DashScope | **~$0.028** | **58.1** | $2.00 | $0.25 | $6.00 | ~$1.60 | 1M |
41
+ | **GLM 5.1** | Z.ai | **~$0.028** | **41.0** | $1.40 | $0.26 | $4.40 | ~$1.14 | 200K |
42
+ | **GLM 5V Turbo** | Z.ai | **~$0.029** | **35.0** ³ | $1.20 | $0.24 | $4.00 | ~$1.00 | 200K |
43
+ | **Grok 4.5** ¹² | xAI | **~$0.029** | **55.8** | $2.00 | $0.30 | $6.00 | ~$1.60 | 500K |
44
+ | **Gemini 3.6 Flash** ⁹ | Google | **~$0.029** | **51.6** | $1.50 | $0.15 | $7.50 | ~$1.50 | 1M |
45
+ | **Gemini 3.5 Flash** | Google | **~$0.032** | **52.0** | $1.50 | $0.15 | $9.00 | ~$1.65 | 1M |
46
+ | **GPT-5.6 Terra** | OpenAI | **~$0.039** | **56.6** | $2.00 | $0.20 | $12.00 | ~$2.20 | 1M |
47
+ | **Gemini 3.1 Pro** | Google | **~$0.046** | **47.7** | $2.00¹ | $0.20 | $12.00¹ | ~$2.20 | 1M |
48
+ | **Kimi K3** ⁷ | Moonshot | **~$0.050** | **59.7** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
49
+ | **GPT-5.4** | OpenAI | **~$0.052** | **53.1** | $2.50 | $0.25 | $15.00 | ~$2.75 | 1M |
50
+ | **Claude Sonnet 5** ⁶ | Anthropic | **~$0.054** | **55.3** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
51
+ | **Claude Sonnet 4.6** | Anthropic | **~$0.062** | **48.4** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
52
+ | **Claude Opus 5** ¹⁰ | Anthropic | **~$0.079** | **63.1** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
53
+ | **Claude Opus 4.8** | Anthropic | **~$0.087** | **57.3** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
54
+ | **GPT-5.6 Sol** | OpenAI | **~$0.090** | **60.9** | $5.00 | $0.50 | $30.00 | ~$5.50 | 1M |
55
+ | **Claude Opus 4.7** | Anthropic | **~$0.091** | **55.0** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
56
+ | **GPT-5.5** | OpenAI | **~$0.098** | **56.3** | $5.00 | $0.50 | $30.00 | ~$5.50 | 1M |
56
57
 
57
58
  ¹ Gemini 3.1 Pro pricing applies to prompts ≤200K tokens.
58
59
 
59
- ³ Score is an **estimate** from Artificial Analysis (labelled "independent evaluation forthcoming"). Not a confirmed run of the full evaluation suite.
60
+ ³ 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.
60
61
 
61
- ⁴ GLM 5.2 is Z.ai's newly released flagship model (Opus-level intelligence / 1M Solid context). AA Intelligence Index score (**51.0**) 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).
62
+ ⁴ GLM 5.2 is Z.ai's newly released flagship model (Opus-level intelligence / 1M Solid context). 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). OpenRouter's cheapest provider (NovitaAI) is currently running a temporary 52%-off promo at $0.679 / $2.134 per 1M.
62
63
 
63
64
  ⁵ **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.
64
65
 
@@ -66,13 +67,17 @@ All models are listed together below, sorted by Cost per intelligence ascending
66
67
 
67
68
  ⁷ **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).
68
69
 
69
- ⁸ **GPT-5.6** pricing is **$0.20 / $0.02 / $1.20** for Luna, **$2.00 / $0.20 / $12.00** for Terra, and **$5.00 / $0.50 / $30.00** for Sol (input / cached input / output per 1M tokens). OpenAI reduced Luna by 80% and Terra by 20% on July 30, 2026; Sol is unchanged. 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 GPT-5.6 price update](https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/) and [GPT-5.6 announcement](https://openai.com/index/gpt-5-6/).
70
+ ⁸ **GPT-5.6** pricing is **$0.20 / $0.02 / $1.20** for Luna, **$2.00 / $0.20 / $12.00** for Terra, and **$5.00 / $0.50 / $30.00** for Sol (input / cached input / output per 1M tokens). OpenAI reduced Luna by 80% and Terra by 20% on July 30, 2026; Sol is unchanged. 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 GPT-5.6 price update](https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/) and [GPT-5.6 announcement](https://openai.com/index/gpt-5-6/). **As of August 7, 2026, OpenRouter is running a limited-time 50% promotional discount on Terra and Luna** (effective **$0.10 / $0.60** per 1M for Luna and **$1.00 / $6.00** per 1M for Terra, input/output) on top of the list prices above — this is a temporary third-party promo, not an OpenAI list-price change.
70
71
 
71
- ⁹ **Gemini 3.6 Flash** was released on **July 21, 2026**. AA Intelligence Index score (**50.0**) confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/gemini-3-6-flash). Pricing is $1.50 input / $0.15 cached / $7.50 output per MTok.
72
+ ⁹ **Gemini 3.6 Flash** was released on **July 21, 2026**. AA Intelligence Index score (**51.6**) confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/gemini-3-6-flash). Pricing is $1.50 input / $0.15 cached / $7.50 output per MTok.
72
73
 
73
- ¹⁰ **Claude Opus 5** was released on **July 24, 2026**. AA Intelligence Index score (**61.0**) confirmed by [Artificial Analysis](https://artificialanalysis.ai/models/claude-opus-5). Pricing is $5.00 / $0.50 / $25.00 per MTok input/cached/output (same as Opus 4.8). 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).
74
+ ¹⁰ **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 (same as Opus 4.8). 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).
74
75
 
75
- ¹¹ **Qwen 3.8 Max** (`qwen3.8-max`) launched on **August 3, 2026**. Qwen Cloud lists $2.00 input / $6.00 output per 1M tokens, $0.25 implicit-cache input, $2.50 explicit-cache creation, and $0.17 explicit-cache reads. The modeled session cost is ~$1.60 using 10K input + 2K output tokens per turn across 50 turns. It has a 1M context window, 131K maximum output, and text/image/video input. OpenRouter currently reports an Artificial Analysis Intelligence Index of **53.4** for this model. See the [Qwen Cloud model page](https://www.qwencloud.com/models/qwen3.8-max) and [OpenRouter model page](https://openrouter.ai/qwen/qwen3.8-max).
76
+ ¹¹ **Qwen 3.8 Max** (`qwen3.8-max`) launched on **August 3, 2026**. Qwen Cloud lists $2.00 input / $6.00 output per 1M tokens, $0.25 implicit-cache input, $2.50 explicit-cache creation, and $0.17 explicit-cache reads. The modeled session cost is ~$1.60 using 10K input + 2K output tokens per turn across 50 turns. It has a 1M context window, 131K maximum output, and text/image/video input. Artificial Analysis has published an Intelligence Index of **58.1** for this model (**#9/185**; listed as a rounded **58** on its [model page](https://artificialanalysis.ai/models/qwen3-8-max)); OpenRouter metadata also reports Coding **71.8** and Agentic **58.4**. Pricing is unchanged as of August 7, 2026. 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).
77
+
78
+ ¹² **Grok 4.5** (xAI, released **July 8, 2026**) is included for comparison — it is not a GitHub Copilot native model nor a custom-endpoint model in this repo. AA Intelligence Index **55.8** (high), Coding **72.4**, Agentic **48.9**. 500K context window, text + image input. Priced at $2.00 / $0.30 / $6.00 per 1M input/cached/output.
79
+
80
+ ¹³ **Qwen 3.7 price cuts** (verified August 7, 2026): `qwen3.7-max` dropped from $2.50 / $7.50 to **$1.475 / $4.425** per 1M input/output (cached $0.295; >256K input tier $1.844), and `qwen3.7-plus` dropped from $0.40 / $1.60 to **$0.32 / $1.28** per 1M (cached $0.064; >256K tier $0.40 / $1.60).
76
81
 
77
82
  Cost per intelligence = estimated session cost ÷ Intelligence Index score. Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns.
78
83
 
@@ -94,7 +99,7 @@ Cost per intelligence = estimated session cost ÷ Intelligence Index score. Sess
94
99
 
95
100
  > **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.)
96
101
 
97
- > Prices last verified: August 3, 2026. Always check the official pages for the latest rates:
102
+ > Prices last verified: August 7, 2026. Always check the official pages for the latest rates:
98
103
  >
99
104
  > - [GitHub Copilot models & pricing](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing)
100
105
  > - [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.1",
3
+ "version": "2.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",