Rate limiting detected with just one message
What happened?
After my first message I got this message , also AI think for more than 1000s
" Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.
ℹ ⚡ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.
ℹ ⚡ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.
ℹ ⚡ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.
ℹ ⚡ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.
ℹ ⚡ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.
ℹ ⚡ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.
ℹ ⚡ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.
ℹ ⚡ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session. "
What did you expect to happen?
I expected it to answer my query
Client information
About Gemini CLI │
│ │
│ CLI Version 0.1.1 │
│ Git Commit 852210e1 (local modifications) │
│ Model gemini-2.5-flash │
│ Sandbox no sandbox │
│ OS darwin ```
</details>
### Login information
I logged in using google account
### Anything else we need to know?
_No response_
i am getting same message
⚡ Slow response times detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session. ⚡ To avoid this you can utilize a Gemini API Key. See: https://goo.gle/gemini-cli-docs-auth#gemini-api-key ⚡ You can switch authentication methods by typing /auth
I am facing with same issues, it seems there is overload in pro, then they did this approach. Anyway, 2.5 flash is not enough in coding
instead of fake 1000 message , they simply declare it not support 2.5 pro
For me it usually starts spinning for minutes on some silly task before it runs into rate limits - I suspect it's looping hundreds of requests per minute and that may be causing this issue, but idk for sure.
Can folks share how they are authenticating to the CLI?
Can folks share how they are authenticating to the CLI?
Authenticated via connected Google Account in Browser
Same issue, I am authenticated with a GEMINI_API_KEY passed as an env. var.
SO ANNOYING. cli is useless as long as this happens. I keep getting this message almost immediately:
ℹ ⚡ Slow response times detected. Automatically switching from gemini-2.5-pro to
gemini-2.5-flash for faster responses for the remainder of this session.
⚡ To avoid this you can utilize a Gemini API Key. See:
https://goo.gle/gemini-cli-docs-auth#gemini-api-key
⚡ You can switch authentication methods by typing /auth
and it does not matter if I add my key, it automatically switches to flash model, which as others have stated is useless for coding. Please fix this.
SO ANNOYING. cli is useless as long as this happens. I keep getting this message almost immediately:
ℹ ⚡ Slow response times detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session. ⚡ To avoid this you can utilize a Gemini API Key. See: https://goo.gle/gemini-cli-docs-auth#gemini-api-key ⚡ You can switch authentication methods by typing /authand it does not matter if I add my key, it automatically switches to flash model, which as others have stated is useless for coding. Please fix this.
Do you have a paid tier of the gemini api? as I believe, 2.5 pro is only in the paid tier.
SO ANNOYING. cli is useless as long as this happens. I keep getting this message almost immediately:
ℹ ⚡ Slow response times detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session. ⚡ To avoid this you can utilize a Gemini API Key. See: https://goo.gle/gemini-cli-docs-auth#gemini-api-key ⚡ You can switch authentication methods by typing /authand it does not matter if I add my key, it automatically switches to flash model, which as others have stated is useless for coding. Please fix this.
Do you have a paid tier of the gemini api? as I believe, 2.5 pro is only in the paid tier.
YES, and I use pro in the browser all time with this account.
Google must declare publicly that gemini cli won't support 2.5 pro for free at all and all these 1000 request per day are basically fake news. I haven't able to use it in 2 days at all
Same here. With free and with paid account. After max 2-3 requests I also get
ℹ ⚡ Slow response times detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session. ⚡ To avoid this you can utilize a Gemini API Key. See: https://goo.gle/gemini-cli-docs-auth#gemini-api-key ⚡ You can switch authentication methods by typing /auth
Let's hope that this is just because it's overcrowded at the moment and will sort itself out when the initial hype is over.
Same with paid Gemini Pro account.
For me it usually starts spinning for minutes on some silly task before it runs into rate limits - I suspect it's looping hundreds of requests per minute and that may be causing this issue, but idk for sure.
I have this speculation too, and I even suspect that Waiting for user confirmation... keeps refreshing requests while waiting 🙈
I was switched to gemini-2.5-flash, and the endless wait was almost unavailable.
I quit the Gemini process and re-entered the problem.
I restarted the Gemini process again, replaced my friend's Google ID, and the problem was solved.
Problem solved!
That is to say, I alone exceeded the limit within 48 hours yesterday and today.
So it seems the latest version 0.1.7 fixes it, at least for me. It no longer switches to flash immediately. So much happier now!
This seems to be about rate limit. Slow response times seems to be this one: #2325
ugh, as of today we are back to the dreaded switch to flash after only one question!
We are aware of the large number of 429s and model switching to flash during our first week. We’re actively increasing capacity and adjusting this model fallback to resolve the issue and prevent future disruptions.
This is being tracked in #1502
Issue still not fixed