Skip to main content
Skip to content

GitHub 产品及库存单位名称

了解计费平台和 REST API 中使用的产品和 SKU 标识符。

通过 REST API 使用计费以创建预算或查询使用情况时,需要使用特定的产品和 SKU 标识符。 此引用提供这些标识符的有效值。

产品级标识符

对于 ProductPricing 预算或按产品查询使用情况,请使用以下值之一:

  • actions - GitHub Actions
  • packages - GitHub Packages
  • codespaces - GitHub Codespaces
  • copilot - GitHub Copilot
  • ghas - GitHub Advanced Security
  • ghec - GitHub Enterprise Cloud
  • sandbox - 适用于 GitHub Copilot 的云端和本地沙盒

SKU 级别标识符

对于 SkuPricing 预算或按 SKU 查询使用情况,请使用以下值之一:

GitHub Actions SKU列表

  •           `actions_cache_storage` - Actions 缓存存储
    
  •           `actions_custom_image_storage` - Actions 自定义映像存储
    
  •           `actions_linux` - Actions Linux 运行器
    
  •           `actions_linux_16_core` - Actions Linux 16 核
    
  • actions_linux_16_core_arm - 操作 Linux ARM 16 核心
  • actions_linux_2_core_advanced - Actions Linux 高级版双核
  • actions_linux_2_core_arm - Actions Linux ARM 2核
  • actions_linux_32_core - Actions Linux 32 核处理器
  • actions_linux_32_core_arm - Actions Linux ARM 32 核
  •           `actions_linux_4_core` - Actions Linux 4 核
    
  • actions_linux_4_core_arm - Actions Linux ARM 4核
  • actions_linux_4_core_gpu - Actions Linux GPU 4核
  •           `actions_linux_64_core` - Actions Linux 64 核
    
  •           `actions_linux_64_core_arm` - Actions Linux ARM 64 核
    
  • actions_linux_8_core - Actions Linux 的 8 核心
  •           `actions_linux_8_core_arm` - Actions Linux ARM 8 核
    
  • actions_linux_96_core - Actions Linux 96核
  •           `actions_linux_arm` - Actions Linux ARM
    
  • actions_linux_slim - Actions Linux 轻量化
  •           `actions_macos` - Actions macOS 运行器
    
  •           `actions_macos_l` - Actions macOS 大型
    
  • actions_macos_xl - 操作 macOS XL
  • actions_storage -动作存储
  •           `actions_windows` - Actions Windows 运行器
    
  •           `actions_windows_16_core` - Actions Windows 16 核
    
  •           `actions_windows_16_core_arm` - Actions Windows ARM 16 核
    
  • actions_windows_2_core - Windows 2核操作
  •           `actions_windows_2_core_advanced` - Actions Windows Advanced 2 核
    
  •           `actions_windows_2_core_arm` - Actions Windows ARM 2 核
    
  • actions_windows_32_core - 操作 Windows 32 核心
  •           `actions_windows_32_core_arm` - Actions Windows ARM 32 核
    
  •           `actions_windows_4_core` - Actions Windows 4 核
    
  •           `actions_windows_4_core_arm` - Actions Windows ARM 4 核
    
  •           `actions_windows_4_core_gpu` - Actions Windows GPU 4 核
    
  •           `actions_windows_64_core` - Actions Windows 64 核
    
  •           `actions_windows_64_core_arm` - Actions Windows ARM 64 核
    
  •           `actions_windows_8_core` - Actions Windows 8 核
    
  •           `actions_windows_8_core_arm` - Actions Windows ARM 8 核
    
  •           `actions_windows_96_core` - Actions Windows 96 核
    
  • actions_windows_arm -操作 Windows ARM

GitHub Codespaces SKU列表

  •           `codespaces_compute_d16` - Codespaces 计算(16 核)
    
  •           `codespaces_compute_d2` - Codespaces 计算(2 核)
    
  • codespaces_compute_d32 - Codespaces 计算(32 核)
  •           `codespaces_compute_d4` - Codespaces 计算(4 核)
    
  • codespaces_compute_d8 - Codespaces 计算(8核)
  • codespaces_prebuild_storage - Codespaces 预生成存储
  • codespaces_storage - Codespaces 存储

GitHub Copilot SKU列表

  • coding_agent_ai_credit- Copilot云代理
  • code_review_premium_request
  • Copilot code review AI credits
  • copilot_access_pay_as_you_go - Copilot Standalone
  • copilot_ai_credit
  • Copilot AI credits
  • copilot_enterprise- Copilot Enterprise
  • copilot_for_business - 企业智能助手 Copilot
  • copilot_standalone
  • Copilot Business (旧版 SKU)

GitHub Advanced Security SKU列表

  • code_security_ai_unit
  • Code Security AI credits
  • deep_security_research_ai_unit - 深度安全研究 AI credits
  • ghas_code_security_licenses - 代码安全性
  • ghas_licenses - 高级安全性
  • ghas_secret_protection_licenses - 机密保护
  • secret_protection_ai_unit
  • Secret Protection AI credits

GitHub Code Quality SKU列表

  • code_quality_licenses - 代码质量许可证
  • code_quality_ai_credit - 代码质量 AI credits

GitHub Copilot SKU 的云端和本地沙箱

  •           `sandbox_linux` - GitHub Copilot 的沙箱:Linux
    
  •           `sandbox_memory` - GitHub Copilot 的沙箱:内存
    
  •           `sandbox_snapshot` - GitHub Copilot 的沙箱:快照
    

其他 SKU

  • ghec_licenses
  • GitHub Enterprise Cloud 许可证
  •           `git_lfs_bandwidth` - Git LFS 带宽
    
  • git_lfs_storage - Git LFS 存储
  • models_inference - 模型推理
  • packages_bandwidth - 打包数据传输
  • packages_storage - 包存储
  • spark_ai_credits -火花 AI credits

注意

可用的确切 SKU 可能会因企业或组织配置和已启用的功能而异。 如果在通过 REST API 创建预算时收到 404 错误,请查看错误响应以查看帐户的有效 SKU 的当前列表。