copilot-custom-endpoint 3.3.2 → 3.3.3
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 +9 -7
- package/docs/pricing.md +12 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -121,10 +121,11 @@ It approximates the cost of one point on the AA Intelligence Index under the com
|
|
|
121
121
|
|
|
122
122
|
For example, GLM 5.3 Flash is `(0.5 × $0.15) + (0.1 × $0.50) = $0.125`, shown as `~$0.13`. Cached-input discounts are not included. Actual costs vary with context length, output length, caching, pricing tiers, promotions, and provider billing. DeepSeek estimates use peak rates; official off-peak rates are half.
|
|
123
123
|
|
|
124
|
-
The current AA values come from OpenRouter's September
|
|
124
|
+
The current AA values come from OpenRouter's September 29 model metadata and ranking card; **every pricing cell comes from first-party provider pricing or GitHub Copilot's official billing table, never OpenRouter.** The OpenRouter ranking card places unversioned Qwen3.8 Max at **53.4 (#2)**, while the exact 0902 API metadata row is **45.4**. Qwen Cloud PAYG pricing remains **$2 / $0.25 implicit cache / $6** for Qwen3.8 Max; its separate Token Plan is not the PAYG rate table. This refresh records Gemini 3.8 Flash, Grok 4.7, GPT-6 Sol, GPT-6 Luna, Claude Opus 5.5, and Claude Sonnet 5.5 as **Copilot-native** models, using current AA v4.3.2 composites. MiMo V2.6 Flash now has a composite (**37.9**) and moves to the top of the table.
|
|
125
125
|
|
|
126
126
|
| Model | Provider | Cost per intelligence | Intelligence Score | Est. session | Vision | Context window |
|
|
127
127
|
| ---------------------------- | --------- | --------------------- | ------------------ | ------------ | ------ | -------------- |
|
|
128
|
+
| **MiMo V2.6 Flash** | Xiaomi | **~$0.0026** | **37.9** | ~$0.10 | ✅ | 1M |
|
|
128
129
|
| **GPT-6 Luna** | OpenAI | **~$0.0027** | **37.3** | ~$0.10 | ✅ | 1M |
|
|
129
130
|
| **GLM 5.3 Flash** | Z.ai | **~$0.0030** | **41.8** | ~$0.13 | ✅ | 1M |
|
|
130
131
|
| **GPT-5.6 Luna** | OpenAI | **~$0.0059** | **37.3** | ~$0.22 | ✅ | 1M |
|
|
@@ -137,6 +138,7 @@ The current AA values come from OpenRouter's September 23 model metadata and ran
|
|
|
137
138
|
| **Qwen 3.8 Max (0803)** | DashScope | **~$0.0300** | **53.4** | ~$1.60 | ✅ | 1M |
|
|
138
139
|
| **Grok 4.7** | xAI | **~$0.0345** | **46.4** | ~$1.60 | ✅ | 500K |
|
|
139
140
|
| **Qwen 3.8 Max (0902)** | DashScope | **~$0.0352** | **45.4** | ~$1.60 | ✅ | 1M |
|
|
141
|
+
| **Claude Sonnet 5.5** | Anthropic | **~$0.0357** | **56.0** | ~$2.00 | ✅ | 1M |
|
|
140
142
|
| **Grok 4.6** | xAI | **~$0.0361** | **44.3** | ~$1.60 | ✅ | 500K |
|
|
141
143
|
| **GPT-6 Sol** | OpenAI | **~$0.0421** | **47.5** | ~$2.00 | ✅ | 1M |
|
|
142
144
|
| **GPT-5.6 Terra** | OpenAI | **~$0.0523** | **42.1** | ~$2.20 | ✅ | 1M |
|
|
@@ -149,17 +151,17 @@ The current AA values come from OpenRouter's September 23 model metadata and ran
|
|
|
149
151
|
| **Claude Fable 5.1** | Anthropic | **~$0.1873** | **53.4** | ~$10.00 | ✅ | 1M |
|
|
150
152
|
| **GPT-6 Astra** | OpenAI | **~$0.1898** | **52.7** | ~$10.00 | ✅ | 1M |
|
|
151
153
|
| **Claude Fable 5** | Anthropic | **~$0.2016** | **49.6** | ~$10.00 | ✅ | 1M |
|
|
152
|
-
| **MiMo V2.6 Flash** | Xiaomi | — | — | ~$0.10 | ✅ | 1M |
|
|
153
154
|
|
|
154
|
-
> `MiMo V2.6 Pro UltraSpeed` uses the MiMo V2.6 Pro benchmark score because it is the same-quality latency tier; no independent composite is published. `MiniMax M3 Priority` is intentionally omitted from this snapshot because it is the same model with a priority service tier; the full pricing table documents its separate tier cost. `MiMo V2.6 Flash`
|
|
155
|
-
> GPT-6 Sol and Luna use standard rates up to 272K input tokens; requests above that threshold have higher input/cache and output rates. GitHub Copilot also bills cache writes separately. Plan access differs: Sol requires Pro+ or higher, Luna
|
|
155
|
+
> `MiMo V2.6 Pro UltraSpeed` uses the MiMo V2.6 Pro benchmark score because it is the same-quality latency tier; no independent composite is published. `MiniMax M3 Priority` is intentionally omitted from this snapshot because it is the same model with a priority service tier; the full pricing table documents its separate tier cost. `MiMo V2.6 Flash`'s composite (37.9) is OpenRouter's Artificial Analysis v4.3.2 value; Xiaomi's published launch benchmarks for it are recorded in [docs/benchmarks.md](docs/benchmarks.md).
|
|
156
|
+
> GPT-6 Sol and Luna use standard rates up to 272K input tokens; requests above that threshold have higher input/cache and output rates. GitHub Copilot also bills cache writes separately. Plan access differs: Sol requires Pro+ or higher, Luna and Claude Sonnet 5.5 are available from Pro, and Claude Opus 5.5 requires Pro+ or higher.
|
|
156
157
|
|
|
157
158
|
> Detailed pricing, benchmark provenance, and model-specific notes live in [docs/pricing.md](docs/pricing.md) and [docs/benchmarks.md](docs/benchmarks.md). This page stays focused on setup and model selection. For a copy-paste config containing **all providers at once**, see [docs/example-config.md](docs/example-config.md).
|
|
158
159
|
|
|
159
160
|
> **👤 Personal picks** —
|
|
160
161
|
>
|
|
161
|
-
> - **
|
|
162
|
-
> - **
|
|
162
|
+
> - **MiMo V2.6 Flash** — the lowest cost per intelligence in this table (~$0.0026), at about $0.10/session with vision.
|
|
163
|
+
> - **GPT-6 Luna** — the lowest cost per intelligence among Copilot-native models (~$0.0027), at about $0.10/session with vision.
|
|
164
|
+
> - **GLM 5.3 Flash** — the runner-up among custom-endpoint models (~$0.0030), at about $0.13/session with vision.
|
|
163
165
|
|
|
164
166
|
## Companion tools
|
|
165
167
|
|
|
@@ -212,7 +214,7 @@ GitHub ships a first-party MCP server (and it's even bundled into Copilot), so a
|
|
|
212
214
|
2. If the provider needs request rewriting, add a proxy under `proxy/`.
|
|
213
215
|
3. Submit a PR.
|
|
214
216
|
|
|
215
|
-
The current AA values come from OpenRouter's September
|
|
217
|
+
The current AA values come from OpenRouter's September 29 model metadata and ranking card; **every pricing cell comes from first-party provider pricing or GitHub Copilot's official billing table, never OpenRouter.** The OpenRouter ranking card places unversioned Qwen3.8 Max at **53.4 (#2)**, while the exact 0902 API metadata row is **45.4**. Qwen Cloud PAYG pricing remains **$2 / $0.25 implicit cache / $6** for Qwen3.8 Max; its separate Token Plan is not the PAYG rate table. This refresh records Gemini 3.8 Flash, Grok 4.7, GPT-6 Sol, GPT-6 Luna, Claude Opus 5.5, and Claude Sonnet 5.5 as **Copilot-native** models, using current AA v4.3.2 composites. MiMo V2.6 Flash now has a composite (**37.9**).
|
|
216
218
|
|
|
217
219
|
- **Chat only.** Inline completions, semantic search, and next-edit suggestions still need a GitHub-hosted model.
|
|
218
220
|
- Each proxy is tuned for a specific provider family. Don't point the Kimi proxy at an arbitrary OpenAI-compatible endpoint.
|
package/docs/pricing.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Pricing
|
|
2
2
|
|
|
3
|
-
> **Latest refresh (September
|
|
3
|
+
> **Latest refresh (September 29, 2026):** Claude Sonnet 5.5 (released September 28, GA in GitHub Copilot from Pro) is added at **$2 / $0.20 cache hit / $10** per 1M tokens, unchanged from Sonnet 5, with an Artificial Analysis v4.3.2 composite of **56.0**. MiMo V2.6 Flash now has a composite (**37.9**), so it is scored and sorted instead of listed last; at ~$0.0026 it is the lowest cost per intelligence in the table. All other first-party rates were re-verified with no changes.
|
|
4
|
+
>
|
|
5
|
+
> **Earlier refresh (September 23, 2026):** OpenRouter's current metadata uses Artificial Analysis v4.3.2 composites. The September 22 Copilot releases add Claude Opus 5.5 (**57.6**), GPT-6 Sol (**47.5**), and GPT-6 Luna (**37.3**) to the roster. The API list rates are **$4 / $0.20 cache hit / $20** for Opus 5.5, **$2 / $0.20 / $10** for Sol, and **$0.10 / $0.01 / $0.50** for Luna. MiMo V2.6 Pro is **46.3**, Grok 4.7 is **46.4**, and current values for existing rows are refreshed below. Gemini 3.8 Flash is also available as a GitHub Copilot native model. Xiaomi released the V2.6 Pro, Flash, and Pro UltraSpeed models on September 22; the September 23 roster cleanup removes two retired legacy models. xAI released Grok 4.7 on September 21 at the same short-context rates as Grok 4.6: **$2 / $0.50 cache hit / $6**. The table preserves Qwen's 0803 ranking-card value (**53.4**) and 0902 metadata value (**45.4**) as separate records. The current table is authoritative for present comparisons.
|
|
4
6
|
|
|
5
7
|
> **⏰ June 1, 2026 — GitHub Copilot switched to usage-based billing (AI Credits) today.**
|
|
6
8
|
>
|
|
@@ -24,6 +26,7 @@ All models are listed together below, sorted by Cost per intelligence ascending
|
|
|
24
26
|
|
|
25
27
|
| Model | Provider | Cost per intelligence | Intelligence Score | Input (per 1M) | Cached input | Output (per 1M) | Est. session | Context window |
|
|
26
28
|
| ---------------------------- | --------- | --------------------- | ------------------ | ----------------------------- | ----------------------------- | ----------------------------- | ------------ | -------------- |
|
|
29
|
+
| **MiMo V2.6 Flash** | Xiaomi | **~$0.0026** | **37.9** | $0.14 | $0.0028 | $0.28 | ~$0.10 | 1M |
|
|
27
30
|
| **GPT-6 Luna** | OpenAI | **~$0.0027** | **37.3** | $0.10 | $0.01 | $0.50 | ~$0.10 | 1M |
|
|
28
31
|
| **GLM 5.3 Flash** | Z.ai | **~$0.0030** | **41.8** | $0.15 | $0.03 | $0.50 | ~$0.13 | 1M |
|
|
29
32
|
| **GPT-5.6 Luna** | OpenAI | **~$0.0059** | **37.3** | $0.20 | $0.02 | $1.20 | ~$0.22 | 1M |
|
|
@@ -37,6 +40,7 @@ All models are listed together below, sorted by Cost per intelligence ascending
|
|
|
37
40
|
| **Qwen 3.8 Max (0803)** | DashScope | **~$0.0300** | **53.4** | $2.00 | $0.25 | $6.00 | ~$1.60 | 1M |
|
|
38
41
|
| **Grok 4.7** | xAI | **~$0.0345** | **46.4** | $2.00 | $0.50 | $6.00 | ~$1.60 | 500K |
|
|
39
42
|
| **Qwen 3.8 Max (0902)** | DashScope | **~$0.0352** | **45.4** | $2.00 | $0.25 | $6.00 | ~$1.60 | 1M |
|
|
43
|
+
| **Claude Sonnet 5.5** | Anthropic | **~$0.0357** | **56.0** | $2.00 | $0.20 | $10.00 | ~$2.00 | 1M |
|
|
40
44
|
| **Grok 4.6** | xAI | **~$0.0361** | **44.3** | $2.00 | $0.50 | $6.00 | ~$1.60 | 500K |
|
|
41
45
|
| **GPT-6 Sol** | OpenAI | **~$0.0421** | **47.5** | $2.00 | $0.20 | $10.00 | ~$2.00 | 1M |
|
|
42
46
|
| **GPT-5.6 Terra** | OpenAI | **~$0.0523** | **42.1** | $2.00 | $0.20 | $12.00 | ~$2.20 | 1M |
|
|
@@ -49,7 +53,6 @@ All models are listed together below, sorted by Cost per intelligence ascending
|
|
|
49
53
|
| **Claude Fable 5.1** | Anthropic | **~$0.1873** | **53.4** | $10.00 | $0.25 | $50.00 | ~$10.00 | 1M |
|
|
50
54
|
| **GPT-6 Astra** | OpenAI | **~$0.1898** | **52.7** | $10.00 | $1.00 | $50.00 | ~$10.00 | 1M |
|
|
51
55
|
| **Claude Fable 5** | Anthropic | **~$0.2016** | **49.6** | $10.00 | $1.00 | $50.00 | ~$10.00 | 1M |
|
|
52
|
-
| **MiMo V2.6 Flash** | Xiaomi | — | — | $0.14 | $0.0028 | $0.28 | ~$0.10 | 1M |
|
|
53
56
|
|
|
54
57
|
Cost per intelligence = estimated session cost ÷ Intelligence Index score. Session cost assumes ~10K input + ~2K output tokens per turn, 50 turns.
|
|
55
58
|
|
|
@@ -57,20 +60,20 @@ Cost per intelligence = estimated session cost ÷ Intelligence Index score. Sess
|
|
|
57
60
|
>
|
|
58
61
|
> - **DeepSeek** input pricing shown is the **peak cache miss** price. Peak cache hits are $0.006/M for V4.1 Flash and $0.044/M for Pro; off-peak rates are half. See the [DeepSeek pricing page](https://api-docs.deepseek.com/quick_start/pricing) for the full schedule.
|
|
59
62
|
> - **MiMo** input pricing shown is the **cache miss** price. Cache hits are essentially free for V2.6 Pro ($0.0036/M, ~120× cheaper), V2.6 Flash ($0.0028/M, ~50× cheaper), and V2.6 Pro UltraSpeed ($0.036/M, ~120× cheaper). A Xiaomi price cut took effect on 2026-05-27.
|
|
60
|
-
> - **Anthropic (Claude)** cache reads and cache writes are billed separately. Claude Opus 5.5 cache reads are $0.20/M; cache writes are $5/M for 5 minutes or $8/M for 1 hour. Fast mode costs $8/M input and $40/M output. Opus 5.5, Opus 5, Sonnet 5, and Fable 5 / 5.1 use a newer tokenizer that produces approximately 30% more tokens for the same text.
|
|
63
|
+
> - **Anthropic (Claude)** cache reads and cache writes are billed separately. Claude Opus 5.5 cache reads are $0.20/M; cache writes are $5/M for 5 minutes or $8/M for 1 hour. Fast mode costs $8/M input and $40/M output. Opus 5.5, Opus 5, Sonnet 5 / 5.5, and Fable 5 / 5.1 use a newer tokenizer that produces approximately 30% more tokens for the same text. Claude Sonnet 5.5 keeps Sonnet 5's $2 / $0.20 / $10 rates (cache writes $2.50/M for 5 minutes and $4/M for 1 hour; batch $1 / $5), and Anthropic made those rates permanent: the Sonnet 5 increase to $3 / $15 scheduled for September 1 was cancelled. Artificial Analysis measured Sonnet 5.5 at 138.7 tokens/s but very verbose (410M output tokens to run the Intelligence Index vs an 88M median), so real sessions can cost more than this table's modeled token counts; Anthropic reports up to 30% fewer tokens per task than Sonnet 5.
|
|
61
64
|
> - **OpenAI** models support cached input at 0.1× base input rate. GPT-6 Sol and Luna also bill cache writes separately at 1.25× input. The GPT-6 rows show standard rates through 272K input; for requests >272K, input and cache-read rates double and output is 1.5×.
|
|
62
65
|
> - **Qwen** models use **tiered pricing** — determined by total input tokens per request. Prices above are for non-thinking mode.
|
|
63
|
-
> - **Kimi** official tables list **Cache Hit before Cache Miss** (opposite order to our table). The rows below transpose them so "Input" = cache miss and "Cached input" = cache hit.
|
|
66
|
+
> - **Kimi** official tables list **Cache Hit before Cache Miss** (opposite order to our table; Kimi K3 also bills cache writes separately at $3.00/M for a 5-minute TTL and $6.00/M for 1 hour). The rows below transpose them so "Input" = cache miss and "Cached input" = cache hit.
|
|
64
67
|
> - **DashScope** offers a **free quota** of 1M input + 1M output tokens per model, valid for 90 days.
|
|
65
68
|
> - **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.
|
|
66
69
|
> - **MiniMax M3 Priority** is not a separate model — it is the same `MiniMax-M3` weights invoked with `"service_tier": "priority"` in the request body. Priority costs **1.5× Standard** across input, output, and cache reads, 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.
|
|
67
70
|
> - **GLM** models support prompt caching — cache hits are priced at $0.26/M for 5.3 and $0.03/M for 5.3 Flash (list; $0.015/M during the launch promo).
|
|
68
|
-
> - **MiMo** offers a **Token Plan** subscription model with discounted rates and a free cache-writing promotion. MiMo V2.6 Flash
|
|
71
|
+
> - **MiMo** offers a **Token Plan** subscription model with discounted rates and a free cache-writing promotion. MiMo V2.6 Flash's **37.9** composite comes from OpenRouter's Artificial Analysis v4.3.2 metadata (AA also measures it at 55.4 tokens/s and very verbose); Xiaomi's published launch benchmarks for it are recorded in [docs/benchmarks.md](benchmarks.md).
|
|
69
72
|
> - For typical Copilot chat usage (short-to-medium prompts), you'll almost always fall in the lowest pricing tier.
|
|
70
73
|
|
|
71
74
|
> **How long does 7,000 credits last?** A Pro+ subscriber running 50-turn sessions can estimate monthly capacity by multiplying each modeled session cost by 100 to convert it to AI credits, then mixing models as needed.
|
|
72
75
|
|
|
73
|
-
> Prices last verified: September
|
|
76
|
+
> Prices last verified: September 29, 2026. Always check the official pages for the latest rates:
|
|
74
77
|
>
|
|
75
78
|
> - [GitHub Copilot models & pricing](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing)
|
|
76
79
|
> - [OpenAI pricing](https://openai.com/api/pricing/)
|
|
@@ -82,10 +85,12 @@ Cost per intelligence = estimated session cost ÷ Intelligence Index score. Sess
|
|
|
82
85
|
> - [Anthropic (Claude) pricing](https://platform.claude.com/docs/en/about-claude/pricing)
|
|
83
86
|
> - [Anthropic Claude Opus 5.5 announcement](https://www.anthropic.com/claude-opus-5-5)
|
|
84
87
|
> - [Anthropic Opus 5.5 API docs](https://platform.claude.com/docs/en/models/opus-5-5/overview)
|
|
88
|
+
> - [Anthropic Claude Sonnet 5.5 announcement](https://www.anthropic.com/claude-sonnet-5-5)
|
|
89
|
+
> - [GitHub Copilot Claude Sonnet 5.5 release](https://github.blog/changelog/2026-09-28-claude-sonnet-5-5-in-github-copilot)
|
|
85
90
|
> - [GitHub Copilot GPT-6 Sol and Luna release](https://github.blog/changelog/2026-09-22-openais-gpt-6-sol-and-gpt-6-luna-now-available)
|
|
86
91
|
> - [GitHub Copilot Claude Opus 5.5 release](https://github.blog/changelog/2026-09-22-claude-opus-5-5-is-now-available-in-github-copilot)
|
|
87
92
|
> - [GitHub Copilot supported models](https://docs.github.com/en/copilot/reference/ai-models/supported-models)
|
|
88
|
-
> - [Artificial Analysis GPT-6 Sol](https://artificialanalysis.ai/models/gpt-6-sol), [GPT-6 Luna](https://artificialanalysis.ai/models/gpt-6-luna),
|
|
93
|
+
> - [Artificial Analysis GPT-6 Sol](https://artificialanalysis.ai/models/gpt-6-sol), [GPT-6 Luna](https://artificialanalysis.ai/models/gpt-6-luna), [Claude Opus 5.5](https://artificialanalysis.ai/models/claude-opus-5-5), [Claude Sonnet 5.5](https://artificialanalysis.ai/models/claude-sonnet-5-5), and [MiMo-V2.6-Flash](https://artificialanalysis.ai/models/mimo-v2-6-flash)
|
|
89
94
|
> - [Google Gemini pricing](https://ai.google.dev/pricing)
|
|
90
95
|
> - [DashScope pricing](https://www.alibabacloud.com/help/en/model-studio/billing-for-model-studio)
|
|
91
96
|
> - [DeepSeek pricing](https://api-docs.deepseek.com/quick_start/pricing)
|