Skip to main content

GitHub Packages billing

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

Wer kann dieses Feature verwenden?

GitHub Packages ist verfügbar mit GitHub Free, GitHub Pro, GitHub Free für Organisationen, GitHub Team, GitHub Enterprise Cloud und GitHub Enterprise Server 3.0 oder höher.
GitHub Packages ist nicht verfügbar für private Repositorys im Besitz von Konten mit älteren Pro-Repository-Plänen. Außerdem können Konten, die ältere Pläne pro Repository verwenden, nicht auf Registrierungen zugreifen, die granulare Berechtigungen unterstützen, da diese Konten nach Repository abgerechnet werden. Enterprise Managed Users verfügen nicht über eine einzelne Speicherzuweisung, um Pakete im Namespace ihres Kontos zu veröffentlichen, können aber im Namespace einer Organisation veröffentlicht werden. Weitere Informationen zu Enterprise Managed Users findest du unterInformationen zu Enterprise Managed Users. Die Liste der Registrierungen, die granulare Berechtigungen unterstützen, findest du unter Informationen zu Berechtigungen für GitHub-Pakete. Weitere Informationen findest du unter GitHub-Pläne.

About billing for GitHub Packages

Beachten Sie, dass GitHub eine vorübergehende Autorisierungssperre für den Wert der verbrauchsabhängigen Kosten im Voraus anwenden kann, die als ausstehende Belastung in der Zahlungsmethode Ihres Kontos erscheint.

Die GitHub Packages-Nutzung ist für öffentliche Pakete kostenlos. Bei privaten Paketen erhält jedes Konto auf GitHub abhängig vom Kontoplan ein kostenloses Kontingent für Speicher und Datenübertragung. Jede Nutzung, die über die enthaltenen Kontingente hinausgeht, wird durch Budgets gesteuert.

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 Connecting an Azure subscription.

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 GitHub Actions billing.

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.

Um die Kosten für verbrauchende Dienste zu schätzen, kannst du den GitHub-Preisrechner verwenden.

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. Informationen zum Anzeigen aller Abonnements für dein Konto auf GitHub findest du unter Billing cycles.

Du musst Abrechnungseinstellungen und kostenpflichtige Features für jedes deiner Konten separat verwalten. Du kannst mit dem Kontextumschalter, der sich auf jeder Einstellungsseite befindet, zwischen den Einstellungen für dein persönliches Konto, deine Organisationskonten und deine Unternehmenskonten wechseln. Weitere Informationen findest du unter How GitHub billing works.

Managing your budget for GitHub Packages

Wenn für dein Konto keine gültige Zahlungsmethode hinterlegt ist, wird die Nutzung blockiert, sobald du dein Kontingent aufgebraucht hast.

Wenn du eine gültige Zahlungsmethode hinterlegt hast, sind die Ausgaben standardmäßig auf 0 USD begrenzt, bis du ein Budget festlegst. Du kannst ein Budget festlegen und verwalten, um die Ausgaben für ein Produkt oder eine SKU zu begrenzen. Weitere Informationen findest du unter Setting up budgets to control spending on metered products.