Skip to content
Gemini CLI vs Claude Code: Which One to Use for Which Job, and What Each Costs
Gemini CLI

Gemini CLI vs Claude Code: Which One to Use for Which Job, and What Each Costs

Gemini CLI now serves only companies on Gemini Code Assist, Antigravity CLI is Google's $0 option for individuals, and Claude Code starts at $20 a month.

10 min read

0

For most people the choice is now Claude Code or Antigravity CLI, because Google's Gemini CLI stopped serving free users and Google AI Pro and Ultra subscribers on June 18, 2026. Pick Claude Code to have an AI agent build and fix software on your computer from plain-English requests, starting with Claude Pro at $20 a month, and pick Antigravity CLI, Google's replacement for individuals, if you want to start at $0. Keep Gemini CLI only if your company already pays for a Gemini Code Assist Standard or Enterprise license.

Last checked December 4, 2026: plan prices and what each plan includes on Anthropic's Claude pricing page, Google's Antigravity pricing page, Google's AI plans page and Google Cloud's Gemini Code Assist pricing page, plus who can still use Gemini CLI, from its GitHub page and Google's announcement. Pat Simmons hasn't tested Gemini CLI or Antigravity CLI, so the results further down come from his Claude Code builds and from a separate test of the models.

Gemini CLI vs Claude Code: our verdict, by job

Which one fits depends mostly on who's paying. Claude Code comes with every paid Claude plan, Gemini CLI now serves only organizations on Google Cloud, and individuals who want Google's terminal agent use Antigravity CLI.

Your situationUseWhy
You want an agent to build an app or fix a project from plain-English requestsClaude CodeIncluded from Claude Pro at $20 a month
You want to try a terminal coding agent without payingAntigravity CLIGoogle's Individuals plan is $0, with a weekly quota on Gemini 4 Hydrogen
You pay for Google AI Pro or UltraAntigravity CLIGemini CLI stopped serving these plans on June 18, 2026
Your company has a Gemini Code Assist Standard or Enterprise licenseGemini CLIGoogle says that access is unchanged and still supported
You want Anthropic's and Google's models in one toolAntigravity CLI on a paid Google AI Pro or Ultra planGoogle lists Claude Sonnet 5.5 and Claude Opus 5.5 (thinking) on both

Claude Code is Anthropic's coding agent. Anthropic's docs describe it as "an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools," available in the terminal, code editors, a desktop app and the browser. For the longer version, see what Claude Code is, in plain English.

Gemini CLI is Google's open-source terminal agent, released under the Apache 2.0 license. A terminal is the text window where you type commands to your computer, and CLI stands for command-line interface, the name for a tool you run there. Its GitHub page now says it is "maintained for enterprise Gemini Code Assist workflows on Google Cloud."

Claude Code vs Gemini CLI pricing: what each costs

Claude Code costs at least $20 a month, on Claude Pro, or $17 a month if you pay for a year up front, and it isn't on Claude's Free plan. Gemini CLI comes with a Gemini Code Assist license, which Google Cloud lists at $19.00 to $54.00 per license a month, or with a paid Gemini or Gemini Enterprise Agent Platform API key, which Google's transition post says still works, at Google's Gemini API rates (not covered here). Antigravity CLI is $0 on Google's Individuals plan.

PlanPriceTerminal agentModels and limits
Claude Free$0No Claude CodeThe Claude app without Claude Code, limited usage every 5 hours and every week
Claude Pro$20 a month, or $17 a month billed annually ($200 up front)Claude CodeMore usage than Free, every 5 hours and every week
Claude Max$100 a monthClaude Code5 times Pro's usage
Claude Ultra$200 a monthClaude Code10 times Pro's weekly usage, no 5-hour limit for verified accounts
Claude Team$25 a seat a month ($20 billed annually); Premium seat $125 ($100 billed annually)Claude CodeFor teams of 2 to 150; Premium seats get 5 times Standard's usage
Gemini Code Assist Standard$22.80 per license a month, or $19.00 on a 12-month commitmentGemini CLISold through Google Cloud
Gemini Code Assist Enterprise$54.00 per license a month, or $45.00 on a 12-month commitmentGemini CLIHigher daily limits for agent mode and Gemini CLI than Standard
Paid Gemini API keyPrice set by Google's Gemini API rates (not covered here)Gemini CLIGemini CLI still accepts paid Gemini and Gemini Enterprise Agent Platform API keys (Google transition post)
Antigravity for Individuals$0Antigravity CLIGemini 4 Hydrogen, baseline quota refreshed weekly
Google AI Pro$19.99 a month, or $199.99 a yearAntigravity CLIGemini 4 Neon, Carbon and Hydrogen, Orchestrator, and Claude Sonnet 5.5 and Opus 5.5 on non-trial plans; quota refreshed every 5 hours
Google AI Ultra$99.99 a month, billed monthly onlyAntigravity CLIGoogle's highest Antigravity quota, refreshed every 5 hours
Antigravity business plans (Google Cloud)From $30 a seat a month, or a $0-seat pay-as-you-go planAntigravity CLIBilled through Google Cloud

