Skip to main content

Preventing overspending

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

Wer kann dieses Feature verwenden?

Organisationsbesitzer, Abrechnungsmanager und Benutzer persönlicher Konten

Außerhalb von GitHub Enterprise Cloud ist die neue Abrechnungsplattform ausschließlich für Folgendes verfügbar:

  • Organisationskonten für einen GitHub Team-Plan, der nach dem 13. November 2024 erstellt wurde.
  • Organisationskonten für einen GitHub Free-Plan, der nach dem 4. November 2025 erstellt wurde.
  • Persönliche Konten mit einem GitHub Free- oder GitHub Pro-Plan, die nach dem 13. Februar 2025 erstellt wurden

Ab Februar 2025 migriert GitHub Organisationen auf GitHub Team zur neuen Abrechnungsplattform. Organisationen erhalten 30 Tage vor der Migration eine Benachrichtigung.

GitHub migriert persönliche Konten, die vor dem 13. Februar 2025 erstellt wurden, bis zum 30. Juni 2025 auf die neue Abrechnungsplattform.

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. Klicken Sie auf einer beliebigen Seite auf GitHub oben rechts auf Ihr Profilfoto und dann auf Einstellungen.
  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 Organisation

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

Viewing budgets

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

  1. Wähle in der rechten oberen Ecke auf GitHub dein Profilfoto aus, und klicke dann auf Your organizations.

  2. Klicke neben der Organisation auf Einstellungen.

  3. Klicke auf der linken Seite der Seite in der Randleiste der Organisation auf Billing & Licensing.

  4. Click Budgets and alerts.

Creating a budget

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

  1. Wähle in der rechten oberen Ecke auf GitHub dein Profilfoto aus, und klicke dann auf Your organizations.

  2. Klicke neben der Organisation auf Einstellungen.

  3. Klicke auf der linken Seite der Seite in der Randleiste der Organisation auf 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. Wähle in der rechten oberen Ecke auf GitHub dein Profilfoto aus, und klicke dann auf Your organizations.

  2. Klicke neben der Organisation auf Einstellungen.

  3. Klicke auf der linken Seite der Seite in der Randleiste der Organisation auf 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.