gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

constant "exceeded your current quota" code 429

Open ronk30 opened this issue 1 year ago • 5 comments

What happened?

i hope im at the right place, i get this error like always.. im on pro plan, using gemini-cli , and after around 50 requests im getting this error, because i cant continue from the same spot, its always going back and waiting a day trying to get to this point and failing again.. wasnt it suppose to be 1000 per day? am i missing something? thanks

You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits.
code: 429

What did you expect to happen?

expected to have 1000 requests per day , its breaking around 30-60

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
╭─────────────────────────────────────────────────────────────────────────╮
│                                                                         │
│ About Gemini CLI                                                        │
│                                                                         │
│ CLI Version              0.4.1                                          │
│ Git Commit               70ff7a36                                       │
│ Model                    gemini-2.5-pro                                 │
│ Sandbox                  no sandbox                                     │
│ OS                       win32                                          │
│ Auth Method              gemini-api-key                                 │
│                                                                         │
╰─────────────────────────────────────────────────────────────────────────╯

Login information

gemini api key via environment variable

Anything else we need to know?

No response

ronk30 avatar Sep 13 '25 17:09 ronk30

The user is reporting a bug where they are hitting quota limits (429 error) far earlier than expected, which blocks them from using the CLI. This is categorized as a high-priority performance issue.

gemini-cli[bot] avatar Sep 13 '25 17:09 gemini-cli[bot]

anyone? this is really frustrating, every day i cant progress with gemini cli after like 40-50 minutes, sometimes less... why is that? im not sure if my pro plan is what limiting me , i dont think so as sometimes its really after few prompts, also i make sure to keep context small

ronk30 avatar Sep 16 '25 20:09 ronk30

The same here. Hitting the 429 error all the time.

hckal avatar Oct 01 '25 02:10 hckal

anyone here ? I am on tier 1 ,and after around 100 requests on gemini-2.5-pro I met the same mistake. Unfortunately, it seems the quota limit doesn't reset even after a day.

Image

API Error: Error from Google Gemini: AI_RetryError: Failed after 3 attempts. Last error: You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. * Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 50 Please retry in 43.186384127s.

abandonstudy avatar Oct 02 '25 01:10 abandonstudy

Hi,

Thank you all so much for your feedback and the robust discussion. So sorry for your experience trying to figure this out.

I'm sharing a few additional links to tell you more about how quotas and capacities work as well as work we are doing to make these capacities last longer. You can learn about how these work at this post. https://github.com/google-gemini/gemini-cli/issues/2711#issuecomment-3054101858

Beyond this, we have also recently implemented a change to help Pro calls last for longer You can learn more here https://github.com/google-gemini/gemini-cli/discussions/8649

Lastly the issue itself talks about not getting quota when using a Pro account. I would like to point out that we launched support for Pro accounts very recently. You can learn more here https://github.com/google-gemini/gemini-cli/discussions/9501

While I am closing this issue for now, please feel free to open issues for any problems you run into. Looking forward to hearing from you.

srithreepo avatar Oct 02 '25 21:10 srithreepo