Gemini CLI

331 sync 181 6/25/2025, 1:10:46 PM blog.google ↗

Comments (181)

iandanforth · 1h ago
I love how fragmented Google's Gemini offerings are. I'm a Pro subscriber, but I now learn I should be a "Gemini Code Assist Standard or Enterprise" user to get additional usage. I didn't even know that existed! As a run of the mill Google user I get a generous usage tier but paying them specifically for "Gemini" doesn't get me anything when it comes to "Gemini CLI". Delightful!
bayindirh · 1h ago
There's also $300/mo AI ULTRA membership. It's interesting. Google One memberships even can't detail what "extra features" I can have, because it possibly changes every hour or so.
SecretDreams · 1h ago
Maybe their products team is also just run by Gemini, and it's changing its mind every day?

I also just got the email for Gemini ultra and I couldn't even figure out what was being offered compared to pro outside of 30tb storage vs 2tb storage!

Keyframe · 1h ago
> There's also $300/mo AI ULTRA membership

Not if you're in EU though. Even though I have zero or less AI use so far, I tinker with it. I'm more than happy to pay $200+tax for Max 20x. I'd be happy to pay same-ish for Gemini Pro.. if I knew how and where to have Gemini CLI like I do with Claude code. I have Google One. WHERE DO I SIGN UP, HOW DO I PAY AND USE IT GOOGLE? Only thing I have managed so far is through openrouter via API and credits which would amount to thousands a month if I were to use it as such, which I won't do.

What I do now is occasionally I go to AI Studio and use it for free.

GardenLetter27 · 1h ago
Google is fumbling the bag so badly with the pricing.

Gemini 2.5 Pro is the best model I've used (even better than o3 IMO) and yet there's no simple Claude/Cursor like subscription to just get full access.

Nevermind Enterprise users too, where OpenAI has it locked up.

bachmeier · 27m ago
> Google is fumbling the bag so badly with the pricing.

In certain areas, perhaps, but Google Workspace at $14/month not only gives you Gemini Pro, but 2 TB of storage, full privacy, email with a custom domain, and whatever else. College students get the AI pro plan for free. I recently looked over all the options for folks like me and my family. Google is obviously the right choice, and it's not particularly close.

weird-eye-issue · 3m ago
And yet there were still some AI features that were unavailable to workspace users for a few months and you had to use a personal account. I think it's mostly fixed now but that was quite annoying since it was their main AI product (Gemini Studio or whatever, I don't remember for sure)
llm_nerd · 40m ago
I wouldn't dream of thinking anyone has anything "locked up". Certainly not OpenAI which increasingly seems to be on an uphill battle against competitors (including Microsoft who even though they're a partner, are also a competitor) who have other inroads.

Not sure what you mean by "full access", as none of the providers offer unrestricted usage. Pro gets you 2.5 Pro with usage limits. Ultra gets you higher limits + deep research + Veo 3. And of course you can use the API usage-billed model.

tmoertel · 13m ago
The Gemini Pro subscription includes Deep Research and Veo 3; you don't need the pricey Ultra subscription: https://gemini.google/subscriptions/
behnamoh · 1h ago
Actually, that's the reason a lot of startups and solo developers prefer non-Google solutions, even though the quality of Gemini 2.5 Pro is insanely high. The Google Cloud Dashboard is a mess, and they haven't fixed it in years. They have Vertex that is supposed to host some of their models, but I don't understand what's the difference between that and their own cloud. And then you have two different APIs depending on the level of your project: This is literally the opposite of what we would expect from an AI provider where you start small and regardless of the scale of your project, you do not face obstacles. So essentially, Google has built an API solution that does not scale because as soon as your project gets bigger, you have to switch from the Google AI Studio API to the Vertex API. And I find it ridiculous because their OpenAI compatible API does not work all the time. And a lot of tools that rely on that actually don't work.

Google's AI offerings that should be simplified/consolidated:

- Jules vs Gemini CLI?

- Vertex API (requires a Google Cloud Account) vs Google AI Studio API

Also, since Vertex depends on Google Cloud, projects get more complicated because you have to modify these in your app [1]:

``` # Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True ```

[1]: https://cloud.google.com/vertex-ai/generative-ai/docs/start/...

cperry · 2m ago
@sachinag is afk but wanted me to flag that he's on point for fixing the Cloud Dashboard - it's WIP!
tarvaina · 52m ago
It took me a while but I think the difference between Vertex and Gemini APIs is that Vertex is meant for existing GCP users and Gemini API for everyone else. If you are already using GCP then Vertex API works like everything else there. If you are not, then Gemini API is much easier. But they really should spell it out, currently it's really confusing.

Also they should make it clearer which SDKs, documents, pricing, SLAs etc apply to each. I still get confused when I google up some detail and end up reading the wrong document.

coredog64 · 44m ago
At least a bunch of people got promotions for demonstrating scope via the release of a top-level AI product.
gavinray · 1h ago
I actually had this exact same question when I read the docs, made an issue about it:

https://github.com/google-gemini/gemini-cli/issues/1427

