You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/copilot/concepts/billing/budgets-for-usage-based-billing.md
+18-8Lines changed: 18 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
2
title: Budgets for usage-based billing
3
3
shortTitle: Budgets
4
-
intro: 'Under usage-based billing, budget controls at the user, cost center, and enterprise levels determine how {% data variables.product.prodname_copilot_short %} usage is served, metered, or blocked.'
4
+
intro: 'Under usage-based billing, budget controls at the user, organization, cost center, and enterprise levels determine how {% data variables.product.prodname_copilot_short %} usage is served, metered, or blocked.'
5
5
versions:
6
6
feature: copilot
7
-
permissions: 'Enterprise owners and billing managers can set all budget controls. Organization owners can set organization-level and cost center budgets.'
7
+
permissions: 'Enterprise owners and billing managers can set all budget controls. Organization owners can set organization-level budgets.'
8
8
product: '{% data variables.copilot.copilot_enterprise_short %} or {% data variables.copilot.copilot_business_short %}'
9
9
contentType: concepts
10
10
category:
@@ -13,9 +13,9 @@ category:
13
13
14
14
Every {% data variables.product.prodname_copilot_short %} license includes {% data variables.product.prodname_ai_credits_short %} that are pooled across your enterprise. Budget controls let you govern how individual users draw from that pool, and cap any additional spending once it's exhausted. This article explains what each budget control does, how the system evaluates them, and what happens when a limit is reached.
15
15
16
-
## Understanding the four budget controls
16
+
## Understanding budget controls
17
17
18
-
You have four budget controls, each serving a different purpose. They work together, not as alternatives.
18
+
You have budget controls at the user, organization, cost center, and enterprise levels, each serving a different purpose. They work together, not as alternatives.
19
19
20
20
### User-level budget
21
21
@@ -38,6 +38,14 @@ A cost center budget caps metered charges for a defined group of users or an org
38
38
39
39
When a cost center's budget is exhausted, only users in that cost center are blocked. Other users and cost centers are unaffected.
40
40
41
+
### Organization budget
42
+
43
+
An organization budget caps metered charges for users who receive their {% data variables.product.prodname_copilot_short %} license through that organization. Like cost center budgets, it is only active after the shared pool is exhausted.
44
+
45
+
Organization budgets are the only budget option available to organization owners. They can only further restrict usage below any budget set by an enterprise admin, and they cannot override a higher-level budget.
46
+
47
+
If a user receives {% data variables.product.prodname_copilot_short %} licenses from multiple organizations, {% data variables.product.github %} picks one organization at random each billing cycle to bill the seat. This means the user's spend could count against a different organization's budget from month to month, making enforcement unpredictable. To avoid this, ensure each user has a single license through one organization, or use cost center budgets with direct user assignment.
48
+
41
49
### Enterprise budget
42
50
43
51
The enterprise budget caps total metered charges across your entire enterprise. Like cost center budgets, it is only active after the shared pool is exhausted.
@@ -52,6 +60,7 @@ The enterprise budget caps total metered charges across your entire enterprise.
52
60
| Universal user-level budget | Each user's total {% data variables.product.prodname_ai_credit_singular %} consumption | Always (pool + metered) | Per user | Always |
53
61
| Individual user-level budget | A specific user's total consumption (overrides universal) | Always (pool + metered) | Per user | Always |
54
62
| Cost center budget | A team's metered charges after pool exhaustion | Metered phase only | Per cost center | Only if "Stop usage when budget limit is reached" is enabled |
63
+
| Organization budget | An organization's metered charges after pool exhaustion | Metered phase only | Per organization | Only if "Stop usage when budget limit is reached" is enabled |
55
64
| Enterprise budget | Total enterprise metered charges after pool exhaustion | Metered phase only | Enterprise-wide | Only if "Stop usage when budget limit is reached" is enabled |
56
65
57
66
Any budget set to $0 USD stops usage immediately for the users it applies to.
@@ -67,15 +76,16 @@ Each request for an {% data variables.product.prodname_ai_credit_singular %}-con
67
76
68
77
1.**User-level budget check.** The system first checks whether the user has exceeded their user-level budget. If yes, the request is blocked immediately—user-level budgets are always a hard stop. If no (or no ULB is set), the request continues.
69
78
1.**Shared pool check.** Next, the system checks whether the shared pool has {% data variables.product.prodname_ai_credits_short %} remaining. If yes, the request is served from the pool at no extra cost. If the pool is empty, the request moves to metered usage at {% data variables.product.prodname_ai_credits_value %} per {% data variables.product.prodname_ai_credit_singular %}.
70
-
1.**Cost centeror enterprise check.** For metered usage, the system checks whether the user is assigned to a cost center.
79
+
1.**Cost center, organization, or enterprise check.** For metered usage, the system checks budgets in the following order:
71
80
72
81
***If the user is in a cost center:** The cost center's budget is checked. If budget remains, the cost center pays. If the budget is exhausted, the system checks whether "Stop usage when budget limit is reached" is enabled.
73
-
***If the user is not in a cost center:** The enterprise spending limit is checked. If the limit has not been reached, the enterprise pays. If the limit has been reached, the system checks whether "Stop usage when budget limit is reached" is enabled.
82
+
***If the user is not in a cost center but their license is billed to an organization with a budget:** The organization's budget is checked. If budget remains, the organization pays. If the budget is exhausted, the system checks whether "Stop usage when budget limit is reached" is enabled.
83
+
***If no cost center or organization budget applies:** The enterprise spending limit is checked. If the limit has not been reached, the enterprise pays. If the limit has been reached, the system checks whether "Stop usage when budget limit is reached" is enabled.
74
84
75
-
In both cases, if "Stop usage when budget limit is reached" is on, the user is blocked. If it is off, charges continue to accrue without a cap.
85
+
In all cases, if "Stop usage when budget limit is reached" is on, the user is blocked. If it is off, charges continue to accrue without a cap.
76
86
77
87
> [!IMPORTANT]
78
-
> "Stop usage when budget limit is reached" applies to enterprise spending limits and cost center budgetsonly, and is off by default. Without it, charges continue to accrue past the limit. Always enable it when creating a spending limit. User-level budgets always enforce a hard stop and do not have this setting.
88
+
> "Stop usage when budget limit is reached" applies to enterprise spending limits, cost center budgets, and organization budgets only, and is off by default. Without it, charges continue to accrue past the limit. Always enable it when creating a budget. User-level budgets always enforce a hard stop and do not have this setting.
79
89
80
90
## How user-level budgets and spending limits interact
Copy file name to clipboardExpand all lines: content/copilot/concepts/billing/usage-based-billing-for-organizations-and-enterprises.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,12 +68,12 @@ Additional usage budgets are set in US dollars, and usage is shown in {% data va
68
68
69
69
## How can I control costs with budgets?
70
70
71
-
Budget controls let you govern how individual users draw from the shared pool and cap any additional spending once it's exhausted. You can set budgets at four levels:
71
+
Budget controls let you govern how individual users draw from the shared pool and cap any additional spending once it's exhausted. You can set budgets at multiple levels:
72
72
73
73
***User-level budgets** cap how much an individual user can consume per billing cycle, from both the shared pool and additional usage. A $0 USD user-level budget blocks the user immediately.
74
74
***Cost-center budgets** cap metered charges for a defined group of users after the pool is exhausted.
75
75
***Enterprise spending limits** cap total metered charges across your entire enterprise after the pool is exhausted.
76
-
***Organization-level budgets**track spending for all repositories in the organization.
76
+
***Organization-level budgets**cap metered charges for users whose {% data variables.product.prodname_copilot_short %} seats are billed to the organization, after the pool is exhausted.
77
77
78
78
For a full explanation of how these controls work together and when usage gets blocked, see [AUTOTITLE](/copilot/concepts/billing/budgets-for-usage-based-billing).
Copy file name to clipboardExpand all lines: content/copilot/tutorials/budgets/optimizing-your-budget-configuration.md
+36-2Lines changed: 36 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ category:
18
18
- Manage Copilot for a team
19
19
---
20
20
21
-
Before optimizing your budget configuration, make sure you understand how the four budget controls work and how the system evaluates them. See [AUTOTITLE](/copilot/concepts/billing/budgets-for-usage-based-billing).
21
+
Before optimizing your budget configuration, make sure you understand how budget controls work and how the system evaluates them. See [AUTOTITLE](/copilot/concepts/billing/budgets-for-usage-based-billing).
22
22
23
23
If you haven't set up budgets yet, start with [AUTOTITLE](/copilot/tutorials/budgets/getting-started-with-budget-controls) to get the basics in place, then come back to this guide to optimize your configuration.
24
24
@@ -37,9 +37,29 @@ If you also use cost center budgets, the sum of your cost center budgets and you
37
37
> [!TIP]
38
38
> Whenever you raise user-level budgets, re-check this calculation. Raising ULBs without raising the enterprise budget can cause the enterprise budget to block users before they reach their individual budgets.
39
39
40
+
## Choosing a scope
41
+
42
+
For most enterprises, we recommend **cost center budgets with users directly assigned**. When users are assigned directly to a cost center, charges always follow the user, so enforcement is predictable regardless of how licenses are structured.
43
+
44
+
| Scope | Use when | Who can set it |
45
+
| --- | --- | --- |
46
+
| Cost center budget | You want predictable organization-level spending control as an enterprise admin. | Enterprise owners, billing managers |
47
+
| Organization budget | Organization owners need to set their own spending limits without enterprise admin involvement. | Organization owners |
48
+
| Enterprise budget | You need a failsafe that caps total metered charges for all users not covered by a narrower budget. | Enterprise owners, billing managers |
49
+
50
+
If users in your enterprise have {% data variables.product.prodname_copilot_short %} licenses from multiple organizations, both organization budgets and cost centers that only contain organizations (not users) will enforce unpredictably. The billing organization is chosen at random each cycle, so spend may count against a different budget from month to month. Assigning users directly to cost centers avoids this problem.
51
+
52
+
### Migrating from organization budgets to cost centers
53
+
54
+
If your enterprise already has organization budgets, they will continue to work. However, if you have users with {% data variables.product.prodname_copilot_short %} licenses assigned through multiple organizations, migrating to cost centers with direct user assignment gives more predictable enforcement.
55
+
56
+
1. Create cost centers and assign users directly (not just organizations).
57
+
1. Set cost center budgets matching your desired spending caps.
58
+
1. Remove the organization budgets once cost center budgets are in place.
59
+
40
60
## Common scenarios
41
61
42
-
The following scenarios show common budget configurations for different enterprise structures. Each one builds on the previous, adding more controls. Start with the simplest configuration that matches your needs. You can layer on additional controls later as your usage patterns become clearer.
62
+
The following scenarios show common budget configurations for different enterprise structures.
43
63
44
64
### Manage shared usage responsibly
45
65
@@ -84,6 +104,20 @@ Consider enabling **cost center exclusion** if you want business units to operat
84
104
85
105
This is the most granular configuration. It combines per-user controls (who can consume how much), per-team controls (how much metered spend each business unit can generate), and an enterprise-wide safety net. Use this when you have a mix of usage patterns across teams and need fine-grained governance.
86
106
107
+
### Delegating control to organization owners
108
+
109
+
**Situation:** Organization owners need to set their own spending guardrails without involving an enterprise admin.
110
+
111
+
**Configuration:**
112
+
113
+
* Each organization owner sets an **organization budget** for their organization.
114
+
* The enterprise admin sets an **enterprise budget** as a safety net.
115
+
* Enable **"Stop usage when budget limit is reached"** on all budgets.
116
+
117
+
Organization budgets are the only budget option available to organization owners. An organization budget can only further restrict usage below any budget set by an enterprise admin. It cannot override a higher-level budget.
118
+
119
+
If users in your enterprise have {% data variables.product.prodname_copilot_short %} licenses assigned through multiple organizations, organization budgets may not enforce predictably for those users. In this case, {% data variables.product.github %} picks one organization at random each billing cycle to bill the seat. This means the user's spend could count against a different organization's budget from month to month, making enforcement unpredictable. To avoid this, ensure each user has a single license through one organization, or use cost center budgets with direct user assignment.
120
+
87
121
## Using historical data to size budgets
88
122
89
123
Your AI usage dashboard and the usage export CSV are the best tools for sizing budgets. Look at:
0 commit comments