Verdict
Gemini CLI is a capable, fully open agent that Google is now winding down for its last paying audience. The code is Apache-2.0 and stable releases still come almost every week, much of the recent work security hardening.11132 But since June 18 it no longer serves free Google-account users or Google AI Pro and Ultra subscribers, and on Oct 9 Google stopped selling the Gemini Code Assist Standard and Enterprise subscriptions its README says it is designed for. Existing annual subscriptions can renew only until Jan 31, 2027 and monthly ones until Dec 31, 2027, and Google limits Code Assist to its Gemini 3.x models.224251 Gemini CLI isn't tuned for the Gemini 4 series, and its own source offers no Gemini 4 model. Its quota and plan pages still describe the old free tier.1303 If your company already pays for Code Assist or runs on Vertex AI, it remains an auditable choice until your last renewal; plan the move now, and anyone starting fresh should look at Antigravity CLI or a rival.
Last reviewed: Dec 2026
Rubric (shared with our GitHub Copilot, Claude Code, Codex, Cursor and JetBrains reviews): Clarity covers whether the product and its pricing are easy to understand. Openness covers source access, self-hosting, licensing and portability. Controls covers SSO, roles, policy, secrets and audit. Lifecycle fit covers how it plugs into plan, build, ship and operate. *Who may use it changed on June 18 and again on Oct 9, but the quota, plans, model and terms pages haven't caught up, and the product's future is spread across a blog post, a README banner and Google Cloud's Code Assist sunset page. †Apache-2.0 source with 109,593 GitHub stars, installable from npm, Homebrew and MacPorts, with MCP support; it calls only Google's models. ‡System-wide settings files, opt-in sandboxing, workspace trust and telemetry export, plus Code Assist Enterprise's cloud controls; Google warns the local settings aren't a security boundary. §Strong for scripted and CI work in the terminal; no issue tracker or code-review features of its own. We lowered the grade from C+ to C on Dec 4, 2026, after confirming that Google stopped selling new Code Assist subscriptions on Oct 9 and set end dates for renewing existing ones.2425
At a glance
| What it is | An open-source AI agent for the terminal: it reads and edits code, runs commands, connects to MCP servers and runs non-interactively in scripts.1 |
|---|---|
| Maker | Google. See our Google DeepMind profile. |
| Licence | Apache-2.0; 109,593 stars on GitHub.1 |
| Install | npm install -g @google/gemini-cli, Homebrew, MacPorts or npx.1 |
| Who can use it | Existing Gemini Code Assist Standard and Enterprise subscriptions, Code Assist for GitHub through Google Cloud, and paid Gemini API or Vertex AI keys, which the README now calls "legacy". No new Code Assist subscriptions have been sold since Oct 9, 2026. Free Google-account users and Google AI Pro and Ultra subscribers were moved to Antigravity CLI on June 18, 2026.1242 |
| Latest stable | v0.72.0, Dec 1, 2026, 9:40 p.m. Pacific.32 |
| Downloads | 515,551 npm downloads in the week of Nov 27–Dec 3, down from 744,307 in the week of May 11–17. Downloads aren't users.14 |
| Successor | Antigravity CLI, which Google built in Go on the same harness as Antigravity 2.0; for businesses, Antigravity through Gemini Enterprise.224 |
The product today
Google launched Gemini CLI in 2025 and, by its own count in May 2026, had "millions of users", over 100,000 GitHub stars and 6,000 merged pull requests (Google's claims).2 On May 19 it announced that it was consolidating on Antigravity and a new Antigravity CLI, and that from June 18, 2026, Gemini CLI and the Gemini Code Assist IDE extensions would "stop serving requests" for Google AI Pro and Ultra and for free Gemini Code Assist for individuals users. Enterprise access is unchanged: Google says it will "continue to support Gemini CLI and Gemini Code Assist with access to the latest Gemini models and other updates", and that Gemini CLI "will remain accessible via paid Gemini and Gemini Enterprise Agent Platform API keys".2 Then Google narrowed the enterprise side too. On Oct 9 it stopped selling new Gemini Code Assist Standard and Enterprise subscriptions, after limiting console sign-ups to existing customers on Sep 4. Existing subscriptions stay supported until their contracts end, but annual plans can auto-renew only until Jan 31, 2027, which is also the last day to add licences, and monthly plans until Dec 31, 2027. Code Assist entitlements in existing Gemini Enterprise subscriptions end on Mar 31, 2027. Google says Code Assist support "will be limited to the Gemini 3.x model family only" and that agentic coding "will be available through Antigravity", which comes with Gemini Enterprise. Its sunset page was last updated Dec 3.2425
The README, rewritten on Oct 27, now says Gemini CLI is "designed for" Code Assist Standard and Enterprise licences and Code Assist for GitHub, lists paid API and Vertex AI keys as "legacy", and warns that it isn't tuned for the Gemini 4 series or later and shouldn't be used to benchmark Gemini models. It points interactive users to Antigravity CLI and scripts and CI to a separate, experimental Gemini API CLI, also Apache-2.0, which isn't a coding agent.12934
- Agent loop. Codebase questions and edits, shell commands, multimodal input from PDFs, images or sketches, and MCP servers for extra tools.1
- Scripting.
gemini -pruns headless, with JSON or streaming JSON output; since v0.63.0 (Oct 6) plans can execute autonomously in non-interactive mode.111 - Release channels. The README promises nightly builds at 00:00 UTC, previews on Tuesdays at 23:59 UTC and stables on Tuesdays at 20:00 UTC (noon Pacific in winter). Recent stables have slipped off that schedule: v0.69.0 shipped on Wednesday, Nov 18, v0.70.0 on Thursday, Nov 19, v0.71.0 on Monday, Nov 23, and v0.72.0 late on Tuesday, Dec 1.132
Pricing
Gemini CLI itself is free software. What you pay for is the model access behind it.
| Access | Price | Notes |
|---|---|---|
| Gemini Code Assist Standard | $19 / user / mo (12-month); $22.80 monthly | Existing subscribers only since Oct 9; licences can be added until Jan 31, 2027; the quota page lists 1,500 requests per user a day26243 |
| Gemini Code Assist Enterprise | $45 / user / mo (12-month); $54 monthly | Existing subscribers only since Oct 9; the quota page lists 2,000 requests per user a day26243 |
| Gemini API key, paid | Per token | Gemini 3.8 Flash $0.75 input and $3.75 output per million tokens through Dec 31, 2026, then $1.50 and $7.5016 |
| Gemini API key, free tier | $0 | 250 requests a day, Flash only, per the quota page; Google may use free-tier data to improve its products316 |
| Vertex AI | Pay as you go | Express mode gives 90 days before billing must be enabled3 |
Google Cloud lists Code Assist licence fees by the hour; over a 730-hour month they come to the figures above.26 The codeassist.google site, our earlier source for these prices, now redirects to Google's notice on the end of consumer accounts.33 Gemini 4 Argon's introductory API price ended on Nov 30; since Dec 1 it has cost $4 input and $20 output per million tokens, and it isn't on the free tier. Google has also deprecated it: from Dec 15, API requests to Argon route to Gemini 4 Carbon at Carbon's rates. Gemini CLI offers neither model (see Models).162730 A 10-person team already on Code Assist Standard pays $190 a month on a 12-month commitment. The quota page also still lists 1,000, 1,500 and 2,000 requests a day for free, Google AI Pro and Google AI Ultra Google accounts, which Google stopped serving on June 18 (see Conflicts).32
Models
Gemini CLI calls only Google's models. Its model page offers Auto (Gemini 3), routing between gemini-3-pro-preview and gemini-3-flash-preview; Auto (Gemini 2.5); or Manual, and notes that sub-agents may use other models whatever you choose.7 A separate page says Gemini 3.1 Pro Preview is rolling out and explains fallback to Gemini 2.5 Pro when you hit a daily limit; Code Assist Standard and Enterprise admins have to switch on the Preview release channel before users get Gemini 3.8 Those pages were last updated in March and April. The source code is more current: as of Dec 4 its list of valid models runs from Gemini 2.5 Pro through Gemini 3.1 Pro Preview and Gemini 3.5 Flash to Gemini 3.8 Flash, which sits behind an experiment flag, plus two open Gemma 4 models. It includes no Gemini 4 model.30 That matches Google's Code Assist sunset page, which limits Code Assist to the Gemini 3.x family.24 Google's own lineup has moved on: its API pricing page now leads with Gemini 4 Carbon, Neon and Hydrogen, and lists Gemini 4 Argon, launched on Oct 13, as deprecated.161727 See our Google DeepMind profile for that lineup.
Data and privacy
The terms that apply depend on how you sign in.6
- Code Assist Standard and Enterprise fall under the Google Cloud terms. Google's Code Assist site said in October that customer code, inputs and recommendations "will not be used to train any shared models nor used to develop any products", and lists VPC Service Controls, Private Google Access, IAM permissions, IP indemnification and SOC 1/2/3 and ISO/IEC 27001, 27017, 27018 and 27701 certifications.615
- Gemini API keys fall under the Gemini API terms. Google's pricing page says free-tier data is used to improve its products and paid-tier data isn't.616
- Vertex AI falls under the Google Cloud terms and privacy notice.6
- Usage statistics go to Google under its privacy policy, and you can opt out.6
The terms page also warns that using Gemini CLI's sign-in to reach Google's services from third-party tools violates Google's terms and may get an account suspended.6
Controls
Administrators can push system-wide defaults and overrides that take precedence over user and project settings, including which MCP servers load, and Google suggests a wrapper script so users can't point the CLI at another settings file. Google cautions that these measures "should not be considered a foolproof security boundary" against a user with local admin rights.10 Sandboxing is opt-in, via -s, an environment variable or settings, using macOS Seatbelt profiles, Docker or Podman, gVisor or LXC.9 Workspace trust fails closed since v0.59.0, and v0.65.0 makes workspace settings read-only in untrusted folders and adds custom headers for OpenTelemetry export.1112
Security record
We found three NVD entries naming Gemini CLI itself, all about untrusted input getting the agent to run code before its safeguards apply:202128
- Container launcher command injection (CVE-2026-12537, GHSA-wpqr-6v78-jr5g). A crafted
.gemini/.envfile could run code on the host before the sandbox started, on headless CI. It also affected the run-gemini-cli GitHub Action before 0.1.22. GitHub's advisory rates it critical and the CVE's assigning authority scores it 10.0; NVD's own score is 7.8. Fixed in v0.39.1.1920 - Folder-trust bypass (CVE-2026-13745). An untrusted
.envcould overrideGEMINI_CLI_HOME, load a malicious configuration and skip the trust prompt, leading to code execution. Published Sep 10, 2026; scored 7.7; fixed in v0.39.1.21 - Triage-workflow code injection (CVE-2026-85259). Crafted GitHub issue text could make automated triage workflows in Gemini CLI and the run-gemini-cli Action run commands or read sensitive files, in versions before May 12, 2026. Published Dec 1, 2026; the assigning authority scores it 10.0 under CVSS 4.0, and NVD hadn't analyzed it as of Dec 4.28
Every stable release in September and October carried security work, from MCP OAuth SSRF protection to environment-variable consent and indirect prompt-injection hardening.11 November's kept it up: v0.70.0 skips system-wide MCP servers whose command files have insecure permissions, and v0.71.1 and v0.72.0 make the agent-to-agent (A2A) server require a bearer token and accept only loopback hosts.3231 Stay on the latest stable and run with sandboxing on, especially in CI.
Strengths
- Fully open source under Apache-2.0, so you can audit, fork or pin it.1
- Frequent stable releases, many of them security hardening.3211
- Good for scripts and CI: headless mode, JSON output and a GitHub Action.119
- Included with existing Code Assist licences, under Google Cloud's data terms.156
- Several sandbox options and centrally managed settings.910
Weaknesses and risks
- Google stopped selling new Code Assist subscriptions on Oct 9, and renewals end in 2027.2425
- Individuals were moved to Antigravity CLI in June, and the README calls API-key access "legacy".21
- No Gemini 4 models, despite Google's May promise of the latest models for enterprise users; Code Assist is now limited to Gemini 3.x.30224
- Quota, plans, model and terms pages still describe the pre-June product.347
- Weekly npm downloads are about 31% below their May level.14
- Only Google's models, and no published end date for the CLI itself.72
Who it's for
- Companies already paying for Gemini Code Assist, for whom it's included and covered by Google Cloud terms, until their final renewal.242
- Google Cloud and Vertex AI shops that want an agent in CI with service-account or API-key auth.5
- Teams that need source they can audit or fork, under Apache-2.0.1
Think twice if: you're buying new (Code Assist is no longer sold), you're an individual or a Google AI Pro or Ultra subscriber (Google now points you to Antigravity CLI), you want Google's Gemini 4 models, or you want a tool whose maker is investing in its future rather than its replacement.
Alternatives
| Tool | Owner | Entry paid option | Models | SO 2026 use |
|---|---|---|---|---|
| Gemini CLI | Google; Apache-2.0 | An existing Code Assist subscription (no new sales since Oct 9), or a paid API key241 | Gemini 3.x and earlier30 | Not listed |
| Antigravity CLI | Free individual tier; paid tiers through Google AI plans or Gemini Enterprise (see our review)18 | Gemini-first, "a variety of agent models"18 | 16.0%*22 | |
| Claude Code | Anthropic | See our review | Claude | 65.5%22 |
| OpenAI Codex | OpenAI; CLI Apache-2.0 | See our review | GPT | 29.5%22 |
| GitHub Copilot (Copilot CLI) | GitHub (Microsoft) | See our review | Several vendors, including Gemini | 58.7%22 |
| Grok Build (formerly Cursor) | SpaceX (Anysphere)23 | See our review | Several vendors | 25.5%22 |
Survey figures are the share of 12,255 respondents who used each coding agent. *Stack Overflow lists Google Antigravity as a whole, not its CLI, and also lists Gemini Code Assist at 14.6%; it doesn't list Gemini CLI. Its survey predates Cursor's Nov 30 rename to Grok Build.22 Usage allowances differ and aren't directly comparable.
Gemini CLI vs. Antigravity CLI
This is the choice Google is pushing. Antigravity CLI is built in Go and shares its harness with Antigravity 2.0; Gemini CLI is the older Node.js tool distributed through npm.21 Antigravity gets Google's newest models first, including Gemini 4 Argon for Google AI Pro and Ultra subscribers, and has a $0 individual tier with basic weekly limits; Gemini CLI has no free Google-account tier any more.17182 Gemini CLI's advantages are its Apache-2.0 source, its long public release history and its fit with existing Code Assist licences. For businesses the choice is being made for them: Google now offers agentic coding through Antigravity in Gemini Enterprise rather than through Code Assist, and Antigravity CLI already runs on Google Cloud projects, so teams can trial it before their last Code Assist renewal.2418 See our Antigravity review.
Gemini CLI vs. Claude Code, Codex and Copilot CLI
All three are actively developed terminal agents from companies that are still investing in them, and all three appear far more often in Stack Overflow's survey than any Google coding agent.22 Codex's CLI is open source too, and Copilot CLI comes with every Copilot plan, Free included; see our Claude Code, Codex and GitHub Copilot reviews for their plans. Gemini CLI wins only where Google's licence, data terms or open source matter more than momentum.
Fresh in the last 60 days
- Oct 6: v0.63.0 enables autonomous plan execution in non-interactive mode.11
- Oct 9: Google stops selling new Gemini Code Assist Standard and Enterprise subscriptions and sets 2027 end dates for renewals.2524
- Oct 13: Gemini 4 Argon launches for the API, AI Studio, Android Studio and Antigravity; v0.64.0 adds atomic file writes.1711
- Oct 15, 5:54 p.m.: A banner saying Gemini CLI isn't optimized for Gemini 4 is merged; it ships in v0.66.0-preview.0 on Oct 20.13
- Oct 20, 2:17 p.m.: v0.65.0, with read-only workspace settings in untrusted folders and custom OpenTelemetry headers.12
- Oct 27, 6:27 p.m.: the README is rewritten for Code Assist customers, calls API keys "legacy" and points scripts to the Gemini API CLI.29
- Nov 19, 1:08 p.m.: v0.70.0 skips system MCP servers with insecure command permissions.32
- Nov 23, 7:50 p.m.: v0.71.1 patches the A2A server to require a bearer token.3231
- Dec 1: Gemini 4 Argon moves to $4 / $20 per million tokens on the API; CVE-2026-85259, a triage-workflow code injection, is published; v0.72.0 ships at 9:40 p.m.162832
- Dec 3: Google updates its Code Assist sunset page.24
Coming up: Gemini 4 Argon requests route to Gemini 4 Carbon from Dec 15; Gemini 3.8 Flash's API price doubles on Jan 1, 2027; Jan 31, 2027 is the last day to renew annual Code Assist subscriptions or add licences; Code Assist entitlements in Gemini Enterprise end Mar 31, 2027; monthly Code Assist renewals end Dec 31, 2027.271624
Conflicts in Google's own sources
- The free tier. The quota page, last updated Jun 18, 2026, still offers 1,000 requests a day free with a Google account and 1,500 or 2,000 with Google AI Pro or Ultra; Google's blog, the README and codeassist.google say those users stopped being served on June 18.32115
- The plans page. It still sells Free ("Authenticate instantly with your Google Account") and Google AI Pro and Ultra with "higher usage limits for Gemini CLI".4
- "The latest Gemini models". Google's May post promises enterprise users the latest models in Gemini CLI and says it "will remain accessible" with paid API keys; the README now says it isn't tuned for the Gemini 4 series and calls API keys "legacy", and the Code Assist sunset page limits support to Gemini 3.x.2124
- Sign-up flow. The terms page and authentication guide still send Google-account users without a licence to sign up for Gemini Code Assist for individuals.65
- Model menu. The model docs offer Gemini 3 Pro Preview and Gemini 2.5, while the source code accepts models up to Gemini 3.8 Flash.730
- Release schedule. The README promises a stable release every Tuesday at 20:00 UTC; none of the last four stables, v0.69.0 to v0.72.0, shipped on that schedule.132
AI software lifecycle fit
- Plan. Plans can run autonomously in non-interactive mode since v0.63.0.11
- Build. The terminal agent itself, with MCP servers and multimodal input.1
- Ship. Headless runs with JSON output and the run-gemini-cli GitHub Action.119
- Operate. OpenTelemetry export, now with custom headers; Code Assist adds usage dashboards.1215
- AI. MCP, sub-agents and centrally managed MCP allow-lists.1710
Bottom line
Gemini CLI is still a well-maintained open-source agent, and its releases keep tightening security. But Google has stopped selling the subscriptions it is built for, set dates for the last renewals, limited Code Assist to Gemini 3.x and kept its Gemini 4 models out of the CLI, and its docs still describe a free tier that ended in June. Keep using it while your Code Assist or Vertex AI setup lasts, pin and update it, and turn on sandboxing. Plan your move before your final renewal: Antigravity CLI is Google's answer, and if you're choosing fresh, compare Claude Code, Codex and GitHub Copilot first.
What we couldn't verify
- Whether the free Gemini API key tier (250 requests a day, Flash only) still works in Gemini CLI; Google's post mentions only paid keys, and the README now calls API keys "legacy".321
- Which model Auto routing picks today. The source accepts Gemini 3.8 Flash behind an experiment flag and no Gemini 4 model, but the model docs haven't been updated since March.730
- How long Google will keep developing Gemini CLI and serving paid API keys; it has set end dates for Code Assist renewals but none for the CLI itself.224
- What the Code Assist sunset means for Code Assist for GitHub customers; the sunset page doesn't mention it.24
- Current daily limits for Code Assist Standard and Enterprise, since the quota page is out of date elsewhere.3
- How many people use Gemini CLI now; Google's "millions" figure is from May, and npm downloads aren't users.214
Sources
- GitHub: google-gemini/gemini-cli repository and README
- Google Developers Blog: An important update, transitioning Gemini CLI to Antigravity CLI (May 19, 2026)
- Gemini CLI docs: Quotas and pricing (last updated Jun 18, 2026)
- Gemini CLI: Plans
- Gemini CLI docs: Authentication setup
- Gemini CLI docs: License, Terms of Service and Privacy Notices (last updated Apr 10, 2026)
- Gemini CLI docs: Model selection (last updated Mar 19, 2026)
- Gemini CLI docs: Gemini 3 Pro and Gemini 3 Flash on Gemini CLI (last updated Apr 10, 2026)
- Gemini CLI docs: Sandboxing
- Gemini CLI docs: Gemini CLI for the enterprise
- Gemini CLI docs: Release notes, v0.58.0 to v0.64.0
- GitHub: Gemini CLI release v0.65.0 (Oct 20, 2026)
- GitHub: Pull request #29774, "Add Banner about Gemini CLI not being optimized for Gemini 4" (merged Oct 15, 2026)
- npm: Download counts for @google/gemini-cli, May 11 to Dec 3, 2026
- Google: Gemini Code Assist for teams and businesses, with pricing
- Google AI for Developers: Gemini Developer API pricing
- Google: Gemini 4 Argon is now available for developers (Oct 13, 2026)
- Google Antigravity: Pricing
- GitHub Advisory Database: GHSA-wpqr-6v78-jr5g, Gemini CLI remote code execution via workspace trust and tool allowlisting bypasses
- NVD: CVE-2026-12537 (Gemini CLI and run-gemini-cli)
- NVD: CVE-2026-13745 (Gemini CLI)
- Stack Overflow: Developer Survey 2026, AI coding agents (n = 12,255)
- SpaceX: Form 8-K, completion of the acquisition of Anysphere (Cursor) (Aug 14, 2026)
- Google Cloud: Gemini Code Assist Standard and Enterprise subscriptions (sunset schedule; last updated Dec 3, 2026)
- Google Cloud: Gemini Code Assist release notes (Sep 4 and Oct 9, 2026 announcements)
- Google Cloud: Gemini for Google Cloud pricing (Code Assist Standard and Enterprise licence fees)
- Google AI for Developers: Gemini API deprecations (Gemini 4 Argon routes to Gemini 4 Carbon from Dec 15, 2026)
- NVD: CVE-2026-85259 (Gemini CLI and run-gemini-cli triage workflows; published Dec 1, 2026)
- GitHub: Pull request #29995, "docs(readme): clarify Gemini CLI scope, limitations, and tool landscape" (merged Oct 27, 2026)
- GitHub: Gemini CLI source, packages/core/src/config/models.ts (valid model list)
- GitHub: Pull request #30420, "fix(a2a-server): enforce bearer token authentication and request input validation"
- GitHub: Gemini CLI releases, v0.66.0 to v0.72.0 (Oct 27 to Dec 1, 2026)
- Google for Developers: Gemini Code Assist consumer accounts (codeassist.google now redirects here)
- GitHub: google-gemini/gemini-api-cli, "An (experimental) CLI for the Gemini API"
