copilot-custom-endpoint 2.1.8 → 2.2.0

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.
Files changed (3) hide show
  1. package/README.md +52 -60
  2. package/docs/pricing.md +53 -42
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -107,49 +107,52 @@ npx copilot-custom-endpoint clean # Remove debug_log/
107
107
 
108
108
  ## Pricing snapshot
109
109
 
110
- All prices are **USD per 1M tokens** (non-cached). 1 AI credit = $0.01. To convert to AI credits, multiply by 100 (e.g., $5.00/1M = 500 credits/1M). Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns. DeepSeek V4 estimates use peak rates; official off-peak rates are half.
110
+ All prices are **USD per 1M tokens** (non-cached). 1 AI credit = $0.01. To convert to AI credits, multiply by 100 (e.g., $5.00/1M = 500 credits/1M). Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns. DeepSeek V4 estimates use peak rates; official off-peak rates are half. The current AA values come from OpenRouter's live model pages; **every pricing cell comes from first-party provider pricing or GitHub Copilot's official billing table, never OpenRouter.** Qwen 3.8 Max now refers to the current 0902 snapshot. Current corrections include OpenAI GPT-5.6 Sol at **$4 / $0.40 / $20**, Anthropic Sonnet 5 at **$2 / $0.20 / $10**, xAI Grok 4.5 cache reads at **$0.30**, and Alibaba's Qwen 3.7 list rates at **$2.50 / $0.25 / $7.50** (Max) and **$0.40 / $0.04 / $1.60** (Plus).
111
111
 
112
112
  | Model | Provider | Cost per intelligence | Intelligence Score | Est. session | Vision | Context window |
113
113
  | ----------------------------- | --------- | --------------------- | ------------------ | ------------ | ------ | -------------- |
