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

429 Too Many Requests

Open frisancofrango opened this issue 1 year ago • 13 comments

What happened?

It tells me I exceeded the API limit on the first 30 messages (?), and won't let me use it again even though It's been over 2 hours.

"...However, the most recent error I encountered, as shown in the debug console, is a 429 Too Many Requests from the Gemini API. This error indicates that your Google Gemini API key has hit its usage limits, and the API is temporarily unavailable.

This is an external issue related to your API quota, not a problem with my ability to read or write files on your system. I have successfully read and modified the bot's files multiple times throughout our session to implement features and fix previous code errors.

I cannot proceed with any code-related fixes or further development until the Gemini API quota issue is resolved. Once your API key is functional again, I can continue working on the bot..."

What did you expect to happen?

I expected to be able to use It for at least 60 messages an hour as advertised. Pretty lame.

Client information

  • CLI Version: 0.1.5
  • Git Commit: bf873a1
  • Operating System: win32 v24.3.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-flash
  • Memory Usage: 379.1 MB

Login information

No response

Anything else we need to know?

No response

frisancofrango avatar Jun 27 '25 23:06 frisancofrango

hi @frisancofrango , thanks for opening this issue. Can you try logging in with your personal gmail account? The limits with a personal account are different from those tied to your Gemin API key

MarlonGamez avatar Jun 28 '25 00:06 MarlonGamez

There is no way that 1000 req/day limit is real.

I just got a 429 error saying "Quota exceeded for quota metric 'Gemini 2.5 Pro Requests' and limit 'Gemini 2.5 Pro Requests per day per user per tier"

I've barely used more than 50 requests all day! And yes, I'm signed in with my google account

amxv avatar Jun 28 '25 01:06 amxv

hi @frisancofrango , thanks for opening this issue. Can you try logging in with your personal gmail account? The limits with a personal account are different from those tied to your Gemin API key

Hello! I am already currently using my personal Gmail account, not my Gemini API key.

frisancofrango avatar Jun 28 '25 02:06 frisancofrango

gemini-cli cannot use gemini-2.5-pro, and automatically switches to gemini-2.5-flash after startup. It cannot be used at all

zhengguangli avatar Jun 28 '25 03:06 zhengguangli

gemini-cli cannot use gemini-2.5-pro, and automatically switches to gemini-2.5-flash after startup. It cannot be used at all

I believe you get that when you hit your quota or rate limits

centminmod avatar Jun 28 '25 04:06 centminmod

Or error just means their end is overloaded https://cloud.google.com/vertex-ai/generative-ai/docs/provisioned-throughput/error-code-429

centminmod avatar Jun 28 '25 06:06 centminmod

We're working as quickly as we can on quota and 429. thanks for your patience as we deal with a firehose of users during this launch. I'm de-duping this with #1502 to consolidate conversation there.

sethtroisi avatar Jul 01 '25 00:07 sethtroisi

The response with 429 code has link to google limits pages, maybe we need a dedicated linked page for gemini-cli/code assist and then on that page a service status update for folks. Might save on amount of user reported issues if the linked 429 page was more informative 😄

centminmod avatar Jul 01 '25 01:07 centminmod

Using gemini-api-key in vscode cline is great, but now I am totally blocked by the 429 problem! Please help!

EinsteinInIct avatar Jul 01 '25 03:07 EinsteinInIct

@sethtroisi Take your time, you guys have built something wonderful!

But please, be more honest and transparent in the main README about how many requests the CLI can actually handle (<100/day) right now while you guys work on increasing Gemini 2.5 Pro capacity. We are devs too, and we get it. I know I'm not the only one who feels this way.

Continuing to advertise 1000 free requests per day on all channels is slowly starting to sound disingenuous. You have the entire industry's attention right now, don't throw it away :)

amxv avatar Jul 01 '25 18:07 amxv

Yeah - i run into the same issue here: HTTP 429 Too Many Requests. I HAVE NOT USED THE MODEL THE WHOLE DAY. Maybe 10 requests, and STILL i got this message from gemini 3.1 high. Claude works though ... ? All of that in Antigravity. ?? Go Figure ? But hey Google - this is REALLY REALLY bad. You are on the roll guys - why destroy stellar reputation now?

dimicdragan avatar May 12 '26 23:05 dimicdragan

The same issue is happening to me. Google AI Studio shows that I’m well, well below any quota or rate limit.

This problem has been reported by hundreds of users for months, and yet no solution has been provided. At this point, it makes Google’s AI models completely unusable and unreliable.

Honestly, it’s embarrassing.

heinsenberg82 avatar May 30 '26 13:05 heinsenberg82

This issue has been reported about a YEAR ago, and still not fixed!!!

12thdream avatar Jun 09 '26 17:06 12thdream