GPT-6 Astra: long_context tier reports 872k prompt tokens while model capabilities report 1,050k
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- vscode
- 領域
- api
調査の方向性
Start with the bundled Copilot SDK's client.listModels() response for gpt-6-astra and compare capabilities.limits with billing.tokenPrices.longContext. Trace the VS Code picker through _createModelConfigSchema, nb(), and _P() to confirm which values it surfaces. Done means identifying the enforced limit and making the catalog metadata consistent, or documenting why the values differ.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
The model catalog returned by the Copilot runtime for gpt-6-astra is internally inconsistent. The model's capabilities.limits advertise a 1,050,000-token prompt limit (1,178,000 context window), but the billing.tokenPrices.longContext tier — which VS Code's context-window picker uses to build its choices — caps out at 872,000.
As a result, VS Code offers Astra as 272K / 872K while every other 1M-class model (e.g. Claude Fable 5.1) is offered at its full advertised prompt limit. Selecting the long_context tier does not change this; the session is already on long_context and still shows 872k.
For comparison, claude-fable-5.1 is self-consistent: max_prompt_tokens = 936,000 and longContext.maxPromptTokens = 936,000.
Affected version
Copilot runtime @github/copilot-linux-x64 1.0.84-4 (bundled with VS Code on Linux x64), queried via the bundled Copilot SDK.
Steps to reproduce the behavior
- Using the bundled SDK, start the runtime over stdio and call
client.listModels(). - Inspect the
gpt-6-astraentry. - Compare
capabilities.limits.max_prompt_tokenswithbilling.tokenPrices.longContext.maxPromptTokens.
Observed (verbatim, trimmed):
{
"id": "gpt-6-astra",
"limits": {
"max_context_window_tokens": 1178000,
"max_output_tokens": 128000,
"max_prompt_tokens": 1050000
},
"billing": {
"tokenPrices": {
"contextMax": 272000,
"maxPromptTokens": 272000,
"longContext": {
"contextMax": 872000,
"maxPromptTokens": 872000
}
}
}
}
Reference model for comparison (consistent):
{
"id": "claude-fable-5.1",
"limits": {
"max_context_window_tokens": 1000000,
"max_output_tokens": 64000,
"max_prompt_tokens": 936000
},
"billing": {
"tokenPrices": {
"longContext": { "contextMax": 936000, "maxPromptTokens": 936000 }
}
}
}
- In VS Code, open the context-window picker for GPT-6 Astra: choices are 272K and 872K. The picker enum is built from
tokenPrices.contextMax/tokenPrices.longContext.contextMax(agent host_createModelConfigSchema→nb()→_P()), so the 1,050k capability value is never surfaced.
Expected behavior
Either:
billing.tokenPrices.longContext.maxPromptTokensforgpt-6-astrashould matchcapabilities.limits.max_prompt_tokens(1,050,000), so the UI offers the full advertised context; or- if 872,000 is the actually enforced prompt limit on the long-context tier,
capabilities.limits.max_prompt_tokens/max_context_window_tokensshould be lowered to match, and the documented "1M context" for Astra should be qualified.
Clarification of which value the service actually enforces would be appreciated, since the two figures imply a ~178k-token difference in usable prompt budget.
Additional context
- Observation:
872,000 = 1,000,000 − 128,000and1,050,000 = 1,178,000 − 128,000. The two values look like they were derived from different total-window figures (1M vs 1.178M) minus the same 128k output reservation, which suggests one side of the catalog was not updated. - Not client-configuration related:
contextTieris alreadylong_contextin the session log, and theprovider_modelstable in the local runtime DB is empty (metadata is fetched live), so there is no local override in play. - Related but distinct: #4638 concerns how the CLI derives a total from prompt+output; this report concerns the server-supplied tier metadata disagreeing with the server-supplied capability metadata.
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/copilot-cli のほかの issue
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
github/copilot-cli#4932 ·
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
github/copilot-cli#4909 ·
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
github/copilot-cli#4906 ·
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/copilot-cli#4729 ·
github/copilot-cli の issue をすべて見る
似ている issue
-
Issue-Enhancement Needs-Triage
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
PowerShell/PowerShell#28061 · リアクション 2 件 ·
-
Feature Request: Add ability to load custom environment variables in linux-exec-server-installer.sh オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
microsoft/vscode-remote-release#11867 ·
-
AuTest Bug Tests
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/trafficserver#13714 ·
-
Update to NCCL 2.32 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
conda-forge/nccl-feedstock#166 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
vllm-project/agentic-api#358 · コメント 1 件 ·