# GitHub的计划

GitHub 的定价计划概述。

## 关于 GitHub 的计划

GitHub 提供免费和付费计划，用于存储和协作处理代码。 某些计划仅可用于个人帐户，而其他计划仅可用于组织和企业帐户。 有关帐户的详细信息，请参阅“[GitHub 帐户的类型](/zh/get-started/learning-about-github/types-of-github-accounts)”。

请访问 [GitHub Pricing](https://github.com/pricing) 查看每个计划的费用和功能。 有关计划功能和产品的信息，请参阅 [GitHub public roadmap](https://github.com/github/roadmap#github-public-roadmap)。

阅读 GitHub Docs 时，请确保选择反映你的计划的版本。 有关详细信息，请参阅“[关于 GitHub Docs 的版本](/zh/get-started/using-github-docs/about-versions-of-github-docs)”。

## 个人帐户的 GitHub Free

通过个人帐户的 GitHub Free，可以在具有完整功能集的无限公共存储库和具有有限功能集的无限私有存储库上与无限的协作者合作。

使用 GitHub Free，你的个人帐户包括：

* GitHub Community Support
* Dependabot alerts
* 公共存储库的部署保护规则
* 双因素身份验证实施
* 500 MB GitHub Packages 存储空间
* 每月 120 GitHub Codespaces 个核心小时数
* 每月 15 GB GitHub Codespaces 存储空间
* GitHub Actions 功能：
  * 2,000 分钟/月
  * 公共存储库的部署保护规则
* 公共存储库中的GitHub页面

## GitHub Pro

除了 GitHub Free 为个人帐户提供的功能外，GitHub Pro 还包括：

* GitHub 支持 通过电子邮件
* 每月 3,000 GitHub Actions 分钟
* 2 GB GitHub Packages 存储空间
* 180 GitHub Codespaces 个核心小时数
* 每月 20 GB GitHub Codespaces 存储空间
* 私有仓库中的高级工具和洞察力：
  * 所需拉取请求审阅者数

  * 多个拉取请求审阅者

  * 受保护的分支

  * 代码所有者

  * 自动链接的参考

  * GitHub Pages

    > \[!NOTE]
    > 若要私密发布 GitHub Pages 站点，需要有一个组织帐户。 此外，组织必须使用 GitHub Enterprise Cloud。

  * 维基集

  * 仓库见解图：脉冲、贡献者、流量、提交、代码频率、网络和复刻

> \[!NOTE]
> 某些参与者、提交和代码频率见解仅适用于提交项少于 10,000 的仓库。

## 组织的 GitHub Free

通过组织的 GitHub Free，可与无限的协作者合作处理功能完全的无限公共仓库，或者是功能有限的无限私有仓库，

除了 GitHub Free 为个人帐户提供的功能之外，适用于组织的 GitHub Free 还包括：

* GitHub Community Support
* 用于管理组的团队访问控制
* 每月 2,000 GitHub Actions 分钟

## GitHub Team

除了可用于组织的 GitHub Free 的功能之外，GitHub Team 还包含：

* GitHub 支持 通过电子邮件

* 每月 3,000 GitHub Actions 分钟

* 2 GB GitHub Packages 存储空间

* 用于购买 GitHub Advanced Security 产品的选项：
  * GitHub Code Security
  * GitHub Secret Protection
  有关详细信息，请参阅 [关于GitHub高级安全性](/zh/get-started/learning-about-github/about-github-advanced-security)。

* 私有仓库中的高级工具和洞察力：
  * 所需拉取请求审阅者数

  * 多个拉取请求审阅者

  * 团队拉取请求审阅者

  * 受保护的分支

  * 代码所有者

  * 计划提醒

  * GitHub Pages

    > \[!NOTE]
    > 若要私密发布 GitHub Pages 站点，需要有一个组织帐户。 此外，组织必须使用 GitHub Enterprise Cloud。

  * Wikis

  * 安全概述

  * 存储库见解图：脉冲、参与者、流量、提交、代码频率、网络和分支

> \[!NOTE]
> 某些参与者、提交和代码频率见解仅适用于提交项少于 10,000 的仓库。

* 用于启用或禁用 GitHub Codespaces 的选项
  * 组织所有者可以选择为组织的专用存储库启用或禁用 GitHub Codespaces，并且可以为成员和协作者的使用情况付费。 有关详细信息，请参阅 [为组织启用或禁用 GitHub Codespaces](/zh/codespaces/managing-codespaces-for-your-organization/enabling-or-disabling-github-codespaces-for-your-organization) 和 [选择在您的组织中谁拥有和支付 Codespaces 的费用](/zh/codespaces/managing-codespaces-for-your-organization/choosing-who-owns-and-pays-for-codespaces-in-your-organization)。

GitHub 每用户的 GitHub Team 帐单。 有关详细信息，请参阅 Free、Pro 和团队文档中的[关于每用户定价](/zh/billing/managing-the-plan-for-your-github-account/about-per-user-pricing).

对于使用标准 GitHub Actions 托管运行程序的公共存储库来说，可以免费使用 GitHub。 请参阅“[选择作业的运行器](/zh/actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job#standard-github-hosted-runners-for-public-repositories)”。 对于专用存储库和内部存储库，每个 GitHub 帐户都会收到一个免费分钟和存储配额，供 GitHub 托管运行程序或自托管运行程序使用。 配额大小取决于帐户的套餐。 超出包含金额的任何使用量将计入你的帐户。

## GitHub Enterprise

GitHub Enterprise 包括两个部署选项：GitHub Enterprise Cloud 和 GitHub，前者由云中的 GitHub Enterprise Server 托管，后者为自托管。 有关详细信息，请参阅[关于适用于企业的 GitHub](/zh/enterprise-cloud@latest/admin/overview/about-github-for-enterprises) 在 GitHub Enterprise Cloud 文档中

除了 GitHub Team 的可用功能之外，GitHub Enterprise 还包括：

* GitHub Enterprise 支持
* 更多安全、合规和部署控件
* 通过 SAML 单一登录进行身份验证
* 使用 SAML 或 SCIM 进行访问权限预配
* 适用于专用或内部存储库的 GitHub Actions 部署保护规则
* GitHub Connect
* 其他功能，例如内部存储库和存储库规则。

GitHub Enterprise Cloud 具体包括：

* 每月 50,000 GitHub Actions 分钟
  * 包含的分钟数只能用于标准 GitHub 托管的运行程序。 有关 大型运行器 计费的详细信息，请参阅“[大型运行程序](/zh/enterprise-cloud@latest/actions/using-github-hosted-runners/about-larger-runners/about-larger-runners#understanding-billing)”。
* 50 GB GitHub Packages 存储空间
* 每月 99.9% 运行时间的服务级别协议
* 通过企业帐户集中管理多个 GitHub 组织的策略和帐单的选项。 有关详细信息，请参阅“[企业帐户](/zh/enterprise-cloud@latest/admin/managing-your-enterprise-account/about-enterprise-accounts)”。

  * 如果将现有组织升级到 GitHub Enterprise Cloud，则企业帐户将包含你的组织。 有关详细信息，请参阅[升级您的帐户套餐](/zh/enterprise-cloud@latest/billing/managing-the-plan-for-your-github-account/upgrading-your-accounts-plan#upgrading-your-organizations-plan)和[创建企业帐户](/zh/enterprise-cloud@latest/admin/managing-your-enterprise-account/creating-an-enterprise-account#about-enterprise-account-creation)（在GitHub Enterprise Cloud文档中）。
* 使用 Enterprise Managed Users 为开发人员预配和管理用户帐户的选项。 有关详细信息，请参阅“[关于 Enterprise Managed Users](/zh/enterprise-cloud@latest/admin/identity-and-access-management/understanding-iam-for-enterprises/about-enterprise-managed-users)”。
* 审核日志流式处理和 IP 允许列表等其他功能。 有关详细信息，请参阅[流式处理企业审核日志](/zh/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise)和[使用 IP 允许列表限制企业网络的流入流量](/zh/enterprise-cloud@latest/admin/configuration/hardening-security-for-your-enterprise/restricting-network-traffic-to-your-enterprise-with-an-ip-allow-list)（在GitHub Enterprise Cloud文档中）。
* 在唯一子域中托管公司数据的选项

有关 GitHub Enterprise 可用功能的详细列表，请参阅我们的[定价](https://github.com/pricing)页面。

若要查看 GitHub 如何与 GitLab、Bitbucket 和 Jenkins 进行比较，请参阅 [Comparing GitHub 到其他 DevOps 解决方案](https://github.com/resources/articles/devops-tools-comparison)。

可以设置试用版来评估 GitHub Enterprise Cloud 和 GitHub Enterprise Server。 有关详细信息，请参阅 [设置 GitHub Enterprise Cloud 试用版](/zh/enterprise-cloud@latest/admin/overview/setting-up-a-trial-of-github-enterprise-cloud) 和 [设置 GitHub Enterprise Server 试用版](/zh/enterprise-server@3.20/admin/overview/setting-up-a-trial-of-github-enterprise-server)。

## 其他阅读材料

* GitHub Enterprise Cloud 文档中的[关于每用户定价](/zh/enterprise-cloud@latest/billing/managing-the-plan-for-your-github-account/about-per-user-pricing)