GitHub Actions billing - GitHub Docs (original) (raw)

Learn how usage of GitHub Actions is measured against your free allowance and how to pay for additional use.

How use of GitHub Actions is measured

GitHub Actions usage is free for self-hosted runners and for public repositories that use standard GitHub-hosted runners. See Choosing the runner for a job.

For private repositories, each GitHub account receives a quota of free minutes, artifact storage, and cache storage for use with GitHub-hosted runners, depending on the account's plan. Any usage beyond the included amounts is billed to your account. Minutes reset every month, while artifact and cache storage usage do not.

Tip

Anyone with write access to a repository can run actions without using minutes for their personal account.

Examples of how usage is measured

Free use of GitHub Actions

The following amounts of time for standard runners, artifact storage, and cache storage are included in your GitHub plan. At the start of each month, the minutes used by the account are reset to zero.

Plan Artifact storage Minutes (per month) Cache storage
GitHub Free 500 MB 2,000 10 GB
GitHub Pro 1 GB 3,000 10 GB
GitHub Free for organizations 500 MB 2,000 10 GB
GitHub Team 2 GB 3,000 10 GB
GitHub Enterprise Cloud 50 GB 50,000 10 GB

Note

Included minutes cannot be used for larger runners. These runners will always be charged for, even when used by public repositories.

The use of standard GitHub-hosted runners is free:

Using more than your included quota

If your account does not have a valid payment method on file, usage is blocked once you use up your quota.

Paying for additional GitHub Actions use

You pay for any additional use above your quota using the payment method set up for your GitHub account. See Managing your payment and billing information.

Storage is billed based on hourly usage of artifacts and caches throughout the month. Minutes are calculated based on the total processing time used on each runner type during the month.

Note

The billing dashboard may show your Actions usage as a dollar amount ("spend") rather than raw minutes. This amount already reflects any applicable minute multipliers.

Minute multipliers

Each type of runner has a minute multiplier that is determined by the operating system and processing power. For example, jobs that run on Windows and macOS runners hosted by GitHub consume minutes at 2 and 10 times the rate that jobs on Linux runners consume.

Operating system Minute multiplier
Linux 1
Windows 2
macOS 10

For full details of minute multipliers for GitHub-hosted runners, see Actions runner pricing.

Example minutes cost calculation

For example, if your organization uses GitHub Team, using 5,000 minutes beyond the included quota would have a total actions minutes cost of $56 USD, with the use of both Linux and Windows runners.

This example assumes that the baseline runner was used for each operating system.

Example artifact storage cost calculation

If you use 3 GB of artifact storage for 10 days of March and 12 GB for 21 days of March, your artifact storage usage would be:

At the end of the month, GitHub rounds your artifact storage to the nearest MB. Therefore, your artifact storage usage for March would be 9.097 GB.

Note

GitHub updates your artifact storage space within a 6 to 12-hour window. If you delete artifacts, the available space will be reflected in your account during the next scheduled update.

Example cache storage cost calculation

If you use 3 GB of cache storage for 10 days of March and 12 GB for 21 days of March, your cache storage usage would be:

Usage (GBs) Billable (GB-Hours) Non billable (GB-Hours)
3 GB for the first 10 days 0 GB-Hours 720 GB-Hours
12 GB for the next 21 days 2*21 days*24 hours = 1008 GB-Hours 10*21 days*24 hours=5040 GB-Hours

For cached storage, billing charts and reports show only the cost of usage beyond the included 10 GB. At the end of the month, the Actions Cache Storage SKU would show a use of 1008 GB-Hours.

Managing your budget for GitHub Actions

If your account does not have a valid payment method on file, usage is blocked once you use up your quota.

If you have a valid payment method on file, spending may be limited by one or more budgets. Check the budgets set for your account to ensure they are appropriate for your usage needs. See Setting up budgets to control spending on metered products.

Accounts that have migrated from the old billing platform may contain automatically generated budgets that mirror their previous spending limits.

Further reading