diff --git a/content/billing/concepts/product-billing/github-actions.md b/content/billing/concepts/product-billing/github-actions.md index de150bb04414..116149417858 100644 --- a/content/billing/concepts/product-billing/github-actions.md +++ b/content/billing/concepts/product-billing/github-actions.md @@ -112,7 +112,6 @@ The use of standard {% data variables.product.github %}-hosted runners is free: * In public repositories * For {% data variables.product.prodname_pages %} * For {% data variables.product.prodname_dependabot %} -* For the agentic features ({% data variables.release-phases.public_preview %}) in {% data variables.copilot.copilot_code-review %} > [!NOTE] > diff --git a/content/billing/concepts/product-billing/github-copilot-licenses.md b/content/billing/concepts/product-billing/github-copilot-licenses.md index ea863dd2ffc3..018d30979696 100644 --- a/content/billing/concepts/product-billing/github-copilot-licenses.md +++ b/content/billing/concepts/product-billing/github-copilot-licenses.md @@ -15,6 +15,12 @@ category: - Understand product costs --- + + +{% data reusables.copilot.ubb-announcement-cfi-cb-ce %} + + + Usage of {% data variables.product.prodname_copilot %} is measured through a combination of licenses and monthly usage tracking. For more information about how usage costs in {% data variables.product.prodname_copilot_short %} work, see [AUTOTITLE](/billing/concepts/product-billing/github-copilot-premium-requests). ## Licenses for {% data variables.product.prodname_copilot_short %} diff --git a/content/billing/concepts/product-billing/github-copilot-premium-requests.md b/content/billing/concepts/product-billing/github-copilot-premium-requests.md index 2038f1824c8a..773d767fb8e1 100644 --- a/content/billing/concepts/product-billing/github-copilot-premium-requests.md +++ b/content/billing/concepts/product-billing/github-copilot-premium-requests.md @@ -8,6 +8,12 @@ category: - Understand product costs --- + + +{% data reusables.copilot.ubb-announcement-cfi-cb-ce %} + + + Usage of {% data variables.product.prodname_copilot_short %} is measured through a combination of licenses and monthly usage tracking. For more information about how license costs in {% data variables.product.prodname_copilot_short %} work, see [AUTOTITLE](/billing/concepts/product-billing/github-copilot-licenses). > [!IMPORTANT] diff --git a/content/copilot/concepts/agents/code-review.md b/content/copilot/concepts/agents/code-review.md index c2f4d94eb787..008bfbb2a87e 100644 --- a/content/copilot/concepts/agents/code-review.md +++ b/content/copilot/concepts/agents/code-review.md @@ -15,6 +15,12 @@ category: - Learn about Copilot --- + + +{% data reusables.copilot.code-review-actions-minutes-note %} + + + ## Introduction {% data variables.copilot.copilot_code-review_short %} reviews code written in any language, and provides feedback. It reviews your code from multiple angles to identify issues and suggest fixes. You can apply suggested changes with a couple of clicks. @@ -98,10 +104,10 @@ If {% data variables.product.prodname_actions %} is unavailable or if Actions wo ### Usage of {% data variables.product.prodname_actions %} runners for agentic capabilities in code review -{% data variables.copilot.copilot_code-review_short %} uses free minutes for {% data variables.product.prodname_actions %} to run the agentic capabilities, including full project context gathering and any capabilities in {% data variables.release-phases.public_preview %}. By default, {% data variables.copilot.copilot_code-review_short %} uses {% data variables.product.prodname_dotcom %}-hosted runners. You can also upgrade to larger {% data variables.product.prodname_dotcom %}-hosted runners for better performance. +{% data variables.copilot.copilot_code-review_short %} uses {% data variables.product.prodname_actions %} to run the agentic capabilities, including full project context gathering and any capabilities in {% data variables.release-phases.public_preview %}. By default, {% data variables.copilot.copilot_code-review_short %} uses standard {% data variables.product.prodname_dotcom %}-hosted runners. You can also upgrade to larger {% data variables.product.prodname_dotcom %}-hosted runners for better performance, or use self-hosted runners. > [!NOTE] -> Usage of larger {% data variables.product.prodname_dotcom %}-hosted runners is billed per-minute and may incur additional {% data variables.product.prodname_actions %} charges. +> Usage of larger {% data variables.product.prodname_dotcom %}-hosted runners is billed at a higher per-minute rate. Self-hosted runners do not consume {% data variables.product.prodname_actions %} minutes. You do not need to have {% data variables.product.prodname_actions %} enabled in your organization or enterprise to use the agentic capabilities in code review. @@ -109,6 +115,8 @@ If your organization has disabled {% data variables.product.prodname_dotcom %}-h For more information on configuring runners, see [AUTOTITLE](/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners). +You can view the {% data variables.product.prodname_actions %} minutes associated with {% data variables.copilot.copilot_code-review_short %} runs. For more information, see [{% data variables.product.prodname_actions %} minutes for code review](/copilot/reference/copilot-billing/models-and-pricing#github-actions-minutes-for-code-review). + ## Code review monthly quota Each time {% data variables.product.prodname_copilot_short %} reviews a pull request or reviews code in your IDE, your monthly quota of {% data variables.product.prodname_copilot_short %} premium requests is reduced by one. diff --git a/content/copilot/concepts/auto-model-selection.md b/content/copilot/concepts/auto-model-selection.md index 8a2242dca820..5c259d8573de 100644 --- a/content/copilot/concepts/auto-model-selection.md +++ b/content/copilot/concepts/auto-model-selection.md @@ -3,7 +3,7 @@ title: 'About {% data variables.product.prodname_copilot_short %} auto model sel allowTitleToDifferFromFilename: true shortTitle: 'Auto model selection' intro: 'Automatically select models for {% data variables.copilot.copilot_chat_short %}, {% data variables.copilot.copilot_cloud_agent %}, and third-party agents.' -product: '{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} for {% data variables.copilot.copilot_chat_short %} is available with all {% data variables.product.prodname_copilot %} plans.
{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} for {% data variables.copilot.copilot_cloud_agent %} is available for {% data variables.copilot.copilot_pro %} and {% data variables.copilot.copilot_pro_plus %} plans.' +product: '{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} is available with all {% data variables.product.prodname_copilot %} plans.' versions: feature: copilot contentType: concepts diff --git a/content/copilot/concepts/billing/billing-for-individuals.md b/content/copilot/concepts/billing/billing-for-individuals.md index 050ab351f3d0..9429910b66c3 100644 --- a/content/copilot/concepts/billing/billing-for-individuals.md +++ b/content/copilot/concepts/billing/billing-for-individuals.md @@ -16,6 +16,12 @@ category: - Learn about Copilot --- + + +{% data reusables.copilot.ubb-announcement-cfi %} + + + > [!IMPORTANT] > {% data reusables.copilot.plans.individual-plans-paused %} If you hit unexpected limits or these changes just don’t work for you, you can cancel your Pro or Pro+ subscription and receive a refund for the time remaining on your current subscription before May 20. > 1. To cancel and receive a refund for the time remaining, go to your [Billing settings](https://github.com/settings/billing/licensing). diff --git a/content/copilot/concepts/billing/copilot-requests.md b/content/copilot/concepts/billing/copilot-requests.md index df559b10a57d..fa13152f812d 100644 --- a/content/copilot/concepts/billing/copilot-requests.md +++ b/content/copilot/concepts/billing/copilot-requests.md @@ -17,11 +17,15 @@ category: - Learn about Copilot --- -> [!IMPORTANT] -> * {% data reusables.billing.pru-sku-split-notice %} -> * Billing for premium requests began on June 18, 2025, for all paid {% data variables.product.prodname_copilot_short %} plans on {% data variables.product.prodname_dotcom_the_website %}, and on August 1, 2025, on {% data variables.enterprise.data_residency_site %}. The request counters were only set to zero for paid plans. -> * Premium request counters reset on the 1st of each month at 00:00:00 UTC. See [AUTOTITLE](/copilot/managing-copilot/understanding-and-managing-copilot-usage/monitoring-your-copilot-usage-and-entitlements). -> * Certain requests may experience rate limits to accommodate high demand. Rate limits restrict the number of requests that can be made within a specific time period. + + + + +{% data reusables.copilot.ubb-announcement-cfi-cb-ce %} + + + + ## What is a request? @@ -50,11 +54,17 @@ The following {% data variables.product.prodname_copilot_short %} features can u {% endrowheaders %} +> [!NOTE] +> {% data reusables.billing.pru-sku-split-notice %} + > [!TIP] > For instructions on viewing how many premium requests you have used and advice on how to optimize usage, see [AUTOTITLE](/copilot/how-tos/manage-and-track-spending/monitor-premium-requests). ## How do request allowances work per plan? +> [!NOTE] +> Billing for premium requests began on June 18, 2025, for all paid {% data variables.product.prodname_copilot_short %} plans on {% data variables.product.prodname_dotcom_the_website %}, and on August 1, 2025, on {% data variables.enterprise.data_residency_site %}. The request counters were only set to zero for paid plans. + If you use **{% data variables.copilot.copilot_free_short %}**, your plan comes with up to 2,000 inline suggestion requests and up to 50 premium requests per month. All chat interactions count as premium requests. If you're on a **paid plan** or **{% data variables.copilot.copilot_student_short %}**, you get unlimited inline suggestions and unlimited chat interactions using the included models ({% data variables.copilot.copilot_gpt_5_mini %}, {% data variables.copilot.copilot_gpt_41 %} and {% data variables.copilot.copilot_gpt_4o %}). Rate limiting is in place to accommodate for high demand. See [AUTOTITLE](/copilot/concepts/rate-limits). @@ -65,7 +75,7 @@ Paid plans and {% data variables.copilot.copilot_student_short %} also receive a ## What happens to unused requests at the end of the month? -Unused requests for the previous month do not carry over to the following month. +Unused requests for the previous month do not carry over to the following month. Premium request counters reset on the 1st of each month at 00:00:00 UTC. See [AUTOTITLE](/copilot/managing-copilot/understanding-and-managing-copilot-usage/monitoring-your-copilot-usage-and-entitlements). ## What if I run out of premium requests? diff --git a/content/copilot/concepts/billing/index.md b/content/copilot/concepts/billing/index.md index 47db90b201d3..8992f1aec3d9 100644 --- a/content/copilot/concepts/billing/index.md +++ b/content/copilot/concepts/billing/index.md @@ -5,6 +5,8 @@ intro: 'Understand billing and usage for {% data variables.product.prodname_copi versions: feature: copilot children: + - /usage-based-billing-for-individuals + - /usage-based-billing-for-organizations-and-enterprises - /copilot-requests - /individual-plans - /billing-for-individuals @@ -16,3 +18,9 @@ redirect_from: - /copilot/concepts/copilot-billing contentType: concepts --- + + + +{% data reusables.copilot.ubb-announcement-cfi-cb-ce %} + + \ No newline at end of file diff --git a/content/copilot/concepts/billing/individual-plans.md b/content/copilot/concepts/billing/individual-plans.md index 5dc3b44098fe..951c39d67013 100644 --- a/content/copilot/concepts/billing/individual-plans.md +++ b/content/copilot/concepts/billing/individual-plans.md @@ -15,6 +15,11 @@ contentType: concepts category: - Learn about Copilot --- + + +{% data reusables.copilot.ubb-announcement-cfi %} + + > [!IMPORTANT] > {% data reusables.copilot.plans.individual-plans-paused %} diff --git a/content/copilot/concepts/billing/organizations-and-enterprises.md b/content/copilot/concepts/billing/organizations-and-enterprises.md index 0b2a737408df..f9690ca13563 100644 --- a/content/copilot/concepts/billing/organizations-and-enterprises.md +++ b/content/copilot/concepts/billing/organizations-and-enterprises.md @@ -21,6 +21,12 @@ category: - Manage Copilot for a team --- + + +{% data reusables.copilot.ubb-announcement-cb-ce %} + + + ## Available plans {% data variables.product.company_short %} offers the following plans for organization accounts: diff --git a/content/copilot/concepts/billing/premium-request-management.md b/content/copilot/concepts/billing/premium-request-management.md index a4bdca941b2b..41e552141759 100644 --- a/content/copilot/concepts/billing/premium-request-management.md +++ b/content/copilot/concepts/billing/premium-request-management.md @@ -11,6 +11,12 @@ category: - Manage Copilot for a team --- + + +{% data reusables.copilot.ubb-announcement-cb-ce %} + + + > [!IMPORTANT] > **Starting April 20, 2026**, {% data variables.copilot.copilot_pro_short %}, {% data variables.copilot.copilot_pro_plus_short %}, and student plans have tighter usage limits: Session limits and weekly (7 day) limits. For more information, see [AUTOTITLE](/copilot/concepts/usage-limits). diff --git a/content/copilot/concepts/billing/usage-based-billing-for-individuals.md b/content/copilot/concepts/billing/usage-based-billing-for-individuals.md new file mode 100644 index 000000000000..614275a837e1 --- /dev/null +++ b/content/copilot/concepts/billing/usage-based-billing-for-individuals.md @@ -0,0 +1,82 @@ +--- +title: Usage-based billing for individuals +shortTitle: Usage-based billing for individuals +intro: 'Your {% data variables.product.prodname_copilot_short %} plan will include a monthly allowance of {% data variables.product.prodname_ai_credits %}. If you exhaust your {% data variables.product.prodname_ai_credits_short %}, you can pay extra to keep working.' +versions: + feature: copilot +contentType: concepts +category: + - Learn about Copilot +--- + + + +> [!IMPORTANT] {% data variables.product.github %} will use the billing methods described in this article **starting June 1, 2026**. You can read more about this change on [{% data variables.product.prodname_blog %}](https://gh.io/copilot-billing-blog). + + + +## What is usage-based billing? + +All individual plans—{% data variables.copilot.copilot_free_short %}, {% data variables.copilot.copilot_pro_short %}, and {% data variables.copilot.copilot_pro_plus_short %}—include {% data variables.product.prodname_ai_credits %} allowances that vary by plan. Paid plans offer higher limits than free plans. + +## What are {% data variables.product.prodname_ai_credits %}? + +{% data variables.product.prodname_ai_credits %} are the billing unit for {% data variables.product.prodname_copilot_short %} usage. + +When you use {% data variables.product.prodname_copilot_short %}, the interaction consumes tokens: input tokens (what's sent to the model), output tokens (what the model generates), and cached tokens (context the model reuses or stores). Each token is priced based on the model used, and the total is converted into {% data variables.product.prodname_ai_credits_short %}, where 1 {% data variables.product.prodname_ai_credit_singular %} = {% data variables.product.prodname_ai_credits_value %}. + +The cost of an interaction depends on two things: the model and the number of tokens consumed. A quick chat question using a lightweight model might cost a fraction of a credit. A long coding agent session using a frontier model across multiple files will cost more, because it's doing more work. + +## What affects my usage? + +More complex interactions consume more of your usage allowance. The main factors are: + +* **Conversation length and complexity**: Longer conversations and more elaborate tasks involve more back-and-forth with the model, consuming more. +* **Agentic features**: Features like agent mode and {% data variables.copilot.copilot_cloud_agent %} can involve multiple model calls within a single task. A complex agentic session working across a large codebase will consume significantly more usage than a quick question in chat. +* **Model choice**: Different models have different costs per token. More capable models designed for complex reasoning cost more than lighter models suited to quick tasks. Switching to a less expensive model is one way to extend your usage allowance. + +## What is billed in {% data variables.product.prodname_ai_credits_short %}? + +{% data variables.product.prodname_copilot_short %} features that use AI models consume {% data variables.product.prodname_ai_credits_short %}. This includes {% data variables.copilot.copilot_chat_short %}, {% data variables.copilot.copilot_cli_short %}, {% data variables.copilot.copilot_cloud_agent %}, {% data variables.copilot.copilot_spaces %}, {% data variables.product.prodname_spark_short %}, and third-party coding agents. + +Code completions and {% data variables.copilot.next_edit_suggestions %} are **not** billed in {% data variables.product.prodname_ai_credits_short %}. They remain unlimited for all paid plans. + +## How do {% data variables.product.prodname_ai_credits_short %} work? + +Each {% data variables.product.prodname_copilot_short %} individual plan subscription includes a monthly {% data variables.product.prodname_ai_credits_short %} allowance: + +| Plan | Total {% data variables.product.prodname_ai_credits_short %} per month | +| --- | --- | +| {% data variables.copilot.copilot_pro_short %} | {% data variables.copilot.ai_credits_per_user_pro %} | +| {% data variables.copilot.copilot_pro_plus_short %} | {% data variables.copilot.ai_credits_per_user_pro_plus %} | + +## What happens if I exceed my included {% data variables.product.prodname_ai_credits_short %}? + +When your {% data variables.product.prodname_ai_credits_short %} are exhausted, you can: + +* Set a budget for additional usage and pay extra to continue working +* Wait until the next monthly cycle when your included usage resets + +Your additional usage budget is set in US dollars, and your usage is shown in {% data variables.product.prodname_ai_credits %}. {% data variables.product.prodname_ai_credits %} draw down your budget at a fixed rate: 1 {% data variables.product.prodname_ai_credits_short %} = {% data variables.product.prodname_ai_credits_value %}, so a $10 budget covers 1,000 {% data variables.product.prodname_ai_credits_short %}. + +## Do I need to prepare for usage-based billing? + +For most existing individual plan subscribers, no action is required. Existing annual subscribers have a couple of options to choose from. + +### If you're on a monthly plan + +If you're on a monthly plan, **no action is required**. You'll be automatically migrated to usage-based billing on June 1st, 2026. + +### If you're on an annual plan + +If you're on an annual plan, your plan **will not auto-renew**. You'll receive communications from {% data variables.product.github %} about your options before your annual renewal date. + +You will have the option to: +* Cancel your plan and receive a prorated refund. +* Wait to be downgraded to {% data variables.copilot.copilot_free_short %} at renewal time. + +Note that, starting **June 1, 2026**, {% data variables.copilot.copilot_pro_short %} and {% data variables.copilot.copilot_pro_plus_short %} subscribers on annual billing plans will experience changes to model multipliers. See [AUTOTITLE](/copilot/reference/copilot-billing/models-and-pricing#model-multipliers-for-annual-copilot-pro-and-copilot-pro-subscribers). + +## Next steps + +* For guidance on how to prepare for usage-based billing, see [AUTOTITLE](/copilot/how-tos/manage-and-track-spending/prepare-for-your-move-to-usage-based-billing). \ No newline at end of file diff --git a/content/copilot/concepts/billing/usage-based-billing-for-organizations-and-enterprises.md b/content/copilot/concepts/billing/usage-based-billing-for-organizations-and-enterprises.md new file mode 100644 index 000000000000..1a5a70d18f0b --- /dev/null +++ b/content/copilot/concepts/billing/usage-based-billing-for-organizations-and-enterprises.md @@ -0,0 +1,88 @@ +--- +title: Usage-based billing for organizations and enterprises +intro: 'Prepare for the transition to usage-based billing for {% data variables.copilot.copilot_business_short %} and {% data variables.copilot.copilot_enterprise_short %}.' +permissions: Enterprise and organization owners and billing managers +versions: + feature: copilot +product: '{% data variables.copilot.copilot_enterprise_short %} or {% data variables.copilot.copilot_business_short %}' +contentType: concepts +category: + - Manage Copilot for a team +--- + + + +> [!IMPORTANT] {% data variables.product.github %} will use the billing methods described in this article **starting June 1, 2026**. You can read more about this change on [{% data variables.product.prodname_blog %}](https://gh.io/copilot-billing-blog). + + + +## What are {% data variables.product.prodname_ai_credits %}? + +{% data variables.product.prodname_ai_credits %} are the billing unit for {% data variables.product.prodname_copilot_short %} usage in {% data variables.copilot.copilot_business_short %} and {% data variables.copilot.copilot_enterprise_short %}. + +When someone in your organization uses {% data variables.product.prodname_copilot_short %}, the interaction consumes tokens: input tokens (what's sent to the model), output tokens (what the model generates), and cached tokens (context the model reuses or stores). Each token is priced based on the model used, and the total is converted into {% data variables.product.prodname_ai_credits_short %}, where 1 {% data variables.product.prodname_ai_credit_singular %} = {% data variables.product.prodname_ai_credits_value %}. + +The cost of an interaction depends on two things: the model and the number of tokens consumed. A quick chat question using a lightweight model might cost a fraction of a credit. A long coding agent session using a frontier model across multiple files will cost more, because it's doing more work. + +## What is billed in {% data variables.product.prodname_ai_credits_short %}? + +{% data variables.product.prodname_copilot_short %} features that use AI models consume {% data variables.product.prodname_ai_credits_short %}. This includes {% data variables.copilot.copilot_chat_short %}, {% data variables.copilot.copilot_cli_short %}, {% data variables.copilot.copilot_cloud_agent %}, {% data variables.copilot.copilot_spaces %}, {% data variables.product.prodname_spark_short %}, and third-party coding agents. + +Code completions and {% data variables.copilot.next_edit_suggestions %} are **not** billed in {% data variables.product.prodname_ai_credits_short %}. They remain unlimited for all paid plans. + +## How do {% data variables.product.prodname_ai_credits_short %} work? + +Each assigned {% data variables.product.prodname_copilot_short %} license comes with a monthly amount of **included {% data variables.product.prodname_ai_credits_short %}**: + +| Plan | Total {% data variables.product.prodname_ai_credits_short %} per user per month | +| --- | --- | +| {% data variables.copilot.copilot_business_short %} | {% data variables.copilot.ai_credits_per_user_business %} | +| {% data variables.copilot.copilot_enterprise_short %} | {% data variables.copilot.ai_credits_per_user_enterprise %} | + +A user's included {% data variables.product.prodname_ai_credits_short %} are pooled at the billing entity level. For example, an enterprise with 100 {% data variables.copilot.copilot_business_short %} users gets a shared pool of 190,000 {% data variables.product.prodname_ai_credits_short %} rather than 100 individual buckets. This means power users can draw more when they need it, while lighter users offset that consumption. + +Adding licenses mid-cycle increases the pool immediately. Removing licenses mid-cycle doesn't shrink the pool: the decrease is reflected at the start of the next billing cycle. + + + +### Promotional amounts for existing customers + +Existing {% data variables.copilot.copilot_business_short %} and {% data variables.copilot.copilot_enterprise_short %} customers receive a higher amount of included {% data variables.product.prodname_ai_credits_short %} for the first three months of usage-based billing (June 1 – September 1, 2026): + +| Plan | Total {% data variables.product.prodname_ai_credits_short %} per user per month | +| --- | --- | +| {% data variables.copilot.copilot_business_short %} | {% data variables.copilot.ai_credits_per_user_business_promo %} | +| {% data variables.copilot.copilot_enterprise_short %} | {% data variables.copilot.ai_credits_per_user_enterprise_promo %} | + +After the promotional period, included usage returns to the standard amounts above. + + + +## What happens if I exceed my included {% data variables.product.prodname_ai_credits_short %}? + +When your pooled {% data variables.product.prodname_ai_credits_short %} are exhausted, what happens next depends on how you have configured policies for additional usage. + +* **Additional usage allowed**: Usage continues at published per-credit rates. The additional spend is charged to your organization or enterprise. +* **Additional usage not allowed**: Usage is blocked until the next billing cycle when monthly amounts are refreshed. + +If you have set a user-level budget and a user exhausts it, that user's access to {% data variables.product.prodname_copilot_short %} is halted, regardless of whether the organization's pool still has capacity. There is no automatic fallback to lower-cost models when a budget is exhausted. + +Additional usage budgets are set in US dollars, and usage is shown in {% data variables.product.prodname_ai_credits %}. {% data variables.product.prodname_ai_credits %} draw down the budget at a fixed rate: 1 {% data variables.product.prodname_ai_credit_singular %} = {% data variables.product.prodname_ai_credits_value %}, so a $10 budget covers 1,000 AI credits. + +## How can I control costs with budgets? + +You can set budgets at four levels to control {% data variables.product.prodname_ai_credits %} spend: + +* **Enterprise-level budgets** track spending for all organizations, repositories, and cost centers under the enterprise. +* **Organization-level budgets** track spending for all repositories in the organization. +* **Cost-center-level budgets** track spending for a single cost center. +* **User-level budgets** track spending for individual users. A $0 user-level budget means no access at all. + +You can use budgets to get alerts as you approach limits, and to enforce hard stops on usage. For example, if you want to allow some additional usage but keep it in check, you could set a user-level budget slightly above the included amount. + +For more information on setting budgets, see [AUTOTITLE](/billing/how-tos/set-up-budgets). + +## Next steps + +* To compare per-token costs across models and estimate your spend, see [AUTOTITLE](/copilot/reference/copilot-billing/models-and-pricing). +* For guidance on how to prepare for usage-based billing, see [AUTOTITLE](/copilot/how-tos/manage-and-track-spending/prepare-for-usage-based-billing). diff --git a/content/copilot/get-started/plans.md b/content/copilot/get-started/plans.md index bed5bf5be565..68ba6d14d3c2 100644 --- a/content/copilot/get-started/plans.md +++ b/content/copilot/get-started/plans.md @@ -13,6 +13,12 @@ category: - Learn about Copilot --- + + +{% data reusables.copilot.ubb-announcement-cfi-cb-ce %} + + + > [!IMPORTANT] > {% data reusables.copilot.plans.individual-plans-paused %} @@ -24,7 +30,7 @@ category: * **{% data variables.copilot.copilot_pro %}** is designed for individuals who want more flexibility. This paid plan includes unlimited completions, access to premium models in {% data variables.copilot.copilot_chat_short %}, access to {% data variables.copilot.copilot_cloud_agent %}, and a monthly allowance of premium requests. Verified teachers, and maintainers of popular open source projects may be eligible for free access. -* **{% data variables.copilot.copilot_pro_plus %}** offers the highest level of access for individual developers. In addition to everything in {% data variables.copilot.copilot_pro_short %}, this plan includes a larger allowance of premium requests, and full access to all available models in {% data variables.copilot.copilot_chat_short %}. Ideal for AI power users who want access to the most advanced capabilities. +* **{% data variables.copilot.copilot_pro_plus %}** includes, in addition to everything in {% data variables.copilot.copilot_pro_short %}, a larger allowance of premium requests, and full access to all available models in {% data variables.copilot.copilot_chat_short %}. Ideal for AI power users who want access to the most advanced capabilities. * **{% data variables.copilot.copilot_for_business %}** is for organizations on {% data variables.product.prodname_free_team %} or {% data variables.product.prodname_team %} plan, or enterprises on {% data variables.product.prodname_ghe_cloud %}. This plan includes {% data variables.copilot.copilot_cloud_agent %} and enables centralized management and {% data variables.product.prodname_copilot_short %} policy control for organization members. diff --git a/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-automatic-review.md b/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-automatic-review.md index cc02d1008a80..274f78451f5e 100644 --- a/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-automatic-review.md +++ b/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-automatic-review.md @@ -17,6 +17,12 @@ category: - Configure Copilot --- + + +{% data reusables.copilot.code-review-actions-minutes-note %} + + + ## Introduction You can configure {% data variables.copilot.copilot_code-review_short %} to review pull requests automatically. For an overview of automatic pull request reviews, see [AUTOTITLE](/copilot/concepts/code-review#about-automatic-pull-request-reviews). diff --git a/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners.md b/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners.md index dace3ebe1c2b..94d784637865 100644 --- a/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners.md +++ b/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners.md @@ -13,6 +13,12 @@ category: - Author and optimize with Copilot --- + + +{% data reusables.copilot.code-review-actions-minutes-note %} + + + ## About {% data variables.product.prodname_actions %} usage for code review tools {% data reusables.copilot.code-review.code-review-actions-usage %} Organizations in this situation can use self-hosted runners. @@ -52,7 +58,7 @@ To configure self-hosted runners for {% data variables.copilot.copilot_code-revi By default, {% data variables.copilot.copilot_code-review_short %} runs on a standard {% data variables.product.prodname_actions %} runner. Larger runners provide better performance (CPU and memory), more disk space, and advanced features like Azure private networking. See [AUTOTITLE](/actions/using-github-hosted-runners/using-larger-runners/about-larger-runners). > [!NOTE] -> Usage of larger {% data variables.product.prodname_dotcom %}-hosted runners is billed per-minute and may incur additional {% data variables.product.prodname_actions %} charges. +> Usage of larger {% data variables.product.prodname_dotcom %}-hosted runners is billed at a higher per-minute rate. For more information, see [AUTOTITLE](/billing/concepts/product-billing/github-actions). 1. Set up larger runners for your organization. See [AUTOTITLE](/actions/using-github-hosted-runners/managing-larger-runners). 1. If you are using larger runners with Azure private networking, configure your Azure private network to allow outbound access to the following hosts: diff --git a/content/copilot/how-tos/manage-and-track-spending/index.md b/content/copilot/how-tos/manage-and-track-spending/index.md index e10f56e59f7e..110338c955e9 100644 --- a/content/copilot/how-tos/manage-and-track-spending/index.md +++ b/content/copilot/how-tos/manage-and-track-spending/index.md @@ -5,6 +5,8 @@ intro: Manage and track spending on Copilot for your company. versions: feature: copilot children: + - /prepare-for-usage-based-billing + - /prepare-for-your-move-to-usage-based-billing - /monitor-premium-requests - /manage-request-allowances - /manage-company-spending @@ -13,3 +15,9 @@ redirect_from: - /copilot/how-tos/spending contentType: how-tos --- + + + +{% data reusables.copilot.ubb-announcement-cfi-cb-ce %} + + \ No newline at end of file diff --git a/content/copilot/how-tos/manage-and-track-spending/manage-company-spending.md b/content/copilot/how-tos/manage-and-track-spending/manage-company-spending.md index 1fb2e491eba1..d6835f49f0c9 100644 --- a/content/copilot/how-tos/manage-and-track-spending/manage-company-spending.md +++ b/content/copilot/how-tos/manage-and-track-spending/manage-company-spending.md @@ -17,6 +17,12 @@ category: - Manage Copilot for a team --- + + +{% data reusables.copilot.ubb-announcement-cb-ce %} + + + When you're adopting {% data variables.product.prodname_copilot %} in an enterprise, you will want to set budgets and track spending to ensure your rollout is sustainable. {% data variables.product.github %} offers billing tools to help you visualize your spending patterns, receive alerts when you reach budget thresholds, and optimize your license usage. ## Understanding who can grant licenses diff --git a/content/copilot/how-tos/manage-and-track-spending/manage-request-allowances.md b/content/copilot/how-tos/manage-and-track-spending/manage-request-allowances.md index 9cfc88391178..010c78e7869f 100644 --- a/content/copilot/how-tos/manage-and-track-spending/manage-request-allowances.md +++ b/content/copilot/how-tos/manage-and-track-spending/manage-request-allowances.md @@ -17,6 +17,12 @@ category: - Manage Copilot for a team --- + + +{% data reusables.copilot.ubb-announcement-cb-ce %} + + + Each {% data variables.product.prodname_copilot_short %} plan includes a per-user allowance for premium requests. If enabled, requests over the allowance are billed to your organization or enterprise. To learn more about premium requests, see [AUTOTITLE](/copilot/concepts/copilot-billing/requests-in-github-copilot). For allowances per plan, see [AUTOTITLE](/copilot/get-started/plans-for-github-copilot#comparing-copilot-plans). Premium request usage beyond the allowance is governed by two complementary control layers: diff --git a/content/copilot/how-tos/manage-and-track-spending/monitor-premium-requests.md b/content/copilot/how-tos/manage-and-track-spending/monitor-premium-requests.md index 64504493655c..648b2b17273a 100644 --- a/content/copilot/how-tos/manage-and-track-spending/monitor-premium-requests.md +++ b/content/copilot/how-tos/manage-and-track-spending/monitor-premium-requests.md @@ -18,6 +18,12 @@ category: - Configure Copilot --- + + +{% data reusables.copilot.ubb-announcement-cb-ce %} + + + You can track your monthly usage of premium requests to help you get the most value from your {% data variables.product.prodname_copilot_short %} plan. > [!NOTE] diff --git a/content/copilot/how-tos/manage-and-track-spending/prepare-for-usage-based-billing.md b/content/copilot/how-tos/manage-and-track-spending/prepare-for-usage-based-billing.md new file mode 100644 index 000000000000..76b1cb0ebb8f --- /dev/null +++ b/content/copilot/how-tos/manage-and-track-spending/prepare-for-usage-based-billing.md @@ -0,0 +1,50 @@ +--- +title: Preparing your organization for usage-based billing +shortTitle: Prepare your organization for usage-based billing +allowTitleToDifferFromFilename: true +intro: 'Review your estimated costs under usage-based billing and take steps to prepare your organization before the transition.' +permissions: Enterprise owners, organization owners, and billing managers +versions: + feature: copilot +product: '{% data variables.copilot.copilot_enterprise_short %} or {% data variables.copilot.copilot_business_short %}' +contentType: how-tos +category: + - Manage Copilot for a team +--- + + + +On June 1, 2026, {% data variables.product.prodname_copilot_short %} is moving to usage-based billing with {% data variables.product.prodname_ai_credits %}. **Starting in early May**, use the tools below to understand how this change affects your organization and prepare before the transition takes effect. + + + +## Preview your bill (coming in early May) + +From the announcement banner on your enterprise home page, billing overview page, or premium request analytics page, click **Preview my bill** to see how your current usage translates to {% data variables.product.prodname_ai_credits %}. + +The modal shows a side-by-side comparison of your actual spend under the current billing model and your estimated spend under usage-based billing, based on your April 2026 billing period. A difference indicator shows whether your estimated spend is higher, lower, or roughly equal. + +Amounts shown are gross totals before discounts, promotional included usage, and contractual adjustments. + +## Download the usage report + +From the billing preview modal, click **Download CSV** to request a detailed usage report. You can also request the report from the premium request analytics page or via the API. The report is generated asynchronously and delivered via email to the requesting admin. + +The report includes one row per user, per model, per day. Alongside the existing columns for your current billing data, two additional columns show the estimated equivalent under usage-based billing: + +* `aic_quantity`: The number of {% data variables.product.prodname_ai_credits_short %} consumed +* `aic_gross_amount`: The estimated cost in USD under usage-based billing + +## Explore the billing preview tool + +For a more detailed breakdown, you can upload your CSV to the billing preview tool (coming early May). The tool gives you an interactive view of your estimated costs broken down by model, user, and SKU. + +Your data stays in your browser; nothing is uploaded to a server. + +## Take action before the transition + +Based on what you've learned from the billing preview and usage report, you can take steps to prepare: + +* **Review and adjust your budgets**. Existing enterprise-level budgets for premium requests will automatically carry over to {% data variables.product.prodname_ai_credits_short %}. Review them in your enterprise billing settings to make sure they still reflect the limits you want. +* **Plan for pooled {% data variables.product.prodname_ai_credits_short %}**. Under usage-based billing, each license comes with a monthly amount of included {% data variables.product.prodname_ai_credits_short %}, which are pooled across your organization. Consider how this changes your cost structure. Teams with uneven usage patterns may benefit. +* **Communicate the change internally**. Let your teams know that billing is changing and what it means for their day-to-day use of {% data variables.product.prodname_copilot_short %}. diff --git a/content/copilot/how-tos/manage-and-track-spending/prepare-for-your-move-to-usage-based-billing.md b/content/copilot/how-tos/manage-and-track-spending/prepare-for-your-move-to-usage-based-billing.md new file mode 100644 index 000000000000..63ca0f20d140 --- /dev/null +++ b/content/copilot/how-tos/manage-and-track-spending/prepare-for-your-move-to-usage-based-billing.md @@ -0,0 +1,51 @@ +--- +title: Preparing for your move to usage-based billing +shortTitle: Preparing for usage-based billing +allowTitleToDifferFromFilename: true +intro: 'If you''re on a {% data variables.copilot.copilot_pro_short %} or {% data variables.copilot.copilot_pro_plus_short %} plan, review your estimated costs under usage-based billing and take steps to prepare before the transition.' +versions: + feature: copilot +product: '{% data variables.copilot.copilot_pro_short %} or {% data variables.copilot.copilot_pro_plus_short %}' +contentType: how-tos +category: + - Configure Copilot +--- + + + +On June 1, 2026, {% data variables.product.prodname_copilot_short %} is moving to usage-based billing with {% data variables.product.prodname_ai_credits %}. **Starting in early May**, use the tools below to understand how this change affects you before the transition takes effect. + + + +## Preview your bill (coming in early May) + +From the announcement banner on the premium request analytics page, click **Preview my bill** to see how your current usage translates to {% data variables.product.prodname_ai_credits %}. + +The modal shows a side-by-side comparison of your actual spend under the current billing model and your estimated spend under usage-based billing, based on your April 2026 billing period. A difference indicator shows whether your estimated spend is higher, lower, or roughly equal. + +Amounts shown are gross totals before discounts and contractual adjustments. + +## Download the usage report + +From the billing preview modal, click **Download CSV** to request a detailed usage report. You can also request the report directly from the premium request analytics page, by clicking **Get usage report**. The report is generated asynchronously and delivered to you via email. + +Alongside the existing columns for your current billing data, two additional columns show the estimated equivalent under usage-based billing: + +* `aic_quantity`: The number of {% data variables.product.prodname_ai_credits_short %} consumed +* `aic_gross_amount`: The estimated cost in USD under usage-based billing + +## Explore the billing preview tool + +For a more detailed breakdown, you can upload your usage report CSV to the billing preview tool (coming early May). The tool gives you an interactive view of your estimated costs. + +Your data stays in your browser; nothing is uploaded to a server. + +## Prepare for the transition + +* **Understand what consumes credits**. {% data variables.copilot.copilot_chat_short %}, {% data variables.copilot.copilot_cli_short %}, {% data variables.copilot.copilot_cloud_agent %}, {% data variables.copilot.copilot_spaces %}, {% data variables.product.prodname_spark_short %}, and third-party coding agents consume {% data variables.product.prodname_ai_credits_short %}. Code completions and {% data variables.copilot.next_edit_suggestions %} remain unlimited for all paid plans. +* **Consider your model usage**. Frontier models consume more credits per interaction than lightweight models. Switching to a lighter model for routine tasks can stretch your included usage further. + +## Further reading + +* [AUTOTITLE](/copilot/concepts/billing/usage-based-billing-for-individuals) +* [AUTOTITLE](/copilot/reference/copilot-billing/models-and-pricing) \ No newline at end of file diff --git a/content/copilot/how-tos/manage-your-account/get-started-with-a-copilot-plan.md b/content/copilot/how-tos/manage-your-account/get-started-with-a-copilot-plan.md index 0dee1488eb47..ca724bd1af98 100644 --- a/content/copilot/how-tos/manage-your-account/get-started-with-a-copilot-plan.md +++ b/content/copilot/how-tos/manage-your-account/get-started-with-a-copilot-plan.md @@ -22,6 +22,12 @@ category: - Configure Copilot --- + + +{% data reusables.copilot.ubb-announcement-cfi %} + + + You can get started with your {% data variables.product.prodname_copilot_short %} plan by: * [Accessing {% data variables.copilot.copilot_free_short %}](#accessing-copilot-free) diff --git a/content/copilot/how-tos/manage-your-account/index.md b/content/copilot/how-tos/manage-your-account/index.md index fc3b58f00fac..03d6928c054b 100644 --- a/content/copilot/how-tos/manage-your-account/index.md +++ b/content/copilot/how-tos/manage-your-account/index.md @@ -18,3 +18,8 @@ redirect_from: contentType: how-tos --- + + +{% data reusables.copilot.ubb-announcement-cfi %} + + diff --git a/content/copilot/how-tos/manage-your-account/view-and-change-your-copilot-plan.md b/content/copilot/how-tos/manage-your-account/view-and-change-your-copilot-plan.md index 9133c57bbd3c..02d43ba145cf 100644 --- a/content/copilot/how-tos/manage-your-account/view-and-change-your-copilot-plan.md +++ b/content/copilot/how-tos/manage-your-account/view-and-change-your-copilot-plan.md @@ -25,6 +25,12 @@ category: - Configure Copilot --- + + +{% data reusables.copilot.ubb-announcement-cfi %} + + + > [!IMPORTANT] > **Starting April 20, 2026**, new sign-ups for {% data variables.copilot.copilot_pro_short %}, {% data variables.copilot.copilot_pro_plus_short %}, and student plans are temporarily paused. However, existing {% data variables.product.prodname_copilot_short %} plans can still be upgraded, downgraded, or canceled. diff --git a/content/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review.md b/content/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review.md index 9281ebe9f293..4b997f21c7bf 100644 --- a/content/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review.md +++ b/content/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review.md @@ -18,6 +18,12 @@ category: - Author and optimize with Copilot --- + + +{% data reusables.copilot.code-review-actions-minutes-note %} + + + ## Introduction {% data variables.product.prodname_copilot %} can review your code and provide feedback. Where possible, {% data variables.product.prodname_copilot_short %}'s feedback includes suggested changes which you can apply with a couple of clicks. diff --git a/content/copilot/reference/ai-models/supported-models.md b/content/copilot/reference/ai-models/supported-models.md index eeb1eec93c4b..5fef893e4646 100644 --- a/content/copilot/reference/ai-models/supported-models.md +++ b/content/copilot/reference/ai-models/supported-models.md @@ -95,10 +95,18 @@ The following table shows which models are available in each client. The following table shows which AI models are available in each {% data variables.product.prodname_copilot_short %} plan. For more information about the plans, see [AUTOTITLE](/copilot/about-github-copilot/plans-for-github-copilot). +{% data reusables.copilot.gpt-53-codex-student-model-picker-note %} + {% data reusables.copilot.available-models-per-plan %} ## Model multipliers + + +{% data reusables.copilot.ubb-announcement-cfi-cb-ce %} + + + > [!NOTE] > The multiplier for these models are subject to change. > diff --git a/content/copilot/reference/copilot-billing/index.md b/content/copilot/reference/copilot-billing/index.md index 7e733fd5dd6e..b159a6a8f484 100644 --- a/content/copilot/reference/copilot-billing/index.md +++ b/content/copilot/reference/copilot-billing/index.md @@ -5,6 +5,7 @@ intro: Find billing information about {% data variables.product.prodname_copilot versions: feature: copilot children: + - /models-and-pricing - /billing-cycle - /seat-assignment - /license-changes @@ -12,3 +13,8 @@ children: contentType: reference --- + + +{% data reusables.copilot.ubb-announcement-cfi-cb-ce %} + + \ No newline at end of file diff --git a/content/copilot/reference/copilot-billing/models-and-pricing.md b/content/copilot/reference/copilot-billing/models-and-pricing.md new file mode 100644 index 000000000000..e65f33f47c48 --- /dev/null +++ b/content/copilot/reference/copilot-billing/models-and-pricing.md @@ -0,0 +1,129 @@ +--- +title: Models and pricing for {% data variables.product.prodname_copilot %} +intro: 'See per-token pricing for the models available in {% data variables.product.prodname_copilot %} and reference rates for additional usage across plans.' +shortTitle: Models and pricing +versions: + feature: copilot +category: + - Learn about Copilot +allowTitleToDifferFromFilename: true +contentType: reference +--- + + +> [!IMPORTANT] Starting June 1, 2026, {% data variables.product.github %} is moving {% data variables.product.prodname_copilot_short %} from request-based billing to usage-based billing. See [AUTOTITLE](/copilot/concepts/billing/usage-based-billing-for-organizations-and-enterprises) and [AUTOTITLE](/copilot/concepts/billing/usage-based-billing-for-individuals). +> +> The pricing tables below reflect the new usage-based billing rates that will take effect on June 1, 2026. + + + +## How model pricing works + +When you use {% data variables.product.prodname_copilot_short %}, the interaction consumes tokens: input tokens (what's sent to the model), output tokens (what the model generates), and cached tokens (context the model reuses or stores). Each token is priced based on the model used, and the total is converted into {% data variables.product.prodname_ai_credits_short %}, where 1 {% data variables.product.prodname_ai_credit_singular %} = {% data variables.product.prodname_ai_credits_value %}. + +The cost of an interaction depends on two things: the model and the number of tokens consumed. + +How {% data variables.product.prodname_copilot_short %} usage is tracked and billed depends on your plan type: + +* Individual plans ({% data variables.copilot.copilot_free_short %}, {% data variables.copilot.copilot_pro_short %}, and {% data variables.copilot.copilot_pro_plus_short %}) include {% data variables.product.prodname_ai_credits %} allowances that vary by plan. For details, see [AUTOTITLE](/copilot/concepts/billing/usage-based-billing-for-individuals). +* {% data variables.copilot.copilot_business_short %} and {% data variables.copilot.copilot_enterprise_short %} include per-user {% data variables.product.prodname_ai_credits %} allowances that are pooled at the billing entity level. For details, see [AUTOTITLE](/copilot/concepts/billing/usage-based-billing-for-organizations-and-enterprises). + +When usage exceeds the included allowances for any {% data variables.product.prodname_copilot_short %} plan, additional usage is billed in {% data variables.product.prodname_ai_credits %} at the per-token rates shown in the pricing tables below (1 {% data variables.product.prodname_ai_credit_singular %} = {% data variables.product.prodname_ai_credits_value %}). + +{% data reusables.copilot.ai-credits-mobile %} + +## Pricing tables + +All prices are **per 1 million tokens**. + +### OpenAI + +| Model | Release status | Category | Input | Cached input | Output | +| --- | --- | --- | ---: | ---: | ---: | +| {% for entry in tables.copilot.models-and-pricing %}{% if entry.provider == "openai" %} | +| {{ entry.model }} | {{ entry.release_status }} | {{ entry.category }} | {{ entry.input }} | {{ entry.cached_input }} | {{ entry.output }} | +| {% endif %}{% endfor %} | + +[^1]: {% data variables.copilot.copilot_gpt_41 %} and {% data variables.copilot.copilot_gpt_5_mini %} are included models. +[^2]: {% data variables.copilot.copilot_gpt_54 %} pricing applies to prompts with ≤272K tokens. + +### Anthropic + +Anthropic models include a cache write cost in addition to cached input. + +| Model | Release status | Category | Input | Cached input | Cache write | Output | +| --- | --- | --- | ---: | ---: | ---: | ---: | +| {% for entry in tables.copilot.models-and-pricing %}{% if entry.provider == "anthropic" %} | +| {{ entry.model }} | {{ entry.release_status }} | {{ entry.category }} | {{ entry.input }} | {{ entry.cached_input }} | {{ entry.cache_write }} | {{ entry.output }} | +| {% endif %}{% endfor %} | + +[^4]: {% data variables.copilot.copilot_claude_opus_46_fast %} is billed at 6x standard {% data variables.copilot.copilot_claude_opus_46 %} rates. + +### Google + +| Model | Release status | Category | Input | Cached input | Output | +| --- | --- | --- | ---: | ---: | ---: | +| {% for entry in tables.copilot.models-and-pricing %}{% if entry.provider == "google" %} | +| {{ entry.model }} | {{ entry.release_status }} | {{ entry.category }} | {{ entry.input }} | {{ entry.cached_input }} | {{ entry.output }} | +| {% endif %}{% endfor %} | + +[^5]: {% data variables.copilot.copilot_gemini_25_pro %} and {% data variables.copilot.copilot_gemini_31_pro %} pricing applies to prompts with ≤200K tokens. +[^6]: {% data variables.copilot.copilot_gemini_3_flash %} has no long-context surcharge. + +### xAI + +| Model | Release status | Category | Input | Cached input | Output | +| --- | --- | --- | ---: | ---: | ---: | +| {% for entry in tables.copilot.models-and-pricing %}{% if entry.provider == "xai" %} | +| {{ entry.model }} | {{ entry.release_status }} | {{ entry.category }} | {{ entry.input }} | {{ entry.cached_input }} | {{ entry.output }} | +| {% endif %}{% endfor %} | + +### Fine-tuned ({% data variables.product.github %}) + +| Model | Release status | Category | Input | Cached input | Output | +| --- | --- | --- | ---: | ---: | ---: | +| {% for entry in tables.copilot.models-and-pricing %}{% if entry.provider == "github" %} | +| {{ entry.model }} | {{ entry.release_status }} | {{ entry.category }} | {{ entry.input }} | {{ entry.cached_input }} | {{ entry.output }} | +| {% endif %}{% endfor %} | + +[^7]: {% data variables.copilot.copilot_raptor_mini %} uses {% data variables.copilot.copilot_gpt_5_mini %} pricing. +[^8]: {% data variables.copilot.copilot_goldeneye %} uses {% data variables.copilot.copilot_gpt_51_codex %} pricing. + +## Code completions + +{% data reusables.copilot.tbb-completions %} + +## Pricing and usage cost considerations for {% data variables.copilot.copilot_code-review_short %} + +For most {% data variables.product.prodname_copilot_short %} features, the model used for each interaction is visible to you, so you can reference the pricing tables above to estimate costs. {% data variables.copilot.copilot_code-review_short %} is an exception—the model is selected automatically and is not disclosed, so per-token costs may vary between reviews. + +Each code review is billed in two ways: token consumption is billed in {% data variables.product.prodname_ai_credits_short %}, and the agentic infrastructure that powers the review consumes {% data variables.product.prodname_actions %} minutes. + + + +**Starting June 1, 2026**, {% data variables.copilot.copilot_code-review_short %} runs will consume {% data variables.product.prodname_actions %} minutes on {% data variables.product.prodname_dotcom %}-hosted runners. Self-hosted runners do not consume {% data variables.product.prodname_actions %} minutes. Larger runners are billed at different rates than standard {% data variables.product.prodname_dotcom %}-hosted runners. For more information on runner options, see [AUTOTITLE](/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners). + + + +You can view your current {% data variables.product.prodname_actions %} usage for {% data variables.copilot.copilot_code-review_short %} in the following ways: + +* **{% data variables.product.prodname_actions %} metrics**: Filter by the `copilot-pull-request-reviewer` workflow. See [AUTOTITLE](/organizations/collaborating-with-groups-in-organizations/viewing-github-actions-metrics-for-your-organization). +* **Billing usage report**: Filter by `workflow_path`. Before June 1, 2026, the value is `dynamic/copilot-pull-request-reviewer/copilot-pull-request-reviewer`. Starting June 1, 2026, the value changes to `dynamic/agents/copilot-pull-request-reviewer`. See [AUTOTITLE](/billing/reference/billing-reports). + +## Model multipliers for annual {% data variables.copilot.copilot_pro_short %} and {% data variables.copilot.copilot_pro_plus_short %} subscribers + + + +Starting **June 1, 2026**, {% data variables.copilot.copilot_pro_short %} and {% data variables.copilot.copilot_pro_plus_short %} subscribers on annual billing plans will experience changes to model multipliers. The table below shows how the multipliers for each model will adjust. + + + +Model multipliers and costs are subject to change. + +For information about your options as an annual subscriber, see [AUTOTITLE](/copilot/concepts/billing/usage-based-billing-for-individuals#if-youre-on-an-annual-plan). + +| Model | Current multiplier | New multiplier | +| --- | ---: | ---: | +| {% for entry in tables.copilot.annual-subscriber-model-multipliers %} | +| {{ entry.model }} | {{ entry.current_multiplier }} | {{ entry.new_multiplier }} | +| {% endfor %} | diff --git a/content/site-policy/content-removal-policies/github-private-information-removal-policy.md b/content/site-policy/content-removal-policies/github-private-information-removal-policy.md index 12f4f5138261..3632976c3644 100644 --- a/content/site-policy/content-removal-policies/github-private-information-removal-policy.md +++ b/content/site-policy/content-removal-policies/github-private-information-removal-policy.md @@ -10,7 +10,7 @@ category: - Request content removal --- -We offer this private information removal process as an exceptional service only for high-risk content that violates [GitHub's Terms of Service](/site-policy/acceptable-use-policies/github-acceptable-use-policies#3-conduct-restrictions), such as when your security is at risk from exposed access credentials. This guide describes the information GitHub needs from you in order to process a request to remove private information from a repository. +We offer this private information removal process as an exceptional service only for high-risk content that violates [GitHub's Terms of Service](/site-policy/acceptable-use-policies/github-acceptable-use-policies), such as when your security is at risk from exposed access credentials. This guide describes the information GitHub needs from you in order to process a request to remove private information from a repository. ## What is Private Information? diff --git a/content/site-policy/content-removal-policies/guide-to-submitting-a-dmca-counter-notice.md b/content/site-policy/content-removal-policies/guide-to-submitting-a-dmca-counter-notice.md index 494cf919d371..f4497f47e980 100644 --- a/content/site-policy/content-removal-policies/guide-to-submitting-a-dmca-counter-notice.md +++ b/content/site-policy/content-removal-policies/guide-to-submitting-a-dmca-counter-notice.md @@ -40,7 +40,7 @@ These are just a few examples of the complexities of copyright law. Since there We require you to fill out all fields of a counter notice completely, because a counter notice is a legal statement — not just to us, but to the complaining party. As we mentioned above, if the complaining party wishes to keep the content disabled after receiving a counter notice, they will need to initiate a legal action seeking a court order to restrain you from engaging in infringing activity relating to the content on GitHub. In other words, you might get sued (and you consent to that in the counter notice). ***Your Counter Notice Will Be Published.*** -As noted in our [DMCA Takedown Policy](/site-policy/content-removal-policies/dmca-takedown-policy#d-transparency), **after redacting personal information,** we publish all complete and actionable counter notices at . Please also note that, although we will only publicly publish redacted notices, we may provide a complete unredacted copy of any notices we receive directly to any party whose rights would be affected by it. If you are concerned about your privacy, you may have a lawyer or other legal representative file the counter notice on your behalf. +As noted in our [DMCA Takedown Policy](/site-policy/content-removal-policies/dmca-takedown-policy#e-transparency), **after redacting personal information,** we publish all complete and actionable counter notices at . Please also note that, although we will only publicly publish redacted notices, we may provide a complete unredacted copy of any notices we receive directly to any party whose rights would be affected by it. If you are concerned about your privacy, you may have a lawyer or other legal representative file the counter notice on your behalf. ***GitHub Isn't The Judge.*** GitHub exercises little discretion in this process other than determining whether the notices meet the minimum requirements of the DMCA. It is up to the parties (and their lawyers) to evaluate the merit of their claims, bearing in mind that notices must be made under penalty of perjury. diff --git a/content/site-policy/content-removal-policies/guide-to-submitting-a-dmca-takedown-notice.md b/content/site-policy/content-removal-policies/guide-to-submitting-a-dmca-takedown-notice.md index f0f5cbe8e781..ec3c46ee443a 100644 --- a/content/site-policy/content-removal-policies/guide-to-submitting-a-dmca-takedown-notice.md +++ b/content/site-policy/content-removal-policies/guide-to-submitting-a-dmca-takedown-notice.md @@ -45,7 +45,7 @@ This list isn't exhaustive, which is why speaking to a legal professional about ***You May Receive a Counter Notice.*** Any user affected by your takedown notice may decide to submit a [counter notice](/site-policy/content-removal-policies/guide-to-submitting-a-dmca-counter-notice). If they do, we will re-enable their content within 10-14 days unless you notify us that you have initiated a legal action seeking to restrain the user from engaging in infringing activity relating to the content on GitHub. -***Your Complaint Will Be Published.*** As noted in our [DMCA Takedown Policy](/site-policy/content-removal-policies/dmca-takedown-policy#d-transparency), after redacting personal information, we publish all complete and actionable takedown notices at . +***Your Complaint Will Be Published.*** As noted in our [DMCA Takedown Policy](/site-policy/content-removal-policies/dmca-takedown-policy#e-transparency), after redacting personal information, we publish all complete and actionable takedown notices at . ***GitHub Isn't The Judge.*** GitHub exercises little discretion in the process other than determining whether the notices meet the minimum requirements of the DMCA. It is up to the parties (and their lawyers) to evaluate the merit of their claims, bearing in mind that notices must be made under penalty of perjury. diff --git a/content/site-policy/github-terms/github-marketplace-terms-of-service.md b/content/site-policy/github-terms/github-marketplace-terms-of-service.md index aa9e36186547..6e9e6edb0ea2 100644 --- a/content/site-policy/github-terms/github-marketplace-terms-of-service.md +++ b/content/site-policy/github-terms/github-marketplace-terms-of-service.md @@ -13,7 +13,7 @@ Welcome to GitHub Marketplace ("Marketplace")! We're happy you're here. Please r By using Marketplace, you are agreeing to be bound by these Marketplace Terms. -Effective Date: August 1, 2024 +Effective Date: April 27, 2026 ## A. GitHub.com's Terms of Service @@ -35,7 +35,7 @@ We are not a party to the agreement between you and the Product Provider with re ## D. Payment, Billing Schedule, and Cancellation -All payments for Developer Products will go through GitHub. The terms of your payment and fees will be governed by [Section K. Payment](/site-policy/github-terms/github-terms-of-service#k-payment), or the analogous section of your applicable GitHub Terms. By using the Marketplace, you agree to pay GitHub any charge incurred in connection with your purchase of the Developer Product. Each purchase is an electronic contract between you and GitHub, and you and the Product Provider. You are responsible for providing us with a valid means of payment for purchases of Developer Products. If you are only purchasing free Developer Products, you are not required to provide payment information. +All payments for Developer Products will go through GitHub. The terms of your payment and fees will be governed by [Section L. Payment](/site-policy/github-terms/github-terms-of-service#l-payment), or the analogous section of your applicable GitHub Terms. By using the Marketplace, you agree to pay GitHub any charge incurred in connection with your purchase of the Developer Product. Each purchase is an electronic contract between you and GitHub, and you and the Product Provider. You are responsible for providing us with a valid means of payment for purchases of Developer Products. If you are only purchasing free Developer Products, you are not required to provide payment information. **Billing Schedule; No Refunds.** Your payment schedule is determined by the payment schedule you chose when you created your GitHub account (e.g. free, monthly, annual). For monthly or yearly payment plans, Marketplace purchases are billed in advance on a monthly or yearly basis respectively and are non-refundable. There will be no refunds or credits for partial months of service, downgrade refunds, or refunds for months unused; however, the service will remain active for the length of the paid billing period. If you would like to cancel the Developer Product services, you can do so by going into your Settings in the global navigation bar at the top of the screen. diff --git a/content/site-policy/github-terms/github-pre-release-license-terms.md b/content/site-policy/github-terms/github-pre-release-license-terms.md index 7a4458bde033..313f2aea8886 100644 --- a/content/site-policy/github-terms/github-pre-release-license-terms.md +++ b/content/site-policy/github-terms/github-pre-release-license-terms.md @@ -53,11 +53,9 @@ These terms apply to the pre-release software made available to you by GitHub. T ## 4. Data Collection and Usage. - a. **Processing of Personal Data.** By default, GitHub is the data controller in relation to the Personal Data processed in connection with the pre-release software and follows the terms below. As the pre-release software is developed, it may reach a stage where data is handled the same as it will when the software becomes generally available. Pre-release software that has progressed to that stage of development is listed at [https://gh.io/dpa-previews](https://gh.io/dpa-previews). At that point, the customer becomes the data controller and the software is governed by the terms of the GitHub Data Protection Agreement instead of this Section 4. + a. **Consent to Data Collection.** The pre-release software may collect telemetry information about you and your use of the software, and send that information to GitHub. Subject to the limitations in Section 4(b) below, GitHub may use this information to provide services, to improve our products and services, or for any other purpose permitted under the GitHub Data Protection Agreement or GitHub Privacy Statement. Your use of the pre-release software operates as your consent to these practices. - b. **Consent to Data Collection.** The pre-release software may collect telemetry information about you and your use of the software, and send that information to GitHub. Subject to the limitations in Section 4(c) below, GitHub may use this information to provide services, to improve our products and services, or for any other purpose permitted under the GitHub Data Protection Agreement or GitHub Privacy Statement. Your use of the pre-release software operates as your consent to these practices. - - c. **Use of Collected Data.** + b. **Use of Collected Data.** * GitHub will use collected data for analytics and measurement to understand how our pre-release software and related products are used. * The software will collect data and usage information about events generated when interacting with it. These events help us analyze and measure performance and features used. This usage information is used by GitHub and may be shared with affiliates and other third parties to help deliver, develop, evaluate, and improve the software and related products. * We analyze data to ensure the pre-release software is working as intended, to evaluate the safety, reliability, and user experience of the software, and to investigate and detect potential abuse. @@ -65,7 +63,9 @@ These terms apply to the pre-release software made available to you by GitHub. T * For pre-release software that uses AI: * You retain ownership of the code that you input to the software. * GitHub does not own the output sent to you by the software. - * GitHub will not use your inputs or the outputs generated to train AI language models, unless you have instructed us in writing to do so. + * GitHub will not use Copilot Business or Copilot Enterprise Inputs or the Outputs generated to train AI language models, unless you have instructed us in writing to do so. + + c. **Processing of Personal Data.** GitHub is the data controller in relation to the Personal Data processed in connection with the pre-release software. d. **Data Collection by You.** There may be some features in the pre-release software that enable you and GitHub to collect data from users of your applications. If you use these features, you must comply with all applicable laws on data collection, including providing appropriate notices to users of your applications as well as a copy of GitHub’s Privacy Statement. You can learn more about data collection and use in the software documentation. @@ -119,4 +119,4 @@ You bear the sole risk of using the pre-release software. ## 15. Nature of Terms for Microsoft Customers. - If you license GitHub through Microsoft and your agreement with Microsoft does not already provide for the inclusion of these terms, these terms shall be considered an amendment to the Microsoft Product Terms for GitHub Offerings for the duration of your use of the pre-release software. + If you license GitHub through Microsoft, these terms shall be considered an amendment to the Microsoft Product Terms for GitHub Offerings for the duration of your use of the pre-release software. diff --git a/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md b/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md index 77d00c3cfe16..69055bb2626d 100644 --- a/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md +++ b/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md @@ -13,7 +13,7 @@ category: - Review product and program terms --- -Version Effective Date: April 1, 2025 +Version Effective Date: April 27, 2026 When you use GitHub, you may be given access to lots of additional products and features ("Additional Products and Features"). Because many of the Additional Products and Features offer different functionality, your Agreement with us (the "Agreement") includes the specific terms for that product or feature combined with your main agreement — the GitHub Terms of Service or GitHub Customer Agreement, or the GitHub Corporate Terms of Service or other legacy GitHub contract, or a Microsoft volume licensing agreement. Below, we've listed those products and features, along with the corresponding additional terms that apply to your use of them. @@ -88,7 +88,7 @@ In order to prevent violations of these limitations and abuse of GitHub Codespac Codespaces allows you to load extensions from the Microsoft Visual Studio Marketplace (“Marketplace Extensions”) for use in your development environment, for example, to process the programming languages that your code is written in. Marketplace Extensions are licensed under their own separate terms of use as noted in the Visual Studio Marketplace, and the terms of use located at https://aka.ms/vsmarketplace-ToU. GitHub makes no warranties of any kind in relation to Marketplace Extensions and is not liable for actions of third-party authors of Marketplace Extensions that are granted access to Your Content. Codespaces also allows you to load software into your environment through devcontainer features. Such software is provided under the separate terms of use accompanying it. Your use of any third-party applications is at your sole risk. -The generally available version of Codespaces is not currently available for U.S. government customers. U.S. government customers may continue to use the Codespaces Beta Preview under separate terms. See [Beta Preview terms](/site-policy/github-terms/github-terms-of-service#j-beta-previews). +The generally available version of Codespaces is not currently available for U.S. government customers. U.S. government customers may continue to use the Codespaces Beta Preview under separate terms. See [Beta Preview terms](/site-policy/github-terms/github-terms-of-service#k-beta-previews). ## Competitive Benchmarking @@ -102,22 +102,7 @@ With GitHub Connect, you can share certain features and data between your GitHub For GitHub Copilot Business and Copilot Enterprise license holders, your use of GitHub Copilot is governed by the [GitHub Copilot Product Specific Terms](https://github.com/customer-terms/github-copilot-product-specific-terms). -For other GitHub Copilot license holders, your use of GitHub Copilot is governed by the following terms: -To use GitHub Copilot in your code editor, you need to install the GitHub Copilot extension to that editor. To use GitHub Copilot in the CLI (Command Line Interface), you need to install the GitHub Copilot CLI extension. To use GitHub Copilot Chat on GitHub Mobile, you need to install the GitHub Mobile application. To use GitHub Copilot on the GitHub.com, you must access the website. - -If you customize GitHub Copilot, to include using a GitHub Copilot Extension (Extension), your use may be subject to the terms of use and privacy policy applicable to the customization. - -The code you write using GitHub Copilot is not “Content” under the Agreement until you upload it to GitHub.com. The code, functions, and other output returned to you by GitHub Copilot are called “**Suggestions**.” GitHub does not own Suggestions. You retain ownership of Your Code and you retain responsibility for Suggestions you include in Your Code. It is entirely your decision whether to use Suggestions generated by GitHub Copilot. If you use Suggestions, GitHub strongly recommends that you have reasonable policies and practices in place designed to prevent the use of a Suggestion in a way that may violate the rights of others. - -_Acceptable Use_ - -Your use of GitHub Copilot is subject to the GitHub [Acceptable Use Policies](/site-policy/acceptable-use-policies/github-acceptable-use-policies). For example, you may not prompt GitHub Copilot with content that is unlawful or otherwise prohibited by the GitHub Acceptable Use Policies on GitHub.com. If you choose to "Allow" Copilot to provide [Suggestions matching public code](/enterprise-cloud@latest/copilot/using-github-copilot/finding-public-code-that-matches-github-copilot-suggestions?tool=vscode), you must comply with cited licenses. - -_Data_ - -GitHub Copilot (i) may collect and process data based on your settings and the specific GitHub Copilot Service you use - this may include Prompts, Suggestions, and code snippets, and (ii) will collect additional usage information through the GitHub Copilot Service you use tied to your Account - this may include Service Usage Information, Website Usage Data, and Feedback Data. Upon your instructions, we may share this data with third-party applications such as those on the [GitHub Marketplace](https://github.com/marketplace) or third-party AI models of your choosing. This may include personal data, as referenced in the [GitHub Privacy Statement](/site-policy/privacy-policies/github-privacy-statement). You can learn more about the collection and use of GitHub Copilot data in the [GitHub Copilot Trust Center](https://copilot.github.trust.page/). - -For GitHub Copilot Free users, the data collected by GitHub Copilot may be used for AI Model training where permitted and if you allow in your settings. +For all other GitHub Copilot users, your use of GitHub Copilot is governed by [Section J (AI Features) of the GitHub Terms of Service](/site-policy/github-terms/github-terms-of-service#j-ai-features-training-and-your-data). ## GitHub Enterprise Importer diff --git a/content/site-policy/github-terms/github-terms-of-service.md b/content/site-policy/github-terms/github-terms-of-service.md index 37a93221531d..1312224e6c03 100644 --- a/content/site-policy/github-terms/github-terms-of-service.md +++ b/content/site-policy/github-terms/github-terms-of-service.md @@ -29,19 +29,20 @@ Thank you for using GitHub! We're happy you're here. Please read this Terms of S | [G. Intellectual Property Notice](#g-intellectual-property-notice) | This describes GitHub's rights in the website and service. | | [H. API Terms](#h-api-terms) | These are the rules for using GitHub's APIs, whether you are using the API for development or data collection. | | [I. Additional Product Terms](#i-github-additional-product-terms) | We have a few specific rules for GitHub's features and products. | -| [J. Beta Previews](#j-beta-previews) | These are some of the additional terms that apply to GitHub's features that are still in development. | -| [K. Payment](#k-payment) | You are responsible for payment. We are responsible for billing you accurately. | -| [L. Cancellation and Termination](#l-cancellation-and-termination) | You may cancel this agreement and close your Account at any time. | -| [M. Communications with GitHub](#m-communications-with-github) | We only use email and other electronic means to stay in touch with our users. We do not provide phone support. | -| [N. Disclaimer of Warranties](#n-disclaimer-of-warranties) | We provide our service as is, and we make no promises or guarantees about this service. **Please read this section carefully; you should understand what to expect.** | -| [O. Limitation of Liability](#o-limitation-of-liability) | We will not be liable for damages or losses arising from your use or inability to use the service or otherwise arising under this agreement. **Please read this section carefully; it limits our obligations to you.** | -| [P. Release and Indemnification](#p-release-and-indemnification) | You are fully responsible for your use of the service. | -| [Q. Changes to these Terms of Service](#q-changes-to-these-terms) | We may modify this agreement, but we will give you 30 days' notice of material changes. | -| [R. Miscellaneous](#r-miscellaneous) | Please see this section for legal details including our choice of law. | +| [J. AI Features, Training, and Your Data](#j-ai-features-training-and-your-data) | These are the terms that apply to GitHub Copilot and other AI features, including how your data may be used for development and improvement of the artificial intelligence and machine learning models, and the controls available to you. | +| [K. Beta Previews](#k-beta-previews) | These are some of the additional terms that apply to GitHub's features that are still in development. | +| [L. Payment](#l-payment) | You are responsible for payment. We are responsible for billing you accurately. | +| [M. Cancellation and Termination](#m-cancellation-and-termination) | You may cancel this agreement and close your Account at any time. | +| [N. Communications with GitHub](#n-communications-with-github) | We only use email and other electronic means to stay in touch with our users. We do not provide phone support. | +| [O. Disclaimer of Warranties](#o-disclaimer-of-warranties) | We provide our service as is, and we make no promises or guarantees about this service. **Please read this section carefully; you should understand what to expect.** | +| [P. Limitation of Liability](#p-limitation-of-liability) | We will not be liable for damages or losses arising from your use or inability to use the service or otherwise arising under this agreement. **Please read this section carefully; it limits our obligations to you.** | +| [Q. Release and Indemnification](#q-release-and-indemnification) | You are fully responsible for your use of the service. | +| [R. Changes to these Terms of Service](#r-changes-to-these-terms) | We may modify this agreement, but we will give you 30 days' notice of material changes. | +| [S. Miscellaneous](#s-miscellaneous) | Please see this section for legal details including our choice of law. | ## The GitHub Terms of Service -Effective date: November 16, 2020 +Effective date: April 27, 2026 ## A. Definitions @@ -49,12 +50,19 @@ Effective date: November 16, 2020 1. An "Account" represents your legal relationship with GitHub. A “Personal Account” represents an individual User’s authorization to log in to and use the Service and serves as a User’s identity on GitHub. “Organizations” are shared workspaces that may be associated with a single entity or with one or more Users where multiple Users can collaborate across many projects at once. A Personal Account can be a member of any number of Organizations. 1. The “Agreement” refers, collectively, to all the terms, conditions, notices contained or referenced in this document (the “Terms of Service” or the "Terms") and all other operating rules, policies (including the GitHub Privacy Statement, available at [github.com/site/privacy](https://github.com/site/privacy)) and procedures that we may publish from time to time on the Website. Most of our site policies are available at [docs.github.com/categories/site-policy](/site-policy). +1. "AI Feature" means any feature of GitHub or our Affiliates that uses machine learning or artificial intelligence to generate Output, including GitHub Copilot, Copilot Autofix, and any other feature identified as using machine learning or artificial intelligence in our documentation. + +1. “Affiliate” means any entity that directly or indirectly controls, is controlled by, or is under common control with a party, where "control" means having more than fifty percent (50%) ownership or the right to direct the management of the entity. For the avoidance of doubt, Microsoft is an Affiliate of GitHub. 1. "Beta Previews" mean software, services, or features identified as alpha, beta, preview, early access, or evaluation, or words or phrases with similar meanings. -1. “Content” refers to content featured or displayed through the Website, including without limitation code, text, data, articles, images, photographs, graphics, software, applications, packages, designs, features, and other materials that are available on the Website or otherwise available through the Service. "Content" also includes Services. “User-Generated Content” is Content, written or otherwise, created or uploaded by our Users. "Your Content" is Content that you create or own. -1. “GitHub,” “We,” and “Us” refer to GitHub, Inc., as well as our affiliates, directors, subsidiaries, contractors, licensors, officers, agents, and employees. -1. The “Service” refers to the applications, software, products, and services provided by GitHub, including any Beta Previews. -1. “The User,” “You,” and “Your” refer to the individual person, company, or organization that has visited or is using the Website or Service; that accesses or uses any part of the Account; or that directs the use of the Account in the performance of its functions. A User must be at least 13 years of age. Special terms may apply for business or government Accounts (See [Section B(5): Additional Terms](#5-additional-terms)). +1. "Content" means code, text, data, documentation, images, graphics, software, packages, and other materials made available through the Service. +1. “GitHub,” “We,” and “Us” refer to GitHub, Inc., as well as our directors, subsidiaries, contractors, licensors, officers, agents, and employees. +1. “Input” means any content or context provided to an AI Feature, including prompts, attachments, code in your workspace, and conversation history. +1. "Output" means responses and suggestions, including code or other material, generated by an AI Feature. +1. The “Service” refers to the applications, software, products, and services provided by GitHub, including through the Website and any Beta Previews. +1. “User,” “You,” and “Your” refer to the individual person, company, or organization that has visited or is using the Website or Service; that accesses or uses any part of the Account; or that directs the use of the Account in the performance of its functions. A User must be at least 13 years of age. Special terms may apply for business or government Accounts (See [Section B(5): Additional Terms](#5-additional-terms)). +1. "User-Generated Content" means Content that you or other users upload, submit, or create through the Service. 1. The “Website” refers to GitHub’s website located at [github.com](https://github.com/), and all content, services, and products provided by GitHub at or through the Website. It also refers to GitHub-owned subdomains of github.com, such as [education.github.com](https://education.github.com/) and [pages.github.com](https://pages.github.com/). These Terms also govern GitHub’s conference websites, such as [githubuniverse.com](https://githubuniverse.com/), and product websites, such as [electronjs.org](https://www.electronjs.org/). Occasionally, websites owned by GitHub may provide different or additional terms of service. If those additional terms conflict with this Agreement, the more specific terms apply to the relevant page or service. +1. "Your Content" means User-Generated Content that you upload, submit, or create, including your modifications to Content you have forked or cloned. It does not include the underlying Content created by others. ## B. Account Terms @@ -68,15 +76,15 @@ Effective date: November 16, 2020 ### 2. Required Information -You must provide a valid email address in order to complete the signup process. Any other information requested, such as your real name, is optional, unless you are accepting these terms on behalf of a legal entity (in which case we need more information about the legal entity) or if you opt for a [paid Account](#k-payment), in which case additional information will be necessary for billing purposes. +You must provide a valid email address in order to complete the signup process. Any other information requested, such as your real name, is optional, unless you are accepting these terms on behalf of a legal entity (in which case we need more information about the legal entity) or if you opt for a [paid Account](#l-payment), in which case additional information will be necessary for billing purposes. ### 3. Account Requirements -We have a few simple rules for Personal Accounts on GitHub's Service. +We have a few simple rules for Accounts on GitHub's Service. * You must be a human to create an Account. Accounts registered by "bots" or other automated methods are not permitted. We do permit machine accounts: * A machine account is an Account set up by an individual human who accepts the Terms on behalf of the Account, provides a valid email address, and is responsible for its actions. A machine account is used exclusively for performing automated tasks. Multiple users may direct the actions of a machine account, but the owner of the Account is ultimately responsible for the machine's actions. You may maintain no more than one free machine account in addition to your free Personal Account. * One person or legal entity may maintain no more than one free Account (if you choose to control a machine account as well, that's fine, but it can only be used for running a machine). -* You must be age 13 or older. While we are thrilled to see brilliant young coders get excited by learning to program, we must comply with United States law. GitHub does not target our Service to children under 13, and we do not permit any Users under 13 on our Service. If we learn of any User under the age of 13, we will [terminate that User’s Account immediately](#l-cancellation-and-termination). If you are a resident of a country outside the United States, your country’s minimum age may be older; in such a case, you are responsible for complying with your country’s laws. +* You must be age 13 or older. While we are thrilled to see brilliant young coders get excited by learning to program, we must comply with United States law. GitHub does not target our Service to children under 13, and we do not permit any Users under 13 on our Service. If we learn of any User under the age of 13, we will [terminate that User’s Account immediately](#m-cancellation-and-termination). If you are a resident of a country outside the United States, your country’s minimum age may be older; in such a case, you are responsible for complying with your country’s laws. * Your login may only be used by one person — i.e., a single login may not be shared by multiple people. A paid Organization may only provide access to as many Personal Accounts as your subscription allows. * You may not use GitHub in violation of export control or sanctions laws of the United States or any other applicable jurisdiction. You may not use GitHub if you are or are working on behalf of a [Specially Designated National (SDN)](https://www.treasury.gov/resource-center/sanctions/SDN-List/Pages/default.aspx) or a person subject to similar blocking or denied party prohibitions administered by a U.S. government agency. GitHub may allow persons in certain sanctioned countries or territories to access certain GitHub services pursuant to U.S. government authorizations. For more information, please see our [Export Controls policy](/site-policy/other-site-policies/github-and-trade-controls). @@ -103,35 +111,34 @@ Your use of the Website and Service must not violate any applicable laws, includ You agree that you will not under any circumstances violate our [Acceptable Use Policies](/site-policy/acceptable-use-policies/github-acceptable-use-policies) or [Community Guidelines](/site-policy/github-terms/github-community-guidelines). + ## D. User-Generated Content **Short version:** _You own content you create, but you allow us certain rights to it, so that we can display and share the content you post. You still have control over your content, and responsibility for it, and the rights you grant us are limited to those we need to provide the service. We have the right to remove content or close Accounts if we need to._ ### 1. Responsibility for User-Generated Content -You may create or upload User-Generated Content while using the Service. You are solely responsible for the content of, and for any harm resulting from, any User-Generated Content that you post, upload, link to or otherwise make available via the Service, regardless of the form of that Content. We are not responsible for any public display or misuse of your User-Generated Content. +You are responsible for Your Content and any harm resulting from it. This includes Content you post, upload, or make available through the Service. We are not responsible for any public display or misuse of Your Content. ### 2. GitHub May Remove Content -We have the right to refuse or remove any User-Generated Content that, in our sole discretion, violates any laws or [GitHub terms or policies](/site-policy). User-Generated Content displayed on GitHub Mobile may be subject to mobile app stores' additional terms. +We may refuse or remove User-Generated Content that violates applicable law or our terms and policies. We access private repositories only as described in Section E. Content displayed on GitHub Mobile may be subject to app store terms. -### 3. Ownership of Content, Right to Post, and License Grants +### 3. Ownership and License Grants -You retain ownership of and responsibility for Your Content. If you're posting anything you did not create yourself or do not own the rights to, you agree that you are responsible for any Content you post; that you will only submit Content that you have the right to post; and that you will fully comply with any third party licenses relating to Content you post. +You own Your Content. If you post Content you did not create, you are responsible for ensuring you have the right to post it and for complying with any applicable licenses. -Because you retain ownership of and responsibility for Your Content, we need you to grant us — and other GitHub Users — certain legal permissions, listed in Sections D.4 — D.7. These license grants apply to Your Content. If you upload Content that already comes with a license granting GitHub the permissions we need to run our Service, no additional license is required. You understand that you will not receive any payment for any of the rights granted in Sections D.4 — D.7. The licenses you grant to us will end when you remove Your Content from our servers, unless other Users have forked it. +You grant us and other Users the licenses in Sections D.4–D.8. These licenses apply to Your Content. If Your Content already includes a license granting us the permissions we need, no additional license is required. You will not receive payment for these rights. These licenses end when you remove Your Content, unless other Users have forked it. ### 4. License Grant to Us -We need the legal right to do things like host Your Content, publish it, and share it. You grant us and our legal successors the right to store, archive, parse, and display Your Content, and make incidental copies, as necessary to provide the Service, including improving the Service over time. This license includes the right to do things like copy it to our database and make backups; show it to you and other users; parse it into a search index or otherwise analyze it on our servers; share it with other users; and perform it, in case Your Content is something like music or video. - -This license does not grant GitHub the right to sell Your Content. It also does not grant GitHub the right to otherwise distribute or use Your Content outside of our provision of the Service, except that as part of the right to archive Your Content, GitHub may permit our partners to store and archive Your Content in public repositories in connection with the [GitHub Arctic Code Vault and GitHub Archive Program](https://archiveprogram.github.com/). +You grant GitHub and our Affiliates the right to store, host, archive, parse, display, and make copies of Your Content as necessary to provide, develop, and improve the Service, including by training AI Features, and for the purpose of training, developing, and improving artificial intelligence and machine learning models and technologies of our Affiliates. This license includes the right to do things like copy it to our database and make backups; show it to you and other Users; parse it into a search index or otherwise analyze it on our servers; share it with other Users; and perform it, in case Your Content is something like music or video. For the avoidance of doubt, use of Your Content to develop, train, and improve artificial intelligence and machine learning models and technologies of GitHub and our Affiliates is within the scope of this license and does not constitute a sale or other restricted transfer of Your Content. ### 5. License Grant to Other Users -Any User-Generated Content you post publicly, including issues, comments, and contributions to other Users' repositories, may be viewed by others. By setting your repositories to be viewed publicly, you agree to allow others to view and "fork" your repositories (this means that others may make their own copies of Content from your repositories in repositories they control). +Your Content that you post publicly, including issues, comments, and contributions to other Users' repositories, may be viewed by others. By setting your repositories to be viewed publicly, you agree to allow others to view and "fork" your repositories (this means that others may make their own copies within the Service in repositories they control). -If you set your pages and repositories to be viewed publicly, you grant each User of GitHub a nonexclusive, worldwide license to use, display, and perform Your Content through the GitHub Service and to reproduce Your Content solely on GitHub as permitted through GitHub's functionality (for example, through forking). You may grant further rights if you [adopt a license](/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository#including-an-open-source-license-in-your-repository). If you are uploading Content you did not create or own, you are responsible for ensuring that the Content you upload is licensed under terms that grant these permissions to other GitHub Users. +By making a repository public, you grant other Users a nonexclusive, worldwide license to use, display, perform and reproduce (by forking) Your Content through the Service as permitted by GitHub's functionality. You may grant additional rights by [adopting a license](/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository#including-an-open-source-license-in-your-repository). If you post Content you did not create or own, you are responsible for ensuring it is licensed under terms that permit these uses. ### 6. Contributions Under Repository License @@ -141,19 +148,23 @@ Isn't this just how it works already? Yep. This is widely accepted as the norm i ### 7. Moral Rights -You retain all moral rights to Your Content that you upload, publish, or submit to any part of the Service, including the rights of integrity and attribution. However, you waive these rights and agree not to assert them against us, to enable us to reasonably exercise the rights granted in Section D.4, but not otherwise. +You retain all moral rights to Your Content that you upload, publish, or submit to any part of the Service, including the rights of integrity and attribution. However, you waive these rights and agree not to assert them against us or our Affiliates, to enable GitHub and our Affiliates to reasonably exercise the rights granted in Section D.4, but not otherwise. To the extent this agreement is not enforceable by applicable law, you grant GitHub the rights we need to use Your Content without attribution and to make reasonable adaptations of Your Content as necessary to render the Website and provide the Service. -### 8. Access Reciprocity +### 8. Public Repositories and Lawful Access + +By choosing to contribute Content to a public repository, you are choosing to and directing us to make such Content accessible to everyone on the internet. Unless specifically set forth herein, these Terms do not restrict lawful access to or use of the contents of public repositories by third parties, or by GitHub or its Affiliates. + +### 9. Access Reciprocity By using automated means to access, collect, or otherwise use (“Access”) any publicly accessible Content from the Service for the purpose of developing or training any commercially available artificial intelligence model, machine learning system, or similar technology (a "Commercial AI System"), you hereby waive any and all policies, terms, conditions, or contractual provisions governing products, services, websites or datasets you own or operate that would otherwise prohibit, restrict, or place conditions upon GitHub's Access to any publicly accessible data, information or content associated with your products or services, including for the purpose of developing or training any Commercial AI System. You further agree not to impose technical or other targeted measures to restrict or retaliate against such Access. -This Section D.8 does not apply to Access solely for the purpose of academic research or if, on the date you Access the Content, the number of monthly active users of the products or services made available by you is less than 700 million in the preceding calendar month. For the purposes of this Section, "you" shall refer to you and any entity that directly or indirectly controls, is controlled by, or is under common control with you (affiliates). +This Section D.9 does not apply to Access solely for the purpose of academic research or if, on the date you Access the Content, the number of monthly active users of the products or services made available by you is less than 700 million in the preceding calendar month. For the purposes of this Section, "you" shall refer to you and any entity that directly or indirectly controls, is controlled by, or is under common control with you (affiliates). ## E. Private Repositories -**Short version:** _We treat the content of private repositories as confidential, and we only access it as described in our Privacy Statement—for security purposes, to assist the repository owner with a support matter, to maintain the integrity of the Service, to comply with our legal obligations, if we have reason to believe the contents are in violation of the law, or with your consent._ +**Short version:** _We treat the content of private repositories as confidential, and we only access it as described in Section E.3 below—for security purposes, to assist the repository owner with a support matter, to maintain the integrity of the Service, to comply with our legal obligations, if we have reason to believe the contents are in violation of the law, or with your consent._ ### 1. Control of Private Repositories @@ -165,20 +176,27 @@ GitHub considers the contents of private repositories to be confidential to you. ### 3. Access -GitHub personnel may only access the content of your private repositories in the situations described in our [Privacy Statement](/site-policy/privacy-policies/github-privacy-statement#repository-contents). +You control access to the content of your private repositories. GitHub considers the contents of private repositories to be confidential to you, as set forth in Section E.2, and GitHub personnel will not access private repository content without your consent except in the following circumstances: + +* for security purposes; +* for automated scanning or manual review for known vulnerabilities, active malware, or other content known to violate our Terms of Service; +* to assist the repository owner with a support matter; +* to maintain the integrity of the Service; or +* to comply with our legal obligations if we have reason to believe the contents are in violation of the law. You may choose to enable additional access to your private repositories. For example: * You may enable various GitHub services or features that require additional rights to Your Content in private repositories. These rights may vary depending on the service or feature, but GitHub will continue to treat your private repository Content as confidential. If those services or features require rights in addition to those we need to provide the GitHub Service, we will provide an explanation of those rights. +* If you provide your private repository content as Input to AI Features, we may use that Input to provide, develop, train, and improve the Service, including AI Features. Your ability to opt out under [Section J.3](#3-development-and-improvement-using-your-input-and-output) applies to this use of private repository content. We will not otherwise use your private repository contents to develop or improve the Service. -Additionally, we may be [compelled by law](/site-policy/privacy-policies/github-privacy-statement#for-legal-disclosure) to disclose the contents of your private repositories. +Additionally, we may be [compelled by law](/site-policy/privacy-policies/github-general-privacy-statement#for-legal-disclosure) to disclose the contents of your private repositories. -GitHub will provide notice regarding our access to private repository content, unless [for legal disclosure](/site-policy/privacy-policies/github-privacy-statement#for-legal-disclosure), to comply with our legal obligations, or where otherwise bound by requirements under law, for automated scanning, or if in response to a security threat or other risk to security. +GitHub will provide notice regarding our access to private repository content, unless [for legal disclosure](/site-policy/privacy-policies/github-general-privacy-statement#for-legal-disclosure), to comply with our legal obligations, or where otherwise bound by requirements under law, for automated scanning, or if in response to a security threat or other risk to security. ## F. Copyright Infringement and DMCA Policy If you believe that content on our website violates your copyright, please contact us in accordance with our [Digital Millennium Copyright Act Policy](/site-policy/content-removal-policies/dmca-takedown-policy). If you are a copyright owner and you believe that content on GitHub violates your rights, please contact us via [our convenient DMCA form](https://github.com/contact/dmca) or by emailing [copyright@github.com](mailto:copyright@github.com). There may be legal consequences for sending a false or frivolous takedown notice. Before sending a takedown request, you must consider legal uses such as fair use and licensed uses. -We will terminate the Accounts of [repeat infringers](/site-policy/content-removal-policies/dmca-takedown-policy#e-repeated-infringement) of this policy. +We will terminate the Accounts of [repeat infringers](/site-policy/content-removal-policies/dmca-takedown-policy#f-repeated-infringement) of this policy. ## G. Intellectual Property Notice @@ -198,7 +216,7 @@ This Agreement is licensed under this [Creative Commons Zero license](https://cr ## H. API Terms -**Short version:** _You agree to these Terms of Service, plus this Section H, when using any of GitHub's APIs (Application Provider Interface), including use of the API through a third party product that accesses GitHub._ +**Short version:** _You agree to these Terms of Service, plus this Section H, when using any of GitHub's APIs (Application Programming Interface), including use of the API through a third party product that accesses GitHub._ Abuse or excessively frequent requests to GitHub via the API may result in the temporary or permanent suspension of your Account's access to the API. GitHub, in our sole discretion, will determine abuse or excessive usage of the API. We will make a reasonable attempt to warn you via email prior to suspension. @@ -216,7 +234,42 @@ GitHub may offer subscription-based access to our API for those Users who requir Some Service features may be subject to additional terms specific to that feature or product as set forth in the GitHub Additional Product Terms. By accessing or using the Services, you also agree to the [GitHub Additional Product Terms](/site-policy/github-terms/github-terms-for-additional-products-and-features). -## J. Beta Previews +## J. AI Features, Training, and Your Data + +### 1. Applicability + +This section applies to all AI Features unless a specific feature has additional terms that expressly modify them. The training and data-use provisions in Section J.3 apply only to individual licenses. If your use of the Service is governed by a GitHub Customer Agreement or volume licensing agreement, those agreements govern the use of your data in connection with AI Features and Section J.3 does not apply to you. + + +### 2. Ownership + +GitHub does not claim ownership of your Input or Output. + +Output may contain material that resembles code or content in the model's training data or that is subject to third-party copyrights or open source license terms. You are responsible for determining whether your use of Output requires a third-party license and for complying with any such license. + +### 3. Development and Improvement Using Your Input and Output + +We use your Inputs to generate Outputs and provide the AI Features. You also grant GitHub and its Affiliates a license to collect and use your Inputs and Outputs to develop, train and improve artificial intelligence and machine learning models and technologies including those that power AI Features, unless (a) you opt out through your account settings, or (b) your use of the Service is governed by a GitHub Customer Agreement or volume licensing agreement. If you opt out, GitHub will not collect or use your Inputs and Outputs for the purposes described in this paragraph from the effective date of your opt-out going forward. + +Unless you opt out, GitHub's Affiliates may use your Inputs and Outputs under this license in accordance with their applicable privacy and contractual obligations. This license does not, however, permit GitHub or its Affiliates to share your Inputs or Outputs with third-party AI model providers for their own independent model training purposes. + +The license in this Section J.3 is in addition to, and does not limit, the rights granted to GitHub and its Affiliates under Sections D.4 and D.8. This license does not extend to Your Content stored in repositories that are not provided as Input to an AI Feature. + +The opt-out right described in this section applies solely to the use of your Inputs and Outputs as described in this section, and does not apply to the license granted in Sections D.4-D.8 or to any Content that does not constitute Input or Output (including Content stored in public repositories). + +### 4. Disclaimers + +Output is provided "as-is" and subject to the disclaimers in Section O. Without limiting Section O: Output may be inaccurate, incomplete, or non-functional. Output may resemble third-party code, including code under open source licenses. We do not guarantee that Output is free of errors, vulnerabilities, or intellectual property claims. + +You are responsible for reviewing, testing, and validating any Output before use. + +### 5. Your Responsibility and Indemnity + +You are responsible for your use of Output, including ensuring it complies with applicable law and does not infringe third-party rights. + +Your indemnity obligations in Section Q apply to your use of AI Features and Output, including claims arising from Output you incorporate into your products or services. + +## K. Beta Previews **Short version:** _Beta Previews may not be supported or may change at any time. You may receive confidential information through those programs that must remain confidential while the program is private. We'd love your feedback to make our Beta Previews better._ @@ -234,9 +287,9 @@ As a user of Beta Previews, you may get access to special information that isn ### 3. Feedback -We’re always trying to improve of products and services, and your feedback as a Beta Preview user will help us do that. If you choose to give us any ideas, know-how, algorithms, code contributions, suggestions, enhancement requests, recommendations or any other feedback for our products or services (collectively, “Feedback”), you acknowledge and agree that GitHub will have a royalty-free, fully paid-up, worldwide, transferable, sub-licensable, irrevocable and perpetual license to implement, use, modify, commercially exploit and/or incorporate the Feedback into our products, services, and documentation. +We’re always trying to improve our products and services, and your feedback as a Beta Preview user will help us do that. If you choose to give us any ideas, know-how, algorithms, code contributions, suggestions, enhancement requests, recommendations or any other feedback for our products or services (collectively, “Feedback”), you acknowledge and agree that GitHub will have a royalty-free, fully paid-up, worldwide, transferable, sub-licensable, irrevocable and perpetual license to implement, use, modify, commercially exploit and/or incorporate the Feedback into our products, services, and documentation. -## K. Payment +## L. Payment **Short version:** _You are responsible for any fees associated with your use of GitHub. We are responsible for communicating those fees to you clearly and accurately, and letting you know well in advance if those prices change._ @@ -249,7 +302,7 @@ Our pricing and payment terms are available at [github.com/pricing](https://gith * We will immediately bill you when you upgrade from the free plan to any paying plan. * If you change from a monthly billing plan to a yearly billing plan, GitHub will bill you for a full year at the next monthly billing date. * If you upgrade to a higher level of service, we will bill you for the upgraded plan immediately. -* You may change your level of service at any time by [choosing a plan option](https://github.com/pricing) or going into your [Billing settings](https://github.com/settings/billing). If you choose to downgrade your Account, you may lose access to Content, features, or capacity of your Account. Please see our section on [Cancellation](#l-cancellation-and-termination) for information on getting a copy of that Content. +* You may change your level of service at any time by [choosing a plan option](https://github.com/pricing) or going into your [Billing settings](https://github.com/settings/billing). If you choose to downgrade your Account, you may lose access to Content, features, or capacity of your Account. Please see our section on [Cancellation](#m-cancellation-and-termination) for information on getting a copy of that Content. ### 3. Billing Schedule; No Refunds @@ -267,7 +320,7 @@ By agreeing to these Terms, you are giving us permission to charge your on-file You are responsible for all fees, including taxes, associated with your use of the Service. By using the Service, you agree to pay GitHub any charge incurred in connection with your use of the Service. If you dispute the matter, contact us through the [GitHub Support portal](https://support.github.com/). You are responsible for providing us with a valid means of payment for paid Accounts. Free Accounts are not required to provide payment information. -## L. Cancellation and Termination +## M. Cancellation and Termination **Short version:** _You may close your Account at any time. If you do, we'll treat your information responsibly._ @@ -291,7 +344,7 @@ GitHub has the right to suspend or terminate your access to all or any part of t All provisions of this Agreement which, by their nature, should survive termination _will_ survive termination — including, without limitation: ownership provisions, warranty disclaimers, indemnity, and limitations of liability. -## M. Communications with GitHub +## N. Communications with GitHub **Short version:** _We use email and other electronic means to stay in touch with our users._ @@ -307,7 +360,7 @@ Communications made through email or GitHub Support's messaging system will not GitHub only offers support via email, in-Service communications, and electronic messages. We do not offer telephone support. -## N. Disclaimer of Warranties +## O. Disclaimer of Warranties **Short version:** _We provide our service as is, and we make no promises or guarantees about this service. Please read this section carefully; you should understand what to expect._ @@ -315,7 +368,7 @@ GitHub provides the Website and the Service “as is” and “as available,” GitHub does not warrant that the Service will meet your requirements; that the Service will be uninterrupted, timely, secure, or error-free; that the information provided through the Service is accurate, reliable or correct; that any defects or errors will be corrected; that the Service will be available at any particular time or location; or that the Service is free of viruses or other harmful components. You assume full responsibility and risk of loss resulting from your downloading and/or use of files, information, content or other material obtained from the Service. -## O. Limitation of Liability +## P. Limitation of Liability **Short version:** _We will not be liable for damages or losses arising from your use or inability to use the service or otherwise arising under this agreement. Please read this section carefully; it limits our obligations to you._ @@ -336,7 +389,7 @@ You understand and agree that we will not be liable to you or any third party fo Our liability is limited whether or not we have been informed of the possibility of such damages, and even if a remedy set forth in this Agreement is found to have failed of its essential purpose. We will have no liability for any failure or delay due to matters beyond our reasonable control. -## P. Release and Indemnification +## Q. Release and Indemnification **Short version:** _You are responsible for your use of the service. If you harm someone else or get into a dispute with someone else, we will not be involved._ @@ -344,7 +397,7 @@ If you have a dispute with one or more Users, you agree to release GitHub from a You agree to indemnify us, defend us, and hold us harmless from and against any and all claims, liabilities, and expenses, including attorneys’ fees, arising out of your use of the Website and the Service, including but not limited to your violation of this Agreement, provided that GitHub (1) promptly gives you written notice of the claim, demand, suit or proceeding; (2) gives you sole control of the defense and settlement of the claim, demand, suit or proceeding (provided that you may not settle any claim, demand, suit or proceeding unless the settlement unconditionally releases GitHub of all liability); and (3) provides to you all reasonable assistance, at your expense. -## Q. Changes to These Terms +## R. Changes to These Terms **Short version:** _We want our users to be informed of important changes to our terms, but some changes aren't that important — we don't want to bother you every time we fix a typo. So while we may modify this agreement at any time, we will notify users of any material changes and give you time to adjust to them._ @@ -352,11 +405,11 @@ We reserve the right, at our sole discretion, to amend these Terms of Service at We reserve the right at any time and from time to time to modify or discontinue, temporarily or permanently, the Website (or any part of it) with or without notice. -## R. Miscellaneous +## S. Miscellaneous ### 1. Governing Law -Except to the extent applicable law provides otherwise, this Agreement between you and GitHub and any access to or use of the Website or the Service are governed by the federal laws of the United States of America and the laws of the State of California, without regard to conflict of law provisions. You and GitHub agree to submit to the exclusive jurisdiction and venue of the courts located in the City and County of San Francisco, California. However, any claim for injunctive relief with respect to a violation of section D.8 may be brought in any jurisdiction. +Except to the extent applicable law provides otherwise, this Agreement between you and GitHub and any access to or use of the Website or the Service are governed by the federal laws of the United States of America and the laws of the State of California, without regard to conflict of law provisions. You and GitHub agree to submit to the exclusive jurisdiction and venue of the courts located in the City and County of San Francisco, California. However, any claim for injunctive relief with respect to a violation of section D.9 may be brought in any jurisdiction. ### 2. Non-Assignability @@ -372,7 +425,7 @@ If any part of this Agreement is held invalid or unenforceable, that portion of ### 5. Amendments; Complete Agreement -This Agreement may only be modified by a written amendment signed by an authorized representative of GitHub, or by the posting by GitHub of a revised version in accordance with [Section Q. Changes to These Terms](#q-changes-to-these-terms). These Terms of Service, together with the GitHub Privacy Statement, represent the complete and exclusive statement of the agreement between you and us. This Agreement supersedes any proposal or prior agreement oral or written, and any other communications between you and GitHub relating to the subject matter of these terms including any confidentiality or nondisclosure agreements. +This Agreement may only be modified by a written amendment signed by an authorized representative of GitHub, or by the posting by GitHub of a revised version in accordance with [Section R. Changes to These Terms](#r-changes-to-these-terms). These Terms of Service, together with the GitHub Privacy Statement, represent the complete and exclusive statement of the agreement between you and us. This Agreement supersedes any proposal or prior agreement oral or written, and any other communications between you and GitHub relating to the subject matter of these terms including any confidentiality or nondisclosure agreements. ### 6. Questions diff --git a/content/site-policy/privacy-policies/github-general-privacy-statement.md b/content/site-policy/privacy-policies/github-general-privacy-statement.md index 948a7d354996..b845c1d819e4 100644 --- a/content/site-policy/privacy-policies/github-general-privacy-statement.md +++ b/content/site-policy/privacy-policies/github-general-privacy-statement.md @@ -20,7 +20,7 @@ category: ## GitHub Privacy Statement -Effective date: February 1, 2024 +Effective date: April 27, 2026 Welcome to the GitHub Privacy Statement. This is where we describe how we handle your “Personal Data”, which is information that is directly linked or can be linked to you. It applies to the Personal Data that GitHub, Inc. or GitHub B.V., processes as the “Data Controller” when you interact with websites, applications, and services that display this Statement (collectively, “Services”). This Statement does not apply to services or products that do not display this Statement, such as Previews, where relevant. @@ -46,7 +46,7 @@ Personal Data is collected from you directly, automatically from your device, an ### From You * Account Data: We collect certain information when you open an account such as your GitHub handle, name, email address, password, payment information and transaction information. -* User Content and Files: When you use our Services, we collect Personal Data included as part of the information you provide such as code, inputs, text, documents, images, or feedback. +* User Content and Files: When you use our Services, we collect Personal Data included as part of the information you provide such as code, inputs, AI outputs, text, documents, images, or feedback. * Demographic information: In some cases, you provide us with ethnicity, gender, or similar demographic details. * Feedback Data: This consists of information you submit through surveys, reviews, or interactive features. * Payment Information: For paid subscriptions, we collect details like name, billing address, and payment specifics. @@ -67,7 +67,7 @@ Personal Data is collected from you directly, automatically from your device, an ### From Third Parties * Information from Other Users of the Services: Other users may share information about you when they submit issues and comments. We may also receive information about you if you are identified as a representative or administrator on your company's account. -* Publicly Available Sources: We may acquire information about you from publicly available sources like public GitHub repositories. +* Publicly Available Sources: We may acquire information about you from publicly available sources. * Services you linked to your GitHub account: When you or your administrator integrate third-party apps or services with our Services, we receive information based on your settings with those services. This can include details like your name and email from services like Google for authentication. The information we receive depends on the third-party's settings and privacy policies. Always review these to understand what data is shared with our Services. * Vendors, Partners, and Affiliates: We may receive information about you from third parties, like vendors, resellers, partners, or affiliates for the purposes outlined in this statement. @@ -83,6 +83,7 @@ The Personal Data we process depends on your interaction and access methods with * Service Provision: We use Personal Data to deliver and update our Services as configured and used by You, and to make ongoing personalized experiences and recommendations. * Troubleshooting: We use Personal Data to identify and resolve technical issues. * Ongoing Service Performance: Personal Data helps us keep the Services up to date and performant, and meet user productivity, reliability, efficacy, quality, privacy, accessibility and security needs. +* Product Development and Improvement: We use Personal Data to develop and improve our products, services, and technologies, including artificial intelligence and machine learning technologies. This includes improving features, developing new offerings, enhancing safety and security capabilities, and training models. We apply appropriate technical safeguards, including aggregation and de-identification techniques where feasible, to protect your privacy while enabling these improvements. * Complying with and resolving legal obligations: including responding to Data Subject Requests for Personal Data processed by GitHub as Controller (for example website data), tax requirements, agreements and disputes. * Delivering Professional Services: We use Personal Data to deliver training, consulting or implementation (“Professional Services”). This includes providing technical support, professional planning, advice, guidance, data migration, deployment, and solution/software development services. * Improving Professional Services: Enhancing delivery, efficacy, quality, and security of Professional Services and the underlying product(s) based on issues identified while providing Professional Services, including fixing software defects, and otherwise keeping the Professional Services up to date and performant. @@ -94,7 +95,7 @@ When carrying out these activities, GitHub practices data minimization and uses We may share Personal Data with the following recipients: * Abuse and Fraud Prevention Entities: We may disclose Personal Data based on a good faith belief it is needed to prevent fraud, abuse, or attacks on our Services, or to protect the safety of GitHub and our users. -* Affiliates: Personal Data may be shared with GitHub affiliates, including Microsoft, to facilitate customer service, marketing and advertising, order fulfillment, billing, technical support, and legal and compliance obligations. Our affiliates may only use the Personal Data in a manner consistent with this Privacy Statement. +* Affiliates: Personal Data may be shared with GitHub affiliates, including Microsoft, to facilitate customer service, marketing and advertising, order fulfillment, billing, technical support, legal and compliance obligations, product development and improvement (including training and improving artificial intelligence and machine learning technologies), and for other purposes described in their respective privacy statements. When we share data with affiliates, they will process it in accordance with applicable law and their privacy commitments. * GitHub Organization Accounts: If an organization adds you to their GitHub account, we might share Personal Data with that organization to fulfill the commercial relationship. In such a case, your use of the Services is protected by a data protection agreement and terms between your organization and GitHub * Competent Authorities: We may disclose Personal Data to authorized law enforcement, regulators, courts, or other public authorities in response to lawful requests or to protect our rights and safety. Please refer to our [Guidelines for Legal Requests of User Data](https://docs.github.com/en/site-policy/other-site-policies/guidelines-for-legal-requests-of-user-data) for more information. * Corporate Transaction Entities: we might disclose Personal Data within the limits of the law and in accordance with this Privacy Statement for strategic business transactions such as sales or a merger. @@ -106,19 +107,7 @@ We may share Personal Data with the following recipients: ## Private repositories: GitHub Access -If your GitHub account has private repositories, you control the access to that information. GitHub personnel does not access private repository information without your consent except as provided in this Privacy Statement and for: - - - -* security purposes -* automated scanning or manual review for known vulnerabilities, active malware, or other content known to violate our Terms of Service -* to assist the repository owner with a support matter -* to maintain the integrity of the Services, or -* to comply with our legal obligations if we have reason to believe the contents are in violation of the law. - - - -GitHub will provide you with notice regarding private repository access unless doing so is prohibited by law or if GitHub acted in response to a security threat or other risk to security. +If your GitHub account has private repositories, our ability and rights to access private repository information is set forth in Section E (Private Repositories) of the GitHub Terms of Service. ## Lawful Bases for Processing Personal Data (Applicable to EEA and UK End Users) @@ -126,7 +115,7 @@ GitHub processes Personal Data in compliance with the GDPR, ensuring a lawful ba * Contractual Necessity: Processing is required to fulfill our contractual duties to you, in accordance with the GitHub Terms of Service. * Legal Obligation: We process data when it's necessary to comply with applicable laws or to protect the rights, safety, and property of GitHub, our affiliates, users, or third parties. -* Legitimate Interests: We process data for purposes that are in our legitimate interests, such as securing our Services, communicating with you, and improving our Services. This is done only when these interests are not overridden by your data protection rights or your fundamental rights and freedoms. +* Legitimate Interests: We process data for purposes that are in our legitimate interests, such as securing our Services, communicating with you, and developing and improving our Services, which include artificial intelligence and machine learning technologies. This is done only when these interests are not overridden by your data protection rights or your fundamental rights and freedoms. * Consent: We process data when you have explicitly consented to such processing. When we rely on consent as the legal basis, you have the right to withdraw your consent for data processing at any time. The procedures for withdrawal are detailed in this Statement and available on our website. ## Your Privacy Rights @@ -220,7 +209,7 @@ For Enterprise Marketing Pages, we may also use non-essential cookies to (i) gat Our emails to users may contain a pixel tag, which is a small, clear image that can tell us whether or not you have opened an email and what your IP address is. We use this pixel tag to make our email communications more effective and to make sure we are not sending you unwanted email. -The length of time a cookie will stay on your browser or device depends on whether it is a “persistent” or “session” cookie. Session cookies will only stay on your device until you stop browsing. Persistent cookies stay until they expire or are deleted. The expiration time or retention period applicable to persistent cookies depends on the purpose of the cookie collection and tool used. You may be able to delete cookie data. For more information, see [AUTOTITLE](/site-policy/privacy-policies/github-privacy-statement#what-are-your-cookie-choices-and-controls). +The length of time a cookie will stay on your browser or device depends on whether it is a “persistent” or “session” cookie. Session cookies will only stay on your device until you stop browsing. Persistent cookies stay until they expire or are deleted. The expiration time or retention period applicable to persistent cookies depends on the purpose of the cookie collection and tool used. You may be able to delete cookie data. For more information, see [AUTOTITLE](/site-policy/privacy-policies/github-general-privacy-statement#what-are-your-cookie-choices-and-controls). #### What are cookies and similar technologies? @@ -255,7 +244,7 @@ The table below provides additional information about how we use different types 1. **Specifically on GitHub Enterprise Marketing Pages** - Any GitHub page that serves non-essential cookies will have a link in the page’s footer to cookie settings. You can express your preferences at any time by clicking on that linking and updating your settings. + Any GitHub page that serves non-essential cookies will have a link in the page’s footer to cookie settings. You can express your preferences at any time by clicking on that link and updating your settings. Some users will also be able to manage non-essential cookies via a cookie consent banner, including the options to accept, manage, and reject all non-essential cookies. 1. **Generally for all websites** diff --git a/data/reusables/copilot/ai-credits-mobile.md b/data/reusables/copilot/ai-credits-mobile.md new file mode 100644 index 000000000000..6664b137bf27 --- /dev/null +++ b/data/reusables/copilot/ai-credits-mobile.md @@ -0,0 +1 @@ +> [!NOTE] The option to purchase additional {% data variables.product.prodname_ai_credits_short %} is not available if you subscribe, or have subscribed, to a {% data variables.product.prodname_copilot_short %} plan through {% data variables.product.prodname_mobile %} on iOS or Android. diff --git a/data/reusables/copilot/code-review-actions-minutes-note.md b/data/reusables/copilot/code-review-actions-minutes-note.md new file mode 100644 index 000000000000..a133df0f3037 --- /dev/null +++ b/data/reusables/copilot/code-review-actions-minutes-note.md @@ -0,0 +1 @@ +> [!IMPORTANT] Starting June 1, 2026, {% data variables.copilot.copilot_code-review_short %} runs will consume {% data variables.product.prodname_actions %} minutes. For more details on this and how to prepare, see [Pricing and usage cost considerations for {% data variables.copilot.copilot_code-review_short %}](/copilot/reference/copilot-billing/models-and-pricing#pricing-and-usage-cost-considerations-for-copilot-code-review). \ No newline at end of file diff --git a/data/reusables/copilot/differences-cfi-cfb-table.md b/data/reusables/copilot/differences-cfi-cfb-table.md index 2214a4bfe130..772f9d2d0cf5 100644 --- a/data/reusables/copilot/differences-cfi-cfb-table.md +++ b/data/reusables/copilot/differences-cfi-cfb-table.md @@ -41,6 +41,8 @@ ### Models +{% data reusables.copilot.gpt-53-codex-student-model-picker-note %} + {% data reusables.copilot.available-models-per-plan %} ### Inline suggestions diff --git a/data/reusables/copilot/gpt-53-codex-student-model-picker-note.md b/data/reusables/copilot/gpt-53-codex-student-model-picker-note.md new file mode 100644 index 000000000000..5bacd7980476 --- /dev/null +++ b/data/reusables/copilot/gpt-53-codex-student-model-picker-note.md @@ -0,0 +1,5 @@ + + +> [!NOTE] For {% data variables.copilot.copilot_student_short %}, {% data variables.copilot.copilot_gpt_53_codex %} is not available in the model picker, but remains available through {% data variables.copilot.copilot_auto_model_selection_short %}. + + \ No newline at end of file diff --git a/data/reusables/copilot/optional-select-copilot-cloud-agent-model.md b/data/reusables/copilot/optional-select-copilot-cloud-agent-model.md index 4ff7d3c3b39a..fda7e6049f06 100644 --- a/data/reusables/copilot/optional-select-copilot-cloud-agent-model.md +++ b/data/reusables/copilot/optional-select-copilot-cloud-agent-model.md @@ -1 +1 @@ -1. Optionally, if you are a {% data variables.copilot.copilot_pro %} or {% data variables.copilot.copilot_pro_plus %} user, you can use the dropdown menu to select the model that {% data variables.product.prodname_copilot_short %} will use. For more information, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/cloud-agent/changing-the-ai-model). \ No newline at end of file +1. Optionally, you can use the dropdown menu to select the model that {% data variables.product.prodname_copilot_short %} will use. For more information, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/cloud-agent/changing-the-ai-model). \ No newline at end of file diff --git a/data/reusables/copilot/tbb-completions.md b/data/reusables/copilot/tbb-completions.md new file mode 100644 index 000000000000..2ab608de497a --- /dev/null +++ b/data/reusables/copilot/tbb-completions.md @@ -0,0 +1 @@ +Code completions and {% data variables.copilot.next_edit_suggestions %} are not billed in {% data variables.product.prodname_ai_credits_short %}. They remain unlimited for all paid {% data variables.product.prodname_copilot_short %} plans and continue to use their existing counting mechanism. diff --git a/data/reusables/copilot/ubb-announcement-cb-ce.md b/data/reusables/copilot/ubb-announcement-cb-ce.md new file mode 100644 index 000000000000..3fa0d42fe266 --- /dev/null +++ b/data/reusables/copilot/ubb-announcement-cb-ce.md @@ -0,0 +1 @@ +> [!IMPORTANT] Starting June 1, 2026, {% data variables.product.github %} is moving {% data variables.product.prodname_copilot_short %} from request-based billing to usage-based billing. See [AUTOTITLE](/copilot/concepts/billing/usage-based-billing-for-organizations-and-enterprises). diff --git a/data/reusables/copilot/ubb-announcement-cfi-cb-ce.md b/data/reusables/copilot/ubb-announcement-cfi-cb-ce.md new file mode 100644 index 000000000000..143c1f44ed96 --- /dev/null +++ b/data/reusables/copilot/ubb-announcement-cfi-cb-ce.md @@ -0,0 +1 @@ +> [!IMPORTANT] Starting June 1, 2026, {% data variables.product.github %} is moving {% data variables.product.prodname_copilot_short %} from request-based billing to usage-based billing. See [AUTOTITLE](/copilot/concepts/billing/usage-based-billing-for-organizations-and-enterprises) and [AUTOTITLE](/copilot/concepts/billing/usage-based-billing-for-individuals). diff --git a/data/reusables/copilot/ubb-announcement-cfi.md b/data/reusables/copilot/ubb-announcement-cfi.md new file mode 100644 index 000000000000..c27de6973730 --- /dev/null +++ b/data/reusables/copilot/ubb-announcement-cfi.md @@ -0,0 +1 @@ +> [!IMPORTANT] Starting June 1, 2026, {% data variables.product.github %} is moving {% data variables.product.prodname_copilot_short %} from request-based billing to usage-based billing. For more information, see [AUTOTITLE](/copilot/concepts/billing/usage-based-billing-for-individuals). diff --git a/data/tables/copilot/annual-subscriber-model-multipliers.yml b/data/tables/copilot/annual-subscriber-model-multipliers.yml new file mode 100644 index 000000000000..72757cd73a13 --- /dev/null +++ b/data/tables/copilot/annual-subscriber-model-multipliers.yml @@ -0,0 +1,111 @@ +# Model multipliers for {% data variables.copilot.copilot_pro_short %} and {% data variables.copilot.copilot_pro_plus_short %} annual subscribers +# Starting June 1, 2026, annual subscribers will see new multiplier rates compared to current rates +# +# Column keys: +# - model: The model name. +# - current_multiplier: The current multiplier rate. +# - new_multiplier: The new multiplier rate effective June 1, 2026. + +- model: 'Claude Haiku 4.5' + current_multiplier: '0.33' + new_multiplier: '0.33' + +- model: 'Claude Opus 4.5' + current_multiplier: '3' + new_multiplier: '15' + +- model: 'Claude Opus 4.6' + current_multiplier: '3' + new_multiplier: '27' + +- model: 'Claude Opus 4.7' + current_multiplier: '7.5' + new_multiplier: '27' + +- model: 'Claude Sonnet 4' + current_multiplier: '1' + new_multiplier: '1' + +- model: 'Claude Sonnet 4.5' + current_multiplier: '1' + new_multiplier: '6' + +- model: 'Claude Sonnet 4.6' + current_multiplier: '1' + new_multiplier: '9' + +- model: 'Gemini 2.5 Pro' + current_multiplier: '1' + new_multiplier: '1' + +- model: 'Gemini 3 Flash' + current_multiplier: '0.33' + new_multiplier: '0.33' + +- model: 'Gemini 3 Pro' + current_multiplier: '1' + new_multiplier: '6' + +- model: 'Gemini 3.1 Pro' + current_multiplier: '1' + new_multiplier: '6' + +- model: 'GPT-4o' + current_multiplier: '0' + new_multiplier: '0.33' + +- model: 'GPT-4o mini' + current_multiplier: '0' + new_multiplier: '0.33' + +- model: 'GPT-4.1' + current_multiplier: '0' + new_multiplier: '1' + +- model: 'GPT-5.1' + current_multiplier: '1' + new_multiplier: '3' + +- model: 'GPT-5.1-Codex' + current_multiplier: '1' + new_multiplier: '3' + +- model: 'GPT-5.1-Codex-Mini' + current_multiplier: '0.33' + new_multiplier: '0.33' + +- model: 'GPT-5.1-Codex-Max' + current_multiplier: '1' + new_multiplier: '3' + +- model: 'GPT-5.2' + current_multiplier: '1' + new_multiplier: '3' + +- model: 'GPT-5.2-Codex' + current_multiplier: '1' + new_multiplier: '3' + +- model: 'GPT-5.3-Codex' + current_multiplier: '1' + new_multiplier: '6' + +- model: 'GPT-5.4' + current_multiplier: '1' + new_multiplier: '6' + +- model: 'GPT-5.4 mini' + current_multiplier: '0.33' + new_multiplier: '6' + +- model: 'GPT-5 mini' + current_multiplier: '0' + new_multiplier: '0.33' + +- model: 'Grok Code Fast 1' + current_multiplier: '0.25' + new_multiplier: '0.33' + +- model: 'Raptor mini' + current_multiplier: '0' + new_multiplier: '0.33' diff --git a/data/tables/copilot/model-supported-plans.yml b/data/tables/copilot/model-supported-plans.yml index 825062328ed8..de685c02f118 100644 --- a/data/tables/copilot/model-supported-plans.yml +++ b/data/tables/copilot/model-supported-plans.yml @@ -135,7 +135,7 @@ - name: GPT-5.3-Codex free: false - student: true + student: false pro: true pro_plus: true business: true diff --git a/data/tables/copilot/models-and-pricing.yml b/data/tables/copilot/models-and-pricing.yml new file mode 100644 index 000000000000..fce165c9594b --- /dev/null +++ b/data/tables/copilot/models-and-pricing.yml @@ -0,0 +1,212 @@ +# This file defines per-token pricing for AI models available in GitHub Copilot. +# Prices are per 1 million tokens. +# +# Please keep this list sorted by provider, then alphabetically by model name. +# Providers in this order: OpenAI, Anthropic, Google, xAI, Fine-tuned (GitHub). +# +# Column keys: +# - model: The model name. +# - provider: The model provider (openai, anthropic, google, xai, github). +# - release_status: "GA" or "Public preview". +# - category: The model category or task area. +# - input: Input token price per 1M tokens. +# - cached_input: Cached input token price per 1M tokens. +# - output: Output token price per 1M tokens. +# - cache_write: Cache write price per 1M tokens (Anthropic only). +# - notes: Optional notes about the model. + +# OpenAI +- model: 'GPT-4.1[^1]' + provider: openai + release_status: GA + category: Versatile + input: $2.00 + cached_input: $0.50 + output: $8.00 + +- model: 'GPT-5 mini[^1]' + provider: openai + release_status: GA + category: Lightweight + input: $0.25 + cached_input: $0.025 + output: $2.00 + +- model: GPT-5.2 + provider: openai + release_status: GA + category: Versatile + input: $1.75 + cached_input: $0.175 + output: $14.00 + +- model: GPT-5.2-Codex + provider: openai + release_status: GA + category: Powerful + input: $1.75 + cached_input: $0.175 + output: $14.00 + +- model: GPT-5.3-Codex + provider: openai + release_status: GA + category: Powerful + input: $1.75 + cached_input: $0.175 + output: $14.00 + +- model: 'GPT-5.4[^2]' + provider: openai + release_status: GA + category: Versatile + input: $2.50 + cached_input: $0.25 + output: $15.00 + notes: "Prompts \u2264272K tokens" + +- model: GPT-5.4 mini + provider: openai + release_status: GA + category: Lightweight + input: $0.75 + cached_input: $0.075 + output: $4.50 + +- model: GPT-5.4 nano + provider: openai + release_status: GA + category: Lightweight + input: $0.20 + cached_input: $0.02 + output: $1.25 + +# Anthropic +- model: Claude Haiku 4.5 + provider: anthropic + release_status: GA + category: Versatile + input: $1.00 + cached_input: $0.10 + output: $5.00 + cache_write: $1.25 + +- model: Claude Sonnet 4 + provider: anthropic + release_status: GA + category: Versatile + input: $3.00 + cached_input: $0.30 + output: $15.00 + cache_write: $3.75 + +- model: Claude Sonnet 4.5 + provider: anthropic + release_status: GA + category: Versatile + input: $3.00 + cached_input: $0.30 + output: $15.00 + cache_write: $3.75 + +- model: Claude Sonnet 4.6 + provider: anthropic + release_status: GA + category: Versatile + input: $3.00 + cached_input: $0.30 + output: $15.00 + cache_write: $3.75 + +- model: Claude Opus 4.5 + provider: anthropic + release_status: GA + category: Powerful + input: $5.00 + cached_input: $0.50 + output: $25.00 + cache_write: $6.25 + +- model: Claude Opus 4.6 + provider: anthropic + release_status: GA + category: Powerful + input: $5.00 + cached_input: $0.50 + output: $25.00 + cache_write: $6.25 + +- model: Claude Opus 4.7 + provider: anthropic + release_status: GA + category: Powerful + input: $5.00 + cached_input: $0.50 + output: $25.00 + cache_write: $6.25 + +- model: 'Claude Opus 4.6 (fast mode)[^4]' + provider: anthropic + release_status: Public preview + category: Powerful + input: $30.00 + cached_input: $3.00 + output: $150.00 + cache_write: $37.50 + notes: 6x standard Opus 4.6 rates + +# Google +- model: 'Gemini 2.5 Pro[^5]' + provider: google + release_status: GA + category: Powerful + input: $1.25 + cached_input: $0.125 + output: $10.00 + notes: "Prompts \u2264200K tokens" + +- model: 'Gemini 3 Flash[^6]' + provider: google + release_status: Public preview + category: Lightweight + input: $0.50 + cached_input: $0.05 + output: $3.00 + notes: No long-context surcharge + +- model: 'Gemini 3.1 Pro[^5]' + provider: google + release_status: Public preview + category: Powerful + input: $2.00 + cached_input: $0.20 + output: $12.00 + notes: "Prompts \u2264200K tokens" + +# xAI +- model: Grok Code Fast 1 + provider: xai + release_status: GA + category: Lightweight + input: $0.20 + cached_input: $0.02 + output: $1.50 + +# Fine-tuned (GitHub) +- model: 'Raptor mini[^7]' + provider: github + release_status: Public preview + category: Versatile + input: $0.25 + cached_input: $0.025 + output: $2.00 + notes: Uses GPT-5 mini pricing + +- model: 'Goldeneye[^8]' + provider: github + release_status: Public preview + category: Powerful + input: $1.25 + cached_input: $0.125 + output: $10.00 + notes: Uses GPT-5.1-Codex pricing diff --git a/data/variables/copilot.yml b/data/variables/copilot.yml index 06f7c8920d40..16601f13cf30 100644 --- a/data/variables/copilot.yml +++ b/data/variables/copilot.yml @@ -29,6 +29,14 @@ cfb_price_per_month: '$19 USD' # Price per month for Copilot Enterprise ce_price_per_month: '$39 USD' +## AI credits per plan +ai_credits_per_user_business: '1,900' +ai_credits_per_user_enterprise: '3,900' +ai_credits_per_user_business_promo: '3,000' +ai_credits_per_user_enterprise_promo: '7,000' +ai_credits_per_user_pro: '1000' +ai_credits_per_user_pro_plus: '3900' + ## Copilot partners: builders who can develop Copilot extensions copilot_partners: 'Copilot Partners' copilot_partner: 'Copilot Partner' @@ -162,6 +170,7 @@ copilot_gemini_3_pro: 'Gemini 3 Pro' copilot_gemini_31_pro: 'Gemini 3.1 Pro' # OpenAI GPT series: copilot_gpt_4o: 'GPT-4o' +copilot_gpt_4o_mini: 'GPT-4o mini' copilot_gpt_41: 'GPT-4.1' copilot_gpt_5: 'GPT-5' copilot_gpt_5_codex: 'GPT-5-Codex' diff --git a/data/variables/product.yml b/data/variables/product.yml index 0795a570826e..73083b3329c6 100644 --- a/data/variables/product.yml +++ b/data/variables/product.yml @@ -328,6 +328,12 @@ prodname_pru: 'premium request' prodname_prus: 'premium requests' prodname_prus_caps: 'Premium requests' +# GitHub AI Credits (replacing premium requests for billing) +prodname_ai_credits: 'GitHub AI Credits' +prodname_ai_credits_short: 'AI credits' +prodname_ai_credit_singular: 'AI credit' +prodname_ai_credits_value: '$0.01 USD' + # GitHub Spark prodname_spark: 'GitHub Spark' prodname_spark_short: 'Spark' diff --git a/src/content-linter/lib/linting-rules/liquid-quoted-conditional-arg.ts b/src/content-linter/lib/linting-rules/liquid-quoted-conditional-arg.ts index 13ad700cb116..16eb8afd9734 100644 --- a/src/content-linter/lib/linting-rules/liquid-quoted-conditional-arg.ts +++ b/src/content-linter/lib/linting-rules/liquid-quoted-conditional-arg.ts @@ -13,7 +13,13 @@ import type { RuleParams, RuleErrorCallback, Rule } from '../../types' For example, the following would be flagged: {% if "foo" %} {% ifversion "bar" %} + + Quoted strings used as operands in comparisons are valid and not flagged: + {% if entry.provider == "openai" %} */ + +const comparisonOperators = new Set(['==', '!=', '<>', '<', '>', '<=', '>=', 'contains']) + export const liquidQuotedConditionalArg: Rule = { names: ['GHD016', 'liquid-quoted-conditional-arg'], description: 'Liquid conditional tags should not quote the conditional argument', @@ -25,7 +31,17 @@ export const liquidQuotedConditionalArg: Rule = { .filter((token) => conditionalTags.includes(token.name)) .filter((token) => { const tokensArray = token.args.split(/\s+/g) - if (tokensArray.some((arg) => isStringQuoted(arg))) return true + if ( + tokensArray.some((arg, index) => { + if (!isStringQuoted(arg)) return false + // A quoted string is valid as an operand of a comparison operator + const prev = index > 0 ? tokensArray[index - 1] : '' + const next = index < tokensArray.length - 1 ? tokensArray[index + 1] : '' + if (comparisonOperators.has(prev) || comparisonOperators.has(next)) return false + return true + }) + ) + return true return false }) diff --git a/src/content-linter/tests/unit/liquid-quoted-conditional-args.ts b/src/content-linter/tests/unit/liquid-quoted-conditional-args.ts index 3e32d96ac8cc..511761be7d64 100644 --- a/src/content-linter/tests/unit/liquid-quoted-conditional-args.ts +++ b/src/content-linter/tests/unit/liquid-quoted-conditional-args.ts @@ -105,4 +105,22 @@ describe(liquidQuotedConditionalArg.names.join(' - '), () => { const errors = result.markdown expect(errors.length).toBe(0) }) + test('quoted strings in comparisons are allowed', async () => { + const markdown = [ + '---', + 'title: Good sample page', + '---', + '', + '{% if entry.provider == "openai" %}', + '{% if entry.name != "test" %}', + '{% unless entry.type == "premium" %}', + '{% if entry.status contains "active" %}', + '{% if "standalone" %}', + ].join('\n') + const result = await runRule(liquidQuotedConditionalArg, { strings: { markdown } }) + const errors = result.markdown + // Only the standalone quoted arg (line 9) should be flagged + expect(errors.length).toBe(1) + expect(errors[0].lineNumber).toBe(9) + }) }) diff --git a/src/data-directory/lib/data-schemas/tables/copilot/models-and-pricing.ts b/src/data-directory/lib/data-schemas/tables/copilot/models-and-pricing.ts new file mode 100644 index 000000000000..c07fa6bdc4d0 --- /dev/null +++ b/src/data-directory/lib/data-schemas/tables/copilot/models-and-pricing.ts @@ -0,0 +1,65 @@ +// This schema enforces the structure in models-and-pricing.yml + +const modelsAndPricingSchema = { + type: 'object', + additionalProperties: false, + required: ['models'], + properties: { + models: { + type: 'array', + items: { + type: 'object', + additionalProperties: false, + required: [ + 'model', + 'provider', + 'release_status', + 'category', + 'input', + 'cached_input', + 'output', + ], + properties: { + model: { + type: 'string', + lintable: true, + }, + provider: { + type: 'string', + enum: ['openai', 'anthropic', 'google', 'xai', 'github'], + }, + release_status: { + type: 'string', + lintable: true, + }, + category: { + type: 'string', + lintable: true, + }, + input: { + type: 'string', + lintable: true, + }, + cached_input: { + type: 'string', + lintable: true, + }, + output: { + type: 'string', + lintable: true, + }, + cache_write: { + type: 'string', + lintable: true, + }, + notes: { + type: 'string', + lintable: true, + }, + }, + }, + }, + }, +} + +export default modelsAndPricingSchema diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index b7f137b2afcd..8f9f9e23ab8a 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,18 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Field enterpriseRole was added to object type RepositoryRulesetBypassActor

