github / github/copilot-cli

AI Credits Near-Limit Warning

Open
#4,295 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

Describe the feature or problem you'd like to solve

Visual Studio 2026 Professional IDE warns users in chats sessions when they are nearing their AI Credits limit for their GitHub Copilot subscription. It would be great to have the GitHub Copilot CLI have this feature parity.

Proposed solution

at the beginning of each new chat session for GitHub Copilot CLI, if the session is valid (i.e. successful user login/authentication), and the user has spent more than 80% of their total AI credit limit according to their GitHub Copilot subscription, then show a brief warning message at the chat session start, to notify them, with an optional URL to visit to increase their limit.

Example prompts or workflows

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the GitHub Copilot CLI entry point for the beginning of a new chat session and the successful login/authentication path. Determine how the user's GitHub Copilot subscription credit usage and total limit can be accessed. Done means an authenticated session shows a brief warning above 80% usage, optionally linking to a page where the limit can be increased.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.