
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.
On this page
- Gemini CLI vs Claude Code: our verdict, by job
- Claude Code vs Gemini CLI pricing: what each costs
- Does Gemini have a CLI like Claude Code?
- What changed for Gemini CLI on June 18, 2026
- Is Gemini CLI good for coding?
- How good is Gemini at coding vs. Claude?
- Which is better: Codex, Claude Code or Gemini CLI?
- What Claude Code built in Pat Simmons's tests
- Questions people ask about Gemini CLI and Claude Code
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 situation | Use | Why |
|---|---|---|
| You want an agent to build an app or fix a project from plain-English requests | Claude Code | Included from Claude Pro at $20 a month |
| You want to try a terminal coding agent without paying | Antigravity CLI | Google's Individuals plan is $0, with a weekly quota on Gemini 4 Hydrogen |
| You pay for Google AI Pro or Ultra | Antigravity CLI | Gemini CLI stopped serving these plans on June 18, 2026 |
| Your company has a Gemini Code Assist Standard or Enterprise license | Gemini CLI | Google says that access is unchanged and still supported |
| You want Anthropic's and Google's models in one tool | Antigravity CLI on a paid Google AI Pro or Ultra plan | Google 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.
| Plan | Price | Terminal agent | Models and limits |
|---|---|---|---|
| Claude Free | $0 | No Claude Code | The 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 Code | More usage than Free, every 5 hours and every week |
| Claude Max | $100 a month | Claude Code | 5 times Pro's usage |
| Claude Ultra | $200 a month | Claude Code | 10 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 Code | For 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 commitment | Gemini CLI | Sold through Google Cloud |
| Gemini Code Assist Enterprise | $54.00 per license a month, or $45.00 on a 12-month commitment | Gemini CLI | Higher daily limits for agent mode and Gemini CLI than Standard |
| Paid Gemini API key | Price set by Google's Gemini API rates (not covered here) | Gemini CLI | Gemini CLI still accepts paid Gemini and Gemini Enterprise Agent Platform API keys (Google transition post) |
| Antigravity for Individuals | $0 | Antigravity CLI | Gemini 4 Hydrogen, baseline quota refreshed weekly |
| Google AI Pro | $19.99 a month, or $199.99 a year | Antigravity CLI | Gemini 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 only | Antigravity CLI | Google'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 plan | Antigravity CLI | Billed 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.
★ 109,594
Gemini CLI GitHub page
An open-source AI agent that brings the power of Gemini directly into your terminal.

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."

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.

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.

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
- Anthropic: Claude pricing (checked December 4, 2026)
- Anthropic: Claude Code overview
- Google: Gemini CLI on GitHub
- Google for Developers: Transitioning Gemini CLI to Antigravity CLI (May 19, 2026)
- Google: Antigravity pricing (checked December 4, 2026)
- Google: Antigravity CLI
- Google: Google AI plans (checked December 4, 2026)
- Google Cloud: Gemini Code Assist pricing (checked December 4, 2026)






Comments
Sign in to join the conversation.