Billing for GitHub#
Currently, only GHEC customers with GitHub Copilot enabled need a cost center for metered billing.
OIT pays for GitHub Enterprise Cloud for use by administrators. On top of the cost of licensing for GitHub Enterprise Cloud, there are many upgradable features that can be used a la carte for extra cost, including Copilot. For teams that want to use GitHub Copilot, GitHub usage will be invoiced and metered through a cost center associated with their unit's GHEC organization. These cost centers are billed in Azure through a team-provided Azure subscription.
View Billing and Costs#
Cost centers can meter usage for one or more organizations, repositories, or users.
These bills can include usage from GitHub Copilot, GitHub Actions (which should not incur cost unless your team utilizes the umn-hosted-vpn GHA runner or another "large" runner), LFS, and Packages. Bills are paid by the associated department to the EFS budget string used for their Azure subscription.
Azure Cost Management (for Azure Administrators)#
- Log in to the Azure Portal and navigate to the Subscription attached to your organization's cost center
- Click on this link or in the Search bar on the top of the portal, type "Subscription" to find the subscription page.
- In the Menu bar on the left, navigate to the "Cost Management" section and select "Cost Analysis"
- This should open a Graph showing all billing for the subscription
- Click on "Add a filter", select "Service Name", check the box for "GitHub", then click the small checkmark button to create the filter
- This will show you the total GitHub Spend. To drill down a little further:
- On the bottom are three Circular graphs, pick one of them and click on the title and select "Meter Subcategory"
- This will show you the breakdown of Actions vs Copilot vs any other charges
- Other useful settings:
- Set "Group by" to also be "Meter Subcategory"
- Change "Area graph" to "Line"
- If you have a budget set it defines the y-axis of the graph and skews the graph, so set it to "none" and it should clean up
- This will show you the total GitHub Spend. To drill down a little further:
GitHub Billing and Licensing (for GHEC Organization Owners)#
- Log in to github.com and navigate to the UMN Enterprise billing and licensing page
- Select the feature you would like to view spend for under Metered usage
View Copilot premium requests for users in your organizations#
- Select Copilot under Metered usage
- Next to Copilot premium requests, click View details
- Type
user:usernamein the search box near the top of the page content, replacingusernamewith the username of the person whose usage you are trying to view- Note: you need to know the person's github.com username for this to work; there is currently no way to view premium request usage for every user in a team or organization
- Note: you can also search by
cost_center,org, ormodel