Back to all tools
Gemini CLI logo
Usage-basedOpen SourceAPI

Gemini CLI Review, Pricing & Alternatives (2026)

An open source Gemini agent for coding and research in the terminal

Last updated: November 5, 2026

What is Gemini CLI?

Gemini CLI is Google's open source terminal agent for developers who want Gemini models, file operations, shell commands, web grounding, and MCP extensions from a command line. The client costs $0, while model access through paid API and Vertex AI routes is usage based. Consumer Google account access moved to Antigravity CLI on June 18, 2026.

Gemini CLI is Google's open source terminal agent for developers, students, researchers, and technical users who prefer a shell over a browser or IDE. Google launched it on June 25, 2025, connecting the client to Gemini Code Assist technology. The Apache License 2.0 covers the client, which supports coding, content generation, problem solving, research, and task management. A session begins with the gemini command and a prompt that can reference files in the working directory. The agent can read and edit files, run shell commands, fetch web content, and use Google Search grounding. Its repository has approximately 108,700 stars, 14,000 forks, and hundreds of contributors as of November 2026. Google also reported millions of users in its May 2026 transition announcement.

Gemini CLI supports persistent project instructions through GEMINI.md files, while checkpointing and chat history help users resume work. Model Context Protocol support connects local or remote tools, and extensions add services including databases, BigQuery, Cloud Run, and security analysis. Headless mode accepts positional prompts and returns text, JSON, or streaming JSON for scripts and automation. Approval controls allow users to review commands and edits before execution. Gemini CLI launched with Gemini 2.5 Pro and a 1 million token context window. Google later added Gemini 2.5 Flash Lite, prompt completion, structured JSON output, improved editing, citations, database extensions, and broader MCP handling. In February 2026, Google announced Gemini 3.1 Pro preview support. The repository advertises Gemini 3 models and weekly stable and preview channels.

Gemini CLI itself costs $0, but model access depends on authentication, quotas, billing, and service availability. Before June 18, 2026, a personal Google account received 1,000 model requests daily and 60 requests per minute. Google ended that consumer route for individual, Google AI Pro, and Google AI Ultra accounts on June 18, 2026. The Gemini API free tier allows 250 requests per user per day and Flash models only. Paid Gemini API access bills input, output, cached tokens, and applicable tools by model and token volume. Vertex AI Express Mode offers account specific quotas for up to 90 days before billing is required. Gemini Code Assist Standard includes 1,500 daily requests per user, while Enterprise includes 2,000. Enterprise Gemini Code Assist and paid API access remain supported.

Gemini CLI fits repository work, automation, and teams using Google Cloud, Vertex AI, or Gemini Code Assist. Shell, file, web, and Search tools support multi step tasks, while MCP and extensions connect the client with local tools and Google Cloud services. Headless operation and JSON output suit scripts and CI workflows. Users should review proposed commands, file edits, and cloud changes before execution. The main limitation is Google's product transition, which removes the former personal free route. Users moving beyond supported enterprise authentication must manage credentials, quotas, billing, and service terms. The Gemini API free tier has limited model access, and the repository warns that Gemini CLI is not optimized for Gemini 4 Argon. Users seeking that model must use Antigravity CLI.

Claude Code is a direct alternative for developers committed to Anthropic models and its paid workflow. OpenAI Codex CLI fits teams already using Codex models or ChatGPT. Gemini CLI differs through Gemini models, Google Search grounding, MCP support, and Google Cloud integrations. It has no standalone subscription, although paid API and cloud routes require separate credential, quota, and billing administration. The client is Apache License 2.0 software, but that license does not cover Google's models or services. Choose Gemini CLI if you need Google's terminal tools, Search grounding, MCP, or Cloud integrations through an enterprise or paid API route. Choose Claude Code for Anthropic's workflow, or OpenAI Codex CLI for Codex and ChatGPT users. Gemini CLI is best for Google focused teams that want an inspectable terminal client.

