Unexpected GitHub bill
Unexpected $1000 GitHub bill: find the charge and stop it
First, check if that $1000 charge is a real bill or just a temporary authorization hold from starting a trial, starting a subscription or raising a budget. If it's real, open Billing & Licensing on the right account, group the Usage view by product and repository, and kill what's running before you do anything else - macOS runners at $0.062 a minute (compared to $0.006 for 2-core Linux) or Copilot AI credits at $0.01 past the pool burn through money fast.
GitHub bills personal accounts, organizations and enterprises separately, and metered usage runs on the calendar month.
Rule out a card hold
Starting a subscription or trial, or bumping up a budget, can put a temporary hold on your card that looks just like a charge. Give it a second. If a hold lasts more than 10 business days, take it up with your bank.
Find what's burning money
Open Billing & Licensing on the account that owns the repo, go to the Usage view, and group it by product and repository. (Personal accounts also show a card with the top five repositories by usage.) Actions breaks down billable minutes per workflow run, and the AI usage view shows the heaviest Copilot users and models. See How GitHub billing works - GitHub Docs and GitHub Actions billing - GitHub Docs for the full metering rules.
Also check who has write access. Anyone with write access can trigger workflows that bill the repository owner.
| Charge | What drives it | Where to see it | How to stop it |
|---|---|---|---|
| Actions on private repos | Past included compute ($12/month Free, $18 Pro/Team), larger runners (always billed), macOS at $0.062/min vs $0.006 Linux 2-core | Usage view by product and repo; billable minutes per workflow run | Disable workflow, cancel running runs, set budget with Stop usage |
| Copilot AI credits | $0.01 per credit past the pool; paid usage is on by default for Business and Enterprise | AI usage view (heaviest users and models) | Turn off AI credits paid usage policy or set $0 user-level budget |
| Copilot code review | Uses Actions minutes on private repos | Usage view, under Actions | Set an Actions budget with Stop usage |
| Codespaces | No free quota for organizations; from $0.18 an hour | Usage view by product and repo | Set a budget with Stop usage |
| Storage | $0.25 per GB a month for artifacts and Packages | Usage view by product and repo | Delete old artifacts, which stops future hourly charges |
Stop it right now
Found the workflow? Disable it and cancel every running run, because disabling a workflow alone doesn't cancel runs already going. gh workflow disable works from the CLI, and How to stop a runaway GitHub Actions workflow walks through the whole thing.
Next, set a budget with Stop usage turned on. For Copilot, turn off the AI credits paid usage policy or set a $0 user-level budget - see Unexpected GitHub Copilot bill: premium requests and AI credits for the exact controls.
Talking to GitHub Support
Paid plans and Copilot Business or Enterprise can contact GitHub Support directly. Free accounts can still contact support about account, security and abuse issues.
Include URLs, repository names, usernames and screenshots with the full URL showing. And if a payment fails, paid features lock and GitHub doesn't charge you for the time locked.
Catch it in 5 minutes with Costbrake
A hard budget in GitHub is step one, then you want something watching the meter in real time. That's what Costbrake for GitHub does.
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 the billing usage report plus running Actions jobs priced at list rates, so a runaway workflow shows up while it's still running - every 5 minutes on Pro and Team, hourly on Free. Spike alerts fire when an hour costs over 3x the usual hour and at least $5 more, budget alerts default to 50%, 80% and 100%, and forecast alerts trigger when month-to-date spend plus the last 72 hours' pace 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 that disable a runaway workflow and cancel its queued and running runs, or set the organization's Actions budget to $0 with Stop usage on, with prior state saved and an undo. (More in GitHub usage monitoring with alerts and automatic shutdown.)
Flat pricing: Free is $0, Pro $12 a month, Team $39 a month (Costbrake pricing), with a 14-day Pro trial and no card needed. Setup is one prompt pasted into Claude Code, Codex CLI, Cursor or Gemini CLI via agent setup.
Questions and answers
Why is a Free GitHub account getting billed?
GitHub bills personal accounts, organizations and enterprises separately. With a payment method on file, private repo Actions usage past the $12 of included compute on Free gets billed, and larger runners always need a payment method. Without one, GitHub blocks Actions once the included compute is used up.
Does disabling a workflow stop runs that are already going?
No. Disabling via the UI or gh workflow disable only prevents new runs, so you still need to cancel any runs currently in progress.
Why did GitHub Copilot generate a surprise bill?
Paid usage for Copilot AI credits is on by default for Business and Enterprise at $0.01 per credit past the pool, and Copilot code review also uses Actions minutes on private repos. Turn off the paid usage policy or set a $0 user-level budget.
What happens if my card fails on a GitHub bill?
Paid features lock until the payment goes through. GitHub doesn't charge for the time locked.
Sources
- GitHub Actions billing - GitHub Docs
- How GitHub billing works - GitHub Docs
- Usage-based billing for organizations and enterprises - GitHub Docs
- Unlocking a locked account - GitHub Docs
- Viewing your usage of metered products and licenses - GitHub Docs
- Creating a support ticket - GitHub Docs
- Viewing and estimating your spending - GitHub Docs
- Setting up budgets to control spending on metered products - GitHub Docs
Updated