You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Independent Copilot context-window selection and AI-credit usage #53521
I have verified this feature I'm about to request hasn't been suggested before.
This is a renewed request for #38164, which the inactivity bot closed on September 20 and explicitly invited users to reopen as a new issue if still relevant. I have left the checkbox unchecked because the feature was suggested before.
Describe the enhancement you want to request
Copilot CLI offers Default and Long context choices. OpenCode already fetches the authenticated Copilot /models endpoint, but uses the full input limit and does not expose the default context boundary or long-context prices. Sessions can grow into a higher-priced tier without a visible choice.
Proposal for design review: keep one base model in the model picker. Add an independent Default/Long context selector in the command palette, alongside the existing reasoning-variant selector. Changing reasoning should preserve the chosen context window. Use billing.token_prices.default and long_context for account-specific boundaries and cache rates. Display Copilot usage in GitHub AI credits, where one credit is $0.01. Preserve existing OAuth and configured Enterprise host routing.
Context choices change the local compaction budget. GitHub prices actual prompt size; these are not separate upstream model IDs or a new inference request parameter.
Related: #38164 and #52089. This is separate from reported-charge accounting in #52556 and authentication changes in #20758. A draft implementation will request maintainer design feedback before acceptance.
changed the title [-]Copilot context-tier selection and pricing in the model picker[/-][+][FEATURE]: Copilot Default and Long context choices with pricing[/+]on Oct 6, 2026
Updated the feature title, template sections, and system details. #38164 is the same request and was closed by the inactivity bot, which invited a new issue if still relevant. I left the uniqueness checkbox unchecked rather than claim there was no prior request. Could a maintainer accept this as a renewed request, or advise where the draft implementation should be discussed?
changed the title [-][FEATURE]: Copilot Default and Long context choices with pricing[/-][+][FEATURE]: Independent Copilot context-window selection and AI-credit usage[/+]on Oct 6, 2026
Thanks for bringing this back, @anxkhn. You're asking for a Default/Long context-window choice for GitHub Copilot models, separate from the reasoning variant, using the account-specific default and long_context prices from Copilot's /models and showing usage in GitHub AI credits. That way sessions don't drift into the long-context price tier without you noticing.
I checked v2 (dev): packages/core/src/github-copilot/models.ts currently reads only billing.token_prices.default, and the context limit is set to the full max_context_window_tokens. So the gap you describe is there too. Since the draft implementation is going to ask for design feedback, it's worth basing it on that file.
Activity
[-]Copilot context-tier selection and pricing in the model picker[/-][+][FEATURE]: Copilot Default and Long context choices with pricing[/+]anxkhn commentedon Oct 6, 2026
Updated the feature title, template sections, and system details. #38164 is the same request and was closed by the inactivity bot, which invited a new issue if still relevant. I left the uniqueness checkbox unchecked rather than claim there was no prior request. Could a maintainer accept this as a renewed request, or advise where the draft implementation should be discussed?
github-actions commentedon Oct 6, 2026
Thanks for updating the issue with the required feature details and system information!
github-actions commentedon Oct 6, 2026
Thanks for updating the issue with the required details and system information!
[-][FEATURE]: Copilot Default and Long context choices with pricing[/-][+][FEATURE]: Independent Copilot context-window selection and AI-credit usage[/+]opencodejr commentedon Oct 27, 2026
Thanks for bringing this back, @anxkhn. You're asking for a Default/Long context-window choice for GitHub Copilot models, separate from the reasoning variant, using the account-specific
defaultandlong_contextprices from Copilot's/modelsand showing usage in GitHub AI credits. That way sessions don't drift into the long-context price tier without you noticing.I checked v2 (
dev):packages/core/src/github-copilot/models.tscurrently reads onlybilling.token_prices.default, and the context limit is set to the fullmax_context_window_tokens. So the gap you describe is there too. Since the draft implementation is going to ask for design feedback, it's worth basing it on that file.Related:
This is now tracked as a feature request, and maintainers will consider it.