Skip to main content

Viewing your GitHub Codespaces usage

You can view the compute minutes and storage used by GitHub Codespaces.

Who can use this feature

To manage billing for GitHub Codespaces for an organization, you must be an organization owner or a billing manager.

GitHub Codespaces 可用于使用 GitHub Team 或 GitHub Enterprise Cloud 的组织。 GitHub Codespaces 也可作为受限的 beta 版本提供给使用 GitHub Free 和 GitHub Pro 计划的个人用户。 有关详细信息,请参阅“GitHub 的产品”。

Viewing GitHub Codespaces usage for your organization

Organization owners and billing managers can view GitHub Codespaces usage for an organization. For organizations managed by an enterprise account, the organization owners can view GitHub Codespaces usage in the organization billing page, and enterprise admins can view the usage for the entire enterprise.

  1. 在任何页面的右上角,单击个人资料照片,然后单击“设置”。

    用户栏中的 Settings 图标

  2. 在边栏的“访问”部分,单击“ 组织”。

  3. 在组织旁边,单击“设置”。 设置按钮

  4. 如果你是组织所有者,请在侧边栏的“访问”部分,单击“ 计费和计划”。

  5. Under "Codespaces", view the details of the compute hours and storage used so far this month. Details of minute usage

  6. Optionally, next to "Usage this month", click Get usage report to get an email containing a link for downloading a CSV report of storage use for GitHub Actions, GitHub Packages, and GitHub Codespaces. The email is sent to your account's primary email address. You can choose whether the report should cover the last 7, 30, 90, or 180 days. Download CSV report

  7. Filter the report to show only rows that mention "Codespaces" in the Product field.

    A usage report filtered for Codespaces