Cloud cost management

Your cloud cost tool probably can't see GitHub.

Short answer

GitHub cloud cost management means controlling what you spend on GitHub itself — Copilot, Actions, Codespaces, storage — rather than using GitHub to manage AWS, Azure or GCP spend. Most cloud cost tools are built on hyperscaler billing exports, so GitHub only reaches them through GitHub's billing API, a downloaded usage report, or Azure billing. Self-hosted runners, meanwhile, sit on your cloud bill, splitting CI cost across two invoices.

Updated

Why GitHub is usually invisible to cloud cost tools

Cloud cost management platforms are built around the billing exports the three hyperscalers publish. That's a reasonable design and it's why they work so well — until a service bills through a different system entirely.

GitHub does. Its meters live in GitHub's own billing platform, with its own APIs and account structure. Its data leaves by three routes. The billing usage REST API. The usage report, emailed as a CSV from Billing & Licensing → Usage. And Azure billing: pay GitHub through an Azure subscription and charges for products such as Copilot, Actions and Codespaces land on your Azure invoice.

Some general cloud cost platforms now import GitHub through that API. Many don't, and a tool pointed only at your cloud accounts will report your infrastructure to the cent and show nothing for the platform your engineers spend all day in.

It behaves exactly like cloud spend

Every property that makes cloud cost hard to manage is present. It's metered, so nobody approves a unit of it. It's variable, so last month is a weak predictor. It's driven by engineering decisions — a workflow trigger, a model choice, a runner size — made by people who can't see the price. And it's shared, so it lands centrally and has to be attributed back.

That's the argument for treating it with the same discipline rather than as a software subscription: not because the vendor is a cloud, but because the cost has a cloud's shape.

The half that IS on your cloud bill

One part of GitHub spend does show up in your CCM tool, and it's usually misfiled. Self-hosted runners are your compute: EC2 instances, VM scale sets, GKE nodes, paid for whether or not a job is queued. GitHub charges nothing for self-hosted runner minutes, so the whole cost is on your cloud invoice, typically under a tag that says 'ci'.

So the accounting is split down the middle, and neither view alone tells you what CI costs. FinOpsAid models the runner-fleet side from your own rates and labels it an estimate, because it isn't a figure anyone bills you — presenting it as billed would conflate exactly what we exist to keep apart.

General cloud platform or a GitHub-specific tool?

If GitHub is a modest line and what you want is one allocation model across every provider, a cloud cost platform that reads GitHub's billing API is the simpler choice. Check which GitHub products it imports, how often it refreshes, and what access it needs.

If GitHub is a meaningful share of engineering spend, the questions get GitHub-shaped: which Codespaces are idle or oversized, which storage pool is growing, what each team's Copilot use costs, and why metered usage doesn't match the invoice. That's the job a GitHub-specific tool is built for.

Fitting GitHub into a practice you already run

You don't need a second FinOps programme. You need GitHub in the one you have — same cadence, same owners, same report.

Practically: add GitHub's meters to the monthly review alongside the cloud accounts. Map GitHub teams to the cost centers your cloud allocation already uses; GitHub's own cost centers charge usage-based products such as Actions by repository or organization, and licence-based ones such as Copilot by user. Set budgets in GitHub's billing platform that match the thresholds you use elsewhere. And hold the same evidentiary standard — billed is billed, modeled is modeled.

What to ask before you buy anything

Does it read the billing API, or only usage?
Usage-only tools can't reconcile. They'll show you a confident total that never matches the invoice and can't explain why.
How long is history retained?
GitHub's detailed usage report covers at most 31 days per download. If a tool keeps no history of its own, you can't do year-over-year — which is most of what a budget cycle asks for.
How is per-team cost derived?
Ask which meters are attributed exactly and which are modeled. A tool that won't distinguish them is asking you to defend its guesses as facts.
What access does it need?
Cost analysis needs metadata and billing data, not file contents. GitHub's organization billing usage endpoints accept a GitHub App token with read-level Administration permission, so billing data doesn't require write access. If a tool asks for write, ask why.

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

Does GitHub cloud cost management mean GitHub's bill or cloud costs?

It's used both ways. Here it means managing what you spend on GitHub itself — Copilot seats and AI credits, Actions, Codespaces and storage — as you would cloud spend. The other reading, using GitHub workflows to manage AWS, Azure or GCP costs, is a different job, and not the one this page covers.

Why doesn't our cloud cost tool show GitHub spend?

Most cloud cost platforms ingest AWS, Azure and GCP billing exports, and GitHub bills through its own platform. Its data only reaches them via GitHub's billing usage API, a downloaded usage report, or Azure billing if you pay GitHub through an Azure subscription. A tool that reads none of those can't show GitHub spend at all.

Do cloud cost platforms cover GitHub Actions, Copilot and Codespaces?

Some do, many don't. Platforms that cover GitHub import it through GitHub's billing API, not through AWS, Azure or GCP exports, so coverage depends on that integration. Ask which products it imports, how often it refreshes, and whether it reconciles to the invoice. Self-hosted runner cost is on your cloud bill either way.

Should we use a general cloud FinOps platform or a GitHub-specific tool?

Use a general platform if GitHub is a small line and you mainly want one allocation model across every provider. Use a GitHub-specific tool if GitHub is a meaningful share of engineering spend and you need Copilot, Actions, runners, Codespaces and storage explained by team and reconciled to the invoice. Some organizations run both.

Is it safe to give a cost tool read-only access to our GitHub organization?

Yes, if it uses a GitHub App with read-only permissions — GitHub shows every permission an app requests before you approve it. 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 isn't a policy we promise — it's technically impossible.

Is GitHub spend part of cloud cost management?

It should be, by behaviour if not by vendor category. GitHub spend is metered, variable, generated by engineering decisions and shared across teams — every property that makes cloud cost hard to govern. Managing it under a different, slower process than your cloud spend is a structural gap, not a taxonomy question.

Do self-hosted runners show up in cloud cost tools?

Yes, but usually misfiled. Self-hosted runners are your own compute — instances, scale sets or nodes — and GitHub charges nothing for their minutes, so the whole cost appears on your cloud bill, frequently under a generic tag. That splits CI cost across two invoices, and neither one alone tells you what continuous integration actually costs.

How do we allocate GitHub cost to the same cost centers as cloud?

Map GitHub teams to the cost centers your cloud allocation already uses, rather than inventing a parallel structure. GitHub's own cost centers charge Actions-style usage by repository or organization and Copilot by user. Roll those up through your existing mapping, so the GitHub half and the cloud half of CI cost can actually be added together.

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.