Skip to main content

About billing for GitHub Packages

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

この機能を使用できるユーザーについて

GitHub Packages は、GitHub Free、GitHub Pro、organization 用 GitHub Free、GitHub Team、GitHub Enterprise Cloud、GitHub Enterprise Server 3.0 以降で利用できます。
GitHub Packagesは、レガシーのリポジトリごとのプランを使っているアカウントが所有しているプライベートリポジトリでは利用できません。 また、従来のリポジトリごとのプランを使用しているアカウントは、詳細なアクセス許可をサポートするレジストリにアクセスできません。これらのアカウントはリポジトリによって課金されるためです。Enterprise Managed Users には、アカウントの名前空間内でパッケージを発行するための個別のストレージ割り当てはありませんが、organizationの名前空間に発行できます。 Enterprise Managed Users の詳細については、「Enterprise Managed Users について」を参照してください。詳細なアクセス許可をサポートするレジストリの一覧については、「GitHub Packagesの権限について」を参照してください。 詳細については、「GitHub のプラン」を参照してください。

About billing for GitHub Packages

注記: GitHub では、前もって利用ベースのコスト値に対して一時的に承認が保留となることがあります。これは、アカウントの支払方法に保留中の請求として表示されます。

GitHub Packagesの利用は、パブリックパッケージについては無料です。 プライベート パッケージについては、GitHub の各アカウントは、一定量の無料のストレージとデータ転送を、そのアカウントのプランに応じて受け取ります。 含まれる量を超える使用は、使用制限によって制御されます。

If you are an organization or enterprise owner, you can connect an Azure Subscription ID to your organization or enterprise account to enable and pay for GitHub Packages usage beyond the amounts included with your account. For more information, see Azure サブスクリプションを接続する.

Data transfer resets every month, while storage usage does not.

PlanStorageData transfer (per month)
GitHub Free500MB1GB
GitHub Pro2GB10GB
GitHub Free for organizations500MB1GB
GitHub Team2GB10GB
GitHub Enterprise Cloud50GB100GB

All data transferred out, when triggered by GitHub Actions, and data transferred in from any source is free. We determine you are downloading packages using GitHub Actions when you log in to GitHub Packages using a GITHUB_TOKEN.

HostedSelf-Hosted
Access using a GITHUB_TOKENFreeFree
Access using a personal access tokenFreePaid

Storage usage is shared with build artifacts produced by GitHub Actions for repositories owned by your account. For more information, see About billing for GitHub Actions.

GitHub charges usage to the account that owns the repository where the package is published. If your account's usage surpasses these limits and you have a valid payment method on file, you will pay $0.008 USD per GB of storage per day and $0.50 USD per GB of data transfer.

For example, if your organization uses GitHub Team, allows unlimited spending, uses 150GB of storage, and has 50GB of data transfer out during a month, the organization would use 148GB for storage and 40GB for data transfer for that month beyond their included quota. The additional storage would cost $0.008 USD per GB per day or approximately $37 USD for a 31-day month. The additional data transfer would cost $0.50 USD per GB or $20 USD.

消費型サービスのコストを見積もるために、GitHub 料金計算ツールを使用できます。

At the end of the month, GitHub rounds your data transfer to the nearest GB.

GitHub calculates your storage usage for each month based on hourly usage per GB during that month. 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 total 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.

You can also use this calculation in the middle of a billing cycle, to estimate what your total usage might be for the month. For example, if you have an organization that uses GitHub Team, which provides 2 GB of free storage, and you use 0 GB for the first 5 days of April, 1.5 GB for the following 10 days, and you plan to use 3 GB for the last 15 days of the billing cycle, your projected storage usage for the month would be:

  • 0 GB x 5 days x (24 hours per day) = 0 GB-Hours
  • 0.5 GB x 10 days x (24 hours per day) = 120 GB-Hours
  • 3 GB x 15 days x (24 hours per day) = 1080 GB-Hours
  • 0 GB-Hours + 120 GB-Hours + 1080 GB-Hours = 1200 total GB-Hours
  • 1200 GB-Hours / (744 hours per month) = 1.6 GB-Months

The projected 1.6 GB of storage usage for the month would not exceed your 2 GB limit, even though your actual storage amount briefly exceeded 2 GB.

Your GitHub Packages usage shares your account's existing billing date, payment method, and receipt. GitHub でアカウントのすべてのサブスクリプションを表示するには、「支払いサイクルについて」を参照してください。

支払い設定と有料の機能は、アカウントごとに個別に管理しなければなりません。 個人アカウント、Organizationアカウント、Enterpriseアカウントの設定は、各設定ページのコンテキストスイッチャを使って切り替えできます。 「GitHub の支払いについて」をご覧ください。

Managing your budget for GitHub Packages

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.