Who is Gemini CLI best for?

  • Developers who prefer a terminal agent over an IDE assistant.
  • Teams using Google Cloud, Vertex AI, or Gemini Code Assist.
  • Automation workflows requiring MCP, shell tools, and JSON output.
  • Users who want an Apache 2.0 client they can inspect.

Gemini CLI Pricing (2026)

Pricing model: Usage-based. All prices in USD.

PlanPriceWhat you get
Gemini CLI software$0The client is Apache License 2.0 software. Model responses require a supported Google account, API key, or Vertex AI authentication route.
Gemini API free tier$0Up to 250 model requests per user per day, limited to Flash models, subject to Google's rate limits.
Gemini API paid tierCustomUsage is billed by model and token volume, including input, output, cached tokens, and applicable tools. Google publishes rates per 1 million tokens.
Vertex AI Express Mode$0Free access has account specific quotas and lasts up to 90 days before billing is required.
Vertex AI paid tierCustomUsage is billed through Google Cloud by model and token volume. Quotas use dynamic shared quota or provisioned throughput.
Gemini Code Assist StandardCustomThe license includes up to 1,500 model requests per user per day, shared with Gemini Code Assist agent mode. Google Cloud sets subscription terms.
Gemini Code Assist EnterpriseCustomThe license includes up to 2,000 model requests per user per day, shared with Gemini Code Assist agent mode. Google Cloud sets subscription terms.
Workspace AI UltraCustomSupported Workspace AI Ultra access includes up to 2,000 model requests per user per day, shared with Gemini Code Assist agent mode.

Pros and Cons

Pros

  • Built in shell, file, web, and Search tools support multi step work.
  • MCP and extensions connect the CLI to local tools and Google Cloud services.
  • The client is open source under Apache License 2.0.
  • Headless mode and JSON output fit scripts and CI workflows.

Cons

  • Consumer Google account access ended on June 18, 2026.
  • API and Vertex usage require credential, quota, and billing decisions.
  • The repository says Gemini CLI is not optimized for Gemini 4 Argon.

Who should look elsewhere?

  • New personal users seeking Google's former free CLI route.
  • Teams requiring a fixed Gemini CLI subscription price.
  • Users unwilling to review shell commands and file edits.

Technical Details

Open SourceYes
Self-HostedNo
API AccessYes

Frequently Asked Questions

How much does Gemini CLI cost?

Gemini CLI has no separate subscription price. The client is free, while model access depends on authentication. Paid Gemini API and Vertex AI routes bill token and tool usage. Gemini Code Assist licenses use Google Cloud subscription terms. Google stopped serving individual, Google AI Pro, and Google AI Ultra accounts through Gemini CLI on June 18, 2026, so those users must use a supported enterprise or API route.

Is Gemini CLI free?

The client is free and licensed under Apache License 2.0. Free model access depends on the route. The Gemini API free tier allows up to 250 daily requests and Flash models only. Vertex AI Express Mode has account specific quotas for up to 90 days. The former personal Google account route offered 1,000 daily requests, but it ended on June 18, 2026.

Gemini CLI or Claude Code, which should I choose?

Choose Gemini CLI for Google Search grounding, Gemini models, MCP, and Google Cloud integrations. It fits teams already using Vertex AI or Gemini Code Assist. Choose Claude Code if Anthropic models and its paid developer workflow better match your organization. Gemini CLI has no standalone subscription, while API and cloud routes require separate credential, quota, and billing administration.

Does Gemini CLI use my prompts to train Google's models?

The answer depends on authentication. Google Cloud states that Gemini for Google Cloud does not use prompts or responses to train models. Gemini CLI applies the terms and privacy notice for the selected service, including Gemini Code Assist, the unpaid Gemini API, paid Gemini API, or Vertex AI. The Gemini API page says free tier content may improve products, while paid tier content is not used for that purpose.

Can I use Gemini CLI commercially, and is it licensed?

The client code uses Apache License 2.0, which permits commercial use, modification, redistribution, and sublicensing subject to license and notice conditions. That license covers the software, not Google's models or services. Commercial users must follow the applicable Gemini API, Vertex AI, Code Assist, Google Cloud, credential, and acceptable use terms.