429 Error when i haven't used gemini cli today at all
What happened?
not used gemini today at all but getting 429 error
What did you expect to happen?
work fine
Client information
- CLI Version: 0.8.2
- Git Commit: 9b2d4c61
- Session ID: 67c8036f-fbce-40f1-9283-8d2600828e5a
- Operating System: darwin v20.19.2
- Sandbox Environment: no sandbox
- Model Version: gemini-2.5-pro
- Memory Usage: 191.5 MB
Login information
No response
Anything else we need to know?
No response
Same issue:
[API Error: [{ "error": { "code": 429, "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "errors": [ { "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "domain": "global", "reason": "rateLimitExceeded" } ], "status": "RESOURCE_EXHAUSTED" } } ]] Possible quota limitations in place or slow response times detected. Switching to the Gemini-2.5-flash model for the rest of this session.
✕ [API Error: [{ "error": { "code": 429, "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "errors": [ { "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "domain": "global", "reason": "rateLimitExceeded" } ], "status": "RESOURCE_EXHAUSTED" } } ]] Possible quota limitations in place or slow response times detected. Switching to the gemini-2.5-flash model for the rest of this session.
Same issue:
Ubunutu 24.04.3 LTS, Node 22.17.0
Gemini Code Assist Standard (Company Provided) Gemini Session ID: 'c5b234da-87d9-496c-834c-62e6306a39a0',
Leading up to the error:
Updated Gemini CLI before launch npm run i -g @google/gemini-cli and launched with gemini --yolo.
This happened first (didnt record the session info, but it was about 15 mins, one question asked. Got 429 Error.)
I sometimes can fix this by running /auth and logging back in, this failed to work, I asked the same question/command and got instant 429.
I quit and re-opened which is the session mentioned above, I asked the same quesiton, slighly re-worded incase something somehwere was cached but to no avail, it gave me a 429 after calling a few tools to read the file and a commit and 429.
No where near the 1500 2.5 pro requests Gemini Code Assist Standard affords us.
Example response:
API Error: [{
"error": {
"code": 429,
"message": "Resource exhausted. Please try again later. Please refer to
https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.",
"errors": [
{
"message": "Resource exhausted. Please try again later. Please refer to
https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED"
}
}
]]
Possible quota limitations in place or slow response times detected. Switching to the
gemini-2.5-flash model for the rest of this session.
I get the same issue.
✕ [API Error: [{ "error": { "code": 429, "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "errors": [ { "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "domain": "global", "reason": "rateLimitExceeded" } ], "status": "RESOURCE_EXHAUSTED" } } ]] Possible quota limitations in place or slow response times detected. Switching to the gemini-2.5-flash model for the rest of this session.
Getting the same error on macOS 15.7.1 with gemini cli 0.8.2. It started today and has been appearing randomly.
For me too, on first request today, and on every prompt:
✕ [API Error: [{
"error": {
"code": 429,
"message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.",
"errors": [
{
"message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED"
}
}
]]
Possible quota limitations in place or slow response times detected. Switching to the gemini-2.5-flash model for the rest of this session.
#10946
New to reporting issues. Made post regarding this same thing.
Fresh install as a first time user of this software. Issue happened after 1 message.
Multiple reinstalls using both npm and homebrew methods.
Screen recorded the issue and added a link in the post.
Auth - Google AI Pro Subscription so did expect a quota higher than the 1000 free tier requests
the same here. I started noticing this spurious message a couple of days ago. And, now it's for every other prompt.
✕ [API Error: [{ "error": { "code": 429, "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "errors": [ { "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "domain": "global", "reason": "rateLimitExceeded" } ], "status": "RESOURCE_EXHAUSTED" } } ]] Possible quota limitations in place or slow response times detected. Switching to the gemini-2.5-flash model for the rest of this session.
All the time, especially on weekdays 😅 thanks nano banana.
Hi all, the team is working hard to increase capacity for all our users. Thanks for bearing with us. Marking this as a duplicate, please follow along in https://github.com/google-gemini/gemini-cli/issues/11392