114
- | **GLM 5.3 Flash** ¹⁸ | Z.ai | **~$0.0022** | **57.5** | ~$0.13 | ✅ | 1M |
115
- | **MiMo V2.5** | Xiaomi | **~$0.0026** | **38.0** | ~$0.10 | ✅ | 1M |
116
- | **GPT-5.6 Luna** | OpenAI | **~$0.0042** | **52.3** | ~$0.22 | ✅ | 1M |
117
- | **MiniMax M3** | MiniMax | **~$0.0060** | **45.4** | ~$0.27 | ✅ | 1M |
118
- | **DeepSeek V4 Flash 0731** | DeepSeek | **~$0.0068** | **51.8** | ~$0.35 | ❌ | 1M |
119
- | **MiMo V2.5 Pro** | Xiaomi | **~$0.0070** | **42.9** | ~$0.30 | ❌ | 1M |
120
- | **Qwen 3.7 Plus** ¹² | DashScope | **~$0.0074** | **39.4** | ~$0.29 | ✅ | 1M |
121
- | **MiniMax M3 Priority**⁴ | MiniMax | **~$0.0090** | **45.4** | ~$0.41 | ✅ | 1M |
122
- | **Gemini 3.8 Flash** ¹⁹ | Google | **~$0.013** | **58.7** | ~$0.75 | ✅ | 1M |
123
- | **Gemini 3.7 Flash** ¹³ | Google | **~$0.013** | **56** | ~$0.75 | ✅ | 1M |
124
- | **Qwen 3.6 Plus** ¹⁶ | DashScope | **~$0.014** | **40.0** | ~$0.55 | ✅ | 1M |
125
- | **Gemini 3.6 Flash** ⁸ | Google | **~$0.015** | **51.6** | ~$0.75 | ✅ | 1M |
126
- | **GLM 5.3** ¹⁷ | Z.ai | **~$0.019** | **59.5** | ~$1.14 | ❌ | 1M |
127
- | **Kimi K2.6** | Moonshot | **~$0.020** | **45.0** | ~$0.88 | ✅ | 262K |
128
- | **DeepSeek V4 Pro 0813** | DeepSeek | **~$0.020** | **53.2** | ~$1.06 | ❌ | 1M |
129
- | **GPT-5.4 mini** | OpenAI | **~$0.020** | **40.9** | ~$0.83 | ❌ | 400K |
130
- | **Kimi K2.7 Code** | Moonshot | **~$0.020** | **43.0** | ~$0.88 | ✅ | 262K |
131
- | **GLM 5.2** | Z.ai | **~$0.022** | **52.6** | ~$1.14 | ❌ | 1M |
132
- | **Qwen 3.7 Max** ¹² | DashScope | **~$0.025** | **46.7** | ~$1.18 | ❌ | 1M |
133
- | **Grok 4.6** ¹⁴ | xAI | **~$0.026** | **61** | ~$1.60 | ✅ | 500K |
134
- | **Qwen 3.8 Max** ¹⁰ | DashScope | **~$0.028** | **58.1** | ~$1.60 | ✅ | 1M |
135
- | **GLM 5.1** | Z.ai | **~$0.028** | **41.0** | ~$1.14 | ❌ | 200K |
136
- | **GLM 5V Turbo** | Z.ai | **~$0.029** | **35.0** ³ | ~$1.00 | ✅ | 200K |
137
- | **Grok 4.5** ¹¹ | xAI | **~$0.029** | **55.8** | ~$1.60 | ✅ | 500K |
138
- | **Gemini 3.5 Flash** | Google | **~$0.032** | **52.0** | ~$1.65 | ✅ | 1M |
139
- | **GPT-5.6 Terra** | OpenAI | **~$0.039** | **56.6** | ~$2.20 | ✅ | 1M |
140
- | **Gemini 3.1 Pro** | Google | **~$0.046** | **47.7** | ~$2.20 | ✅ | 1M |
141
- | **Kimi K3** ⁶ | Moonshot | **~$0.050** | **59.7** | ~$3.00 | ✅ | 1M |
142
- | **GPT-5.4** | OpenAI | **~$0.052** | **53.1** | ~$2.75 | ✅ | 1M |
143
- | **Claude Sonnet 5** ⁵ | Anthropic | **~$0.054** | **55.3** | ~$3.00 | ✅ | 1M |
144
- | **Claude Sonnet 4.6** | Anthropic | **~$0.062** | **48.4** | ~$3.00 | ✅ | 1M |
145
- | **Claude Opus 5** ⁹ | Anthropic | **~$0.079** | **63.1** | ~$5.00 | ✅ | 1M |
146
- | **Claude Opus 4.8** | Anthropic | **~$0.087** | **57.3** | ~$5.00 | ✅ | 1M |
147
- | **GPT-5.6 Sol** | OpenAI | **~$0.090** | **60.9** | ~$5.50 | ✅ | 1M |
148
- | **Claude Opus 4.7** | Anthropic | **~$0.091** | **55.0** | ~$5.00 | ✅ | 1M |
149
- | **GPT-5.5** | OpenAI | **~$0.098** | **56.3** | ~$5.50 | ✅ | 1M |
150
- | **Claude Fable 5.1** ²¹ | Anthropic | **~$0.15** | **65.7** | ~$10.00 | ✅ | 1M |
151
- | **Claude Fable 5** ¹⁵ | Anthropic | **~$0.161** | **62.1** | ~$10.00 | ✅ | 1M |
152
- | **Gemini 3.8 Flash Cyber** ²⁰ | Google | — | — | — | — | — |
114
+ | **GLM 5.3 Flash** | Z.ai | **~$0.0028** | **46.2** | ~$0.13 | ✅ | 1M |
115
+ | **GPT-5.6 Luna** | OpenAI | **~$0.0051** | **43.4** | ~$0.22 | ✅ | 1M |
116
+ | **MiniMax M3** | MiniMax | **~$0.0076** | **35.7** | ~$0.27 | ✅ | 1M |
117
+ | **DeepSeek V4 Flash 0731** | DeepSeek | **~$0.0086** | **40.8** | ~$0.35 | ❌ | 1M |
118
+ | **MiMo V2.5 Pro** | Xiaomi | **~$0.0092** | **32.6** | ~$0.30 | ❌ | 1M |
119
+ | **MiniMax M3 Priority** | MiniMax | **~$0.0115** | **35.7** | ~$0.41 | ✅ | 1M |
120
+ | **Gemini 3.8 Flash** | Google | **~$0.0159** | **47.1** | ~$0.75 | ✅ | 1M |
121
+ | **Gemini 3.7 Flash** | Google | **~$0.0166** | **45.2** | ~$0.75 | ✅ | 1M |
122
+ | **Gemini 3.6 Flash** | Google | **~$0.0186** | **40.3** | ~$0.75 | ✅ | 1M |
123
+ | **GLM 5.3** | Z.ai | **~$0.0235** | **48.6** | ~$1.14 | ❌ | 1M |
124
+ | **DeepSeek V4 Pro 0813** | DeepSeek | **~$0.0252** | **42.1** | ~$1.06 | ❌ | 1M |
125
+ | **Grok 4.6** | xAI | **~$0.0316** | **50.6** | ~$1.60 | ✅ | 500K |
126
+ | **Qwen 3.8 Max (0902)** | DashScope | **~$0.0341** | **46.9** | ~$1.60 | ✅ | 1M |
127
+ | **Grok 4.5** | xAI | **~$0.0352** | **45.5** | ~$1.60 | ✅ | 500K |
128
+ | **Claude Sonnet 5** | Anthropic | **~$0.0443** | **45.1** | ~$2.00 | ✅ | 1M |
129
+ | **GPT-5.6 Terra** | OpenAI | **~$0.0470** | **46.8** | ~$2.20 | ✅ | 1M |
130
+ | **Kimi K3** | Moonshot | **~$0.0598** | **50.2** | ~$3.00 | ✅ | 1M |
131
+ | **Gemini 3.1 Pro** | Google | **~$0.0599** | **36.7** | ~$2.20 | ✅ | 1M |
132
+ | **GPT-5.6 Sol** | OpenAI | **~$0.0780** | **51.3** | ~$4.00 | ✅ | 1M |
133
+ | **Claude Opus 5** | Anthropic | **~$0.0924** | **54.1** | ~$5.00 | ✅ | 1M |
134
+ | **Claude Fable 5.1** | Anthropic | **~$0.1761** | **56.8** | ~$10.00 | ✅ | 1M |
135
+ | **GPT-6 Astra** | OpenAI | **~$0.1828** | **54.7** | ~$10.00 | ✅ | 1M |
136
+ | **Claude Fable 5** | Anthropic | **~$0.1880** | **53.2** | ~$10.00 | ✅ | 1M |
137
+ | **MiMo V2.5** | Xiaomi | — | — | ~$0.10 | ✅ | 1M |
138
+ | **Qwen 3.7 Plus** | DashScope | — | — | ~$0.36 | ✅ | 1M |
139
+ | **Qwen 3.6 Plus** | DashScope | — | — | ~$0.55 | ✅ | 1M |
140
+ | **GPT-5.4 mini** | OpenAI | — | — | ~$0.83 | ❌ | 400K |
141
+ | **Kimi K2.6** | Moonshot | — | — | ~$0.88 | ✅ | 256K |
142
+ | **Kimi K2.7 Code** | Moonshot | — | — | ~$0.88 | ✅ | 262K |
143
+ | **GLM 5V Turbo** | Z.ai | — | — | ~$1.00 | ✅ | 200K |
144
+ | **GLM 5.1** | Z.ai | — | — | ~$1.14 | ❌ | 200K |
145
+ | **GLM 5.2** | Z.ai | — | — | ~$1.14 | ❌ | 1M |
146
+ | **Gemini 3.5 Flash** | Google | — | — | ~$1.65 | ✅ | 1M |
147
+ | **Qwen 3.7 Max** | DashScope | — | — | ~$2.00 | ❌ | 1M |
148
+ | **GPT-5.4** | OpenAI | — | — | ~$2.75 | ✅ | 1M |
149
+ | **Claude Sonnet 4.6** | Anthropic | — | — | ~$3.00 | ✅ | 1M |
150
+ | **Claude Opus 4.8** | Anthropic | — | — | ~$5.00 | ✅ | 1M |
151
+ | **Claude Opus 4.7** | Anthropic | — | — | ~$5.00 | ✅ | 1M |
152
+ | **GPT-5.5** | OpenAI | — | — | ~$5.50 | ✅ | 1M |
153
+ | **Gemini 3.8 Flash Cyber** | Google | — | — | — | — | — |
154
+
155
+ > **Historical footnotes:** The numbered notes below preserve release and pricing context from the prior September 5 snapshot. They are not the current AA ranking source; use the table above and its OpenRouter refresh note for current scores.
153
156
 