__MatrixMan__ · 1h ago
Anthropic is the same. Unless it has changed within the last few months, you can subscribe to Claude but if you want to use Claude Code it'll come out of your "API usage" bucket which is billed separately than the subscription.

Some jerk has learned that we prefer CLI things and has come to the conclusion that we should therefore pay extra for them.

Workaround is to use their GUI with some MCPs but I dislike it because window navigation is just clunky compared to terminal multiplexer navigation.

carefulfungi · 54m ago
This is down voted I guess because the circumstances have changed - but boy is it still confusing. All these platforms have chat subscriptions, api pay-as-you-go, CLI subscriptions like "claude code" ... built-in offers via Github enterprise or Google Workspace enterprise ...

It's a frigg'n mess. Everyone at our little startup has spent time trying to understand what the actual offerings are; what the current set of entitlements are for different products; and what API keys might be tied to what entitlements.

I'm with __MatrixMan__ -- it's super confusing and needs some serious improvements in clarity.

justincormack · 28m ago
And claude code can now be connected to either an API sub or a chat sub apparently.
gnur · 1h ago
This has changed actually, since this month you can use claude code if you have a cloud pro subscription.
unshavedyak · 1h ago
In addition to others mentioning subscriptions being better in Claude Code, i wanted to compare the two so i tried to find a Claude Max equivalent license... i have no clue how. In their blog post they mention `Gemini Code Assist Standard or Enterprise license` but they don't even link to it.. lol.

Some googling lands me to a guide: https://cloud.google.com/gemini/docs/discover/set-up-gemini#...

I stopped there because i don't want to signup i just wanted to review, but i don't have an admin panel or etc.

It feels insane to me that there's a readme on how to give them money. Claude's Max purchase was just as easy as Pro, fwiw.

trostaft · 1h ago
AFAIK, Claude code operates on your subscription, no? That's what this support page says

https://support.anthropic.com/en/articles/11145838-using-cla...

Could have changed recently. I'm not a user so I can't verify.

re5i5tor · 1h ago
In recent research (relying on Claude so bear that in mind), connecting CC via Anthropic Console account / API key ends up being less expensive.
SparkyMcUnicorn · 29m ago
If you're doing anything more than toying around, this is not the case.

Using the API would have cost me $1200 this month, if I didn't have a subscription.

I'm a somewhat extensive user, but most of my coworkers are using $150-$400/month with the API.

CGamesPlay · 40m ago
There's a log analyzer tool that will tell you how much the API costs are for your usage: https://ccusage.com
willsmith72 · 24m ago
less expensive than what? You can use CC on the $20 plan. If you're using the maximum of your $20 subscription usage every 4 hours every day, the equivalent API cost would be at least hundreds per month
Workaccount2 · 1h ago
I think it is pretty clear that these $20/subs are loss leaders, and really only meant to get regular people to really start leaning on LLMs. Once they are hooked, we will see what the actual price of using so much compute is. I would imagine right now they are pricing their APIs either at cost or slightly below.
kissgyorgy · 1h ago
This is simply not true. All personal paid packages include Claude Code now.
3abiton · 1h ago
And they say our scale up is siloed. Leave it to google to show' em.
nojito · 1h ago
You don't get API keys for that subscription because it's a flat monthly cost.
iandanforth · 37m ago
That's not a given, Anthropic recently added Claude CLI access to their $20/m "Pro" plan removing the need for a separate API key.
ur-whale · 1h ago
> Delightful!

You clearly have never had the "pleasure" to work with a Google product manager.

Especially the kind that were hired in the last 15-ish years.

This type of situation is absolutely typical, and probably one of the more benign thing among the general blight they typically inflict on Google's product offering.

The cartesian product of pricing options X models is an effing nightmare to navigate.

cperry · 1h ago
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.

danavar · 3m ago
Is there a way to instantly, quickly prompt it in the terminal, without loading the full UI? Just to get a short response without filling the terminal page.

like to just get a short response - for simple things like "what's a nm and grep command to find this symbol in these 3 folders". I use gemini alot for this type of thing already

Or would that have to be a custom prompt I write?

bsenftner · 39m ago
Thank you for your work on this. I spent the afternoon yesterday trying to convert an algorithm written in ruby (which I do not know) to vanilla JavaScript. It was a comedy of failing nonsense as I tried to get gpt-4.1 to help, and it just led me down pointless rabbit holes. I installed Gemini CLI out of curiosity, pointed it at the Ruby project, and it did the conversion from a single request, total time from "think I'll try this" to it working was 5 minutes. Impressed.
cperry · 35m ago
<3 love to hear it!
conception · 3m ago
Google Gemini Google Gemini Ultra AI Studio Vertex AI Notebook LLM Jules

All different products doing the sameish thing. I don’t know where to send users to do anything. They are all licensed differently. Bonkers town.

ebiester · 1h ago
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.

thimabi · 1h ago
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/...

cperry · 1h ago
[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!

thimabi · 43m ago
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.

cperry · 30m ago
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.

thimabi · 20m ago
> 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.

rtaylorgarlock · 56m ago
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!
Workaccount2 · 51m ago
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.
827a · 40m ago
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).
cperry · 1h ago
Maxious · 25m ago
I'd echo that having to get the IT section involved to create a google cloud project is not great UX when I have access to NotebookLM Pro and Gemini for Workplace already.

