GitHub Copilot: "Sorry, you have been rate-limited. Please wait a moment before trying again."

This message appears in GitHub Copilot Chat in VS Code (ask and agent modes) when GitHub's Copilot service refuses a request because you have sent too many in a given period. It is the extension's generic rate-limit message: the wording is in the Copilot extension source in Microsoft's VS Code repository, and it is followed by two lines, Server Error and Error Code, that carry the server's own explanation. Using up your plan's AI credits is a different condition with a different message and fix.

The 30-second answer

The exact error

The text below is the message template as it appears in extensions/copilot/src/platform/chat/common/commonTypes.ts in the microsoft/vscode repository (commit 24116d6, read on 9 November 2026). There are two variants: the first is used when the Auto model is already selected, the second when a specific model is selected.

Sorry, you have been rate-limited. Please wait {0} before trying again. [Learn More]({1})\n\nServer Error: {2}\nError Code: {3}

Sorry, you have been rate-limited. Please wait {0} before trying again or consider switching to Auto. [Learn More]({1})\n\nServer Error: {2}\nError Code: {3}

In the same function, {0} is the literal text a moment when the server sends no retry time, otherwise a duration such as "45 seconds" or "12 minutes". {1} is https://aka.ms/github-copilot-rate-limit-error. {2} and {3} are the error message and error code returned by the Copilot API. So with no retry time and Auto selected, the chat shows:

Sorry, you have been rate-limited. Please wait a moment before trying again. Learn More

Server Error: <message from the Copilot service>
Error Code: <code from the Copilot service>

The placeholders are deliberate. The source does not list the values the server puts on those two lines for this generic message, and none are quoted here because none could be confirmed. This sentence does not appear in GitHub's documentation, which titles its entry "Error: You've hit a rate limit" instead.

Verified against GitHub's docs and source — 9 November 2026

Not reproduced. Triggering this message needs a signed-in Copilot session that GitHub is actually throttling, which cannot be produced on demand or without an account. Nothing on this page comes from a hands-on test. Everything below was read on 9 November 2026 from the pages named.

Not verified: which released extension versions show this exact wording (the source read was the repository's main branch, where the extension's package.json says 0.75.0); whether JetBrains, Visual Studio, Xcode, Copilot CLI or GitHub.com use the same sentence; and any numeric rate limit. GitHub publishes no request-per-minute or per-hour figures on the pages above.

Cause 1: a temporary rate limit — wait and retry

GitHub's troubleshooting entry says the error "suggests that you have exceeded the rate limit for Copilot requests", and that the message "may tell you to wait for your limit to reset, suggest a retry time, or prompt you to upgrade your plan for additional usage".

Fix: wait for the time shown in the message, then resend. If it says "a moment", the server gave no retry time, and GitHub does not document how long that is. Resending immediately in a loop is the usage pattern the docs tell you to avoid.

Cause 2: the selected model is short on capacity — switch to Auto

GitHub's docs state: "Most people see rate limiting for select models, due to limited capacity." The extension source matches this: when a specific model is selected, the message adds "or consider switching to Auto".

Fix: open the model picker in the chat view and choose Auto, then retry.

Cause 3: frequent or automated requests — change the pattern

The second documented response is "Check your usage. If you're making frequent or automated requests (for example, rapid-fire completions or large-scale usage), consider adjusting your usage pattern." The billing page adds that agent mode and Copilot cloud agent "can involve multiple model calls within a single task".

Fix: space requests out and avoid firing several agent tasks at once. GitHub says service-level limits "should not affect typical or even deeply engaged Copilot usage" and that it is "iterating on Copilot's rate-limiting heuristics", so a limit during ordinary use is something to report, not something to work around.

Cause 4: it is not a rate limit — your plan's AI credits are used up

GitHub documents this under a separate heading, "Additional usage limits", and the extension handles it in a separate function with separate messages, for example "You've reached your monthly credit limit." or "You've reached your additional usage limit for your plan." If you see one of those, waiting a moment does nothing.

What the docs say about it today:

Check which one you have: on an individual plan, open https://github.com/settings/billing and click AI usage in the sidebar to see included credits used and additional usage. In VS Code, click the Copilot icon in the status bar to see progress towards plan limits and the reset date. If credits remain, you are dealing with a rate limit (causes 1 to 3).

Cause 5: a GitHub-side incident

GitHub's troubleshooting page says to check its status page "for any active incidents affecting GitHub Copilot or model availability". githubstatus.com lists separate "Copilot" and "Copilot AI Model Providers" components (confirmed on 9 November 2026). If either shows an incident, wait for it to clear.

If it keeps happening

GitHub's instruction is direct: "In case you experience repeated rate limiting in Copilot contact GitHub Support" (support.github.com). Copy the full message including the Server Error and Error Code lines.

FAQ

How long does a GitHub Copilot rate limit last? GitHub does not publish a duration. Its documentation says only that rate limits are temporary and that waiting a short period and trying again often resolves the issue. In VS Code the message states the wait when the server supplies one; when it does not, the text reads "a moment".

Is "you have been rate-limited" the same as running out of Copilot AI credits? No. GitHub documents them separately. A rate limit is temporary and clears by waiting. Running out of included AI credits lasts until you upgrade, set a budget for additional usage, or the allowance resets at 00:00:00 UTC on the first day of the next calendar month.

Does upgrading my Copilot plan remove the rate limit? GitHub's usage-limits page lists upgrading as one of three responses to a limit error and says upgrading an individual plan "will allow for additional usage". It does not publish per-plan rate-limit numbers, so how much a higher plan changes rate limiting specifically is not documented.


Related

Verified on 9 November 2026: message wording read from the Copilot extension source in microsoft/vscode at commit 24116d6, and the fix path from GitHub's usage-limits, troubleshooting, billing and usage-monitoring docs fetched the same day. The error was not reproduced; no rate-limit numbers are published by GitHub.