154
157
  ¹ Gemini 3.1 Pro pricing applies to prompts ≤200K tokens.
155
158
 
@@ -191,32 +194,21 @@ All prices are **USD per 1M tokens** (non-cached). 1 AI credit = $0.01. To conve
191
194
 
192
195
  ²¹ **Claude Fable 5.1** (released September 1, 2026) — Anthropic's new flagship; AA Intelligence Index **65.7** (OpenRouter AA-sourced; AA page rounds to **66**, #1/196), Coding **81.6**, Agentic **61.3** — now the top-scoring model in this table. GitHub Copilot native (GA, Powerful). 1M context, text + image input, adaptive reasoning. Priced at $10.00 / $50.00 per MTok input/output ($0.25 cached — down from Fable 5's $1.00; 97.5% cache discount; $12.50 cache write). Uses the newer Claude tokenizer (~30% more tokens than pre-4.7 models). Too new for Arena rankings. See the [GitHub Copilot models & pricing page](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing) and the [AA model page](https://artificialanalysis.ai/models/claude-fable-5-1).
193
196
 
197
+ ²² **GPT-6 Astra** (released September 3, 2026) — OpenAI's frontier model, available as `gpt-6-astra` through the API and as a GitHub Copilot native model (GA, Powerful). AA Intelligence Index **61.2** (launch comparison, methodology v4.1.1); 1M context, text + image input, text output, and reasoning. Standard pricing is $10.00 / $1.00 / $50.00 per 1M input/cached/output tokens, for a modeled ~$10.00 session and ~$0.163 CPI. It is too new for Arena rankings. See the [GPT-6 Astra announcement](https://openai.com/index/gpt-6-astra/), [OpenAI API pricing](https://developers.openai.com/api/docs/pricing), and [OpenAI model documentation](https://developers.openai.com/api/docs/models/gpt-6-astra).
198
+
194
199
  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).
195
200
 
196
201
  > **👤 Personal picks** —
197
202
  >
