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

Rate limiting after simply setting up instruction files for Gemini

Open JDUXer opened this issue 1 year ago • 2 comments

What happened?

I was originally using 2.5 pro, and then it randomply cleared my entire chat history. I started over and it keeps saying that I am rate limited and is switching over to 2.5 flash, and now 2.5 flash is saying the following.

I apologize, but the web_fetch tool failed due to a quota error, which means I am unable to access the content of the provided websites at this time. Therefore, I cannot determine if there is a way to ensure you are always using Gemini 2.5 Pro or to choose between models in the Gemini CLI within your VS Code terminal.

Please try again later, or if you have local documentation or configuration files related to the Gemini CLI, I can review those.

Now I am unable to use the tool at all with no estimate when or if I will be able to use it again.

What did you expect to happen?

I expected to be able to use 2.5 pro without issues. All I was able to do was to have it create GEMINI.md files based on my already existing copilot instruction files before I became rate limited.

I am confused because there is no talk about rate limiting... especially at this scale. I am losing trust in the tool and am concerned that this was just an opportunity for Google to use our code to train its AI at this point.

Client information

  • CLI Version: 0.1.5
  • Git Commit: bf873a1
  • Operating System: darwin v24.2.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-flash
  • Memory Usage: 317.6 MB
  • Version: 1.102.0-insider (Universal)
  • Commit: 26d177ffc92282fd63b58755cfa464299ec01c0f
  • Date: 2025-06-26T05:03:46.654Z
  • Electron: 35.5.1
  • ElectronBuildId: 11727614
  • Chromium: 134.0.6998.205
  • Node.js: 22.15.1
  • V8: 13.4.114.21-electron.0
  • OS: Darwin arm64 24.5.0

Login information

I tried both through my google account and through the API key, both had the same outcome.

Anything else we need to know?

No response

JDUXer avatar Jun 27 '25 01:06 JDUXer

I am confused because there is no talk about rate limiting... especially at this scale.

Gemini CLI agent is limited to 60 requests a minute up to a maximum of 1000 requests a day, if you're on the free tier.

I am losing trust in the tool and am concerned that this was just an opportunity for Google to use our code to train its AI at this point.

Your problem is that you had trust in Gewgle in the first place. And they definitely are training their model on user data at the free tier. It's spelled out in their terms of service!

peteygao avatar Jun 27 '25 01:06 peteygao

It was probably buggy earlier on, I had the same problem. Works better now

orchidfire avatar Jun 27 '25 03:06 orchidfire