Prices are the US figures shown on each company's own page on December 4, 2026, and Anthropic's don't include tax. Google's AI plans page also lists a larger Ultra 20x plan, which isn't in this table. For the pay-per-use route through an Anthropic Console account, see Claude Code pricing, plan by plan.

Both companies cap usage. Anthropic's pricing page says Claude Code shares one pool of usage with your Claude chats, and Google's Antigravity page says its limits "vary by plan, trial status, and task complexity," with optional paid AI credits once you pass the baseline quota on Pro and Ultra.

Does Gemini have a CLI like Claude Code?

Yes, Google has two. Gemini CLI (you type gemini to start it) is the original, now for Google Cloud customers, and Antigravity CLI (agy) is the one Google points individuals to. Both work like Claude Code: you open a project folder in the terminal, describe what you want and the agent reads files, writes code and runs commands.

The Gemini CLI GitHub page lists asking questions about and editing large codebases, generating apps from PDFs, images or sketches, and debugging in plain language. It connects to other tools through MCP servers (MCP is an open standard that lets an AI agent use outside tools and data), reads project instructions from GEMINI.md files and has a built-in web fetch and search tool. It installs with npm install -g @google/gemini-cli, and the page also lists npx, Homebrew, MacPorts and Anaconda.

GEMINI. Tips for getting started: 1. Ask questions, edit files, or run commands. 2. Be specific for the best results. 3. /help for more information. Make me a program that prints "Hello, world!" in python. Responding with gemini-2.5-flash. Okay, hello.py has been created and contains the "Hello, world!" program. How else can I assist you? WriteFile Writing to hello.py. 1 print("Hello, world!"). Awaiting your next command or request. Using: 2 GEMINI.md files | 2 MCP servers. Type your message or @path/to/file. ~\Desktop\Gemini. no sandbox (see /docs). auto.
The sample Gemini CLI session in Google's repository: one plain-English request creates and writes hello.py. It shows an older model, gemini-2.5-flash. Source: Google's Gemini CLI repository on GitHub

Google's Antigravity CLI page calls it "the terminal-first surface to interact with Antigravity agents." You work in natural language, can run several subagents in parallel for bigger tasks, and reach plugins, MCP, skills and hooks through slash commands.

Claude Code covers the same ground. Anthropic's docs list MCP, a CLAUDE.md file of project instructions (or an AGENTS.md file you already have), skills, hooks, subagents and scheduled tasks. On a Mac or Linux computer it installs with curl -fsSL https://claude.ai/install.sh | bash, and it also comes inside the Claude desktop app, in the Code tab.

What changed for Gemini CLI on June 18, 2026

On June 18, 2026, Gemini CLI and the Gemini Code Assist extensions for code editors stopped serving requests from Google AI Pro and Ultra subscribers and from people using Gemini Code Assist for individuals free of charge. Google announced the change on May 19, 2026, in "An important update: Transitioning Gemini CLI to Antigravity CLI", the same day it made Antigravity CLI "available to everyone."

The Gemini CLI terminal icon, a blue and pink square with a chevron, then a white arrow pointing to the rainbow Antigravity logo, on a black background with a ring of blue dots.
The header of Google's May 19, 2026 announcement: the Gemini CLI icon, an arrow, then the Antigravity logo. Source: Google for Developers blog

Gemini CLI still works for organizations with a Gemini Code Assist Standard or Enterprise license, or Code Assist for GitHub through Google Cloud, and with paid Gemini and Gemini Enterprise Agent Platform API keys. Google says it will keep supporting those customers with the latest Gemini models.

Antigravity CLI is built in Go and runs several agents in the background, so a long job doesn't lock up your terminal. It shares its agent setup with Antigravity 2.0, Google's desktop app. Google said it wouldn't match Gemini CLI feature for feature at launch, but it kept Agent Skills, Hooks, Subagents and Extensions, which are now called Antigravity plugins.

Important. Enterprise Code Assist only: Designed for Gemini Code Assist Standard / Enterprise licenses and Code Assist for GitHub on Google Cloud (your access remains unchanged). No free tier or Google AI plans: Free individual access and Google AI Pro / Ultra (Google One) moved to Antigravity CLI on June 18, 2026 (transition post). Not optimized for Gemini 4+: Not tuned for the Gemini 4 series (for example, Gemini 4 Argon) or future releases in this or later generations. Which Google CLI do you need? Tool, Best for, Links. Antigravity CLI (agy): Interactive multi-agent coding terminal. Use for Gemini 4 Argon+, free / Google AI Pro & Ultra accounts, or Google Cloud. Gemini API CLI (gemini-api): Stateless API CLI (not a coding harness). Gemini CLI (gemini, this repo): Organizations with Gemini Code Assist Standard / Enterprise or Code Assist for GitHub on Google Cloud (plus legacy paid API / Vertex keys).
The notice at the top of the Gemini CLI GitHub page, captured November 30, 2026 and unchanged on December 4, with the June 18 change boxed in red. Source: Google's Gemini CLI repository on GitHub

