What Google Gemini CLI does
Google Gemini CLI is an open-source coding agent that works in a terminal. It can answer questions about a repository, edit files, and take prompts from a script. Google maintains it for organizations already using Gemini Code Assist and documents access with legacy paid API keys. If you previously used a personal Google account, the free service and Google AI subscription access moved to Antigravity CLI in June 2026.
Best for
- Teams maintaining an existing Code Assist workflow
- Developers tracing code across a repository
- Engineers running repeatable prompts from scripts
Key features
Repository questions
Ask how part of a codebase works or describe a bug in plain English. The agent can inspect and edit files in the project.
Multimodal prompts
Give the agent a sketch, image, or PDF as a starting point for an application. This lets a developer work from a visual reference as well as a written description.
Scripted runs
Run a prompt without an interactive session. A script can invoke the same agent that a developer uses for one-off questions in the terminal.
External tools
Connect a Model Context Protocol server to give the CLI access to additional tools. Google lists media generation as one example.
Google Gemini CLI pricing
Google Gemini CLI has no free plan you can keep using each month. Google ended individual free access on June 18, 2026 and directs those users to Antigravity CLI. Google closed new Code Assist subscriptions on October 9, 2026. For existing seats, the monthly-commitment license rates are $0.031232877 per hour for Standard and $0.073972603 per hour for Enterprise. On 12-month commitments they are $0.026027397 and $0.061643836 per hour, respectively. Paid API keys are metered separately. Prices checked on the official site on Nov 18, 2026.
| Legacy paid API key | Pay-as-you-go | Usage-based billing at the selected model's input and output rates. |
|---|
Source: Google Gemini CLI pricing page
Pros and cons
What it does well
- A developer can ask a question and then request a change in the same terminal session.
- Non-interactive operation lets teams keep using the agent in existing scripts.
- An organization with an eligible Code Assist license can keep its terminal workflow during migration.
Know before you sign up
- Google AI Pro and Ultra subscriptions no longer provide access to this CLI.
- Google limits Code Assist support to the Gemini 3.x family and sets separate renewal deadlines for annual and monthly contracts.
Alternatives to Google Gemini CLI
- OpenAI CodexEdit and review code from your terminal, editor, or a cloud session.
Sourcegraph CodyUse repository context to understand and change code.
- AiderPair-program with an LLM in the terminal.
CursorBuild and inspect software with an AI coding agent.
JetBrains AI AssistantGet AI coding help inside JetBrains IDEs.
Mistral VibeDelegate research, documents, coding, and workflows to Vibe.
Questions about Google Gemini CLI
What is Google Gemini CLI?
Google Gemini CLI is an AI tool from geminicli.com, listed in our Coding category. Work on a codebase from the terminal with an existing Gemini Code Assist license or supported paid key.
Is Google Gemini CLI free?
Google ended individual free access on June 18, 2026 and directs those users to Antigravity CLI.
Where can I use Google Gemini CLI?
On Mac, Windows and Linux.
What are some alternatives to Google Gemini CLI?
Tools that do a similar job include OpenAI Codex, Sourcegraph Cody, Aider and Cursor.