Skip to content

GitHub Packages pricing for npm packages

GitHub Packages includes some storage and transfer in each plan and bills the rest per GB. This guide explains what counts, what is free and what a month can cost.

Overview

This guide explains how GitHub bills GitHub Packages for private npm packages. It is for teams that publish packages from GitHub repositories and want to know what a month will cost before the invoice arrives.

GitHub Packages is free for public packages, and uploads are always free. For private packages, each GitHub plan includes some storage and some data transfer. GitHub bills the usage above that amount per GB. The figures below come from GitHub Packages billing, the GitHub pricing calculator and the GitHub plans page, read on 19 November 2026.

What each plan includes

PlanPlan priceIncluded storageIncluded transfer each month
Free (personal account or organization)$0500 MB1 GB
Pro (personal account)Paid personal plan2 GB10 GB
Team$4 a user a month2 GB10 GB
Enterprise Cloud$21 a user a month50 GB100 GB

The included storage is shared with GitHub Actions artifacts. Workflow artifacts and packages use the same allowance.

How GitHub measures usage

  • Storage: the size of every package version that you keep in a private repository. GitHub measures it each hour and bills the average for the month in GB-months. A new version does not replace the old one; both count until you delete the old version.
  • Data transfer: each download of a private package counts against the repository owner, whoever downloads it. GitHub rounds the month's transfer to the nearest GB.
  • Uploads: data transferred into GitHub is free, so publishing costs nothing beyond the storage.

Downloads from GitHub Actions

A workflow that signs in with GITHUB_TOKEN downloads packages without using the transfer allowance, on GitHub-hosted and self-hosted runners. A workflow that signs in with a personal access token is free on GitHub-hosted runners and billed on self-hosted runners.

This rule matters most for CI. A team that installs its packages only in GitHub Actions with GITHUB_TOKEN pays for storage, not for downloads. Installs on laptops, in other CI systems and at customers count as transfer.

Prices above the included amount

UsagePrice
Additional storage$0.25 a GB a month
Additional data transfer, outside GitHub Actions$0.50 a GB

If the account has no payment method, GitHub blocks usage when the included amount is used up. With a payment method, budgets on the account can limit the spend. GitHub can email you at 90% and 100% of the included usage.

Example months on the Team plan

These examples price only the package usage above the Team allowance. Add $4 for each user of the organization. The PrivateNPM column shows the lowest published plan that fits the same storage with 5 seats and 20 packages. Its overage is limited by the default spend cap of one monthly plan price.

MonthGitHub Packages usage chargePrivateNPM
1 GB stored, 8 GB downloaded by developers$0$29 on Growth
10 GB stored, 100 GB downloaded only by GitHub Actions with GITHUB_TOKEN$2$29 on Growth
10 GB stored, 100 GB downloaded by developers and another CI system$47$29 on Growth
50 GB stored, 1,000 GB downloaded by customers$507$58 on Growth

NOTE: When most downloads come from GitHub Actions with GITHUB_TOKEN, GitHub Packages is usually the less expensive choice. The difference grows in the other direction when people and systems outside GitHub Actions install the packages.

Installs outside your organization

GitHub requires an access token to install a package from its npm registry, even a public one. For a private package, the token must be a personal access token (classic) with the read:packages scope, and its GitHub account must have read access to the package.

For a customer or partner, each installing person or system needs a GitHub account that you give access to, and every download counts as transfer. If you sell or deliver packages to customers, compare a registry with separate read-only download keys for each recipient. The GitHub Packages comparison explains the two access models.

Keep the bill low

  • Install with GITHUB_TOKEN in GitHub Actions instead of a personal access token.
  • Cache ~/.npm in other CI systems so that each job does not download every tarball again.
  • Delete prerelease and test versions that nobody installs, because each version counts as storage every hour.
  • Delete old workflow artifacts, which share the same storage allowance.
  • Set a budget and the usage alerts before a customer rollout.

READY WHEN YOU ARE

Put private packages to work.