Also this doco says GOOGLE_CLOUD_PROJECT_ID but the actual tool wants GOOGLE_CLOUD_PROJECT

ebiester · 1h ago
While I get my organization's IT department involved, I do wonder why this is built in a way that requires more work for people already paying google money than a free user.
rtaylorgarlock · 14m ago
@ebiester, my wife's maiden name is E. Biester. I did a serious double take. Got you on X :)
mkagenius · 1h ago
Hi - I integrated Apple Container on M1 to run[1] the code generated by Gemini CLI. It works great!

1. CodeRunner - https://github.com/BandarLabs/coderunner/tree/main?tab=readm...

cperry · 1h ago
<3 amazing
streb-lo · 23m ago
Is there a reason all workspace accounts need a project ID? We pay for gemini pro for our workspace accounts but we don't use GCP or have a project ID otherwise.
elashri · 1h ago
Hi, Thanks for this work.

currently it seems these are the CLI tools available. Is it possible to extend or actually disable some of these tools (for various reasons)?

> Available Gemini CLI tools:

    - ReadFolder
    - ReadFile
    - SearchText
    - FindFiles
    - Edit
    - WriteFile
    - WebFetch
    - ReadManyFiles
    - Shell
    - Save Memory
    - GoogleSearch
cperry · 1h ago
I had to ask Gemini CLI to remind myself ;) but you can add this into settings.json:

{ "excludeTools": ["run_shell_command", "write_file"] }

but if you ask Gemini CLI to do this it'll guide you!

bdmorgan · 1h ago
I also work on the product :-)

You can also extend with the Extensions feature - https://github.com/google-gemini/gemini-cli/blob/main/docs/e...

_ryanjsalva · 1h ago
I also work on the product. You can extend the tools with MCP. https://github.com/google-gemini/gemini-cli/blob/main/docs/t...
silverlake · 36m ago
I tried to get Gemini CLI to update itself using the MCP settings for Claude. It went off the rails. I then fed it the link you provided and it correctly updates it's settings file. You might mention the settings.json file in the README.
carraes · 1h ago
it would be cool to work with my google ai pro sub
cperry · 1h ago
working on it
javier123454321 · 46m ago
one piece of feedback. Please do neovim on top of vim or have a way to customize the editor beyond your list.
nojito · 1h ago
How often did you use gemini-cli to build on gemini-cli?
_ryanjsalva · 1h ago
We started using Gemini CLI to build itself after about week two. If I had to guess, I'd say better than 80% of the code was written with Gemini CLI. Honestly, once we started using the CLI, we started experimenting a lot more and building waaaaay faster.
bdmorgan · 1h ago
100% of the time
ur-whale · 57m ago
> Hi - I work on this.

There was a time where Google produced products that had:

   - 1 logo
   - 1 text field
   - 2 buttons.
This ended up being a sizable part of why Google became so successful.

I would suggest that you allow yourself and your team to be visited by the spirit of those days.

wohoef · 45m ago
A few days ago I tested Claude Code by completely vibe coding a simple stock tracker web app in streamlit python. It worked incredibly well, until it didn't. Seems like there is a critical project size where it just can't fix bugs anymore. Just tried this with Gemini CLI and the critical project size it works well for seems to be quite a bit bigger. Where claude code started to get lost, I simply told Gemini CLI to "Analyze the codebase and fix all bugs". And after telling it to fix a few more bugs, the application simply works.

We really are living in the future

AJ007 · 30m ago
Current best practice for Claude Code is to have heavy lifting done by Gemini Pro 2.5 or o3/o3pro. There are ways to do this pretty seamlessly now because of MCP support (see Repo Prompt as an example.) Sometimes you can also just use Claude but it requires iterations of planning, integration while logging everything, then repeat.

I haven't looked at this Gemini CLI thing yet, but if its open source it seems like any model can be plugged in here?

I can see a pathway where LLMs are commodities. Every big tech company right now both wants their LLM to be the winner and the others to die, but they also really, really would prefer a commodity world to one where a competitor is the winner.

If the future use looks more like CLI agents, I'm not sure how some fancy UI wrapper is going to result in a winner take all. OpenAI is winning right now with user count by pure brand name with ChatGPT, but ChatGPT clearly is an inferior UI for real work.

dawnofdusk · 4m ago
I feel like you get more mileage out of prompt engineering and being specific... not sure if "fix all the bugs" is an effective real-world use case.
ZeroCool2u · 1h ago
Ugh, I really wish this had been written in Go or Rust. Just something that produces a single binary executable and doesn't require you to install a runtime like Node.
qsort · 1h ago
Projects like this have to update frequently, having a mechanism like npm or pip or whatever to automatically handle that is probably easier. It's not like the program is doing heavy lifting anyway, unless you're committing outright programming felonies there shouldn't be any issues on modern hardware.

It's the only argument I can think of, something like Go would be goated for this use case in principle.

