Claude Code is Anthropic's coding agent, included in Claude's paid plans from $20/month ($17/month billed annually). Gemini CLI is Google's open-source terminal agent, but since June 18, 2026 it no longer serves free users or Google AI Pro and Ultra subscribers: those accounts moved to Antigravity CLI, and Gemini CLI now targets companies with Gemini Code Assist Standard or Enterprise licenses, plus paid Gemini API and Vertex keys. So if you're an individual developer, the real choice today is Claude Code or Google's Antigravity CLI. If your company already pays for Gemini Code Assist, Gemini CLI is still a supported option.
Most comparisons of these two tools were written in 2025, when Gemini CLI's free tier was its headline feature. That free tier is gone. This page uses what Anthropic and Google state on their own pages today, and shows you how to test both on your own code.
Claude Code vs Gemini CLI at a glance
| Claude Code | Gemini CLI | Antigravity CLI | |
|---|---|---|---|
| Made by | Anthropic | ||
| Who it's for now | Anyone on a paid Claude plan or the API | Gemini Code Assist Standard and Enterprise customers, paid API and Vertex keys | Individuals on Google's free tier or Google AI Pro and Ultra, plus Google Cloud projects |
| Where it runs | Terminal, VS Code, JetBrains, desktop app, web | Terminal, with a VS Code companion | Terminal (agy), sharing its agents with the Antigravity app |
| Models | Claude models | Gemini models (Google says it isn't tuned for the Gemini 4 series) | Google's current Gemini models |
| Cheapest way in | Claude Pro, $20/month or $17/month billed annually | An organization's Code Assist license, or a paid API key | Free, with basic weekly rate limits |
| Open source | No | Yes, Apache 2.0 | Not stated on its product page |
| Project memory file | CLAUDE.md or AGENTS.md | GEMINI.md | Not stated on its product page |
What happened to Gemini CLI?
On May 19, 2026, Google announced on its developers blog that it was unifying its terminal work into Google Antigravity, its agent-first development platform, with a new terminal tool called Antigravity CLI. The key dates and changes:
- Antigravity CLI became available to everyone on the day of the announcement.
- On June 18, 2026, Gemini CLI and the Gemini Code Assist IDE extensions stopped serving requests for Google AI Pro and Ultra subscribers and for people using them free of charge through Gemini Code Assist for individuals.
- Enterprise access stayed the same. Organizations using Gemini CLI through a Gemini Code Assist Standard or Enterprise license, or Code Assist for GitHub through Google Cloud, kept access, and Google said Gemini CLI remains accessible through paid Gemini and Gemini Enterprise Agent Platform API keys.
- Antigravity CLI keeps the core Gemini CLI features, according to Google: agent skills, hooks, subagents and extensions (now as Antigravity plugins), though not with one-to-one feature parity at launch.
The Gemini CLI GitHub repository now carries the same message at the top of its README, adds that Gemini CLI isn't tuned for the Gemini 4 series, and points individual users to Antigravity CLI.
Pricing compared
Claude Code, through Claude plans:
| Plan | Price | Claude Code |
|---|---|---|
| Free | $0 | Not included |
| Pro | $20/month, or $17/month billed annually ($200 a year) | Included |
| Max | $100/month | Included, 5x Pro usage |
| Ultra | $200/month | Included, 10x Pro usage a week and no 5-hour limit for verified accounts |
| Team, standard seat | $20 per seat billed annually, $25 monthly | Included, for teams of 2 to 150 |
| Team, premium seat | $100 per seat billed annually, $125 monthly | Included, 5x standard seat usage |
| Enterprise | $20 per seat a month billed annually, plus usage at API rates, 20-seat minimum | Included |
Anthropic says Claude Code shares your plan's usage limits with chat, and that you can switch to pay-as-you-go API credits through a Console account for heavy coding sessions.
Google's terminal agents:
| Option | Price | What it covers |
|---|---|---|
| Antigravity, individual | $0 | Antigravity app and CLI with basic weekly rate limits |
| Google AI Pro | $19.99/month, or $199.99/year | More Antigravity rate limits and a flexible AI credit pool |
| Google AI Ultra | $99.99/month, billed monthly only | Even more rate limits and higher access to Google's latest Gemini models |
| Gemini Code Assist Standard or Enterprise | Through Google Cloud | Gemini CLI and the Code Assist IDE extensions for organizations |
| Paid Gemini API or Vertex key | Usage-based | Gemini CLI billed by API usage |
Google AI Pro and Ultra prices are from Google's Google AI plans page; Antigravity's own pricing page lists what each plan adds but links out for the price. Google AI plans also bundle storage and other Google services, so you're not paying for the coding agent alone.
On price alone, Google has the free way in, through Antigravity rather than Gemini CLI. At the paid entry level the two are close: Claude Pro at $20 a month against Google AI Pro at $19.99. Neither vendor tells you in hours how much agent work a plan buys, so test on your own tasks before moving up a tier.
Got an idea? Build it now!
Just start with a simple prompt. No coding required: Greta.sh turns your idea into a working app in minutes.
Features compared
How you work with each
Claude Code started as a terminal tool and now runs in the terminal, VS Code, JetBrains IDEs, a desktop app and the browser. You give it a task, and it reads your codebase, edits files and runs commands. Anthropic documents running it in GitHub Actions and GitLab CI/CD, so the same agent can respond to issues and pull requests.
Gemini CLI is a terminal agent with a headless mode for scripts (including JSON and streaming JSON output), a VS Code companion, checkpointing, custom commands and sandboxing. Because it's open source under Apache 2.0, you can read and modify the code, which matters to some security and platform teams.
Antigravity CLI is the terminal surface of Google Antigravity. Google describes it as built in Go, able to run multiple agents in the background, and sharing the same agent harness as the Antigravity desktop app, so improvements land in both.
Extending the agent
Both ecosystems use similar building blocks. Claude Code supports CLAUDE.md project memory, skills, subagents, hooks, MCP servers and plugins. Gemini CLI supports GEMINI.md context files, MCP servers, custom commands and extensions. Antigravity CLI keeps skills, hooks, subagents and plugins, with MCP configuration available from slash commands.
Models
Claude Code runs Anthropic's Claude models. Gemini CLI runs Gemini models, but its own README says it isn't optimized for the Gemini 4 series and shouldn't be used to benchmark them. For Google's newest models in a terminal, Google points you to Antigravity CLI.
Which should you choose?
| Your situation | Better fit |
|---|---|
| You want a free terminal agent to try today | Antigravity CLI |
| You already pay for Claude Pro or Max | Claude Code |
| You already pay for Google AI Pro or Ultra | Antigravity CLI |
| Your company has Gemini Code Assist Standard or Enterprise | Gemini CLI, or Antigravity with your Google Cloud project |
| You need an open-source agent you can audit and modify | Gemini CLI |
| You want the agent in JetBrains, a desktop app and the web as well as the terminal | Claude Code |
| You want an agent that comments on pull requests in CI | Claude Code |
Many teams don't pick only one. A common pattern is to keep whichever agent comes with a subscription you already pay for, and add a second only if a real task shows a clear difference.
How to test them on your own code
- Pick two tasks you've done recently: a bug fix and a small feature.
- Write the same short project notes for both tools (CLAUDE.md for Claude Code, GEMINI.md for Gemini CLI, or the Antigravity equivalent).
- Give each tool the same prompt, from a clean branch.
- Compare the diffs, whether the tests pass, how many corrections you had to make and how much of your plan's usage the run consumed.
Run it twice. Agents vary from run to run, and one good result can be luck.
Got an idea? Build it now!
Just start with a simple prompt. No coding required: Greta.sh turns your idea into a working app in minutes.
What if you don't write code?
Claude Code, Gemini CLI and Antigravity CLI all assume you can read code, run a project locally and judge whether a change is safe. If you want a working app rather than a coding agent, an AI app builder does the assembly and hosting for you.
Greta.sh builds a full-stack app from a plain-English description. The free plan gives you 5 credits a day but cannot deploy. Deployment starts on Starter (a $5/month welcome offer, normally $20/month), and Pro (a $20/month welcome offer, normally $50/month) adds the Database, Flows and GitHub version control. Greta builds its own database for your app; it doesn't sit on top of an existing production database. See AI coding assistants vs AI app builders for the difference, and Greta.sh vs Claude Code for a direct comparison.
For more coding agent comparisons, read Claude Code vs Codex and Cursor vs Claude Code. If you're interested in Google's browser-based builder rather than its terminal tools, see our look at Google AI Studio vibe coding.
FAQ
Is Claude Code better than Gemini CLI?
Neither is better for everyone, and the question has changed. Gemini CLI is now aimed at organizations with Gemini Code Assist Standard or Enterprise licenses, so most individuals are really choosing between Claude Code and Antigravity CLI. Run the same real task in both before you decide.
Is Gemini CLI still free?
No. Google stopped serving Gemini CLI requests for free users and for Google AI Pro and Ultra subscribers on June 18, 2026. Google's free option for individuals is now Antigravity, which has a $0 plan with basic weekly rate limits.
What replaced Gemini CLI?
Antigravity CLI, the terminal tool for Google Antigravity, which Google launched on May 19, 2026. Google says it keeps Gemini CLI's agent skills, hooks, subagents and extensions (as plugins), though not with full feature parity at launch.
Can I still use Gemini CLI?
Yes, if your organization has a Gemini Code Assist Standard or Enterprise license or uses Code Assist for GitHub through Google Cloud, or if you use a paid Gemini API or Vertex key. The open-source code also remains on GitHub under the Apache 2.0 license.
Is Claude Code free?
No. Claude Code isn't included in Claude's Free plan. It's included from Pro, at $20 a month or $17 a month billed annually, and you can also pay as you go with API credits through a Console account.
Is Claude Code cheaper than Gemini CLI?
For an individual, compare Claude Pro at $20 a month with Google AI Pro at $19.99 a month, which raises your Antigravity limits. Google's free Antigravity plan is cheaper than anything Anthropic offers for Claude Code. Gemini CLI itself is now priced through Google Cloud licenses or API usage.
Do Claude Code and Gemini CLI work in VS Code?
Claude Code has a VS Code extension and a JetBrains plugin. Gemini CLI has a VS Code companion for its terminal sessions. Google's Antigravity also offers IDE extensions.
Can I use Claude Code and Gemini CLI together?
Yes. Both run in a terminal, so you can keep one for everyday work and use the other for a second opinion on a hard task. Paying for two plans only makes sense if you use both regularly.



