Copilot spend analytics
Four questions. Everything else is a chart.
Short answer
GitHub Copilot spend analytics starts in GitHub's AI usage view, under Billing & licensing → Usage, which breaks AI-credit consumption ($0.01 a credit) down by user, model, organization and cost center. Useful analytics then answers four questions: what did we spend, who spent it, is the trend one we chose, and does the usage you measure reconcile to the invoice.
Updated
The four questions
What did we spend? Seats plus metered consumption, for a period that matches your budget cycle rather than a rolling window imposed by an API.
Who spent it? By team first, by user only as a diagnostic. GitHub's billing data is per user; a team view exists only through cost centers you maintain, or by joining usage to team membership yourself.
Is the trend one we chose? Month over month, with the driver separated from the noise — a rise because headcount grew is a different fact from a rise because one team started running agents.
Does it reconcile? Metered usage against billed dollars, with the gap shown rather than smoothed away. If a dashboard never disagrees with the invoice, it is not reading the invoice.
What GitHub shows you natively
Start here before buying anything. Each source answers part of one question, and none answers all four:
- AI usage page
- Settings → **Billing & licensing → Usage**; enterprises open Metered usage, search product:copilot and choose AI usage. Credits by user, model, organization or cost center, grouped by model by default, exportable. Usage can also be grouped by SKU to compare Business and Enterprise.
- Copilot usage dashboard
- Enterprise → **Insights → Copilot usage**. Adoption, feature, model and language trends. GitHub says data for a day arrives within two full UTC days, and that the metrics aren't a complete record of all Copilot activity.
- AI credit usage API
- GET /organizations/{org}/settings/billing/ai_credit/usage, filterable by user, model and product. The billed side of the ledger, accessible for the past 24 months.
- Usage metrics API
- One-day and 28-day reports at enterprise, organization and user level, plus per-repository and user-team reports. The user-team report is what lets you compute team-level usage.
- Seats API
- GET /orgs/{org}/copilot/billing/seats, with last_activity_at per user — the idle-seat list, on a rolling 90-day retention window.
Metrics worth a dashboard
- Active ÷ assigned seats
- The waste ratio, trended. One line that tells you whether seat hygiene is happening or was a one-off cleanup last quarter.
- Credit burn rate vs allowance
- Plotted against elapsed days in the cycle, so overage is a forecast rather than a postmortem.
- Cost per active developer
- The comparable unit. Immune to headcount growth, which is what makes it usable in a budget conversation.
- Surface mix
- Chat versus review versus agent. This is the leading indicator of a consumption jump — surface mix shifts weeks before the invoice does.
- Model mix
- Share of AI credits by model — the default grouping on GitHub's own AI usage page. The most actionable chart on the page, because the fix is a default, not a behaviour change.
- Modeled vs billed
- Both series on one axis, gap visible. Not a vanity metric — it is the credibility of everything above it.
Metrics that mislead
Acceptance rate measures whether developers like the suggestions. Completions are unmetered, so it is unrelated to cost, and using it as a cost proxy points you at the highest-value teams as though they were the problem.
Total suggestions has the same defect at larger scale. Seats assigned on its own tells you what you committed to, not what you got. And cumulative spend to date flatters early in the month and panics late in it; burn rate against elapsed days says the same thing without the drama.
History is the hard part
The analytical problem with Copilot is not computing the metrics, it is keeping the evidence that explains them. GitHub's retention differs by source: the AI credit billing endpoint reaches back 24 months, the enterprise one-day usage-metrics reports one year, and seat last-activity only 90 days on a rolling basis.
So the dollars survive a budget cycle; the behavioural detail that explains them often doesn't. By the time someone asks what drove Q1, which seats were idle and who sat on which team that month can already be gone.
FinOpsAid snapshots that usage nightly into a versioned warehouse where history is never overwritten, so a year-over-year comparison is a query rather than an archaeology project — and every modeled figure carries the timestamp it was computed at.
What FinOpsAid doesn't do
- It doesn't show same-day Copilot dollars: GitHub's usage and billing data lag about two to three days, and FinOpsAid syncs on a schedule after that.
- It doesn't reclaim seats or change policies for you. The GitHub App is read-only, so every change is made by your admins in GitHub.
- It doesn't attribute Copilot dollars to repositories as billed fact — any per-repo figure is modeled from activity and labelled an estimate.
FAQ
Frequently asked questions
Where can I see GitHub Copilot spend?
In account settings under Billing & licensing → Usage. Enterprises open Metered usage, search product:copilot and select AI usage, which shows AI-credit consumption by user, model, organization or cost center, grouped by model by default. The same data is available through the AI credit usage API for the past 24 months.
What Copilot metrics should we track for cost?
Active seats divided by assigned seats, credit burn rate against elapsed days in the cycle, cost per active developer, surface mix, model mix, and modeled versus billed. The first finds waste, the middle three explain movement, and the last is what makes the other five credible to finance.
What's the best tool to track Copilot seat usage and cost?
It depends on the question. GitHub's AI usage page and seats API cover spend by user and model and the idle-seat list. A cost tool adds team attribution, history and reconciliation to the invoice. An LLM-observability tool traces individual sessions and tokens. Most large organizations need the first plus one of the others.
How do you track Copilot usage and cost across a large organization?
Combine four GitHub sources on a schedule: the AI credit usage API for billed consumption by user and model, the usage metrics API with its user-team report for adoption by team, the seats API for idle licences, and cost centers for allocation. Snapshot them nightly, because seat activity is kept only 90 days.
Is Copilot acceptance rate a cost metric?
No. Acceptance rate measures whether developers find suggestions useful, and code completions consume no AI credits at any volume. Treating it as a cost proxy actively misleads: it flags your highest-adoption teams as expensive when their usage may be entirely unmetered. Keep it as an adoption metric, not a cost one.
How far back does GitHub Copilot usage data go?
It depends on the source. GitHub's AI credit billing endpoint covers the past 24 months, enterprise one-day usage-metrics reports go back up to a year, and a seat's last-activity timestamp is kept on a rolling 90-day window. Retaining your own nightly snapshots is what keeps the explanatory detail beyond those limits.
Why does our Copilot dashboard disagree with the invoice?
It should, slightly. Usage signals are near-real-time; billed amounts come from the billing API and lag by a few days by design. A visible, explained gap is correct behaviour. A dashboard that always matches the invoice exactly has merged the two sources, which means you can no longer tell a measurement from a charge.
Try it
See these numbers for your own org
Connect your organization read-only and FinOpsAid meters it nightly — seats, credits, minutes, Codespaces and storage, attributed to teams and reconciled against your billing API. Every modeled figure is labelled an estimate, with the date it was computed.