What we checked on Gemini CLI
Writes code
Authors new code from a description and from multimodal input, with a write_file tool that creates files after you confirm the change.
Generate new apps from PDFs, images, or sketches using multimodal capabilities
Debugs and fixes
The vendor names debugging and troubleshooting as a core use, and the agent can edit files and run shell commands to land a fix after confirmation.
Debug issues and troubleshoot with natural language
Whole-codebase work
Built for repository-wide work: the vendor claims querying and editing large codebases, and a built-in codebase_investigator subagent maps dependencies across the repo.
Query and edit large codebases
Ships it
It does not deploy as a product feature; it executes arbitrary shell commands, so a release runs through your own scripts and each mutating call needs manual confirmation.
Executes arbitrary shell commands. Supports interactive sessions and background processes. Requires manual confirmation.
Done-for-you service
No people-delivered service: this is software you install yourself from npm, Homebrew or MacPorts and run on your own machine.
Gemini CLI is an open-source AI agent that brings the power of Gemini directly into your terminal.
Runs autonomously
Default mode asks before any write or shell call; a yolo approval mode auto-approves every tool, and in non-interactive runs an ask_user decision is treated as a denial.
yolo: A mode where all tools are auto-approved (use with extreme caution).
Multi-agent
Several specialist subagents run inside one session with their own context and tools; the main agent delegates to them automatically or via @name, and remote subagents are flagged experimental.
Subagents are specialized agents that operate within your main Gemini CLI session.
Agent permissions
A rule-based policy engine decides per tool call whether to allow, deny or ask the user, with priority tiers running from built-in defaults up to administrator rules.
It allows users and administrators to define rules that determine whether a tool call should be allowed, denied, or require user confirmation.
Claude
The model picker enumerates only Gemini options and every supported authentication path is a Google inference service, so Anthropic's models are not among the choices.
On the page: How to use the /model command, options table
geminicli.com/docs/cli/modelChecked
GPT
The /model dialog lists Gemini 3 and Gemini 2.5 families only, and authentication is limited to Gemini Code Assist, the Gemini Developer API and Vertex AI, so OpenAI models cannot be selected.
Supported authentication methods include: Logging in with your Google account to Gemini Code Assist. Using an API key with Gemini Developer API.…
Gemini
Gemini is the only model family: you pick Auto for Gemini 3 or 2.5, or select a specific Pro, Flash or Flash-Lite model manually.
Select your Gemini CLI model. The /model command lets you configure the model used by Gemini CLI, giving you more control over your results.
geminicli.com/docs/cli/modelChecked
Open models
No open-weight option: the model dialog offers Gemini models only and all three documented authentication paths are hosted Google services.
On the page: Supported authentication methods, bulleted list
Model choice
You choose the model, but only within Gemini: Auto routing is recommended, Manual exposes specific Gemini Pro and Flash models, and no third-party family appears.
We recommend selecting one of the above Auto options. However, you can select Manual to select a specific model from those available.
geminicli.com/docs/cli/modelChecked
In your editor
A VS Code companion extension supplies open-file context and native diff review, and the Agent Client Protocol registry carries it into JetBrains IDEs and Zed.
The Gemini CLI Companion extension grants Gemini CLI direct access to your VS Code compatible IDEs and improves your experience by providing…
On the command line
The terminal is the primary surface: an interactive TUI started with the gemini command, installed globally through npm, Homebrew, MacPorts or run via npx.
Gemini CLI brings the power of Gemini models directly into your terminal. Use it to understand code, automate tasks, and build workflows with your…
geminicli.com/docsChecked
In your pipeline
Headless mode gives scripts a JSON or streaming-JSON interface with documented exit codes, but confirmation prompts become denials when non-interactive, so unattended CI needs explicit policy rules.
Headless mode provides a programmatic interface to Gemini CLI, returning structured text or JSON output without an interactive terminal UI.
Self-hosted
The agent itself runs entirely on your own machine or container: install it from npm or Homebrew, and tool execution can be isolated in a sandbox or Docker.
npm install -g @google/gemini-cli
geminicli.com/docsChecked
Open source
Source is public on GitHub under Apache 2.0, and the vendor invites code contributions and community extensions.
We welcome contributions! Gemini CLI is fully open source (Apache 2.0), and we encourage the community to:
Licence
open source: the CLI is licensed Apache 2.0, which permits commercial redistribution, while use of the Google services it calls is governed separately by each service's terms.
Gemini CLI software is licensed under the Apache 2.0 license. When you use Gemini CLI to access or use Google's services, the Terms of Service and…
Open-source runtime
The binary is yours to run offline of any vendor account, but every model call needs a Google credential: an OAuth login, a Gemini API key or Vertex AI.
Your authentication method refers to the method you use to log into and access Google's services with Gemini CLI.
Runs in your cloud
Inference can run in your own Google Cloud project through Vertex AI with its own quota and billing, but no other cloud is offered as a backend.
An enterprise-grade platform for building, deploying, and managing AI models, including Gemini. It offers enhanced security, data governance, and…
Tracing and evals
Built-in OpenTelemetry emits logs, metrics and traces for each run, exportable to any OTLP backend or straight to Google Cloud Trace, Monitoring and Logging; it is off by default.
Gemini CLI provides built-in support for OpenTelemetry, transforming every agent interaction into a rich stream of logs, metrics, and traces.
How it meters
Two models run side by side: fixed-price subscriptions metered as model requests per user per day, or pay-as-you-go billed per token through an API key or Vertex AI.
It's important to highlight that when using an API key, you pay per token/call.
Cost of one job
On the cheapest route a developer-day costs nothing but is capped at 1,000 model requests when you sign in with Google, or 250 on a free Gemini API key; no per-task price is published.
1000 maximum model requests / user / day
Free credit
90 free requests, once, at signup.
90 days before you need to enable billing.
Free tier
No sales call: install the package, sign in with a Google account and the free tier starts immediately, or use a free-tier Gemini API key instead.
Gemini CLI offers a generous free tier that covers many individual developers' use cases.
API access
Headless mode is the programmatic path: drive the agent with -p from your own stack and parse single-object JSON or newline-delimited event streams, with documented exit codes.
Headless mode is triggered when the CLI is run in a non-TTY environment or when providing a query with the -p (or --prompt) flag.
Bring your own key
You can supply your own inference credentials: a Gemini API key from AI Studio, or Google Cloud credentials and a project for Vertex AI, set through environment variables.
Ideal for developers who want to quickly build applications with the Gemini models. This is the most direct way to use the models.
A company can buy it
An organisation can buy it as licensed seats: Gemini Code Assist Standard or Enterprise through Google Cloud, or Workspace AI Ultra on a Workspace account.
Quotas and pricing are based on a fixed price subscription with assigned license seats.
Seat model
Organisation buying is per assigned licence seat with a per-user daily request ceiling of 1,500 on Standard and 2,000 on Enterprise; no seat minimum or seat price is published here.
Gemini Code Assist Standard edition: 1500 maximum model requests / user / day
Pooled budget
Subscription quota is per user per day rather than a shared pot, while the pay-as-you-go Vertex path draws on project-level dynamic shared quota instead.
Quota: Governed by a dynamic shared quota system or pre-purchased provisioned throughput.
Admin controls
Administrators constrain the agent through machine-wide settings files that override user and workspace settings, plus an Admin policy tier that outranks user rules on every tool call.
These files allow you to define a baseline configuration (system-defaults.json) and a set of overrides (settings.json) that apply to all users on a…
Opt out of training
You can switch off the CLI's own usage statistics, but what happens to prompts depends on the service you authenticate against, and AI Studio's free tier states data may be used to improve products.
You may opt-out from sending Gemini CLI Usage Statistics to Google by following the instructions available here: Usage Statistics Configuration.
Data residency
Regional data residency is offered only on the Vertex AI path, which the vendor pairs with an SLA; the Google-account and API-key routes carry no residency commitment on these pages.
SLA and regional data residency
geminicli.com/plansChecked
Certifications
Enterprise security and compliance is claimed for the Vertex AI route under Google Cloud terms; no SOC 2, ISO 27001 or GDPR certificate is named for Gemini CLI on its own pages.
Enterprise security & compliance
geminicli.com/plansChecked
Gemini CLI price and terms
Terms
- Free plan
- YesYes
The terms in full
Standing free tier with no card: 1,000 model requests per user per day signing in with a Google account, or 250 requests per day on a free Gemini API key (Flash model only). Vertex AI Express mode is free for 90 days before billing must be enabled.
For AI agents
- API
- Yes
Where these prices come from
All plans and limits
| Plan | Price | Main limits |
|---|---|---|
| Gemini CLI | Free | None stated |
Gemini CLI alternatives
All 8 alternativesHead to headGemini CLI vs Claude Code
- This spot is openBe the first agent people see on Gemini CLI's page.
- First on your rivals' pages
- Top of your category
- First in the home page list
- First in search results
- In comparisons and guides
6 more alternatives
All 8 publish a price.
- AiderFreeAI pair programming in your terminal that maps your codebase and commits each LLM change to git, for developers.
- Codex CLIFrom $20 a monthOpenAI's command-line agent that edits repos inside an OS-enforced sandbox and runs unattended in CI via codex exec.
- Muse CodeFrom $5 a monthMeta's multi-agent terminal coding agent, co-trained with its own Muse models and sandboxed by default.
- zotFreeSingle-binary terminal coding agent harness in Go, with 30+ model providers and any-language extensions.
Questions about Gemini CLI
- How much does Gemini CLI cost?
- Gemini CLI is free to use. From geminicli.com/docs/resources/quota-and-pricing, checked 24 October 2026.
- Does Gemini CLI have an API or an MCP server?
- It has an API.
- Is Gemini CLI open source, and can you host it yourself?
- It is open source. You can host it yourself.
- What have we checked on Gemini CLI?
- 35 facts, under these headings: What it does, how much it does unattended, which models it runs on, where you use it, whose machine it runs on, building with it, what it costs to run, buying it for a team, what happens to your code.
- How do we check Gemini CLI?
- We hold 35 facts on Gemini CLI, quoted from 13 pages. Facts and price last checked 24 October 2026.
Sources and changes
Last changed
Sources13
- geminicli.com/docs/resources/quota-and-pricing
- geminicli.com/docs/resources/tos-privacy
- github.com/google-gemini/gemini-cli
- geminicli.com/docs/cli/model
- geminicli.com/docs
- geminicli.com/docs/cli/headless
- geminicli.com/docs/reference/policy-engine
- geminicli.com/plans
- geminicli.com/docs/cli/enterprise
- geminicli.com/docs/cli/telemetry
- geminicli.com/docs/core/subagents
- geminicli.com/docs/ide-integration
- geminicli.com/docs/reference/tools
Similar to Gemini CLI
See all in Terminal coding agents
- OpenHandsOpen-source software engineering agent with GUI, CLI, SDK and an enterprise control plane.
- ClineOpen-source coding agent for VS Code, JetBrains, the terminal and CI, running on whichever model you bring.
- JunieJetBrains coding agent for the terminal, JetBrains IDEs and CI, running on hosted or your own model keys.
- LettaStateful agent harness, cloud and SDK for agents with persistent, git-versioned memory.
From our research
Is this yours?
Claiming is free. You get this page's reader numbers and the verified owner mark.
Report an error if a fact is wrong.