Gemini CLI vs Claude Code. Which to choose.

Gemini CLI and Claude Code are both coding agents that run in your terminal. The comparison changed in 2026: Google moved free individual use and its Google AI Pro and Ultra subscribers from Gemini CLI to a newer tool, Antigravity CLI. Gemini CLI is now maintained for enterprise licences.

By Brady Heinrich · Facts checked

The short answer

For most individual developers this is no longer a live choice. Google's own notice says Gemini CLI has no free tier or Google AI plan access since 18 June 2026 and points those users to Antigravity CLI. Choose Gemini CLI only if your organisation holds Gemini Code Assist Standard or Enterprise licences on Google Cloud. Choose Claude Code if you want a terminal agent on a Claude subscription. If you want Google's current terminal agent, trial Antigravity CLI against Claude Code on the same ticket.

Pick Gemini CLI if

  • Your organisation already has Gemini Code Assist Standard or Enterprise licences
  • You use Code Assist for GitHub on Google Cloud
  • You want an open-source terminal agent you can inspect and install with npm or Homebrew
  • You have a legacy paid Gemini API or Vertex AI key and accept usage billing

Pick Claude Code if

  • You are an individual developer and want a terminal agent on a personal subscription
  • You already pay for Claude Pro, Max, Ultra or Team, which include Claude Code
  • You want the agent in VS Code, JetBrains IDEs, a desktop app, the web and Slack as well
  • You want permission modes, allow and deny rules and hooks to control the agent

Side by side

Gemini CLIClaude Code
Made byGoogleAnthropic
StatusMaintained for enterprise Gemini Code Assist workflows on Google CloudAnthropic's current coding agent
Free optionNone since 18 June 2026; free use moved to Antigravity CLINot listed on Claude's free plan
Personal subscriptionGoogle AI Pro and Ultra access moved to Antigravity CLIClaude Pro at $17 a month billed annually, or $20 monthly
Organisation accessGemini Code Assist Standard or Enterprise licence, or Code Assist for GitHubClaude Team from $20 per seat a month billed annually; Enterprise
Pay as you goLegacy paid Gemini API and Vertex AI keys, billed by usageClaude Console account at standard API pricing
Published limits1,500 model requests per user a day on Code Assist Standard, 2,000 on EnterpriseUsage limits apply on subscription plans
Where it runsThe terminalTerminal, desktop app, VS Code and JetBrains IDEs, web, iOS and Android, Slack
SourceOpen sourceNot described as open source on the pages we read
ModelsGemini models; Google says it is not optimised for the Gemini 4 seriesAnthropic's Claude models
Best forOrganisations that already hold Gemini Code Assist licences on Google CloudDevelopers who want an agent that works from the terminal and their existing editor, on a Claude subscription
PricingNo free tier and no Google AI plan access: Google moved free individual use and Google AI Pro and Ultra to Antigravity CLI on 18 June 2026. Gemini CLI now runs on a Gemini Code Assist Standard or Enterprise licence, Code Assist for GitHub, or legacy paid API and Vertex AI keys billed by usage.Included with Claude Pro ($17 a month billed annually, $20 billed monthly), Max, Ultra, Team and Enterprise plans, or through a Claude Console account at standard API pricing. It is not listed on the free plan.

What changed with Gemini CLI

Gemini CLI launched as a free, open-source terminal agent, and many comparisons online still describe it that way. That is out of date.

The Gemini CLI site and its repository now carry a notice from Google. It says free individual access and Google AI Pro and Ultra access moved to Antigravity CLI on 18 June 2026. Gemini CLI is described as an open-source terminal agent maintained for enterprise Gemini Code Assist workflows on Google Cloud. Access for Code Assist Standard and Enterprise licence holders is unchanged, and legacy paid API and Vertex AI keys still work.

Google also says Gemini CLI is not optimised for the Gemini 4 model series, and asks people not to use it to benchmark Gemini models.

Who can still use Gemini CLI

You areGemini CLI today
An individual on a free Google accountNo access; Google points you to Antigravity CLI
A Google AI Pro or Ultra subscriberNo access; your plan applies to Antigravity CLI
On a Gemini Code Assist Standard licenceYes, up to 1,500 model requests a day
On a Gemini Code Assist Enterprise licenceYes, up to 2,000 model requests a day
Holding a legacy paid API or Vertex AI keyYes, billed by usage

The daily request figures come from the quota page in the Gemini CLI repository.

What Antigravity CLI is

Antigravity CLI is the terminal part of Google Antigravity, which also has an app, IDE extensions and an SDK. Google's pricing page lists a $0 plan for individuals with a baseline agent quota refreshed weekly. Google AI Pro raises that to a quota refreshed every 5 hours with higher weekly limits, and Google AI Ultra has the highest quotas. Organisations get it through Google Cloud.

