FinOps for GitHub
GitHub stopped being a subscription. Nobody updated the budget.
Short answer
FinOps for GitHub means running GitHub's bill the way you run AWS or Azure. That bill has three parts: plan and Copilot licences, add-on subscriptions, and metered usage billed by calendar month — Actions runner minutes, Codespaces compute hours, storage in GB-months and Copilot AI credits. You make every meter visible, give each one an owner, then set budgets and policies that hold.
Updated
The bill moves now, and the org chart hasn't caught up
For most of its life GitHub was a predictable line item: a per-seat subscription renewed once a year and never thought about again. That GitHub is gone. Today it meters six things independently, several of them driven by decisions individual engineers make without knowing there's a price attached.
The organisational consequence is the real problem. Cloud spend has owners, review meetings and a discipline around it. GitHub spend, in most companies, is still filed under 'software' and reviewed at renewal — by which point the year has already happened.
The principle everything else rests on
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.
This sounds pedantic until the first time a team is charged for something a dashboard estimated. Meter the signal, anchor it to the billed truth, show the gap, and label every estimate as an estimate.
The six meters under one line item
- Copilot seats
- Per assigned user, billed as a licence. Fixed, forecastable, and the easiest place to waste money invisibly.
- AI credits
- Per unit of metered consumption above an allowance, at the serving model's rate.
- Actions minutes
- Per minute by runner OS and size: $0.006 for standard 2-core Linux, $0.062 for macOS. Included usage is now a dollar amount — $18 a month on Team, $300 on Enterprise Cloud.
- Codespaces
- Two meters. Compute per hour, priced by core count from $0.18 (2-core) to $2.88 (32-core). Storage at $0.07 per GB-month for as long as the codespace exists, stopped or not. Organization plans include no free Codespaces usage.
- Storage
- Separate pools. Actions artifacts and Packages share one allowance (2 GB on Team, 50 GB on Enterprise Cloud, then $0.25 per GB-month). Git LFS has its own: 250 GiB on both. Actions cache gets 10 GB per repository.
- Self-hosted runners
- On your cloud bill, not GitHub's. Modeled from your own rates — always an estimate.
The controls GitHub already ships
Before any tooling, use the settings that exist. Under Settings → Codespaces → Policies, set a maximum idle timeout (the default is 30 minutes, but users can set longer) and a retention period, so stopped codespaces get deleted rather than kept (default: 30 days). Then restrict machine types: a 16-core codespace costs eight times a 2-core one per hour. These policies only bind codespaces your organization pays for.
For storage, the breakdown lives in the usage report. Go to Billing & Licensing → Usage, click Get usage report, and GitHub emails you a CSV. Filter its SKU column for git_lfs_storage, packages_storage and actions_storage to separate the three. One trap: deleting artifacts stops future charges but doesn't remove storage already accrued this billing cycle.
Crawl, walk, run
Crawl is visibility: all six meters in one place, over a period longer than the vendor's lookback. Most organizations are here and think they're further, because a dashboard exists.
Walk is attribution: each meter mapped to an owning team, with the unallocated share visible and shrinking. A number with an owner is a number someone acts on.
Run is control: budgets per team, alerts on variance rather than totals, forecasts compared against outcomes, and unit economics that survive a headcount change. The ones that get here stayed at crawl until it was solid.
The artifacts that make it real
A practice is visible in what it produces. A monthly report an executive actually reads. Budgets with thresholds someone chose. Alerts that fire rarely enough that people still read them. A per-team cost that teams no longer dispute. And a reconciliation between metered usage and billed dollars that's shown rather than smoothed away.
FinOpsAid exists to produce those artifacts from GitHub's own data — nightly snapshots into a versioned warehouse where history is never overwritten, attributed to teams, forecast, and reconciled against the billing API. It flags idle and oversized Codespaces with a modeled cost per environment, labelled an estimate, and breaks storage down by category and SKU. FinOpsAid connects through a GitHub App with read-only scopes. It changes no seats, edits no permissions, pushes no code, and never stores your source. Because only Read is granted, writing back to GitHub is not a policy we promise — it is technically impossible.
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.
FAQ
Frequently asked questions
What is FinOps for GitHub?
It's the practice of managing GitHub as metered cloud spend rather than a fixed subscription — informing stakeholders with one reconciled number, optimising seats, workflows and storage in order of return, and operating a recurring review cadence with per-team ownership. The framework is the standard FinOps loop applied to six independent meters.
Why isn't GitHub in our cloud cost management tool?
Because most cloud cost platforms are built on AWS, Azure and GCP billing exports, and GitHub bills through its own platform. Its data only reaches them through GitHub's billing usage API, a downloaded usage report, or Azure billing if you pay GitHub that way. If your tool reads none of those, GitHub sits outside it entirely.
Where should we start with GitHub FinOps?
Visibility over a full budget cycle, before any optimisation. Most organizations skip to cutting costs using a window shorter than the period they're being asked to explain. Get all six meters visible with retained history first; the levers are obvious once you can see which meter is actually moving.
How is this different from GitHub's own billing page?
GitHub's billing views show what you're charged, by product and SKU, with no team dimension on most meters unless you set up cost centers. Its detailed usage report covers at most 31 days per download. FinOps needs attributed cost over retained history, reconciled against those charges — which means keeping your own snapshots and building the ownership mapping yourself.
How do I reduce GitHub Codespaces costs?
Set three organization policies under Settings → Codespaces → Policies: a short maximum idle timeout, a retention period so stopped codespaces are deleted, and limits on machine types. Compute bills per hour by core count, from $0.18 for 2 cores to $2.88 for 32, while storage bills $0.07 per GB-month until the codespace is deleted.
How do I see what Git LFS, Packages and Actions artifacts each cost?
Download the usage report from Billing & Licensing → Usage → Get usage report, then filter the SKU column for git_lfs_storage, packages_storage and actions_storage. They draw on different allowances: artifacts and Packages share one pool (50 GB on Enterprise Cloud), while Git LFS has its own 250 GiB on Team and Enterprise Cloud.
How do I break down a GitHub bill by product and team?
Start with the usage report, which lists every charge by product, SKU, repository and cost center, with net amount after included usage. Product is then a filter. Team needs a mapping: GitHub cost centers charge Actions-style usage by repository or organization and Copilot by user. Anything apportioned beyond that is modeled, so label it an estimate.
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.