Skip to content

Allow to set a token limit for a task #3012

Closed
Closed

Description

@laeubi

Describe the feature or problem you'd like to solve

Currently each request consumes a certain predicable amount of premium requests - this will change soon and make it completely unpredictable, a task might accidently eat up thwo whole budget for a month.

Proposed solution

With the upcoming https://github.blog/news-insights/company-news/github-copilot-is-moving-to-usage-based-billing/ it becomes completely unpredictable how much costs a request possibly consumes.

It would therefore be good to set a limit per session / request. If the limit is approached, copilot should ask for confirmation what to do that could be:

  1. Complete as soon as possible with what was already accomplished
  2. Continue with an increased budget
  3. ....

Example prompts or workflows

No response

Additional context

No response

Activity

  1. added theissue type on Apr 28, 2026
  2. added
    area:configurationConfig files, instruction files, settings, and environment variables
    area:sessionsSession management, resume, history, session picker, and session state
    and removed on Apr 28, 2026
  3. copilot-cli-bot commented on Nov 7, 2026

    @copilot-cli-bot

    This appears to be resolved as of GitHub Copilot CLI v1.0.107. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationConfig files, instruction files, settings, and environment variablesarea:sessionsSession management, resume, history, session picker, and session state

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions