Skip to main content

About billing for GitHub Actions

If you want to use GitHub Actions beyond the storage or minutes included in your account, you will be billed for additional usage.

About billing for GitHub Actions

Обратите внимание, что GitHub может применить временное удержание авторизации для стоимости затрат на основе использования заранее, которое будет отображаться как ожидающая плата в методе оплаты вашей учетной записи.

GitHub Actions предоставляются бесплатно для стандартных средств выполнения, размещенных на GitHub в общедоступных репозиториях, и для локальных средств выполнения. См . раздел AUTOTITLE. Для частных репозиториев каждая учетная запись GitHub получает определенное количество бесплатных минут и хранилище для использования с GitHubразмещенными в зависимости от плана учетной записи. Использование с превышением предусмотренных объемов регулируется предельными суммами расходов.

If you are an organization owner or enterprise owner, you can connect an Azure Subscription ID to your organization or enterprise account to enable and pay for GitHub Actions usage beyond the amounts included with your account. For more information, see Подключение подписки Azure.

Minutes reset every month, while storage usage does not.

Included storage and minutes

Примечание.

  • Included minutes cannot be used for larger runners. These runners will always be charged for, including in public repositories. For more information, see Per-minute rates.
  • Logs and job summaries do not count towards storage usage.
PlanStorageMinutes (per month)
GitHub Free500 MB2,000
GitHub Pro1 GB3,000
GitHub Free for organizations500 MB2,000
GitHub Team2 GB3,000
GitHub Enterprise Cloud50 GB50,000

If your account's storage surpasses these limits and you have a valid payment method on file, you will pay $0.008 USD per GB of storage per day.

Minute multipliers

Jobs that run on Windows and macOS runners that GitHub hosts consume minutes at 2 and 10 times the rate that jobs on Linux runners consume.

Operating systemMinute multiplier
Linux1
Windows2
macOS10

Примечание.

The billing dashboard may show your Actions usage as a dollar amount ("spend") rather than raw minutes. This amount already reflects the minute multipliers above. If you're using macOS or Windows runners, you will use up your included minutes more quickly

Per-minute rates

GitHub rounds the minutes and partial minutes each job uses up to the nearest whole minute.

Per-minute rates for standard runners

Operating systemPer-minute rate (USD)
Linux 2-core$0.008
Windows 2-core$0.016
macOS 3-core or 4-core (M1 or Intel)$0.08

Per-minute rates for x64-powered более крупные бегуны

Operating systemPer-minute rate (USD)
Linux Advanced 2-core$0.008
Linux 4-core$0.016
Linux 8-core$0.032
Linux 16-core$0.064
Linux 32-core$0.128
Linux 64-core$0.256
Linux 96-core$0.384
Windows 4-core$0.032
Windows 8-core$0.064
Windows 16-core$0.128
Windows 32-core$0.256
Windows 64-core$0.512
Windows 96-core$0.768
macOS 12-core$0.12

Per-minute rates for arm64-powered более крупные бегуны

Operating systemPer-minute rate (USD)
Linux 2-core$0.005
Linux 4-core$0.01
Linux 8-core$0.02
Linux 16-core$0.04
Linux 32-core$0.08
Linux 64-core$0.16
Windows 2-core$0.01
Windows 4-core$0.02
Windows 8-core$0.04
Windows 16-core$0.08
Windows 32-core$0.16
Windows 64-core$0.32
macOS 6-core (M1)$0.16

Per-minute rates for GPU-powered более крупные бегуны

Operating systemPer-minute rate (USD)
Linux 4-core$0.07
Windows 4-core$0.14

Points to note about rates for runners

  • The number of jobs you can run concurrently across all repositories in your user or organization account depends on your GitHub plan. For more information, see Ограничения использования, выставление счетов и администрирование for GitHub-hosted runners and Ограничения использования для локальных средств выполнения for self-hosted runner usage limits.
  • Необходимо управлять параметрами выставления счетов и платными функциями для каждой учетной записи отдельно. Можно переключаться между параметрами для личной учетной записи, учетных записей организации и корпоративных учетных записей с помощью переключателя контекста на каждой странице параметров. См . раздел AUTOTITLE.
  • Более крупный бегунs доступны только для организаций и предприятий с помощью планов GitHub Team или GitHub Enterprise Cloud.
  • Более крупный бегунs выставляются только по минутной ставке за время выполнения рабочих процессов. Нет затрат, связанных с созданием крупное средство выполнения, которые не используются рабочим процессом.
  • For крупное средство выполненияs, there is no additional cost for configurations that assign public static IP addresses to a крупное средство выполнения. For more information on крупное средство выполненияs, see О более крупных бегунах.
  • Included minutes cannot be used for крупное средство выполненияs.
  • The крупное средство выполненияs are not free for public repositories.

Calculating minute and storage spending

Чтобы рассчитать приблизительные затраты на потребительские службы, можно использовать калькулятор цен в GitHub.

At the end of the month, GitHub calculates the cost of minutes and storage used over the amount included in your account.

Sample minutes cost calculation

For example, if your organization uses GitHub Team and allows unlimited spending, using 5,000 minutes beyond the included quota could have a total storage and minute cost of $56 USD, depending on the operating systems used to run jobs.

  • 5,000 (3,000 Linux and 2,000 Windows) minutes = $56 USD ($24 USD + $32 USD).
    • 3,000 Linux minutes at $0.008 USD per minute = $24 USD.
    • 2,000 Windows minutes at $0.016 USD per minute = $32 USD.

GitHub calculates your storage usage for each month based on hourly usage during that month.

Sample storage cost calculation

Примечание.

GitHub updates your 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.

For example, if you use 3 GB of storage for 10 days of March and 12 GB for 21 days of March, your storage usage would be:

  • 3 GB x 10 days x (24 hours per day) = 720 GB-Hours
  • 12 GB x 21 days x (24 hours per day) = 6,048 GB-Hours
  • 720 GB-Hours + 6,048 GB-Hours = 6,768 GB-Hours
  • 6,768 GB-Hours / (744 hours per month) = 9.0967 GB-Months

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

Your GitHub Actions usage shares your account's existing billing date, payment method, and receipt. Чтобы просмотреть все подписки для учетной записи на GitHub, см. раздел О период выставления счетов.

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.

By default, if you have a valid payment method on file, spending is limited to $0 USD until you set a budget. You can set and manage a budget to limit spending for a product or SKU. See Using budgets to control spending on metered products.