1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Files
docs/content/billing/managing-billing-for-github-codespaces/managing-the-spending-limit-for-github-codespaces.md
hubwriter 552af80873 Update billing documentation for "Codespaces for all" (#32099)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Jules <19994093+jules-p@users.noreply.github.com>
Co-authored-by: Craig Peters <craiglpeters@github.com>
2022-11-04 15:24:36 +00:00

4.9 KiB

title, intro, shortTitle, versions, type, topics, redirect_from
title intro shortTitle versions type topics redirect_from
Managing the spending limit for GitHub Codespaces You can set a spending limit for {% data variables.product.prodname_github_codespaces %} usage. Spending limit
fpt ghec
* *
how_to
Codespaces
Enterprise
Organizations
Spending limits
User account
Billing
/billing/managing-billing-for-github-codespaces/managing-spending-limits-for-codespaces
/billing/managing-billing-for-github-codespaces/managing-spending-limits-for-github-codespaces

About the {% data variables.product.prodname_github_codespaces %} spending limit

{% data reusables.codespaces.codespaces-free-for-personal-intro %} For more information, see "About billing for {% data variables.product.prodname_github_codespaces %}."

{% data reusables.codespaces.codespaces-spending-limit-requirement %} {% data reusables.codespaces.codespaces-monthly-billing %}

Once you've reached your spending limit, you will no longer be able to create new codespaces, and you won't be able to start existing codespaces. Any existing codespaces that are still running will be shut down in a short time, but you will not be charged for usage after you have reached your spending limit.

{% ifversion ghec %}

Using your Azure Subscription

If you purchased {% data variables.product.prodname_enterprise %} through a Microsoft Enterprise Agreement, you can connect your Azure Subscription ID to your enterprise account to enable and pay for {% data variables.product.prodname_github_codespaces %} usage. For more information, see "Connecting an Azure subscription to your enterprise." {% endif %}

Managing the {% data variables.product.prodname_github_codespaces %} spending limit for your personal account

You can set a spending limit for {% data variables.product.prodname_github_codespaces %} for your own personal account.

{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.billing_plans %} {% data reusables.dotcom_billing.manage-spending-limit %} {% data reusables.codespaces.monthly-spending-limit-codespaces %} {% data reusables.dotcom_billing.update-spending-limit %}

Managing the {% data variables.product.prodname_github_codespaces %} spending limit for your organization account

Organizations owners and billing managers can manage the spending limit for {% data variables.product.prodname_github_codespaces %} for an organization.

{% note %}

Note: Organizations that are owned by an enterprise account cannot specify their own spending limit as this is specified in the enterprise settings.

{% endnote %}

{% data reusables.organizations.billing-settings %} {% data reusables.dotcom_billing.manage-spending-limit %} {% data reusables.codespaces.monthly-spending-limit-codespaces %} {% data reusables.dotcom_billing.update-spending-limit %}

{% ifversion ghec %}

Managing the {% data variables.product.prodname_github_codespaces %} spending limit for your enterprise account

Enterprise owners and billing managers can manage the spending limit for {% data variables.product.prodname_github_codespaces %} for an enterprise account.

{% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} {% data reusables.enterprise-accounts.billing-tab %}

  1. Click Spending Limit.

    Spending limit tab

{% data reusables.codespaces.monthly-spending-limit-codespaces %} {% data reusables.dotcom_billing.update-spending-limit %} {% endif %}

Exporting changes when you have reached your spending limit

{% data reusables.codespaces.exporting-changes %}

Managing usage and spending limit email notifications

Email notifications are sent to account owners and billing managers when spending reaches 75%, 90%, and 100% of an account's spending limit.

You can turn off these notifications at any time by navigating to the bottom of the "Billing & plans / Monthly spending limits" page and clearing the Spending limits alerts checkbox.

For personal accounts only, you can also choose to turn off email notifications that are sent when you have used 75%, 90%, and 100% of the free usage included with your personal account. To do this, clear the Included resources alerts checkbox.

Screenshot of the billing email notification settings

Further reading