GitHub budgets
GitHub budgets that stop usage when the limit is reached
As of November 2026, GitHub's "Stop usage when budget limit is reached" checkbox is what turns a billing budget into a hard cap. Leave it unticked and you just have a soft budget that emails you at 75%, 90% and 100% while the meter keeps running.
Tick it, and GitHub cuts off metered products like Actions, Copilot AI credits and cloud sandboxes once you hit the limit. It won't touch license-based charges though, and there are a few edge cases where a bill still slips past your cap.
What Stop usage actually stops
GitHub splits billing into metered usage and license-based products, and Stop usage only works on the metered side (plus SKU-level budgets for Advanced Security). If you're paying for Copilot seats, GitHub Team or GitHub Enterprise, ticking that box does nothing to stop billing - you only ever get alerts on those.
| GitHub product | Can a budget stop it at the limit? | Notes |
|---|---|---|
| GitHub Actions | Yes, with Stop usage ticked | A hard organization budget blocks all GitHub-hosted runners |
| Copilot AI credits | Yes | User-level budgets always hard stop; spending limits need Stop usage |
| Cloud sandboxes | Yes | Metered, can be stopped |
| Advanced Security | Yes, on SKU-level budgets | SKU-level budgets can stop usage |
| Copilot seats, GitHub Team, GitHub Enterprise | No | Alerts only, whatever you tick |
Budget types, scopes and alerts
GitHub gives you product-level budgets (covering one product, like Codespaces), SKU-level budgets, and bundled AI credits, which caps total overage across every SKU that uses AI credits.
Scopes depend on how your account is set up. You can attach a budget to a personal account or one of its repositories, an organization or one of its repositories, or at the enterprise level to an enterprise, organization, repository or cost center. User-level budgets exist too, but only for Copilot AI credits. Pick the scope carefully because you can't change it after a budget is created.
Budget alerts go out at 75%, 90% and 100% by email and banner to owners, billing managers and any extra recipients you add. Those are separate from included usage alerts, which fire at 90% and 100% of your plan's free allowance with or without a budget. And if you rely on user-level budgets for Copilot, GitHub itself says those alerts shouldn't be your only signal. The full breakdown is in Budgets and alerts - GitHub Docs.
Gotchas that still let a bill run past your limit
Even with Stop usage ticked, you can still get burned. A new budget only counts usage from the day you create it, so month one can overshoot your limit if you already have usage in that cycle.
Usage also counts toward every matching budget at the same time, and any exhausted hard budget blocks the work. A hard organization Actions budget blocks all GitHub-hosted runners until the next cycle or until you raise it, even if a bigger SKU-level budget still has room. That's a rough surprise when the whole org loses runners (see How do I stop GitHub Actions from billing past my budget? for the details).
Copilot has its own quirk. Copilot spending limits only notify you unless Stop usage is ticked, whereas Copilot user-level budgets always hard stop. If a Copilot bill ran past your limit, check which of the two you set up, and see Unexpected GitHub Copilot bill: premium requests and AI credits.
Setting up a hard budget
In the UI, it's quick:
- Open Billing & Licensing (github.com/settings/billing for a personal account).
- Click Budgets and alerts, then New budget.
- Pick the type and scope, set the amount, tick Stop usage and choose your alert recipients.
Since June 2026 you can also create, update and delete budgets via the REST API. See Setting up budgets to control spending on metered products - GitHub Docs for the walkthrough.
Catching runaway spend before GitHub does
GitHub's own alerts don't nudge you until 75%. We built Costbrake for GitHub to give you early warning and a way to pull the plug while it's happening. Costbrake watches cloud, AI and SaaS spend across AWS, Google Cloud, Azure, Cloudflare, GitHub, Vercel, OpenAI, Anthropic and more, alerting on spikes, budget thresholds, month-end forecasts and new charges.
For GitHub, it reads GitHub's billing usage report plus running Actions jobs priced at list rates, so a runaway workflow shows up while it's still running. Checks run every 5 minutes on Pro and Team, hourly on Free. You get budget alerts at 50%, 80% and 100% by default, a spike alert when an hour costs more than 3x the usual hour and at least $5 more, and a forecast alert when month-to-date spend plus the pace of the last 72 hours would pass your budget by month-end. Alerts go to email on every plan; Slack, Discord and signed webhooks on Pro; PagerDuty on Team.
Pro and Team also include one-click brakes to disable a runaway workflow and cancel its queued and running runs, or set the organization's Actions budget to $0 with Stop usage on (every brake records the prior state and has an undo). Flat price: Free is $0, Pro is $12 a month, Team is $39 a month, and every workspace starts with a 14-day Pro trial with no card needed - check Costbrake pricing. Setup is one prompt pasted into Claude Code, Codex CLI, Cursor or Gemini CLI on agent setup, or read GitHub usage monitoring with alerts and automatic shutdown for more.
Questions and answers
Does Stop usage work on Copilot seats or GitHub Team?
No. License-based products like Copilot seats, GitHub Team and GitHub Enterprise only get alerts whatever you tick.
Why did my bill go past my budget in month one?
A new budget only counts usage from the day it's created. Earlier usage in that billing cycle isn't included, so month one can overshoot even with Stop usage turned on.
Can I change a budget's scope after creating it?
No, a budget's scope can't be changed once it's created. You have to set up a new budget with the scope you want.
How are Copilot spending limits different from user-level budgets?
Copilot spending limits only notify you unless Stop usage is ticked. Copilot user-level budgets always hard stop, though GitHub says those alerts shouldn't be your only signal.
Sources
- Setting up budgets to control spending on metered products - GitHub Docs
- Budgets and alerts - GitHub Docs
- Usage-based billing for organizations and enterprises - GitHub Docs
- Start monitoring costs with soft budgets - GitHub Docs
- Email notifications for included usage thresholds - GitHub Changelog
- Budget and usage management APIs now generally available - GitHub Changelog
- Getting started with budget controls - GitHub Docs
- Updates to GitHub Copilot billing and plans - GitHub Changelog
Updated