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
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:
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
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).
#946 just merged (5042139) and unblocks this: the session-store reader now ingests Copilot's own total_nano_aiu billing figures per request, validated against GitHub's billing on three machines. A codeburn plan set copilot-… preset can now track AI Credits against real consumed AIUs rather than estimates. Implementation still needed: the preset definitions + quota math in the plan command.
Activity
[-]Request: Copilot AI Credit tracking[/-][+]Request: Github Copilot AI Credit tracking[/+]iamtoruk commentedon Aug 22, 2026
#946 just merged (5042139) and unblocks this: the session-store reader now ingests Copilot's own
total_nano_aiubilling figures per request, validated against GitHub's billing on three machines. Acodeburn plan set copilot-…preset can now track AI Credits against real consumed AIUs rather than estimates. Implementation still needed: the preset definitions + quota math in the plan command.RamsesKools commentedon Aug 31, 2026
Thanks for your work already @iamtoruk ! Sadly, it is not yet working for my Copilot Business license.
I've done some investigation on my end and I've created two new issues with the details: