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

Auto changing the model from Pro to Flash within 5 to 10 msg!

Open tariqahmaad opened this issue 1 year ago • 7 comments

I don't like that at all! After 5 to 10 messages, the Gemini CLI model automatically changes from Pro to Flash and stays there for a long time! Is the 1k limit for the Flash model or for Pro? I'm so confused and frustrated about that issue! Is anyone else having the same issue, or is it just me? Is there any solution for that, except putting in my own API key?

tariqahmaad avatar Jul 03 '25 13:07 tariqahmaad

I'm facing the same problem too. I even tried using the key, but nothing changed

yashokuu avatar Jul 03 '25 14:07 yashokuu

same

shawnhale avatar Jul 03 '25 15:07 shawnhale

same

I tried putting in the api key with export for current section and nothing happens. Also when it auto switches to flash nothing happens then either.

Forest-Person avatar Jul 04 '25 02:07 Forest-Person

Happens instantaneously for me.

hakonno avatar Jul 05 '25 16:07 hakonno

The same, there was no such issue a few days ago

caozeal avatar Jul 11 '25 12:07 caozeal

There are multiple quota "layers" in effect here and our messaging around this does need to improve. For now, I will try to explain and will close this specific issue out.

  • There is a general "1000 model calls per day" quota in effect for free users - this applies to any model calls, not just 2.5 Pro. Also note that 1 prompt is not necessarily equal to one API call. On average (just looking at our data), 1 prompt == ~4 API calls and, depending on what you're doing, it might end up being much more than that.
  • There is a more limited quota (currently 50 calls per day) on Gemini 2.5 Pro for free users. As I said above, that could actually be exhausted in a single prompt but more likely will be in the ~10-20 prompts range. We are hoping to bump up that number, in time, given available capacity.
  • Paid subscription users get more Gemini 2.5 Pro capacity but it's not unlimited. Again, we are also working to bump up the quotas for paid users as well.

As we move forward, if there are capacity gains that allow us to increase quota limits by user type, we'll try to communicate this clearly in the community to avoid further confusion.

bdmorgan avatar Jul 17 '25 12:07 bdmorgan

There are multiple quota "layers" in effect here and our messaging around this does need to improve. For now, I will try to explain and will close this specific issue out.

  • There is a general "1000 model calls per day" quota in effect for free users - this applies to any model calls, not just 2.5 Pro. Also note that 1 prompt is not necessarily equal to one API call. On average (just looking at our data), 1 prompt == ~4 API calls and, depending on what you're doing, it might end up being much more than that.
  • There is a more limited quota (currently 50 calls per day) on Gemini 2.5 Pro for free users. As I said above, that could actually be exhausted in a single prompt but more likely will be in the ~10-20 prompts range. We are hoping to bump up that number, in time, given available capacity.
  • Paid subscription users get more Gemini 2.5 Pro capacity but it's not unlimited. Again, we are also working to bump up the quotas for paid users as well.

As we move forward, if there are capacity gains that allow us to increase quota limits by user type, we'll try to communicate this clearly in the community to avoid further confusion.

Is the usage of 2.5 flash then unlimited with code assist standard?

Askath avatar Jul 17 '25 14:07 Askath