Connect GitHub Copilot to Stax.
Stax pulls Copilot seat assignments, last-activity timestamps, and (from June 2026) usage-based credit consumption from GitHub's REST API. The most useful signal here is which seats have gone idle.
Generate a personal access token.
The fastest path is a classic personal access token with the right scope. Sign in to GitHub as an organization owner and visit:
github.com/settings/tokens- Click Generate new token → Generate new token (classic).
- Note: Stax — Copilot billing.
- Expiration: pick whatever your security policy allows. Stax will warn you when it's near expiry.
- Scope: tick manage_billing:copilot for full billing access, or read:org for read-only seat info (no spend totals).
- Click Generate token, copy the value. It starts with ghp_.
Paste the token into Stax.
In Stax, go to /app → Providers → GitHub Copilot → Connect. Paste the PAT and enter your organization slug (the bit after github.com/ for your org).
Stax validates by calling /orgs/{org}/copilot/billing. If the token doesn't have the right scope or the org doesn't have Copilot enabled, you'll see an inline error before anything is stored.
What you'll see after the first sync.
Initial backfill pulls the current seat roster plus 28 days of usage. You'll see:
- Seat count, plan name, and billing cycle from /orgs/{org}/copilot/billing.
- Per-seat assignee, plan type, and last_activity_at from /orgs/{org}/copilot/billing/seats.
- Idle seats: anyone whose last_activity_at is more than 28 days ago surfaces in the dashboard as a candidate to deassign. At $19/seat/mo on Business that's real money on a 20-person team.
- Monthly cost = seat count × plan price, until June 1 2026.
Common errors
Ready to track this in your AI bill?
Stax is in private beta. Track this provider and your entire AI spend in one dashboard. Join the waitlist to lock in founding-member pricing — $29/mo forever for the first 100 sign-ups.
Join the waitlist →