We have not written a full profile of Antigravity yet. If you came here looking for Google's terminal agent as an individual, that is the product to test.

Claude Code in brief

Claude Code is Anthropic's coding agent. It runs in the terminal, a desktop app, VS Code and JetBrains IDEs, the web, mobile apps and Slack. It handles long asynchronous jobs and several tasks at once, and you control it with permission modes, allow and deny rules and hooks.

It is included with Claude Pro, at $17 a month billed annually or $20 monthly, and with Max, Ultra, Team and Enterprise. You can also pay by usage through a Claude Console account. It is not on Claude's free plan.

How to choose

  1. If your company has Gemini Code Assist licences, Gemini CLI costs you nothing extra. Try it on real work before buying anything else.
  2. If you are an individual, compare Antigravity CLI on its $0 plan with Claude Code on Claude Pro.
  3. Give each the same bug and the same small feature in the same repository.
  4. Compare the pull requests and the limits you hit. We do not rank code quality, and your own repository is the only fair test.

Related: Codex vs Claude Code, GitHub Copilot vs Claude Code and Claude Code alternatives.

The two tools

Gemini CLI

AI coding agent

Google's open-source terminal coding agent, now maintained for Gemini Code Assist Standard and Enterprise licences on Google Cloud.

Best for

Organisations that already hold Gemini Code Assist licences on Google Cloud

Pricing

No free tier and no Google AI plan access: Google moved free individual use and Google AI Pro and Ultra to Antigravity CLI on 18 June 2026. Gemini CLI now runs on a Gemini Code Assist Standard or Enterprise licence, Code Assist for GitHub, or legacy paid API and Vertex AI keys billed by usage.

Strengths

  • Open source, and installed with npm, Homebrew or run directly with npx
  • Code Assist Standard allows 1,500 model requests per user a day and Enterprise 2,000, per Google's quota page
  • Access for Code Assist Standard and Enterprise licence holders is unchanged
  • Extensions, and a stats command that shows token usage and limits in a session

Limits

  • Free individual access and Google AI Pro and Ultra access moved to Antigravity CLI on 18 June 2026
  • Google says it is not optimised for the Gemini 4 model series
  • Google says not to use it to benchmark Gemini models

Claude Code

AI coding agent

Anthropic's coding agent, which works in the terminal, a desktop app, VS Code and JetBrains IDEs, the web, mobile apps and Slack.

Best for

Developers who want an agent that works from the terminal and their existing editor, on a Claude subscription

Pricing

Included with Claude Pro ($17 a month billed annually, $20 billed monthly), Max, Ultra, Team and Enterprise plans, or through a Claude Console account at standard API pricing. It is not listed on the free plan.

Strengths

  • Runs in the terminal, a desktop app, VS Code and JetBrains IDEs, the web, iOS and Android, and Slack
  • Handles long asynchronous jobs such as refactors and migrations, and several tasks at once
  • Permission modes, allow and deny rules and hooks control what it may do
  • Connects to command-line tools such as Git and to MCP servers such as GitHub

Limits

  • Usage limits apply on subscription plans
  • Code Review is generally available on Team and Enterprise only
  • The desktop app needs a Pro, Max, Ultra, Team or Enterprise plan

Product and pricing details are taken from each vendor's public pages and were last checked in December 2026. Check the vendor's site before you buy.

Searches comparing the two

  • gemini cli vs claude code1,300 a month
  • claude code vs gemini cli480 a month

US monthly searches, Google Ads keyword data.

Questions

Is Gemini CLI still free?

No. Google's notice on the Gemini CLI site and repository says there is no free tier, and that free individual access moved to Antigravity CLI on 18 June 2026.

What replaced Gemini CLI?

For free users and Google AI Pro and Ultra subscribers, Google moved access to Antigravity CLI on 18 June 2026. Gemini CLI itself continues for Gemini Code Assist Standard and Enterprise licences on Google Cloud.

Is Gemini CLI open source?

Yes. Google describes Gemini CLI as an open-source terminal agent, and it can be installed with npm or Homebrew or run with npx.

Is Claude Code better than Gemini CLI?

We do not rank code quality. The practical difference is access: Claude Code is available on personal Claude plans, while Gemini CLI now needs an enterprise Code Assist licence or a legacy paid key.

Can I use Gemini CLI with a Google AI Pro subscription?

Not any more. Google says Google AI Pro and Ultra access moved to Antigravity CLI on 18 June 2026.

Sources

  1. Gemini CLI product and pricing pages
  2. Claude Code product and pricing pages

Keep reading

Building something ambitious? Let's talk.

We reply within one business day.