198
- > For serious coding work, **GPT-5.6 Luna** is the cheapest 50+ vision model, while **DeepSeek V4 Flash 0731** is the low-cost text-only pick:
199
- >
200
- > - **GPT-5.6 Luna** (Copilot native) — scores **52.3**, ~$0.22/session, vision-capable. It is cheaper than MiniMax M3 (45.4) and consumes fewer AI credits after OpenAI's July price cut.
201
- > - **DeepSeek V4 Flash 0731** (extension) — scores **51.8** after the AA v4.1.1 benchmark refresh, ~$0.35/session at peak rates (~$0.18 off-peak). It is the lowest-cost text-only model above 50 in this table; pair it with a vision model when you need images.
202
- > - **Gemini 3.7 Flash** (Copilot native, new August 13) — scores **56** at ~$0.75/session under promotional pricing. The best-value Google model in Copilot: it beats Gemini 3.5 Flash (52.0) and Grok 4.5 (55.8) on intelligence at roughly half the session cost, with 1M context, full multimodal input, and AA's fastest output speed. A strong upgrade pick if you use Google models.
203
- > - **Gemini 3.8 Flash** (Gemini API, new September 2) — scores **58.7** at the same ~$0.75/session promotional price as 3.7 Flash, with +2.7 intelligence, 1M context, and full multimodal input. **Not yet Copilot native**, so it's a comparison row here rather than a config — and it runs very verbose (AA measured 120M output tokens on the Intelligence Index), so budget more output tokens than the score alone suggests.
204
- >
205
- > **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.
206
- >
207
- > 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:
208
- >
209
- > - **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.
210
- > - **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**.
211
- > - **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.
212
- > - **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.
213
- > - **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.
214
- > - **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.
203
+ > For current OpenRouter AA scores, **GPT-6 Astra** leads the OpenAI comparison benchmarks, while **Claude Fable 5.1** remains highest on the live AA composite. The two rankings measure different things.
215
204
  >
216
- > Cheaper alternatives for simpler tasks:
205
+ > - **GLM 5.3 Flash** — current AA **46.2**, ~$0.13/session, vision-capable, and the best low-cost scored option in this table.
206
+ > - **GPT-5.6 Luna** — current AA **43.4**, ~$0.22/session, vision-capable, and the cheapest current OpenAI scored row.
207
+ > - **DeepSeek V4 Flash 0731** — current AA **40.8**, ~$0.35/session at peak direct rates, text-only and inexpensive for coding-heavy work.
208
+ > - **GPT-6 Astra** — current OpenRouter AA **54.7**, ~$10.00/session, while OpenAI reports leading results on Terminal-Bench 4.0, ARC-AGI-3, FrontierMath Tier 4, and AutomationBench. Use it for the hardest planning and research tasks.
209
+ > - **Qwen 3.8 Max (0902)** — current AA **46.9**, ~$1.60/session, 1M context, and vision-capable; a practical multimodal planning choice.
217
210
  >
218
- > - **Qwen 3.7 Plus** — ~$0.29/session after the August 7 price cut, 39.4 score, vision-capable — the budget option among the Qwen entries
219
- > - **MiMo V2.5** — ~$0.10/session, 38.0 score, vision-capable — the lowest modeled cost-per-intelligence option in the table
211
+ > **MiniMax M3** (current AA **35.7**, ~$0.27/session) remains the simplest direct custom-endpoint option: no proxy or extension, vision, 1M context, and tool calling.
220
212
 
221
213
  ## Companion tools
222
214
 
package/docs/pricing.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Pricing
2
2
 
