Skip to main content

Preventing overspending

Learn how to set budgets and track when they are nearing or above a threshold to prevent overspending.

この機能を使用できるユーザーについて

organization 所有者、支払いマネージャー、個人用アカウント ユーザー

GitHub Enterprise Cloud 以外では、以下に対してのみ新しい課金プラットフォームを使用できます。

  • 2024 年 11 月 13 日より後に作成された GitHub Team プランの organization アカウント。
  • 2025 年 2 月 4 日より後に作成された GitHub Free プランの organization アカウント。
  • 2025 年 2 月 13 日より後に作成された個人用アカウント (GitHub Free または GitHub Pro のいずれか)。

2025 年 2 月以降、GitHub により、GitHub Team 上の organization は新しい課金プラットフォームに移行されます。 Organization には、移行の 30 日前に通知が送信されます。

2025 年 2 月 13 日より前に作成された既存の個人用アカウントについては、2025 年 6 月 30 日までに個人用アカウントは GitHub によって新しい課金プラットフォームに移行される予定です。

Budgets and alerts allow you to track spending for your organization or personal account. By setting a monthly budget, you can monitor your spending and receive notifications by email when your spending exceeds certain preset percentages of your budget threshold. This can help you stay within your budget and avoid overspending.

The budget only applies to expenses incurred from the date of its creation onwards. Any expenses incurred prior to the creation of the budget will not be included in the calculations

For license-based products such as GitHub Copilot, Advanced Security, and GitHub Team, setting a budget does not prevent usage over the limit.

For the GitHub Copilot Premium Request SKU, to set a spending limit for premium requests over your plan's allowance, you can update the default $0 SKU-level budget and select “Stop usage when budget limit is reached”.

Note

By default, paid usage will be limited to $0 for accounts that do not have a payment method on file.

Managing budgets for your personal account

You can set spending limits and receive alerts when your usage reaches 75%, 90%, or 100% of your defined budget. Budgets can be scoped at the repository or product level, depending on the product.

  1. GitHub で、任意のページの右上隅にある自分のプロフィール写真をクリックしてから、 [設定] をクリックします。
  2. In the "Access" section of the sidebar, click Billing & Licensing.
  3. Click Budgets and alerts.
  4. To create a new budget, click New budget and follow the prompts.
  5. To edit or delete a budget, click Edit or Delete next to the budget you want to edit or delete. Follow the prompts.

Managing budgets for your organization

You can manage budgets for your organization by setting a budget, viewing budgets, and editing or deleting budgets.

Viewing budgets

If you are an organization owner or billing manager, your organization's budget will be listed at the top of the "Budgets and alerts" page.

  1. GitHub の右上隅でプロフィール写真を選んでから、 [Your organizations] をクリックします。

  2. 組織の隣の [設定] をクリックします。

  3. ページの左側にある organization サイドバーで、 [Billing & Licensing] をクリックします。

  4. Click Budgets and alerts.

Creating a budget

As an organization owner, you can set the budget for your organization.

  1. GitHub の右上隅でプロフィール写真を選んでから、 [Your organizations] をクリックします。

  2. 組織の隣の [設定] をクリックします。

  3. ページの左側にある organization サイドバーで、 [Billing & Licensing] をクリックします。

  4. Click Budgets and alerts.

  5. Click New budget.

  6. Under "Budget Type" select either Product-level budget or SKU-level budget.

    • To create a Product-level budget, choose a metered product from the dropdown.
    • To create a SKU-level budget, choose a SKU from the dropdown. This limits spending for an individual SKU.
  7. Under "Budget scope", set the scope of spending for this budget.

  8. Under "Budget", set a budget amount.

    To stop any usage and further spending once your organization reaches the budget limit, select Stop usage when budget limit is reached, if available.

    Important

    If you do not select Stop usage when budget limit is reached, you will be notified by email if you exceed your budget, but usage will not be stopped.

  9. To receive an alert if your budget has reached 75%, 90% and 100% thresholds, select Receive budget threshold alerts under "Alerts". When the budget has reached the specific threshold, you will be notified via email and a banner on GitHub. You may opt out at any time.

    Under "Alert Recipients", select the people who will receive the alerts.

  10. Click Create budget.

Editing or deleting a budget

As an organization owner, you can edit or delete a budget at any time, but you cannot change the budget scope.

  1. GitHub の右上隅でプロフィール写真を選んでから、 [Your organizations] をクリックします。

  2. 組織の隣の [設定] をクリックします。

  3. ページの左側にある organization サイドバーで、 [Billing & Licensing] をクリックします。

  4. Click Budgets and alerts.

  5. To edit a budget, in the list of budgets, click next to the budget you want to edit, and click Edit or Delete.

  6. Follow the prompts.