Coding assistants · Google

Gemini CLI

In short

Open source Google terminal agent, now for paid API keys and Code Assist licences

Gemini CLI is an Apache 2.0 terminal agent for querying and editing codebases, with MCP support and scriptable output. Since 18 June 2026 free individual access and Google AI Pro and Ultra access moved to Antigravity CLI, so it now serves Code Assist Standard or Enterprise licences and paid API keys. It suits teams already on Google Cloud or paid Gemini API access.

Best for: Teams on Google Cloud or paid Gemini API keys who want an open source terminal agent.

Key facts

Editor's score3.0 / 5
Price fromSee sitePaid only
Category rank#9of 9 coding assistants
PlatformsMac, Linux, Windows

How it scores

  • Capability 40% 3/5 Solid terminal agent, now not tuned for newest models
  • Value for money 25% 2/5 No free individual tier since June 2026
  • Ease of use 20% 4/5 One-command install, familiar CLI
  • Privacy 15% 3/5 Depends on sign-in route, training terms not stated on page

Scores come from the sources below. How we rate tools

Good

  • Apache 2.0 open source
  • Works with Gemini API, Vertex AI and Code Assist licences
  • MCP support and headless scripting
  • Multiple install routes

Watch out for

  • Free individual access ended 18 June 2026
  • Google directs new work to the closed Antigravity CLI
  • Not tuned for Gemini 4 and later models

What Gemini CLI does

  • Query and edit codebases from the terminal
  • Generate apps from PDFs, images or sketches
  • MCP server integration
  • Non-interactive scripting with text, JSON or streaming JSON output
  • Sign in with Google account, Gemini API key or Vertex AI
  • Install by npx, npm, Homebrew, MacPorts or Anaconda

Gemini CLI pricing

  • Gemini CLI$0Open source tool; you pay through your API key or Code Assist licence
  • Code Assist Standard or EnterprisePer licenceKeeps access after 18 June 2026
  • Paid Gemini or Vertex AI API keyUsage-basedRemains supported

Checked 20 November 2026 on Gemini CLI's pricing page. Prices change; confirm before you buy.

Models it runs on

Pick a model with the -m flag, for example gemini-2.5-flash. The repository says it is not tuned for Gemini 4 or later models; Google points those users to Antigravity CLI.

Privacy

Terms depend on how you sign in: unpaid API keys, paid API keys and Cloud licences each fall under different Google terms; the page does not state training rules directly.

Read the policy

Alternatives to Gemini CLI

All coding assistants
  • Anthropic's coding agent for terminal, IDE, desktop and web4.4 / 5 · $17/month
  • OpenAI's coding agent, included in ChatGPT plans or billed by API key4.5 / 5 · $8/month
  • Open source coding agent for VS Code, JetBrains and the terminal3.8 / 5 · Free
  • AI code editor with agents, cloud agents and shared usage pools4.1 / 5 · $8/month

Sources

  1. Gemini CLI repository
  2. Google: transitioning Gemini CLI to Antigravity CLI
  3. Gemini CLI plans
  4. Gemini CLI terms and privacy

Questions

Is Gemini CLI free?
No. Gemini CLI is paid only.
How much does Gemini CLI cost?
Gemini CLI: $0 (Open source tool; you pay through your API key or Code Assist licence). Code Assist Standard or Enterprise: Per licence (Keeps access after 18 June 2026). Paid Gemini or Vertex AI API key: Usage-based (Remains supported). Checked 20 November 2026.
Which AI models does Gemini CLI use?
Pick a model with the -m flag, for example gemini-2.5-flash. The repository says it is not tuned for Gemini 4 or later models; Google points those users to Antigravity CLI.
What is a good alternative to Gemini CLI?

Sign in to vote as verified

Signed-in votes count once per account and show as verified. You can still vote without an account.

We use your email only to run your account. No marketing, no sharing, no passwords. Delete your account any time. Privacy

Delete your account?

This removes your account, your email and every vote you made while signed in. It cannot be undone.