1
0
mirror of synced 2025-12-21 10:57:10 -05:00
Files
docs/content/copilot/how-tos/troubleshoot/rate-limits-for-github-copilot.md
2025-06-26 23:30:20 +00:00

2.5 KiB
Raw Blame History

title, shortTitle, intro, versions, topics, redirect_from
title shortTitle intro versions topics redirect_from
Rate limits for GitHub Copilot Rate limits Learn about {% data variables.product.prodname_copilot %} rate limits and what to do if you are rate limited.
feature
copilot
Copilot
/copilot/troubleshooting-github-copilot/rate-limits-for-github-copilot

Rate limiting is a mechanism used to control the number of requests a user or application can make in a given time period. {% data variables.product.github %} uses rate limits to ensure everyone has fair access to {% data variables.product.prodname_copilot %} and to protect against abuse.

When you hit a rate limit, you may temporarily lose access to certain {% data variables.product.prodname_copilot %} features or models, and youll see an error message informing you that youve been rate limited.

Why does {% data variables.product.github %} use rate limits?

{% data variables.product.github %} enforces rate limits for several reasons.

  • Capacity: There is a limited amount of computing power available to serve all {% data variables.product.prodname_copilot_short %} users. Rate limiting helps prevent the system from being overloaded.
  • High usage: Popular features and models may receive bursts of requests. Rate limits ensure no single user or group can monopolize these resources.
  • Fairness: Rate limits ensure that all users have equitable access to {% data variables.product.prodname_copilot_short %}.
  • Abuse mitigation: Without rate limits, malicious actors could exploit {% data variables.product.prodname_copilot_short %}, leading to degraded service for everyone or even denial of service.

What to do if you are rate limited

If you receive a rate limit error when using {% data variables.product.prodname_copilot_short %}, you should:

  • Wait and try again. Rate limits are temporary. Often, waiting a short period and trying again resolves the issue.
  • Check your usage. If youre making frequent or automated requests (for example, rapid-fire completions or large-scale usage), consider adjusting your usage pattern.
  • Change your model. Preview models may have stricter rate limits due to limited capacity.
  • Contact Support. If youre repeatedly rate limited and believe its impacting legitimate use, contact {% data variables.contact.contact_support_page %} for assistance.

[!NOTE] Service-level rate limits should not affect typical {% data variables.product.prodname_copilot_short %} usage. However, if youre heavily using preview models, you may encounter rate limits more frequently.