3
- > **Updated:** September 3, 2026 — **Claude Fable 5.1** added (footnote ²³): Anthropic's new flagship (released September 1, 2026), AA Intelligence Index **65.7** — now the **top intelligence score** in the benchmarks table. Same $10 / $50 rates as Fable 5, but cached input cut to $0.25 (97.5% cache discount); it lands just above Fable 5 in the CPI sort (~$0.15 vs ~$0.161), still the second-most expensive scored row. **Gemini 3.8 Flash** added (footnote ²¹): Google's most intelligent Flash model (released September 2, 2026), AA Intelligence Index **58.7**, at the same promotional rates as 3.7 Flash ($0.75 / $0.075 / $3.75 through December 31) — it is **not yet GitHub Copilot native**, so it is priced from the Gemini API. **Gemini 3.8 Flash Cyber** added (footnote ²²): the cybersecurity-specialized sibling, restricted to Google's Fairwind Program — no public API pricing and no AA Intelligence Index run, so its row shows `—` at the bottom of the table. August 28: **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.
3
+ > **Historical release timeline:** The long release log below is retained for provenance. The current table and the September 6 refresh note below are authoritative for present scores and estimates.
4
+
5
+ > **Updated:** September 5, 2026 — **GPT-6 Astra** added (footnote ²⁴): OpenAI's frontier model (released September 3, 2026), AA Intelligence Index **61.2**, standard pricing **$10 / $1 / $50** (input / cached / output), 1M context, and text + image input; it follows Claude Fable 5 in the CPI sort (~$0.163 vs ~$0.161). **Claude Fable 5.1** added (footnote ²³): Anthropic's new flagship (released September 1, 2026), AA Intelligence Index **65.7** — now the **top intelligence score** in the benchmarks table. Same $10 / $50 rates as Fable 5, but cached input cut to $0.25 (97.5% cache discount); it lands just above Fable 5 in the CPI sort (~$0.15 vs ~$0.161), still the second-most expensive scored row. **Gemini 3.8 Flash** added (footnote ²¹): Google's most intelligent Flash model (released September 2, 2026), AA Intelligence Index **58.7**, at the same promotional rates as 3.7 Flash ($0.75 / $0.075 / $3.75 through December 31) — it is **not yet GitHub Copilot native**, so it is priced from the Gemini API. **Gemini 3.8 Flash Cyber** added (footnote ²²): the cybersecurity-specialized sibling, restricted to Google's Fairwind Program — no public API pricing and no Artificial Analysis Intelligence Index run, so its row shows `—` at the bottom of the table. August 28: **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.
6
+
7
+ > **Current refresh (September 6, 2026):** AA Intelligence Index values below use the current OpenRouter model pages. **Every pricing cell is checked against first-party provider pricing or GitHub Copilot's official billing table; OpenRouter is never used as a pricing source.** Qwen 3.8 Max is now represented by the current **0902** snapshot. Several models no longer expose a current OpenRouter AA composite and are shown as `—` rather than retaining stale scores. Current corrections include OpenAI GPT-5.6 Sol at **$4 / $0.40 / $20**, Anthropic Sonnet 5 at **$2 / $0.20 / $10**, xAI Grok 4.5 cache reads at **$0.30**, and Alibaba's Qwen 3.7 list rates at **$2.50 / $0.25 / $7.50** (Max) and **$0.40 / $0.04 / $1.60** (Plus).
4
8
 
5
9
  > **⏰ June 1, 2026 — GitHub Copilot switched to usage-based billing (AI Credits) today.**
6
10
  >
@@ -18,51 +22,54 @@
18
22
  >
19
23
  > Code completions remain unlimited and **not** billed. Auto model selection gets a 10% discount.
20
24
 
21
- All prices below are in **USD per 1M tokens** (non-cached). To convert to AI credits, multiply by 100 (e.g., $5.00/1M = 500 credits/1M). DeepSeek V4 rows use peak rates for the comparison; its official off-peak rates are half.
25
+ All prices below are in **USD per 1M tokens** (non-cached). To convert to AI credits, multiply by 100 (e.g., $5.00/1M = 500 credits/1M). DeepSeek V4 rows use peak rates for the comparison; its official off-peak rates are half. Provider promotions are shown separately in the notes; OpenRouter's effective, batch, or free-provider prices are excluded.
22
26
 
23
27
  All models are listed together below, sorted by Cost per intelligence ascending (lower is better). Models without a Cost per intelligence are ordered by estimated session cost ascending. Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns.
24
28
 
25
29
  | Model | Provider | Cost per intelligence | Intelligence Score | Input (per 1M) | Cached input | Output (per 1M) | Est. session | Context window |
26
30
  | ----------------------------- | --------- | --------------------- | ------------------ | ----------------------------- | ----------------------------- | ----------------------------- | ------------ | -------------- |