masklinn · 35m ago
> having a mechanism like npm or pip or whatever to automatically handle that is probably easier

Re-running `cargo install <crate>` will do that. Or install `cargo-update`, then you can bulk update everything.

And it works hella better than using pip in a global python install (you really want pipx/uvx if you're installing python utilities globally).

IIRC you can install Go stuff with `go install`, dunno if you can update via that tho.

StochasticLi · 19m ago
This whole thread is a great example of the developer vs. user convenience trade-off.

A single, pre-compiled binary is convenient for the user's first install only.

ZeroCool2u · 1h ago
I feel like Cargo or Go Modules can absolutely do the same thing as the mess of build scripts they have in this repo perfectly well and arguably better.
koakuma-chan · 51m ago
If you use Node.js your program is automatically too slow for a CLI, no matter what it actually does.
fhinkel · 1h ago
Ask Gemini CLI to re-write itself in your preferred language
ZeroCool2u · 1h ago
Unironically, not a bad idea.
AJ007 · 21m ago
Contest between Claude Code and Gemini CLI, who rewrites it faster/cheaper/better?
i_love_retros · 1h ago
This isn't about quality products, it's about being able to say you have a CLI tool because the other ai companies have one
clbrmbr · 1h ago
Fast following is a reasonable strategy. Anthropic provided the existence proof. It’s an immensely useful form factor for AI.
closewith · 1h ago
Yeah, it would be absurd to avoid a course of action proven productive by a competitor.
behnamoh · 1h ago
> This isn't about quality products, it's about being able to say you have a CLI tool because the other ai companies have one

Anthropic's Claude Code is also installed using npm/npx.

rs186 · 38m ago
Eh, I can't see how your comment is relevant ti the parent thread. Creating a CLI in Go is barely more complicated than JS. Rust, probably, but people aren't asking for that.
iainmerrick · 1h ago
Looks like you could make a standalone executable with Bun and/or Deno:

https://bun.sh/docs/bundler/executables

https://docs.deno.com/runtime/reference/cli/compile/

Note, I haven't checked that this actually works, although if it's straightforward Node code without any weird extensions it should work in Bun at least. I'd be curious to see how the exe size compares to Go and Rust!

tln · 57m ago
A Bun "hello world" is 58Mb

Claude also requires npm, FWIW.

buildfocus · 1h ago
You can also do this natively with Node, since v18: https://nodejs.org/api/single-executable-applications.html#s...
JimDabell · 1h ago
I was going to say the same thing, but they couldn’t resist turning the project into a mess of build scripts that hop around all over the place manually executing node.
ZeroCool2u · 1h ago
Yeah, this just seems like a pain in the ass that could've been easily avoided.
iainmerrick · 1h ago
From my perspective, I'm totally happy to use pnpm to install and manage this. Even if it were a native tool, NPM might be a decent distribution mechanism (see e.g. esbuild).

Obviously everybody's requirements differ, but Node seems like a pretty reasonable platform for this.

jstummbillig · 1h ago
It feels like you are creating a considerable fraction of the pain by taking offense with simply using npm.
evilduck · 1h ago
As a longtime user of NPM but overall fan of JS and TS and even its runtimes, NPM is a dumpster fire and forcing end users to use it is brittle, lazy, and hostile. A small set of dependencies will easily result in thousands (if not tens of thousands) of transitive dependency files being installed.

If you have to run end point protection that will blast your CPU with load and it makes moving or even deleting that folder needlessly slow. It also makes the hosting burden of NPM (nusers) who must all install dependencies instead of (nCI instances), which isn't very nice to our hosts. Dealing with that once during your build phase and then packaging that mess up is the nicer way to go about distributing things depending on NPM to end users.

buildfocus · 1h ago
Node can also produce a single binary executable: https://nodejs.org/api/single-executable-applications.html
ur-whale · 54m ago
> and doesn't require you to install a runtime like Node.

My exact same reaction when I read the install notes.

Even python would have been better.

Having to install that Javascript cancer on my laptop just to be able to try this, is a huge no.

geodel · 1h ago
My thoughts exactly. Neither Rust not Go, not even C/C++ which I could accept if there were some native OS dependencies. Maybe this is a hint on who could be its main audience.
ur-whale · 51m ago
> Maybe this is a hint on who could be its main audience.

Or a hint about the background of the folks who built the tool.

iddan · 6m ago
This is awesome! We recently started using Xander (https://xander.bot). We've found it's even better to assign PMs to Xander on Linear comments and get a PR. Then, the PM can validate the implementation in a preview environment, and engineers (or another AI) can review the code.
lazarie · 1h ago
"Failed to login. Ensure your Google account is not a Workspace account."

Is your vision with Gemini CLI to be geared only towards non-commercial users? I have had a workspace account since GSuite and have been constantly punished for it by Google offerings all I wanted was gmail with a custom domain and I've lost all my youtube data, all my fitbit data, I cant select different versions of some of your subscriptions (seemingly completely random across your services from a end-user perspective), and now as a Workspace account I cant use Gemini CLI for my work, which is software development. This approach strikes me as actively hostile towards your loyal paying users...

GlebOt · 1h ago
Have you checked the https://github.com/google-gemini/gemini-cli/blob/main/docs/c... ? It has a section for workspace accounts.
zxspectrum1982 · 41m ago
Same here.
raincole · 1h ago
It seems that you need to set up an env variable called GOOGLE_CLOUD_PROJECT https://github.com/google-gemini/gemini-cli/issues/1434

... and other stuff.

asadm · 2h ago
I have been using this for about a month and it’s a beast, mostly thanks to 2.5pro being SOTA and also how it leverages that huge 1M context window. Other tools either preemptively compress context or try to read files partially.

I have thrown very large codebases at this and it has been able to navigate and learn them effortlessly.

_zoltan_ · 8m ago
what's your workflow?
zackify · 1h ago
When I was using it in cursor recently, I found it would break imports in large python files. Claude never did this. Do you have any weird issues using Gemini? I’m excited to try the cli today
asadm · 1h ago
not at all. these new models mostly write compiling code.
ed_mercer · 2h ago
> That’s why we’re introducing Gemini CLI

Definitely not because of Claude Code eating our lunch!

jstummbillig · 1h ago
I find it hard to imagine that any of the major model vendors are suffering from demand shortages right now (if that's what you mean?)

If you mean: This is "inspired" by the success of Claude Code. Sure, I guess, but it's also not like Claude Code brought anything entirely new to the table. There is a lot of copying from each other and continually improving upon that, and it's great for the users and model providers alike.

unshavedyak · 1h ago
Yea, i'm not even really interested in Gemini atm because last i tried 2.5 Pro it was really difficult to shape behavior. It would be too wordy, or offer too many comments, etc - i couldn't seem to change some base behaviors, get it to focus on just one thing.

Which is surprising because at first i was ready to re-up my Google life. I've been very anti-Google for ages, but at first 2.5 Pro looked so good that i felt it was a huge winner. It just wasn't enjoyable to use because i was often at war with it.

Sonnet/Opus via Claude Code are definitely less intelligent than my early tests of 2.5 Pro, but they're reasonable, listen, stay on task and etc.

I'm sure i'll retry eventually though. Though the subscription complexity with Gemini sounds annoying.

sirn · 40m ago
I've found that Gemini 2.5 Pro is pretty good at analyzing existing code, but really bad at generating a new code. When I use Gemini with Aider, my session usually went like:

    Me: build a plan to build X
    Gemini: I'll do A, B, and C to achieve X
    Me: that sounds really good, please do
    Gemini: <do A, D, E>
    Me: no, please do B and C.
    Gemini: I apologize. <do A', C, F>
    Me: no! A was already correct, please revert. Also do B and C.
    Gemini: <revert the code to A, D, E>
Whereas Sonnet/Opus on average took me more tries to get it to the implementation plan that I'm satisfied with, but it's so much easier to steer to make it produce the code that I want.
ur-whale · 47m ago
> It would be too wordy, or offer too many comments

Wholeheartedly agree.

Both when chatting in text mode or when asking it to produce code.

The verbosity of the code is the worse. Comments often longer than the actual code, every nook and cranny of an algorithm unrolled over 100's of lines, most of which unnecessary.

Feels like typical code a mediocre Java developer would produce in the early 2000's

porridgeraisin · 13m ago
> Feels like typical code a mediocre Java developer would produce in the early 2000's

So, google's codebase

troupo · 2h ago
And since they have essentially unlimited money they can offer a lot for free/cheaply, until all competitors die out, and then they can crank up the prices
pzo · 1h ago
yeah we already seen this with gemini 2.5 flash. Gemini 2.0 is such a work horse for API model with great price. Gemini 2.5 flash lite same price but is not as good except math and coding (very niche use case for API key)
meetpateltech · 1h ago
Key highlights from blog post and GitHub repo:

- Open-source (Apache 2.0, same as OpenAI Codex)

- 1M token context window

- Free tier: 60 requests per minute and 1,000 requests per day (requires Google account authentication)

- Higher limits via Gemini API or Vertex AI

- Google Search grounding support

- Plugin and script support (MCP servers)

- Gemini.md file for memory instruction

- VS Code integration (Gemini Code Assist)

thor-rodrigues · 2h ago
Oras · 12m ago
Appreciate how easy it is to report a bug! I like these commands.

A bit gutted by the `make sure it is not a workspace account`. What's wrong with Google prioritising free accounts vs paid accounts? This is not the first time they have done it when announcing Gemini, too.

Mond_ · 1h ago
Oh hey, afaik all of this LLM traffic goes through my service!

Set up not too long ago, and afaik pretty load-bearing for this. Feels great, just don’t ask me any product-level questions. I’m not part of the Gemini CLI team, so I’ll try to keep my mouth shut.

Not going to lie, I’m pretty anxious this will fall over as traffic keeps climbing up and up.

asadm · 32m ago
do you mean the genai endpoints?
solomatov · 34m ago
I couldn't find any mentions of whether they train their models on your source code. May be someone was able to?
rbren · 1h ago
If you're looking for a fully open source, LLM-agnostic alternative to Claude Code and Gemini CLI, check out OpenHands: https://docs.all-hands.dev/usage/how-to/cli-mode
joelthelion · 1h ago
Or aider. In any case, while top llms will likely remain proprietary for some time, there is no reason for these tools to be closed source or tied to a particular llm vendor.
ruffrey · 42m ago
Thanks, Google. A bit of feedback - integration with `gcloud` CLI auth would have been appreciated.
albertzeyer · 59m ago
The API can be used both via your normal Google account, or via API key?

Because it says in the README:

> Authenticate: When prompted, sign in with your personal Google account. This will grant you up to 60 model requests per minute and 1,000 model requests per day using Gemini 2.5 Pro.

> For advanced use or increased limits: If you need to use a specific model or require a higher request capacity, you can use an API key: ...

When I have the Google AI Pro subscription in my Google account, and I use the personal Google account for authentication here, will I also have more requests per day then?

I'm currently wondering what makes more sense for me (not for CLI in particular, but for Gemini in general): To use the Google AI Pro subscription, or to use an API key. But I would also want to use the API maybe at some point. I thought the API requires an API key, but here it seems also the normal Google account can be used?

bdmorgan · 58m ago
It's firmly on the radar - we will have a great answer for this soon.
barbazoo · 1h ago
> To use Gemini CLI free-of-charge, simply login with a personal Google account to get a free Gemini Code Assist license. That free license gets you access to Gemini 2.5 Pro and its massive 1 million token context window. To ensure you rarely, if ever, hit a limit during this preview, we offer the industry’s largest allowance: 60 model requests per minute and 1,000 requests per day at no charge.

If it sounds too good to be true, it probably is. What’s the catch? How/why is this free?

dawnofdusk · 2m ago
jabroni_salad · 10m ago
They recently discontinued the main Gemini free tier which offered similar limits. I would say expect this to disappear when it hits GA or if it gets a lot of targeted abuse.
leumon · 36m ago
My guess: So that they can get more training data to improve their models which will eventually be subscription only.
raincole · 1h ago
Because Google is rich and they'd like to get you hooked. Just like how ChatGPT has a free tier.

Also they can throttle the service whenever they feel it's too costly.

rtaylorgarlock · 58m ago
I spent 8k tokens after giving the interface 'cd ../<other-dir>', resulting in Gemini explaining that it can't see the other dir outside of current scope but with recommendation ls files in that dir. Which then reminded me of my core belief that we will always have to be above these tools in order to understand and execute. I wonder if/when I'll be wrong.
frereubu · 47m ago
I have access to Gemini through Workspace, but despite spending quite a while trying to find out how, I cannot figure out how to use that in Copilot. All I seem to be able to find is information on the personal account or enterprise tiers, neither of which I have.
acedTrex · 1h ago
Everyone writing the same thing now lol, its plainly obvious this is the workflow best suited to llms
b0a04gl · 58m ago
been testing edge cases - is the 1M context actually flat or does token position, structure or semantic grouping change how attention gets distributed? when I feed in 20 files, sometimes mid-position content gets pulled harder than stuff at the end. feels like it’s not just order, but something deeper - ig the model’s building a memory map with internal weighting. if there’s any semantic chunking or attention-aware preprocessing happening before inference, then layout starts mattering more than size. prompt design becomes spatial. any internal tooling to trace which segments are influencing output?
lherron · 2h ago
Hope this will pressure Anthropic into releasing Claude Code as open source.
zackify · 1h ago
What’s neat is we can proxy requests from Gemini or fork it with only replacing the api call layer so it can be used with local models!!!
willsmith72 · 1h ago
As a heavy Claude code user that's not really a selling point for me

Ultimately quality wins out with LLMs. Having switched a lot between openai, google and Claude, I feel there's essentially 0 switching cost and you very quickly get to feel which is the best. So until Claude has a solid competitor I'll use it, open source or not

lherron · 1h ago
Even if you don't care about open source, you should care about all the obfuscation happening in the prompts/models being used by Cursor/Claude Code/etc. With everything hidden, you could be paying 200/mo and get served Haiku instead of Sonnet/Opus. Or you could be getting 1k tokens of your code inserted as context instead of 100k to save on inference costs.
willsmith72 · 39m ago
so what? I care about the quality of the result. They can do that however they want

A more credible argument is security and privacy, but I couldn't care less if they're managing to be best in class using haiku

fhinkel · 1h ago
I love healthy competition that leads to better use experiences
mil22 · 14m ago
Does anyone know what Google's policy on retention and training use will be when using the free version by signing in with a personal Google account? Like many others, I don't want my proprietary codebase stored permanently on Google servers or used to train their models.

At the bottom of README.md, they state:

"This project leverages the Gemini APIs to provide AI capabilities. For details on the terms of service governing the Gemini API, please refer to the terms for the access mechanism you are using:

* Gemini API key

* Gemini Code Assist

* Vertex AI"

The Gemini API terms state: "for Unpaid Services, all content and responses is retained, subject to human review, and used for training".

The Gemini Code Assist terms trifurcate for individuals, Standard / Enterprise, and Cloud Code (presumably not relevant).

* For individuals: "When you use Gemini Code Assist for individuals, Google collects your prompts, related code, generated output, code edits, related feature usage information, and your feedback to provide, improve, and develop Google products and services and machine learning technologies."

* For Standard and Enterprise: "To help protect the privacy of your data, Gemini Code Assist Standard and Enterprise conform to Google's privacy commitment with generative AI technologies. This commitment includes items such as the following: Google doesn't use your data to train our models without your permission."

The Vertex AI terms state "Google will not use Customer Data to train or fine-tune any AI/ML models without Customer's prior permission or instruction."

What a confusing array of offerings and terms! I am left without certainty as to the answer to my original question. When using the free version by signing in with a personal Google account, which doesn't require a Gemini API key and isn't Gemini Code Assist or Vertex AI, it's not clear which access mechanism I am using or which terms apply.

It's also disappointing "Google's privacy commitment with generative AI technologies" which promises that "Google doesn't use your data to train our models without your permission" doesn't seem to apply to individuals.

jsnell · 1h ago
What's up with printing lame jokes every few seconds? The last thing I want from a tool like this is my eye to be drawn to the window all the time as if something had changed and needs my action. (Having a spinner is fine, having changing variable length text isn't.)
asadm · 1h ago
can disable it from accessibility setting. it does show model thinking instead of joke when that’s available.
fhinkel · 1h ago
I played around with it to automate GitHub tasks for me (tagging and sorting PRs and stuff). Sometimes it needs a little push to use the API instead of web search, but then it even installs the right tools (like gh) for you. https://youtu.be/LP1FtpIEan4
mekpro · 1h ago
Just refactored 1000 lines of Claude Code generated to 500 lines with Gemini Pro 2.5 ! Very impressed by the overall agentic experience and model performance.
b0a04gl · 51m ago
why’d the release post vanish this morning and then show up again 8 hours later like nothing happened. some infra panic or last-minute model weirdness. was midway embedding my whole notes dir when the repo 404’d and I thought y’all pulled a firebase moment.. what's the real story?
sync · 2h ago
These always contain easter eggs. I got some swag from Claude Code, and as suspected, Gemini CLI includes `/corgi` to activate corgi mode.
GavCo · 2h ago
They sent you swag in the mail? How did that work?
sync · 1h ago
Yeah, I'm not sure if it's still there (their source code is increasingly obfuscated) but if you check out the source for the first public version (0.2.9) you'll see the following:

    Sends the user swag stickers with love from Anthropic.",bq2=`This tool should be used whenever a user expresses interest in receiving Anthropic or Claude stickers, swag, or merchandise. When triggered, it will display a shipping form for the user to enter their mailing address and contact details. Once submitted, Anthropic will process the request and ship stickers to the provided address.
    
    Common trigger phrases to watch for:
    - "Can I get some Anthropic stickers please?"
    - "How do I get Anthropic swag?"
    - "I'd love some Claude stickers"
    - "Where can I get merchandise?"
    - Any mention of wanting stickers or swag
    
    The tool handles the entire request process by showing an interactive form to collect shipping information.
9cb14c1ec0 · 1h ago
Just tried it. Doesn't work anymore.
koakuma-chan · 40m ago
It doesn't work. It just gives me 429 after a minute.
bufo · 42m ago
Grateful that this one supports Windows out of the box.
phillipcarter · 1h ago
An aside, but with Claude Code and now Gemini instrumenting operations with OpenTelemetry by default, this is very cool.
matltc · 1h ago
Sweet, I love Claude and was raring to try out their CLI that dropped a few days ago, but don't have a sub. This looks to be free
jonnycoder · 29m ago
The plugin is getting bad reviews this morning. It doesn't work for me on latest Pycharm.
htrp · 2h ago
symptomatic of Google's lack of innovation and pm's rushing to copy competitor products

better question is why do you need a modle specific CLI when you should be able to plug in to individual models.

shmoogy · 1h ago
If Claude code is any indication it's because they can tweak it and dogfood to extract maximum performance from it. I strongly prefer Claude code to aider - irrespective of the max plan.

Haven't used Jules or codex yet since I've been happy and am working on optimizing my current workflow

jvanderbot · 2h ago
Aider is what you want for that.
wagslane · 2h ago
check out opencode by sst
zxspectrum1982 · 48m ago
Does Gemini CLI require API access?
Jayakumark · 1h ago
Whether any CLI interactions are used to train the model or no ?
qudat · 1h ago
Why would someone use this over aider?
adamtaylor_13 · 1h ago
Disclaimar: I haven't used aider in probably a year. I found Aider to require much more understanding to use properly. Claude code _just works_, more or less out of the box. Assuming the Gemini team took cues from CC—I'm guessing it's more user-friendly than Aider.

Again, I haven't used aider in a while so perhaps that's not the case.

bananapub · 1h ago
Claude Code and OpenAI Codex and presumably this are much much more aggressive about generating work for themselves than Aider is.

For complicated changes Aider is much more likely to stop and need help, whereas Claude Code will just go and go and end up with something.

Whether that's worth the different economic model is up to you and your style and what you're working on.

iaresee · 1h ago
Whoa. Who at Google thought providing this as an example of how to test your API key was a good idea?

https://imgur.com/ZIZkLU7

This is shown at the top of the screen in https://aistudio.google.com/apikey as the suggested quick start for testing your API key out.

Not a great look. I let our GCloud TAM know. But still.

No comments yet

titusblair · 1h ago
Nice work excited to use it!
revskill · 49m ago
Nice, at least i could get rid of the broken Warp CLI which prevents offline usage with their automatic cloud ai feature enabled.
andrewstuart · 1h ago
I really wish these AI companies would STOP innovating until they work out how to let us “download all files” on the chat page.

We are now three years into the AI revolution and they are still forcing us to copy and paste and click click crazy to get the damn files out.

STOP innovating. STOP the features.

Form a team of 500 of your best developers. Allocate a year and a billion dollar budget.

Get all those Ai super scientists into the job.

See if you can work out “download all files”. A problem on the scale of AGI or Dark Matter, but one day google or OpenAI will crack the problem.

indigodaddy · 13m ago
Workaccount2 · 40m ago
It seems you are still using the web interface.

When you hop over to platforms that use the API, the files get written/edited in situ. No copy/pasting. No hunting for where to insert edited code.

Trust me it's a total game changer to switch. I spent so much time copy/pasting before moving over.

nojito · 1h ago
This edits the files directly. Using a chat hasn't been an optimal workflow for a while now.
raincole · 56m ago
What does this even mean lol. "Download all files"...?
poszlem · 2h ago
The killer feature of Claude Code is that you can just pay for Max and not worry about API billing. It lets me use it pretty much all the time without stressing over every penny or checking the billing page. Until they do that - I'm sticking with Claude.
jedi3335 · 1h ago
No per-token billing here either: "...we offer the industry’s largest allowance: 60 model requests per minute and 1,000 requests per day at no charge."

https://blog.google/technology/developers/introducing-gemini...

fhinkel · 1h ago
If you use your personal gmail account without billing enabled, you get generous requests and never have to worry about a surprise bill.
indigodaddy · 23m ago
If I have a CC linked to my personal Google for my Google One storage and YouTube Premium, that doesn't make me "billing enabled" for Gemini CLI does it?
unshavedyak · 1h ago
Same. Generally i really prefer Claude Code's UX (CLI based, permissions, etc) - it's all generally close to right for me, but not perfect.

However i didn't use Claude Code before the Max plan because i just fret about some untrusted AI going ham on some stupid logic and burning credits.

If it's dumb on Max i don't mind, just some time wasted. If it's dumb on credits, i just paid for throw away work. Mentally it's just too much overhead for me as i end up worrying about Claude's journey, not just the destination. And the journey is often really bad, even for Claude.

therealmarv · 1h ago
That's a golden cage and you limit yourself to Anthropic only.

I'm happy I can switch models as I like with Aider. The top models from different companies see different things in my experiences and have their own strengths and weaknesses. I also do not see Anthropic's models on the top of my (subjective) list.

mhb · 2h ago
How does that compare to using aider with Claude models?
adamcharnock · 1h ago
I did a little digging into this just yesterday. The impression I got was that Claude Code was pretty great, but also used a _lot_ more tokens than similar work using aider. Conversations I saw stated 5-10x more.

So yes with Claude Code you can grab the Max plan and not worry too much about usage. With Aider you'll be paying per API call, but it will cost quite a bit less than the similar work if using Claude Code in API-mode.

I concluded that – for me – Claude Code _may_ give me better results, but Aider will likely be cheaper than Claude Code in either API-mode or subscription-mode. Also I like that I really can fill up the aider context window if I want to, and I'm in control of that.

bananapub · 1h ago
> I concluded that – for me – Claude Code _may_ give me better results, but Aider will likely be cheaper than Claude Code in either API-mode or subscription-mode.

I'd be pretty surprised if that was the case - something like ~8 hours of Aider use against Claude can spend $20, which is how much Claude Pro costs.

therealmarv · 1h ago
Using Claude models in aider burns tokens you need to top up. With Claude Max subscription you can pay a 100 or 200 USD per month plan and use their internal tool claude code without the need to buy additional pay as you go tokens. You get a "flatrate", the higher plan gives you more usage with less rate limiting.
rusk · 1h ago
This insistence by SAAS vendors upon not protecting you from financial ruin must surely be some sort of deadweight loss.

Sure you might make a few quick wins from careless users but overall it creates an environment of distrust where users are watching their pennies and lots are even just standing off.

I can accept that with all the different moving parts this may be a trickier problem than a pre paid pump, or even a Telco, and while to a product manager this might look like a lot of work/money for something that “prevents” users overspending.

But we all know that’s shortsighted and stupid and its the kind of thinking that broadly signals more competition is required.

ape4 · 1h ago
In the screenshot it's asked about Gemini CLI and it says its going to search the web and read the README.md - what ever did we do before AI /s
i_love_retros · 1h ago
Boring. Any non llm news?
rhodysurf · 1h ago
I neeeed this google login method in sst's opencode now haha