GitHub 官方近日宣布,自 2026 年 6 月 1 日起,Copilot 代码审查将调整计费模式——在私有仓库中运行的代码审查将开始消耗 GitHub Actions 额度,超出部分按标准费率计费。公开仓库的 Actions 额度维持免费不变。
变更内容
Copilot 代码审查基于 agentic tool-calling 架构运行,依赖 GitHub Actions 的 GitHub-hosted runners 执行。调整后的计费将分为两部分:
- AI Credits 计费:所有 Copilot 使用量(包括代码审查)将计入新的 AI 积分体系。
- Actions 额度消耗:私有仓库的每次代码审查将消耗现有计划中的 Actions 额度,超出部分按 GitHub Actions 标准费率计费。
适用范围
该变更适用于以下套餐:
- GitHub Copilot Pro
- GitHub Copilot Pro+
- GitHub Copilot Business
- GitHub Copilot Enterprise
包括通过 direct org billing 计费的非授权用户的代码审查。
时间线
6 月 1 日生效前,代码审查仅消耗现有的 premium request unit(PRU)配额,不会占用 Actions 额度。建议管理员提前在计费设置中查看额度消耗情况,确认 Actions 预算与预期用量匹配,并按需调整支出限制。
Copilot 代码审查同时支持 self-hosted runners 和 larger runners,这些运行环境的计费标准与标准 GitHub-hosted runners 不同。

来源:The GitHub Blog