27
- | **GLM 5.3 Flash** ²⁰ | Z.ai | **~$0.0022** | **57.5** | $0.15 | $0.03 | $0.50 | ~$0.13 | 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 Flash 0731** ¹⁹ | DeepSeek | **~$0.0068** | **51.8** | $0.44 | $0.014 | $1.32 | ~$0.35 | 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
- | **Gemini 3.8 Flash** ²¹ | Google | **~$0.013** | **58.7** | $0.75 | $0.075 | $3.75 | ~$0.75 | 1M |
36
- | **Gemini 3.7 Flash** ¹⁵ | Google | **~$0.013** | **56** | $0.75 | $0.075 | $3.75 | ~$0.75 | 1M |
37
- | **Qwen 3.6 Plus** ¹⁷ | DashScope | **~$0.014** | **40.0** | $0.50 | $0.05 | $3.00 | ~$0.55 | 1M |
38
- | **Gemini 3.6 Flash** ⁹ | Google | **~$0.015** | **51.6** | $0.75 | $0.075 | $3.75 | ~$0.75 | 1M |
39
- | **GLM 5.3** ¹⁸ | Z.ai | **~$0.019** | **59.5** | $1.40 | $0.26 | $4.40 | ~$1.14 | 1M |
40
- | **Kimi K2.6** | Moonshot | **~$0.020** | **45.0** | $0.95 | $0.16 | $4.00 | ~$0.88 | 256K |
41
- | **DeepSeek V4 Pro 0813** ¹⁹ | DeepSeek | **~$0.020** | **53.2** | $1.32 | $0.044 | $3.96 | ~$1.06 | 1M |
42
- | **GPT-5.4 mini** | OpenAI | **~$0.020** | **40.9** | $0.75 | $0.075 | $4.50 | ~$0.83 | 400K |
43
- | **Kimi K2.7 Code** | Moonshot | **~$0.020** | **43.0** | $0.95 | $0.19 | $4.00 | ~$0.88 | 262K |
44
- | **GLM 5.2** ⁴ | Z.ai | **~$0.022** | **52.6** | $1.40 | $0.26 | $4.40 | ~$1.14 | 1M |
45
- | **Qwen 3.7 Max** ¹³ | DashScope | **~$0.025** | **46.7** | $1.475 (≤1M) | $0.295 | $4.425 (≤1M) | ~$1.18 | 1M |
46
- | **Grok 4.6** ¹⁴ | xAI | **~$0.026** | **61** | $2.00 | $0.50 | $6.00 | ~$1.60 | 500K |
47
- | **Qwen 3.8 Max** ¹¹ | DashScope | **~$0.028** | **58.1** | $2.00 | $0.25 | $6.00 | ~$1.60 | 1M |
48
- | **GLM 5.1** | Z.ai | **~$0.028** | **41.0** | $1.40 | $0.26 | $4.40 | ~$1.14 | 200K |
49
- | **GLM 5V Turbo** | Z.ai | **~$0.029** | **35.0** ³ | $1.20 | $0.24 | $4.00 | ~$1.00 | 200K |
50
- | **Grok 4.5** ¹² | xAI | **~$0.029** | **55.8** | $2.00 | $0.50 | $6.00 | ~$1.60 | 500K |
51
- | **Gemini 3.5 Flash** | Google | **~$0.032** | **52.0** | $1.50 | $0.15 | $9.00 | ~$1.65 | 1M |
52
- | **GPT-5.6 Terra** | OpenAI | **~$0.039** | **56.6** | $2.00 | $0.20 | $12.00 | ~$2.20 | 1M |
53
- | **Gemini 3.1 Pro** | Google | **~$0.046** | **47.7** | $2.00¹ | $0.20 | $12.00¹ | ~$2.20 | 1M |
54
- | **Kimi K3** ⁷ | Moonshot | **~$0.050** | **59.7** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
55
- | **GPT-5.4** | OpenAI | **~$0.052** | **53.1** | $2.50 | $0.25 | $15.00 | ~$2.75 | 1M |
56
- | **Claude Sonnet 5** ⁶ | Anthropic | **~$0.054** | **55.3** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
57
- | **Claude Sonnet 4.6** | Anthropic | **~$0.062** | **48.4** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
58
- | **Claude Opus 5** ¹⁰ | Anthropic | **~$0.079** | **63.1** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
59
- | **Claude Opus 4.8** | Anthropic | **~$0.087** | **57.3** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
60
- | **GPT-5.6 Sol** | OpenAI | **~$0.090** | **60.9** | $5.00 | $0.50 | $30.00 | ~$5.50 | 1M |
61
- | **Claude Opus 4.7** | Anthropic | **~$0.091** | **55.0** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
62
- | **GPT-5.5** | OpenAI | **~$0.098** | **56.3** | $5.00 | $0.50 | $30.00 | ~$5.50 | 1M |
63
- | **Claude Fable 5.1** ²³ | Anthropic | **~$0.15** | **65.7** | $10.00 | $0.25 | $50.00 | ~$10.00 | 1M |
64
- | **Claude Fable 5** ¹⁶ | Anthropic | **~$0.161** | **62.1** | $10.00 | $1.00 | $50.00 | ~$10.00 | 1M |
65
- | **Gemini 3.8 Flash Cyber** ²² | Google | — | — | — | — | — | — | — |
31
+ | **GLM 5.3 Flash** | Z.ai | **~$0.0028** | **46.2** | $0.15 | $0.03 | $0.50 | ~$0.13 | 1M |
32
+ | **GPT-5.6 Luna** | OpenAI | **~$0.0051** | **43.4** | $0.20 | $0.02 | $1.20 | ~$0.22 | 1M |
33
+ | **MiniMax M3** | MiniMax | **~$0.0076** | **35.7** | $0.60 (≤512K) / $1.20 (>512K) | $0.12 (≤512K) / $0.24 (>512K) | $2.40 (≤512K) / $4.80 (>512K) | ~$0.27 | 1M |
34
+ | **DeepSeek V4 Flash 0731** | DeepSeek | **~$0.0086** | **40.8** | $0.44 | $0.014 | $1.32 | ~$0.35 | 1M |
35
+ | **MiMo V2.5 Pro** | Xiaomi | **~$0.0092** | **32.6** | $0.435 | $0.0036 | $0.87 | ~$0.30 | 1M |
36
+ | **MiniMax M3 Priority** | MiniMax | **~$0.0115** | **35.7** | $0.90 (≤512K) / $1.80 (>512K) | $0.18 (≤512K) / $0.36 (>512K) | $3.60 (≤512K) / $7.20 (>512K) | ~$0.41 | 1M |
37
+ | **Gemini 3.8 Flash** | Google | **~$0.0159** | **47.1** | $0.75 | $0.075 | $3.75 | ~$0.75 | 1M |
38
+ | **Gemini 3.7 Flash** | Google | **~$0.0166** | **45.2** | $0.75 | $0.075 | $3.75 | ~$0.75 | 1M |
39
+ | **Gemini 3.6 Flash** | Google | **~$0.0186** | **40.3** | $0.75 | $0.075 | $3.75 | ~$0.75 | 1M |
40
+ | **GLM 5.3** | Z.ai | **~$0.0235** | **48.6** | $1.40 | $0.26 | $4.40 | ~$1.14 | 1M |
41
+ | **DeepSeek V4 Pro 0813** | DeepSeek | **~$0.0252** | **42.1** | $1.32 | $0.044 | $3.96 | ~$1.06 | 1M |
42
+ | **Grok 4.6** | xAI | **~$0.0316** | **50.6** | $2.00 | $0.50 | $6.00 | ~$1.60 | 500K |
43
+ | **Qwen 3.8 Max (0902)** | DashScope | **~$0.0341** | **46.9** | $2.00 | $0.25 | $6.00 | ~$1.60 | 1M |
44
+ | **Grok 4.5** | xAI | **~$0.0352** | **45.5** | $2.00 | $0.30 | $6.00 | ~$1.60 | 500K |
45
+ | **Claude Sonnet 5** | Anthropic | **~$0.0443** | **45.1** | $2.00 | $0.20 | $10.00 | ~$2.00 | 1M |
46
+ | **GPT-5.6 Terra** | OpenAI | **~$0.0470** | **46.8** | $2.00 | $0.20 | $12.00 | ~$2.20 | 1M |
47
+ | **Kimi K3** | Moonshot | **~$0.0598** | **50.2** | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
48
+ | **Gemini 3.1 Pro** | Google | **~$0.0599** | **36.7** | $2.00¹ | $0.20 | $12.00¹ | ~$2.20 | 1M |
49
+ | **GPT-5.6 Sol** | OpenAI | **~$0.0780** | **51.3** | $4.00 | $0.40 | $20.00 | ~$4.00 | 1M |
50
+ | **Claude Opus 5** | Anthropic | **~$0.0924** | **54.1** | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
51
+ | **Claude Fable 5.1** | Anthropic | **~$0.1761** | **56.8** | $10.00 | $0.25 | $50.00 | ~$10.00 | 1M |
52
+ | **GPT-6 Astra** | OpenAI | **~$0.1828** | **54.7** | $10.00 | $1.00 | $50.00 | ~$10.00 | 1M |
53
+ | **Claude Fable 5** | Anthropic | **~$0.1880** | **53.2** | $10.00 | $1.00 | $50.00 | ~$10.00 | 1M |
54
+ | **MiMo V2.5** | Xiaomi | — | — | $0.14 | $0.0028 | $0.28 | ~$0.10 | 1M |
55
+ | **Qwen 3.7 Plus** | DashScope | — | — | $0.40 (≤256K) / $1.20 (>256K) | $0.04 | $1.60 (≤256K) / $4.80 (>256K) | ~$0.36 | 1M |
56
+ | **Qwen 3.6 Plus** | DashScope | — | — | $0.50 | $0.05 | $3.00 | ~$0.55 | 1M |
57
+ | **GPT-5.4 mini** | OpenAI | — | — | $0.75 | $0.075 | $4.50 | ~$0.83 | 400K |
58
+ | **Kimi K2.6** | Moonshot | — | — | $0.95 | $0.16 | $4.00 | ~$0.88 | 256K |
59
+ | **Kimi K2.7 Code** | Moonshot | — | — | $0.95 | $0.19 | $4.00 | ~$0.88 | 262K |
60
+ | **GLM 5V Turbo** | Z.ai | — | — | $1.20 | $0.24 | $4.00 | ~$1.00 | 200K |
61
+ | **GLM 5.1** | Z.ai | — | — | $1.40 | $0.26 | $4.40 | ~$1.14 | 200K |
62
+ | **GLM 5.2** | Z.ai | — | — | $1.40 | $0.26 | $4.40 | ~$1.14 | 1M |
63
+ | **Gemini 3.5 Flash** | Google | — | — | $1.50 | $0.15 | $9.00 | ~$1.65 | 1M |
64
+ | **Qwen 3.7 Max** | DashScope | — | — | $2.50 (≤1M) | $0.25 | $7.50 (≤1M) | ~$2.00 | 1M |
65
+ | **GPT-5.4** | OpenAI | — | — | $2.50 | $0.25 | $15.00 | ~$2.75 | 1M |
66
+ | **Claude Sonnet 4.6** | Anthropic | — | — | $3.00 | $0.30 | $15.00 | ~$3.00 | 1M |
67
+ | **Claude Opus 4.8** | Anthropic | — | — | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
68
+ | **Claude Opus 4.7** | Anthropic | — | — | $5.00 | $0.50 | $25.00 | ~$5.00 | 1M |
69
+ | **GPT-5.5** | OpenAI | — | — | $5.00 | $0.50 | $30.00 | ~$5.50 | 1M |
70
+ | **Gemini 3.8 Flash Cyber** | Google | — | — | — | — | — | — | — |
71
+
72
+ > **Historical footnotes:** The numbered notes below preserve release and pricing context from the prior September 5 snapshot. They are not the current AA ranking source; use the table above and the September 6 OpenRouter refresh note for current scores.
66
73
 