", + "

Input field enterpriseRole of type Boolean was added to input object type RepositoryRulesetBypassActorInput

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2026-04-27" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 01dad0baa560..df0bc5b7c36c 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -55377,6 +55377,11 @@ type RepositoryRulesetBypassActor implements Node { """ enterpriseOwner: Boolean! + """ + This actor represents the ability for an enterprise role to bypass + """ + enterpriseRole: Boolean! + """ The Node ID of the RepositoryRulesetBypassActor object """ @@ -55489,6 +55494,11 @@ input RepositoryRulesetBypassActorInput { """ enterpriseOwner: Boolean + """ + For enterprise role bypasses, true. NOTE: This bypass actor is in beta. + """ + enterpriseRole: Boolean + """ For organization owner bypasses, true """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 2553bb569c8d..818726756b13 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -64223,6 +64223,13 @@ "id": "boolean", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "enterpriseRole", + "description": "

This actor represents the ability for an enterprise role to bypass.

", + "type": "Boolean!", + "id": "boolean", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "id", "description": "

The Node ID of the RepositoryRulesetBypassActor object.

", @@ -98453,6 +98460,13 @@ "id": "boolean", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "enterpriseRole", + "description": "

For enterprise role bypasses, true. NOTE: This bypass actor is in beta.

", + "type": "Boolean", + "id": "boolean", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "organizationAdmin", "description": "

For organization owner bypasses, true.

", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 01dad0baa560..df0bc5b7c36c 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -55377,6 +55377,11 @@ type RepositoryRulesetBypassActor implements Node { """ enterpriseOwner: Boolean! + """ + This actor represents the ability for an enterprise role to bypass + """ + enterpriseRole: Boolean! + """ The Node ID of the RepositoryRulesetBypassActor object """ @@ -55489,6 +55494,11 @@ input RepositoryRulesetBypassActorInput { """ enterpriseOwner: Boolean + """ + For enterprise role bypasses, true. NOTE: This bypass actor is in beta. + """ + enterpriseRole: Boolean + """ For organization owner bypasses, true """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 2553bb569c8d..818726756b13 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -64223,6 +64223,13 @@ "id": "boolean", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "enterpriseRole", + "description": "

This actor represents the ability for an enterprise role to bypass.

", + "type": "Boolean!", + "id": "boolean", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "id", "description": "

The Node ID of the RepositoryRulesetBypassActor object.

", @@ -98453,6 +98460,13 @@ "id": "boolean", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "enterpriseRole", + "description": "

For enterprise role bypasses, true. NOTE: This bypass actor is in beta.

", + "type": "Boolean", + "id": "boolean", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "organizationAdmin", "description": "

For organization owner bypasses, true.

",