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

Gemini CLI not seeing my code assist standard license

Open Ronin15 opened this issue 1 year ago • 13 comments

What happened?

I have went through all the troubleshooting steps for setting up gemini cli to work with code assist standard license. I'm using my personal gmail account to authenticate. I have added my gmail account with all the IAM roles to a project with the dev connect and gemini api services enable. I'm hitting free tier request limits. I know this because I see no traffic or requests in my project ? Any advice ?

What did you expect to happen?

to have the code assist standard rate limits apply

Client information

$ gemini /about
# paste output here

 About Gemini CLI                                                                    │
│                                                                                     │
│ CLI Version                  0.1.16                                                 │
│ Git Commit                   820169ba (local modifications)                         │
│ Model                        gemini-2.5-flash                                       │
│ Sandbox                      no sandbox                                             │
│ OS                           darwin                                                 │
│ Auth Method                  OAuth

Login information

Personal Google account linked to project with all pre-reqs

Anything else we need to know?

I'm paying money for something that's not working.

Ronin15 avatar Aug 04 '25 23:08 Ronin15

Thanks for reporting! We will look into this ASAP.

olcan avatar Aug 04 '25 23:08 olcan

Same here. I thought it worked for a day or two but it was only because I didn't use it so much this weekend I didn't realize it used the free tier stuff.

dabonzo avatar Aug 05 '25 02:08 dabonzo

I can see that CLI is still authenticating with my personal Gmail and reading it as a GCA (Individual) account with the lower quota limits. It is not taking in my Google Cloud Project configured for the GCA (Standard) subscription. Hopefully, this gets tested and fixed, given that we are paying for this. Also, the documentation for all these services working together is rather fragmented.

rambodo avatar Aug 11 '25 06:08 rambodo

I am having the same exact issue.

zizka2022 avatar Aug 14 '25 16:08 zizka2022

I suspect I'm having the same issue:

ℹ ⚡ You have reached your daily gemini-2.5-pro quota
  limit.
  ⚡ Automatically switching from gemini-2.5-pro to
  gemini-2.5-flash for the remainder of this session.
  ⚡ To increase your limits, upgrade to a Gemini Code
  Assist Standard or Enterprise plan with higher limits
   at https://goo.gle/set-up-gemini-code-assist
  ⚡ Or 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

That's despite having a Google Code Assist Standard license via my Google Developer Premiun subscription.

mweichert avatar Aug 18 '25 21:08 mweichert

Me too. Hope to get it resolved soon.

avstudio1 avatar Aug 19 '25 20:08 avstudio1

+1

StamenchoBog avatar Aug 24 '25 14:08 StamenchoBog

+1. I am thinking about suspending the cloud assist license while this is solved, I am trying to develop but always getting this issue:

ℹ⚡ You have reached your daily gemini-2.5-pro quota limit. ⚡ Automatically switching from gemini-2.5-pro to gemini-2.5-flash for the remainder of this session. ⚡ To increase your limits, upgrade to a Gemini Code Assist Standard or Enterprise plan with higher limits at https://goo.gle/set-up-gemini-code-assist ⚡ Or 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

vhcg77 avatar Aug 30 '25 00:08 vhcg77

Having the same issue. Would be helpful if there was some way to see which license was actually being used.

eygraber avatar Aug 31 '25 16:08 eygraber

Same issue. Basically Gemini CLI right now is unusable. Which is strange, because it definitely worked couple days ago.

grimmy0 avatar Sep 06 '25 05:09 grimmy0

Btw this issue is open for more than a month, is there any ETA on when it will be fixed? Not sure that I'll keep subscription for the Code Assist if it will take another month to fix

grimmy0 avatar Sep 06 '25 05:09 grimmy0

I've the same issue with code assist standard license and gemini cli

njafarynia avatar Sep 10 '25 05:09 njafarynia

Following up on this issue. To repeat what I think I'm hearing:

(1) Users are authenticating to Gemini CLI (2) Users are authenticating to Gemini Code Assist (3) When you go back into CLI and use it, it's using a different GMail auth apparently?

The fixes for this seem straightforward but please let me know if I'm missing anything:

  • Go into your ~./gemini/ directory and blow away the oauth_creds.json file then reauth within Gemini CLI and/or
  • Within Gemini CLI, enter /auth and reauthenticate using the Google Workspace account that is associated with your Code Assist Standard subscription

If you do all the above and you're still having issues, please report back here. If we have an actual bug here, we very much want to fix it. At this time (given the large number of users who are successfully using Gemini CLI with Code Assist subscriptions), I'm going to assume the products aren't broken.

Closing for now but will reopen if there is a repeatable scenario that allows us to replicate this.

bdmorgan avatar Oct 13 '25 21:10 bdmorgan