Skip to main content

Preventing overspending

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

Qui peut utiliser cette fonctionnalité ?

Propriétaires d’organisations, responsables de la facturation et utilisateurs de comptes personnels

En dehors de GitHub Enterprise Cloud, la nouvelle plateforme de facturation n’est disponible que pour :

  • Les comptes d’organisation sur un plan GitHub Team créé après le 13 novembre 2024.
  • Les comptes d’organisation sur un plan GitHub Free créé après le 4 février 2025.
  • Comptes personnels (sur GitHub Free ou GitHub Pro) créés après le 13 février 2025.

À compter de février 2025, GitHub migre les organisations sur GitHub Team vers la nouvelle plateforme de facturation. Les organisations recevront un avis de 30 jours avant leur migration.

Pour les comptes personnels existants créés avant le 13 février 2025, GitHub migrera les comptes personnels vers la nouvelle plateforme de facturation d’ici le 30 juin 2025.

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. Dans le coin supérieur droit de n’importe quelle page sur GitHub, cliquez sur votre photo de profil, puis sur Paramètres .
  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. Dans le coin supérieur droit de GitHub, sélectionnez votre photo de profil, puis cliquez sur Vos organisations.

  2. En regard de l’organisation, cliquez sur Paramètres.

  3. Sur le côté gauche de la page, dans la barre latérale de l’organisation, cliquez sur Facturation et gestion des licences.

  4. Click Budgets and alerts.

Creating a budget

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

  1. Dans le coin supérieur droit de GitHub, sélectionnez votre photo de profil, puis cliquez sur Vos organisations.

  2. En regard de l’organisation, cliquez sur Paramètres.

  3. Sur le côté gauche de la page, dans la barre latérale de l’organisation, cliquez sur Facturation et gestion des licences.

  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. Dans le coin supérieur droit de GitHub, sélectionnez votre photo de profil, puis cliquez sur Vos organisations.

  2. En regard de l’organisation, cliquez sur Paramètres.

  3. Sur le côté gauche de la page, dans la barre latérale de l’organisation, cliquez sur Facturation et gestion des licences.

  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.