Is Gemini CLI good for coding?

Gemini CLI is built for coding, but Google no longer tunes it for its newest models. Its GitHub page says the tool is "Not tuned for the Gemini 4 series" and sends people who want Gemini 4 Argon or newer to Antigravity CLI.

Pat hasn't tested Gemini CLI or Antigravity CLI, so this page makes no claim about how well either one codes next to Claude Code. Google also makes a separate Gemini API CLI, which the Gemini CLI page says gives agents, Claude Code among them, direct commands for Gemini models, media generation and file analysis.

How good is Gemini at coding vs. Claude?

In Pat's blind four-build test of the models, Claude's Opus 5.5 placed first every time and Google's Gemini 4 Argon placed last, while Argon cost a fraction as much to run. The builds and costs are in Opus 5.5 vs Gemini 4 Argon on the same builds.

That result covers those two models on those four builds. The post doesn't say which tool ran them, so it tells you about the models and says nothing about Gemini CLI or Antigravity CLI as tools. Google's Gemini CLI page also tells people not to use Gemini CLI to benchmark Gemini models.

Which is better: Codex, Claude Code or Gemini CLI?

Between Codex and Claude Code, the answer has changed from round to round in Pat's tests, and Gemini CLI hasn't been in any of them. Across nine same-prompt builds since July 2026, the ChatGPT model in OpenAI's Codex won five, the Claude model in Claude Code won three, and one was split. In the latest round, on September 25, 2026, Claude Code running Opus 5.5 beat Codex running GPT-6 Astra on all three builds.

Every build, time and cost is in Codex vs Claude Code from nine same-prompt builds. If you're choosing between a coding agent and an AI code editor, there's also Cursor vs Claude Code.

What Claude Code built in Pat Simmons's tests

Pat plugged a Fujifilm X-T5 into his Mac and had Claude Code shoot photos, design a film recipe based on Kodak Portra 800 and load it into the camera. It also re-rendered 37 of his RAW files on the camera's own processor. His prompts and setup are in how Pat got Claude Code to control his Fujifilm camera.

XT5_CLAUTRA800_INDOOR_selfie_20261106_140032.jpg. Environment: This computer, fuji-modding_11.6.26 ~/coding, Remote Control. Context 25%. Connectors. Outputs: gp, clautra800_indoor.json, face_selfie.py, BRIGHT_KODAK_original.json, CLAUTRA_800.md, Show more. Opus 5.5 Medium. Pat, Ultra.
A selfie the X-T5 took with CLAUTRA 800, the film recipe Claude designed, open beside the session's output files, at 7:26 in Pat Simmons's video "I Just Hacked My Camera With Claude Code (and so can you)"

He also built Murmur, a free, open-source dictation app for the Mac, with Claude Code in two prompts. In his post on building Murmur, he says it took about 20 minutes without knowing Swift, Apple's programming language, and his only hands-on work was approving macOS permission pop-ups and pasting error logs back into Claude.

Questions people ask about Gemini CLI and Claude Code

Is Gemini CLI free?

Not for individuals since June 18, 2026: Google's GitHub page says free individual access moved to Antigravity CLI, which is $0 on Google's Individuals plan. The Gemini CLI code itself is open source under Apache 2.0.

Is Claude Code free?

No, Anthropic's pricing page marks Claude Code "No" on the Free plan, so the cheapest way to get it is Claude Pro at $20 a month.

Does Gemini CLI work with Google AI Pro or Ultra?

It stopped on June 18, 2026. Google AI Pro and Ultra subscribers now get Google's terminal agent through Antigravity CLI, with a quota that refreshes every 5 hours.

Antigravity CLI vs Claude Code: which costs less?

Antigravity CLI costs less to start, at $0 on Google's Individuals plan against $20 a month for Claude Pro. The paid plans cost about the same: Google AI Pro is $19.99 a month against $20 for Claude Pro, and Google AI Ultra is $99.99 a month against $100 for Claude Max.

Can I use Claude models in Antigravity CLI?

Yes, on a paid Google AI Pro plan (not a trial) or on Ultra, which both list Claude Sonnet 5.5 and Claude Opus 5.5 (thinking) on Google's Antigravity pricing page.

Who should still use Gemini CLI?

Gemini CLI is now for people whose company pays for Gemini Code Assist Standard or Enterprise, or uses Code Assist for GitHub through Google Cloud, and for developers with a paid Gemini API key. Google points everyone else to Antigravity CLI.

Sources

What did you think of this post?

Comments

Sign in to join the conversation.

You might also like.

Articles, builds, skills and tools on the same idea.
More Model Comparisons

AI FOR MORTALS.

Your daily AI edge that will make everyone wonder how you do it all.

Every weekday, the practical AI updates that matter, and exactly what to do with them.

The latest in AI, in plain English. Free, every weekday.