Skip to content

Request: Github Copilot AI Credit tracking #943

Description

@RamsesKools

Currently the codeburn plan command supports subscription tracking for Claude and Cursor/Codex-style plans, but there's no preset for GitHub Copilot's AI Credits allotment (codeburn plan set claude-max, codeburn plan set cursor-pro, etc. — nothing for copilot).

Copilot moved to usage-based billing on June 1, 2026: every plan/seat gets a monthly allotment of AI Credits (1 credit = $0.01), and my org gives me a custom allotment of 20,000 credits/month rather than a default preset amount. Right now the only way to see "how many of my 20,000 credits have I used" is GitHub's own billing page — codeburn's Copilot numbers are a separate, locally-estimated dollar figure from session files, so they don't reconcile against the actual credit balance I'm being measured against.

GitHub added an ai_credits_used field to the Copilot usage metrics API on June 19, 2026, which reports real per-user credit consumption (not an estimate). It would be great if codeburn could either:

  1. Add a codeburn plan set copilot --credits 20000 (or similar) option so Copilot shows up in the plan overview alongside Claude/Cursor, using the same "credits used / credits remaining" framing GitHub itself uses, or
  2. Pull ai_credits_used from the Copilot metrics API (where a token is available) so the Copilot numbers reflect the real credit ledger instead of a local token estimate.

This is basically the Github Copilot version of #408/#495 (#408 and #495).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions