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

Unable to get any meaningful work done due to Rate Limiting detected

Open smartpuppy opened this issue 1 year ago • 8 comments

Describe the bug

I'm a Gemini Ultra subscriber and I am unable to get any work done for more than a few minutes before I start getting: ℹ ⚡ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.

Even when it is switched over it sometimes keeps repeating the error over and over every minute or so. Switching to my API key gave a different error even though I created a new key for this.

Also, as a user, when I switch back and forth between authentication methods, which sometimes re-awakens the Gemini 2.5 Pro model which will work for a little until it doesn't again -- the context is completely lost rendering the session useless and is not the desired behavior.

Additional context

Add any other context about the problem here.

Diagnostic Information

  • CLI Version: 0.1.1
  • Git Commit: 852210e1 (local modifications)
  • Operating System: darwin v24.2.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-flash
  • Memory Usage: 322.2 MB

smartpuppy avatar Jun 25 '25 21:06 smartpuppy

I'm having the same issues, with a Tier 3 Google AI Studio API key. I can barely get a single query done in a small codebase.

gkelly avatar Jun 25 '25 21:06 gkelly

Same issue:

✕ [API Error: {"error":{"message":"{\n "error": {\n "code": 429,\n "message": "Resource has been exhausted (e.g. check quota).",\n "status": "RESOURCE_EXHAUSTED"\n }\n}\n","code":429,"status":"Too Many Requests"}}] Please wait and try again later. To increase your limits, request a quota increase through AI Studio, or switch to another /auth method

InsightfulFuture avatar Jun 25 '25 21:06 InsightfulFuture

I am also having the same issue. It switches to gemini-2.5-flash indicating "Rate limiting detected..." yet it gets stuck. It was working good some couple hours back.

alicanuzun avatar Jun 25 '25 21:06 alicanuzun

I also am having issues with it. I can barely get even a simple task done, too.

Even when fallback to 2.5 Flash kicks in, it gets stuck and nothing is happening.

Such behavior results in having to ditch all changes that have been made from the beginning after prompting.

sevosik avatar Jun 25 '25 22:06 sevosik

I am having the same issue on my mac

archodev avatar Jun 25 '25 22:06 archodev

I read on Logan K's Twitter that they are having capacity issues. With the generous free usage I can't say I'm surprised, plus the excitement of something new to try out. I imagine this is related to why it's difficult to use Gemini CLI at the moment.

Ixe1 avatar Jun 25 '25 22:06 Ixe1

👋 @smartpuppy thanks so much for reporting. So sorry you and other folks here are hitting this. We're working on it! The response has been incredible, so capacity is a bit shaky.

fhinkel avatar Jun 25 '25 22:06 fhinkel

Thanks for the update and glad you all on top of it. For the record, when it was working earlier - I was extremely impressed. Keep up the great work and pass my compliments back to the teams working on all of this and to Gemini!

smartpuppy avatar Jun 25 '25 23:06 smartpuppy