Skip to main content

Cost centers

Attribute spending to specific parts of your business.

谁可以使用此功能?

GitHub Enterprise Cloud

You can create cost centers to attribute usage and spending to business units, improving accountability, forecasting, and cost allocation.

If your account is billed through Azure, you can add an Azure subscription to a cost center to bill usage to a different Azure subscription than the enterprise default.

To get started with cost centers, see 使用成本中心将成本分配给业务部门.

Cost center allocation

To allocate spending to a cost center, you add repositories, organizations, or users to the cost center. Any usage that is not assigned to a specific cost center is categorized as "Enterprise Only" spending on your enterprise's "Usage" page.

  • For metered products like GitHub Actions, cost centers are charged based on the repositories or organizations in the cost center, as this is where the usage takes place.
  • For license-based products like GitHub Copilot, cost centers are charged based on the users in the cost center. If a licensed user isn't assigned to a cost center, costs for the license either default to "Enterprise Only" spending or are assigned to a cost center based on the user's organization membership. This depends on the product.

For more details, see Cost center allocation for different products.