Copilot · GitHub Copilot premium requests menu bar
Copilot premium requests, against the clock
UsagePool resolves your own gh executable and runs one fixed read-only request — gh api --include copilot_internal/user --hostname github.com — to read the Chat, Code Completions and Premium Requests quotas your account reports. copilot_internal/user is a private GitHub endpoint and may change without notice; GitHub CLI supplies its own authentication, so UsagePool never reads or stores your token.
Copilot · Premium Requests Example reading
Usage 55% Window 30% Ahead
Limits UsagePool can show
- Premium Requests
- The quota people actually run out of.
- Chat
- Shown when the account reports it.
- Code Completions
- Shown when the account reports it.
Unique to Copilot
Premium requests are metered per month against a plan allowance, which makes Copilot the provider where a mid-month glance is worth the most and the hardest to get from GitHub’s own surfaces.
Because gh owns the credential, enabling Copilot in UsagePool grants the app nothing it did not already have on your machine.
If a quota comes back marked unlimited or unavailable, UsagePool hides it rather than drawing a full bar, because a full bar is a claim.
02 / 06 · Mechanism
How the reading is taken
UsagePool reads your own gh executable. Here is exactly what happens on each refresh.
UsagePool resolves the user’s own gh executable and runs exactly one fixed read-only request: gh api --include copilot_internal/user --hostname github.com, with a minimal environment, bounded output, a deadline, cancellation and child cleanup.
--include prints the response headers ahead of the body. They are read for one narrow purpose: telling GitHub’s three different 403s apart — an exhausted request budget, an organization policy, and bad credentials — and reading the retry-after and x-ratelimit-reset values that set the retry delay.
The adapter hashes the returned login for account continuity and projects only the plan, the monthly reset, and the known Chat, Code Completions and Premium Requests quota snapshots. Limits marked unlimited or unavailable stay hidden rather than being drawn as full.
03 / 06 · Stated here, not buried
copilot_internal/user is a private GitHub endpoint
copilot_internal/user is a private GitHub endpoint. It is not a documented, versioned API, and it may change without notice. If it changes, the Copilot meters can go stale or disappear until the adapter is updated — that is a real risk and it is stated here rather than discovered later.
This is also why the Copilot adapter reads response headers: GitHub returns three materially different 403s through the same door, and a meter that cannot tell "budget exhausted" from "your organization disabled this" would be worse than no meter.
04 / 06 · Scope
What is never read or stored
GitHub CLI handles its existing authentication, so UsagePool never reads or stores the GitHub token; the returned login is hashed for account continuity and the raw response is not persisted or logged.
UsagePool does not collect a usage-history archive or send your usage to its licensing service. It retains the settings and latest connection projections needed to show current limits. The privacy page lists this field by field →
05 / 06 · One product
One app, one download, five providers
The same application supports all five providers. Choose one with Free or Single, or use them together with Full for From $4 once.
06 / 06 · Start
Set up and start reading
GitHub CLI installed and signed in to an account with Copilot access. Confirm with `gh auth status` before enabling the provider.