1
0
mirror of synced 2025-12-20 10:28:40 -05:00
Files
docs/content/copilot/concepts/rate-limits.md
Siara 164e19962b Discovery landing page (#58174)
Co-authored-by: Claire W <78226508+crwaters16@users.noreply.github.com>
Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com>
Co-authored-by: Jules <19994093+jules-p@users.noreply.github.com>
Co-authored-by: Jules Porter <jules-p@users.noreply.github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
2025-10-29 18:30:03 +00:00

2.7 KiB
Raw Blame History

title, shortTitle, allowTitleToDifferFromFilename, intro, versions, topics, redirect_from, contentType, category
title shortTitle allowTitleToDifferFromFilename intro versions topics redirect_from contentType category
Rate limits for GitHub Copilot Rate limits true 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
/copilot/how-tos/troubleshoot/rate-limits-for-github-copilot
concepts
Learn about 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.