Most active commenters
  • thimabi(3)
  • cperry(3)

←back to thread

Gemini CLI

(blog.google)
1339 points sync | 13 comments | | HN request time: 0.001s | source | bottom
Show context
cperry ◴[] No.44377336[source]
Hi - I work on this. Uptake is a steep curve right now, spare a thought for the TPUs today.

Appreciate all the takes so far, the team is reading this thread for feedback. Feel free to pile on with bugs or feature requests we'll all be reading.

replies(38): >>44377379 #>>44377463 #>>44377522 #>>44377570 #>>44377664 #>>44377874 #>>44378010 #>>44378095 #>>44378282 #>>44378477 #>>44378483 #>>44378624 #>>44378661 #>>44378918 #>>44378935 #>>44379294 #>>44379599 #>>44379809 #>>44379831 #>>44380039 #>>44380415 #>>44380918 #>>44380943 #>>44381462 #>>44381702 #>>44382998 #>>44383306 #>>44383505 #>>44384705 #>>44385575 #>>44385992 #>>44386024 #>>44386107 #>>44386388 #>>44387079 #>>44387136 #>>44387432 #>>44388145 #
ebiester ◴[] No.44377463[source]
So, as a member of an organization who pays for google workspace with gemini, I get the message `GOOGLE_CLOUD_PROJECT environment variable not found. Add that to your .env and try again, no reload needed!`

At the very least, we need better documentation on how to get that environment variable, as we are not on GCP and this is not immediately obvious how to do so. At the worst, it means that your users paying for gemini don't have access to this where your general google users do.

replies(3): >>44377507 #>>44377677 #>>44381397 #
1. thimabi ◴[] No.44377677[source]
I believe Workspace users have to pay a separate subscription to use the Gemini CLI, the so-called “Gemini for Google Cloud”, which starts at an additional 19 dollars per month [^1]. If that’s really the case, it’s very disappointing to me. I expected access to Gemini CLI to be included in the normal Workspace subscription.

[^1]: https://console.cloud.google.com/marketplace/product/google/...

replies(4): >>44377710 #>>44378080 #>>44384811 #>>44387130 #
2. cperry ◴[] No.44377710[source]
[edit] all lies - I got my wires crossed, free tier for Workspace isn't yet supported. sorry. you need to set the project and pay. this is WIP.

Workspace users [edit: cperry was wrong] can get the free tier as well, just choose "More" and "Google for Work" in the login flow.

It has been a struggle to get a simple flow that works for all users, happy to hear suggestions!

replies(3): >>44377891 #>>44377944 #>>44378044 #
3. rtaylorgarlock ◴[] No.44377891[source]
I can imagine. Y'all didn't start simple like some of your competitors; 'intrapraneurial' efforts in existing contexts like yours come with well-documented struggles. Good work!
4. Workaccount2 ◴[] No.44377944[source]
Just get a pop-up or something in place to make it dead simple, because workspace users are probably the core users of the product.
5. thimabi ◴[] No.44378044[source]
Thanks for your clarification. I've been able to set up Gemini CLI with my Workspace account.

Just a heads-up: your docs about authentication on Github say to place a GOOGLE_CLOUD_PROJECT_ID as an environment variable. However, what the Gemini CLI is actually looking for, from what I can tell, is a GOOGLE_CLOUD_PROJECT environment variable with the name of a project (rather than its ID). You might want to fix that discrepancy between code and docs, because it might confuse other users as well.

I don’t know what constraints made you all require a project ID or name to use the Gemini CLI with Workspace accounts. However, it would be far easier if this requirement were eliminated.

replies(1): >>44378193 #
6. 827a ◴[] No.44378080[source]
Having played with the gemini-cli here for 30 minutes, so I have no idea but best guess: I believe that if you auth with a Workspace account it routes all the requests through the GCP Vertex API, which is why it needs a GOOGLE_CLOUD_PROJECT env set, and that also means usage-based billing. I don't think it will leverage any subscriptions the workspace account might have (are there still gemini subscriptions for workspace? I have no idea. I thought they just raised everyone's bill and bundled it in by default. What's Gemini Code Assist Standard or Enterprise? I have no idea).
7. cperry ◴[] No.44378193{3}[source]
sorry, I was wrong about free tier - I've edited above. this is WIP.

noted on documentation, there's a PR in flight on this. also found some confusion around gmail users who are part of the developer program hitting issues.

replies(2): >>44378306 #>>44378606 #
8. thimabi ◴[] No.44378306{4}[source]
> free tier for Workspace isn't yet supported. sorry. you need to set the project and pay.

Well, I've just set up Gemini CLI with a Workspace account project in the free tier, and it works apparently for free. Can you explain whether billing for that has simply not been configured yet, or where exactly billing details can be found?

For reference, I've been using this panel to keep track of my usage in the free tier of the Gemini API, and it has not been counting Gemini CLI usage thus far: https://console.cloud.google.com/apis/api/generativelanguage...

Unfortunately all of that is pretty confusing, so I'll hold off using Gemini CLI until everything has been clarified.

9. bachmeier ◴[] No.44378606{4}[source]
> noted on documentation, there's a PR in flight on this. also found some confusion around gmail users who are part of the developer program hitting issues.

Maybe you have access to an AI solution for this.

10. CJefferson ◴[] No.44384811[source]
So to be clear (this isn't your fault of course, this is a Google problem), as someone with my own domain for my email:

* First google forced me to start paying for my email domain.

* Then they increased the cost to force me to pay for AI features

* Now, I can't actually use the AI features without spending even more money, I could use them if I just had a gmail address and didn't pay google.

Well done Google, you've finally pursaded me to get around to transfering my custom email domain off google. Anyone have any preferences?

replies(2): >>44387228 #>>44388402 #
11. wkat4242 ◴[] No.44387130[source]
It probably is more powerful though. I know the $30 copilot M365 from microsoft is way better than what they offer to consumers for free. I don't have a google account so I didn't check that.
12. peatmoss ◴[] No.44387228[source]
I use and like Fastmail.
13. wordsalad ◴[] No.44388402[source]
> First google forced me to start paying for my email domain.

Do you mean that they stopped offering the legacy free tier and you had to upgrade to a paid plan? If that's the case, they reverted their decision and it was possible to go back to the free tier. I don't know if it is still possible, as this was 3 years ago, but here's a thread outlining how to do it. https://www.reddit.com/r/gsuitelegacymigration/comments/urky...