Note: You must set a spending limit before you can use Codespaces.
By default, your organization or enterprise will have a GitHub Codespaces spending limit of $0, which prevents new codespaces from being created or existing codespaces from being opened. To allow your users to create codespaces in your organization, set the limit to a value higher than $0.
Overages are always billed monthly regardless of your billing term (even if your account is otherwise billed annually).
Once you've reached your spending limit, your organization or repository will no longer be able to create new codespaces, and won't be able to start existing codespaces. Any existing codespaces that are still running will not be shutdown; if you don't change the spending limit, you will not be charged for the amount that exceeds the limit.
For more information about pricing for Codespaces usage, see "About billing for GitHub Codespaces."
Organizations owners and billing managers can manage the spending limit for Codespaces for an organization.
In the upper-right corner of any page, click your profile photo, then click Settings.
In the "Access" section of the sidebar, click Organizations.
Next to the organization, click Settings.
If you are an organization owner, in the "Access" section of the sidebar, click Billing and plans.
At the top of the page, under "Payment information", click Manage spending limit.
Under "Monthly spending limit", scroll down to "Codespaces" and choose to limit spending or allow unlimited spending.
If you chose to limit spending, under "Limit spending", type a limit, then click Update limit.
If you hit a spending limit, you will no longer be able to create or resume your codespaces. You can still export any work in progress changes to a new branch.
Email notifications are sent to account owners and billing managers when spending reaches 50%, 75%, 90%, and 100% of your account's spending limit.
You can disable these notifications anytime by navigating to the bottom of the Spending Limit page.