vibe·code24/7
← all reviews
·8 mingeminigoogleterminalagentsreviewopen-sourcecli

gemini cli review: google's terminal agent with a 1m-token window, no free sign-in since june 2026

Google's open-source terminal coding agent launched in June 2025, free with a personal Google account. Google stopped serving free individual users and Google AI Pro and Ultra on Gemini CLI on June 18, 2026; it stays open to Gemini Code Assist Standard and Enterprise licences and paid API keys, and free individual access moved to Antigravity CLI. The 1M-token context window is real and large enough to load an entire mid-size repo in a single call. The tradeoffs are real too.

correction, November 10, 2026: this review first said gemini cli had a free tier for personal google accounts, told readers to sign in that way, and called it the best free starting point. google stopped serving free individual users and google ai pro and ultra on gemini cli on june 18, 2026, before this review ran. the review instead says gemini cli is for paid code assist licences and paid api keys, and that free individual access moved to antigravity cli. Claude wrote this correction; OpenAI Codex read it against the sources listed on this page.

we tested gemini cli on real codebases. no affiliate relationship with google.

google shipped gemini cli in june 2025 as an open-source terminal agent. the pitch was straightforward: a coding agent in your terminal, backed by gemini 2.5 pro, free for personal use, with a 1M-token context window that could load a meaningful codebase in a single call. a year later, it's worth an actual assessment — not just a first impression.

that free route closed on june 18, 2026, more than five weeks before this review ran. google stopped serving gemini cli requests from gemini code assist for individuals, google ai pro and google ai ultra, and those users can no longer use the login with google option.

setup and first run

installation is one command: npm install -g @google/gemini-cli or npx @google/gemini-cliif you prefer not to install globally. the first run walks you through authenticating, but signing in with a personal google account on the free tier or on google ai pro or ultra is the route that closed. google's readme lists three ways in: sign in with a paid code assist licence from your organization, a gemini api key, or vertex ai.

at launch, the free licence gave you gemini 2.5 pro at 60 requests per minute and 1,000 requests per day at no charge. as of november 6, 2026, the readme says “No free tier or Google AI plans” while the quotas page still lists free-usage limits under a banner saying gemini cli was replaced for unpaid and google one users. google's pages do not settle whether an unpaid api key still works.

the 1m-token context window

at launch this was the feature that separated gemini cli from the field: google's free licence came with gemini 2.5 pro and its 1 million token window. claude code also has a 1M-token window (GA since march 2026), but getting there on claude code typically requires the higher-tier plans. on gemini cli, the free route to it closed on june 18, 2026.

in practice: you can point gemini cli at a repo with tens of thousands of lines and say “what's the authentication flow?” or “find all the places where we write to the database without a transaction” and it reads the actual code rather than a truncated summary. this is a different class of question than tools with smaller context windows can reliably answer.

gemini -p "read the entire src/ directory and explain the data flow"

that works. it's slow — loading a large context takes time — but it works, and the answer reflects the actual codebase rather than a guess.

the yolo flag and unattended runs

gemini cli has a --yolo flag (also -y) that skips the per-action confirmation prompts. you describe the task, the agent runs it, and you review the result — it doesn't pause to ask whether it's allowed to write the file.

this is useful for known-safe bulk operations: refactoring a naming pattern across a repo, adding a consistent docstring format, running a lint fix across files. it's dangerous for anything that touches infrastructure, deletes data, or has irreversible effects. the tool trusts your judgment on when to use it; you should too.

mcp: extending the tool

gemini cli supports the model context protocol (mcp), which lets it connect to external tools and data sources. in practice this means you can add a database MCP server and have the agent query real data while it's editing code, or add a web-search server and have it pull documentation before writing an integration.

the MCP ecosystem is shared across claude code, cursor, and gemini cli — servers you build for one typically work in the others. this is good: interoperability means your investment in tooling compounds across whichever agent you're using.

where it struggles

long-horizon agentic tasks — the kind where the agent needs to understand a problem, write a plan, execute across multiple files, run tests, fix the failures, and iterate — are still weaker here than on claude code.

there's also no IDE integration. gemini cli is a terminal tool, full stop. cursor gives you the agent inside the editor, with inline diffs and visual context. claude code offers a desktop app, an IDE extension, and terminal access. gemini cli offers the terminal. if your workflow is editor-first, this is a meaningful constraint.

and google's product velocity in developer tools is fast in both directions. gemini cli has changed significantly since launch — new models, new flags, new default behaviors. that's mostly good, but it means you should expect the tool you use today to be different in two months. document your patterns.

who it's for

after june 18, 2026, gemini cli is for organizations on gemini code assist standard or enterprise licences and for people paying through an api key, which is what google's post says stays open. google stopped selling new standard and enterprise subscriptions on october 9, 2026, and says agentic coding assistance goes forward through antigravity. its sunset page says annual subscriptions can auto-renew until january 31, 2027, monthly ones until december 31, 2027, and gemini enterprise keeps its code assist entitlement until march 31, 2027. as of november 6, 2026, the readme calls paid api and vertex keys legacy.

on those routes it suits two situations. first: your primary need is codebase-wide reasoning — large-context questions that use the 1M window. second: you build on google's ecosystem (cloud, vertex, firebase) and want native integrations.

if you want to try a terminal coding agent for free, gemini cli's sign-in route is closed. google moved free individual access to antigravity cli. its post says antigravity cli is available to everyone, without 1:1 feature parity right out of the gate. its pricing page lists a $0/month plan for individuals with basic weekly rate limits, and as of november 6, 2026 its plans doc includes the cli in all plans. this review did not test antigravity cli.

it is not a replacement for claude code on complex agentic tasks, and it's not a replacement for cursor if your workflow is editor-centric. it's a third option on those paid routes. the 1M window is real, but Anthropic's pricing docs list the same window at standard rates, so it no longer sets gemini cli apart there.

if you're evaluating tools: run the same four prompts in each tool and compare the outputs directly. the context-window advantage will be obvious or it won't be, depending on your codebase size.