Skip to main content

Git Large File Storage billing

Learn about billing for Git Large File Storage using the new billing platform.

谁可以使用此功能?

在 GitHub Enterprise Cloud 之外,新的计费平台可用于:

  • 在 2025 年 2 月 4 日之后创建的 GitHub Free 计划中的组织帐户。
  • 2025 年 2 月 13 日之后创建的 GitHub Free 或 GitHub Pro 中的个人帐户。

对于在 2025 年 2 月 13 日之前创建的现有个人帐户,GitHub 将在 2025 年 6 月 30 日结束前将个人帐户迁移到新的计费平台。

About billing for Git Large File Storage

注意

您必须单独管理每个帐户的计费设置和付款功能。 您可以使用每个设置页面上的上下文切换器在个人帐户、组织帐户和企业帐户的设置之间切换。 请参阅“How GitHub billing works”。

Each GitHub account receives a certain amount of free bandwidth and storage for Git LFS, depending on the account's plan. Bandwidth is billed for each GiB of data downloaded. Storage is billed by calculating an hourly usage rate. To estimate costs for paid Git LFS usage, you can use the GitHub pricing calculator.

带宽和存储用量仅计入仓库所有者的帐户。 在复刻中,带宽和存储的使用根据仓库网络根计数。 任何对仓库具有写入权限的用户均可向 Git LFS 推送文件,而不会影响其个人带宽和存储配额。 复刻和拉取仓库根据父仓库的带宽使用量计数。

Included bandwidth and storage (per month)

The following amounts of bandwidth and storage are included for free with your GitHub account.

PlanBandwidthStorage
GitHub Free10 GiB10 GiB
GitHub Pro10 GiB10 GiB
GitHub Free for organizations10 GiB10 GiB
GitHub Team250 GiB250 GiB
GitHub Enterprise Cloud250 GiB250 GiB

Pricing for paid usage

If you use more than the included amount of bandwidth or storage for your plan throughout the month, you can still use Git LFS. GitHub bills for additional GiBs of data at the rates below.

ProductPrice per-GiB (USD)
Bandwidth$0.0875
Storage$0.07

To view your current storage and bandwidth, see Viewing your usage of metered products.

Sample storage cost calculation

For example, if you use 1 GiB above what is included for free for the first 15 days of April, then use 2 GiB starting from April 16th to the end of the month, your storage costs will be calculated in the following way.

  • 1 GiB × 15 days × 24 hours per day = 360 GiB-hours
  • 2 GiB × 15 days × 24 hours per day = 720 GiB-hours
  • 360 GiB-hours + 720 GiB-hours = 1080 GiB-hours
  • 1080 GiB-hours / 720 hours in the month = 1.5 GiB-months

In this example, GitHub would bill for 1.5 GiB of storage for the month of April.

Managing your budget for Git Large File Storage

如果你的帐户未添加有效的付款方式,则配额用尽后将无法继续使用服务。

默认情况下,即使已添加有效付款方式,支出额度仍为 0 美元,除非你设置了预算。 你可通过设置并管理预算,来限制特定产品或 SKU 的支出额度。 请参阅“Setting up budgets to control spending on metered products”。

Further reading