# One invoice, six meters, and no owner on any of them.

> GitHub cost centers attribute Actions by repository and Copilot by user. What they can't place, which parts are modeled estimates, and how to show all three.

Source: https://finopsaid.com/solutions/github-engineering-cost-attribution/  
Updated: 2026-11-30  
Publisher: FinOpsAid (https://finopsaid.com)

---

**Short answer:** GitHub engineering cost attribution splits one platform invoice across the teams that generated it. In an enterprise account, cost centers attribute natively: Actions, Codespaces, Git LFS and Packages by repository or organization; Copilot licenses and AI credits by user. What they can't place — shared repositories, self-hosted runners, per-repository Copilot cost — has to be modeled, and labelled as an estimate.

## The unit of attribution is a team, not a person

Per-developer cost is a tempting output and a bad one to publish. It invites comparisons the underlying data can't support, it makes people optimise their own visible number rather than the actual cost, and for most meters the per-person split is modeled anyway.

Attribute to teams. A team is the smallest unit that owns a budget, owns repositories, and can actually change what it spends. Per-developer figures belong in diagnostics — finding the seat nobody has opened — not on a leaderboard.

## Six meters, six different attribution keys

GitHub's native tool is the **cost center**, under your enterprise's **Billing and licensing → Cost centers**. It holds organizations, repositories, users and enterprise teams, and charges each meter by a different key:

- **Copilot seats** — Charged to the license holder, directly or through an enterprise team, else the organization billed for it. The cleanest meter, because assignment is explicit.
- **AI credits** — Charged to the user who triggered the usage, else the organization that granted their license. The AI usage report splits it by user and model.
- **Actions minutes** — Charged to the repository or organization where the workflow ran. Price per job before aggregating: Linux 2-core is $0.006 a minute, macOS $0.062.
- **Codespaces** — Charged to the repository or organization where the codespace was created. Keep the creator as a second key — they can stop an idle one.
- **Storage & packages** — Git LFS by the repository or organization using it, Packages by the one that owns the package. Grows until someone sets retention.
- **Self-hosted runners** — Not on the GitHub bill; GitHub postponed its proposed $0.002-a-minute fee. The cost is on your cloud invoice, modeled from your own rates. Always an estimate.

## Where cost centers stop

A resource belongs to **one cost center at a time**, so a monorepo six teams share lands on one. Changes apply to future usage only, unassigned usage shows as **Enterprise Only**, and one budget covers a whole cost center. None of it gives Copilot a repository dimension: per-repository Copilot cost is always modeled.

## Attributed, modeled, and unallocated

A credible attribution model has three buckets and shows all three. **Attributed** is cost with a defensible key — a Copilot seat assigned to a named person on a named team, an Actions minute in a repository one team owns. **Modeled** is cost derived by applying a rate or a split to observed usage; per-repository Copilot cost and self-hosted runner cost both live here, and both should carry an as-of timestamp. **Unallocated** is everything you couldn't honestly place: orphaned repositories, shared pipelines, the shared monorepo.

Presenting the modeled bucket as though it were attributed is the mistake that destroys trust in the whole model, usually in the first meeting where the number costs a team something. GitHub gives you two different kinds of number and they are not interchangeable. Usage signals — a seat's last-activity timestamp, minutes consumed, a daily per-user credit hint — arrive fast and describe behaviour. Billed amounts arrive from the billing API, lag the signals by a few days by design, and are what finance will actually be invoiced. Merge the two and you get a dashboard that is confidently wrong. Keep them apart, anchor the signal to the billed total, and show the gap.

## Breaking a bill down by product and team

When the bill jumps and nobody can say why, open **Billing & Licensing → Usage → Metered usage**, group by product, then SKU, then cost center, and compare months. The **summarized usage report** covers up to a year; the **detailed report** adds username and workflow path, 31 days at a time. Copilot credits have their own **AI usage** report, per user and per model.

## From attribution to accountability

Attribution on its own changes nothing. It becomes useful when a team sees its own number regularly, next to one it can compare against — last month, or the median team.

The sequence that works: publish per-team cost as showback, let teams dispute it and fix the ownership map, set budgets per team, then alert on variance rather than totals. Chargeback, if you do it at all, comes after teams have stopped arguing about whether the numbers are right.

## What FinOpsAid doesn't do

- It doesn't invent departments or locations: GitHub has no such concept, so those come from a mapping you supply.
- It doesn't merge usage signals with billed dollars — the two are shown side by side, with the gap explained.
- It doesn't write anything back to GitHub. Changes to seats, budgets or permissions stay with your admins.

## Frequently asked questions

### How do you attribute GitHub costs to teams?

Meter by meter, with a different key for each. GitHub's cost centers charge Actions, Codespaces, LFS and Packages by repository or organization, and Copilot licenses and AI credits by user. Map those keys to teams. Shared repositories, per-repository Copilot cost and self-hosted runners fall outside that and can only be modeled, so label them as estimates.

### What tools can allocate GitHub spend by team?

Start with GitHub's own cost centers, which allocate metered spend by organization, repository, user or enterprise team and can carry budgets. They can't split a shared repository or price self-hosted runners. For that you need a separate attribution layer — a spreadsheet over usage reports, or a GitHub-specific tool such as FinOpsAid that labels modeled figures as estimates.

### How do I charge back GitHub costs to engineering teams?

Show before you charge. Map repositories and users to teams, ideally mirrored in cost centers, and publish each team's attributed, modeled and unallocated cost for a quarter. Let teams dispute it and fix the ownership map. Move money only once the numbers stop being argued, and keep shared costs visible rather than split by an invented formula.

### Our GitHub bill jumped — how do I break it down by product and team?

Open Billing & Licensing → Usage → Metered usage and group by product, then SKU, then cost center, comparing months to find the line that moved. Download the summarized report for up to a year of history, the detailed report for username and workflow path, and the AI usage report for Copilot credits per user and model. Then map repositories and users to teams.

### Can a tool estimate per-team Copilot cost when GitHub bills the organization?

Yes, as an estimate. Seats are exact: each license belongs to a named user, and cost centers charge it to that user's cost center. Credits come from the pooled allowance, so which team's usage counted as included and which as overage is an allocation choice. A per-team Copilot figure should say which parts are billed and which are modeled.

### Can GitHub attribute Copilot cost per repository?

No. Copilot is charged by user — cost centers allocate licenses and AI credits to the user or the organization that granted the license — with no repository dimension. Any per-repo Copilot figure is modeled from observed activity rather than read from the invoice. It's a legitimate allocation input, but label it as an estimate with the date it was computed.

### Should we show cost per developer?

Only as a diagnostic, not as a published metric. Per-developer figures invite comparisons the underlying data can't support, and for most meters the per-person split is modeled anyway. Attribute to teams — the smallest unit that owns a budget, owns repositories, and can actually change what it spends.

### What do we do with costs we can't attribute?

Show them as an explicitly unallocated bucket rather than splitting them with a formula nobody agreed to. An unallocated share that shrinks quarter over quarter is a credible signal of a maturing model. A complete allocation resting on an invented split rule collapses the first time it costs a team real money.

---

Try FinOpsAid with your org (free, read-only): https://finopsaid.com/setup/ · Pricing: https://finopsaid.com/pricing/ · More guides: https://finopsaid.com/solutions/