67
74
  ¹ Gemini 3.1 Pro pricing applies to prompts ≤200K tokens.
68
75
 
@@ -108,6 +115,8 @@ All models are listed together below, sorted by Cost per intelligence ascending
108
115
 
109
116
  ²³ **Claude Fable 5.1** was released on **September 1, 2026** — Anthropic's new flagship, improving on Fable 5 across the board with the biggest gains in agentic coding, long-running agentic workflows, and knowledge work (long code refactors, front-end/visual code generation, finance and analysis), and tending to be more concise in plans and summaries. AA Intelligence Index **65.7** (OpenRouter's AA-sourced benchmark; AA's [model page](https://artificialanalysis.ai/models/claude-fable-5-1) rounds to **66** and ranks it **#1/196**) — the **highest score in this table** — with Coding **81.6** and Agentic **61.3**. GitHub Copilot native (GA, Powerful). 1M context window, text + image input, text output, adaptive reasoning; uses the newer Claude tokenizer (~30% more tokens than pre-4.7 models). Priced at **$10.00 / $0.25 / $50.00** per 1M input/cached/output — the same rates as Fable 5 except **cached input drops from $1.00 to $0.25** (97.5% cache discount); cache write $12.50. Modeled session cost stays ~$10.00, and CPI improves only to ~$0.15 (vs Fable 5's ~$0.161) — still the second-most expensive scored row. At max effort it is slow (66.2 t/s per AA) and very verbose (140M output tokens on the Intelligence Index vs a 71M median; TTFT 283.83 s). Like Fable 5, Anthropic retains request data by default, with zero-data-retention available through the end of 2026 under a time-bound exemption. See the [GitHub Copilot models & pricing page](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing) and the [AA model page](https://artificialanalysis.ai/models/claude-fable-5-1).
110
117
 
118
+ ²⁴ **GPT-6 Astra** was released on **September 3, 2026** as `gpt-6-astra`, an OpenAI API model and **GitHub Copilot native** model (GA, Powerful). It supports reasoning, text + image input, text output, and a 1M-token context window. Standard pricing is **$10.00 / $1.00 / $50.00** per 1M input/cached/output tokens; cache writes are $12.50/M, and prompts above 272K input tokens use long-context rates. The modeled session cost is ~$10.00 and CPI is ~$0.163. See the [GPT-6 Astra announcement](https://openai.com/index/gpt-6-astra/), [OpenAI API pricing](https://developers.openai.com/api/docs/pricing), and [GitHub Copilot models & pricing](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing).
119
+
111
120
  Cost per intelligence = estimated session cost ÷ Intelligence Index score. Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns.
112
121
 
113
122
  > **Notes:**
@@ -128,7 +137,7 @@ Cost per intelligence = estimated session cost ÷ Intelligence Index score. Sess
128
137
 
129
138
  > **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.)
130
139
 
131
- > Prices last verified: September 3, 2026. Always check the official pages for the latest rates:
140
+ > Prices last verified: September 6, 2026. Always check the official pages for the latest rates:
132
141
  >
133
142
  > - [GitHub Copilot models & pricing](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing)
134
143
  > - [OpenAI pricing](https://openai.com/api/pricing/)
@@ -141,3 +150,5 @@ Cost per intelligence = estimated session cost ÷ Intelligence Index score. Sess
141
150
  > - [MiMo pricing](https://mimo.mi.com/docs/en-US/pricing)
142
151
  > - [MiniMax pricing](https://platform.minimax.io/docs/pricing/overview)
143
152
  > - [Z.ai (GLM) pricing](https://docs.z.ai/guides/overview/pricing)
153
+ > - [Kimi pricing](https://platform.kimi.ai/docs/pricing)
154
+ > - [xAI model pricing](https://docs.x.ai/docs/models)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "copilot-custom-endpoint",
3
- "version": "2.1.8",
3
+ "version": "2.2.0",
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",