Skip to content

Gemini CLI vs Claude Code vs Antigravity CLI (2026)

Why Gemini CLI stopped working for free and Google AI Pro users, how Claude Code and Antigravity CLI compare on score, price and setup, and what Claude Code's importer really carried over from a Gemini setup in our logged test.

By Yotam DahanUpdated 15 min readClaude Code

Antigravity CLI pricing, the tool that replaced Gemini CLI for individuals: For Individuals at $0 a month with basic weekly rate limits, Google AI Pro and Google AI Ultra with higher rate limits and a flexible AI credit pool, and a Business plan via Google Cloud
Antigravity's own pricing page, captured October 2026. Claude Code has no $0 plan; it starts with Claude Pro at $20 a month.

Gemini CLI vs Claude Code is no longer a free-versus-paid choice: since June 18, 2026, Gemini CLI serves Code Assist licenses and paid API keys only, and free users and Google AI Pro and Ultra subscribers moved to Google's Antigravity CLI. For most people the real choice is Claude Code from $20 a month or Antigravity CLI from $0. In Artificial Analysis's coding agent index, checked November 18, 2026, Claude Code with Opus 5.5 scored 58, ahead of Antigravity CLI with Gemini 4 Carbon (55, on Google AI Ultra only) and Gemini 4 Argon (45), while Antigravity's runs cost less per task and took about half the time.

What happened to Gemini CLI

Google moved individual users off Gemini CLI on June 18, 2026, and now aims it at companies. The sequence:

  1. 2025Google releases Gemini CLI, an open source terminal agent under the Apache 2.0 license.
  2. May 19, 2026Antigravity CLI becomes available to everyone, and Google announces the switch.
  3. June 18, 2026Gemini CLI and the Code Assist editor extensions stop serving free users and Google AI Pro and Ultra subscribers.
  4. October 28, 2026Google announces Gemini 4 Carbon, open at first only to selected security teams and partners.
  5. November 10, 2026Carbon opens to paying API developers and to Google AI Ultra subscribers, Antigravity included.
  6. November 12, 2026Google releases Gemini 4 Hydrogen, a faster model, for Antigravity on paid Google AI Pro and Ultra.
  7. November 18, 2026The day Google's model list gives for the free tier to lose Claude Sonnet 4.6, Claude Opus 4.6 and GPT-OSS-120b.
  8. December 1, 2026Planned, per Google's price list on November 18: Gemini 4 Argon and Carbon API prices double, to $4 per million input tokens and $20 per million output tokens.

Google's transition post says Code Assist Standard and Enterprise customers keep Gemini CLI, and so do paid Gemini API keys. The project is still alive (version 0.68.0 shipped on November 10, 2026), but its README on GitHub now opens with "Enterprise Code Assist only", lists paid API keys as a legacy route and says it isn't tuned for Gemini 4 models.

So "Gemini CLI replaced by Antigravity" is literally what its website says:

Green banner at the top of geminicli.com, above the Gemini CLI navigation bar, saying Gemini CLI was replaced by Antigravity CLI on June 18, 2026 for unpaid tier and Google One users and has not been optimized for Gemini 4 Argon
The banner also says Gemini CLI isn't optimized for Gemini 4 Argon and points you to Antigravity for that model. geminicli.com, captured October 26, 2026; the same text was still there on November 6.

Gemini CLI not working? Check how you signed in

If Gemini CLI worked before June and stopped after, find your row:

How you used Gemini CLIWhat changedWhat to do
Sign in with Google on a free personal accountFree Code Assist for individuals endedInstall Antigravity CLI and sign in with the same account
Sign in with Google on AI Pro or UltraYour plan now covers Antigravity, not Gemini CLIInstall Antigravity CLI; Pro and Ultra get higher limits there
A free Gemini API keyThe unpaid tier was moved to AntigravityAdd billing to the key's project, or switch tools
A paid Gemini API key, Vertex AI or a Code Assist licenseNothingKeep going, but pick the model yourself

What Claude Code's importer carries over from Gemini CLI

Claude Code has a built-in importer, /import gemini inside a session or claude import gemini in a terminal, and Anthropic's command list says it covers instruction files, MCP servers, commands, subagents and skills. We ran its dry-run mode, which writes nothing, on a sample bakery-website setup with every one of those, at user level (~/.gemini) and in a project folder. This is what the dry run listed, Claude Code 2.1.303, November 6, 2026:

In your Gemini CLI setupIn ~/.gemini (all projects)In a project's own folder
GEMINI.md instructionsListed: would be appended to ~/.claude/CLAUDE.mdFound, but held for review
MCP serversListed: would be added as a user MCP serverFound, with no automatic mapping
Custom command (.toml)Listed: would be written as ~/.claude/commands/weekly-specials.mdNot found
Skill in a skills folderNot foundNot found
Subagent in an agents folderNot foundNot found
ExtensionNot foundNot in our sample

The project column comes from runs with one file type at a time, which is how each cell maps to a file. With the whole sample project at once, the importer reported a single held project item with no automatic mapping, so expect a shorter list than this table on a real project.

The project-level hold is deliberate: the importer explained that anyone who can write to a repository can add config to it, so those items wait for you in its picker and --yes skips them. To run the same check on your machine:

Terminal
claude import gemini --dry-run
claude import

The first line lists what would move; the second opens the checkbox picker, where you can tick project items one by one. Copy what it misses by hand: a skill folder goes to .claude/skills/<name>/ (or ~/.claude/skills/ for all projects), a subagent file to .claude/agents/. Another folder layout may import more than our sample did, so read the dry run before you delete anything from ~/.gemini.

Claude Code vs Gemini CLI vs Antigravity CLI

Claude Code runs Claude models on a paid plan, Antigravity CLI is the free option with Claude available on paid Google plans, and Gemini CLI is now a company tool:

Claude CodeGemini CLIAntigravity CLI
Who it suits nowAnyone with a paid Claude plan or an Anthropic API keyCompanies with Code Assist licenses, or paid API keysIndividuals with a Google account, plus Google Cloud customers
Free planNoNoYes, with weekly limits
Cheapest startClaude Pro, $20 a monthA paid Gemini API key, billed per token$0
Main modelsOpus 5.5 (default), Sonnet 5.5, Haiku 5.5, Fable 5.2Gemini models through your key; not tuned for Gemini 4Gemini 3.8 Flash on free; Gemini 4 Argon and Hydrogen, Claude Opus 5.5 and Sonnet 5.5 on paid Google AI Pro; Gemini 4 Carbon on Ultra
Instructions fileCLAUDE.md, or AGENTS.mdGEMINI.mdGEMINI.md and AGENTS.md
Safety controlsPermission modes, plan mode, checkpointsSandboxing, trusted folders, checkpointingExecution modes, permissions, terminal sandbox

Antigravity CLI vs Claude Code: benchmark results

Claude Code scores higher; Antigravity CLI is cheaper and faster per task. Artificial Analysis runs coding agents on the same tasks; it tests Antigravity CLI but not Gemini CLI (whose README asks people not to benchmark with it), so for a Gemini CLI vs Claude Code benchmark this is the closest independent comparison (Artificial Analysis, Coding Agent Index v2.1, checked November 18, 2026):

Claude Code, Opus 5.5 (max)Antigravity CLI, Gemini 4 Carbon (high)Antigravity CLI, Gemini 4 Hydrogen (xhigh)Antigravity CLI, Gemini 4 Argon (high)
Coding Agent Index58555245
FrontierCode-AA 2.044383725
Terminal-Bench 4.165656057
SWE-Atlas-QnA-AA66646055
API cost per task$12.61$9.75$4.45$6.84
Time per task1.1 hours33.6 minutes32.1 minutes37.7 minutes
Plan that includes itAny paid Claude planGoogle AI UltraGoogle AI Pro, not during a trialGoogle AI Pro

Carbon is Google's strongest row, but it sits behind Google AI Ultra ($99.99 a month in the US), so on Pro your Gemini choice is Hydrogen or Argon. Hydrogen is the one to try first: here it beat Argon by 7 points at about two thirds of the cost per task.

Scores only compare within one index version. Under v2.0, on October 26, the same pair read 62 and 53:

October 26, 2026 capture of the Antigravity CLI vs Claude Code benchmark on Artificial Analysis under index v2.0: Coding Agent Index 62 for Claude Code with Opus 5.5 (max) and 53 for Antigravity CLI with Gemini 4 Argon, time per task 1.0 hour vs 34.7 minutes, cost per task $11.42 vs $5.86
Our October 26, 2026 capture, under index v2.0. Index v2.1, checked November 18, rescored every agent, which is why the table above shows lower numbers on both sides; the order stayed the same.

Claude Code's other settings: Fable 5.2 at high effort matched Opus's 58 at $7.51 and 31 minutes a task, and Sonnet 5.5 scored 56 at $11.40. No Fable model is the default on any plan, so you pick it yourself with /model. These are API costs; on a subscription you pay a flat price instead, but heavy runs use up a plan's limits sooner on either side.

Gemini CLI vs Claude Code pricing: is there still a free tier?

No: the free tier moved to Antigravity CLI, so is Gemini CLI free for anyone? Only inside a company's Code Assist license; on your own you pay per token with a paid API key. Claude Code has no free route either: Claude's Free plan covers chat only, and Claude Code starts with Pro at $20 a month before tax, with Max and Ultra compared in our Claude Code pricing guide.

Antigravity free tier and pricing

Antigravity pricing has four ways in, shown in the capture at the top of this page: a $0 individual plan, Google AI Pro, Google AI Ultra and a Business plan through Google Cloud. Free accounts get Gemini 3.8 Flash, and Google's Antigravity model list also gave them Claude Sonnet 4.6, Claude Opus 4.6 and GPT-OSS-120b, marked "Will be removed on November 18, 2026" (the date moved once, from November 2, and the three were still listed on the 18th), so check the list before you count on them. Paid Google plans add more:

Google plan (US)PriceWhat it adds in Antigravity
Free, or Google AI Plus$0, or $4.99 a monthA quota refreshed weekly, and Gemini 3.8 Flash
Google AI Pro$19.99 a monthA quota refreshed every five hours up to a weekly cap; Gemini 4 Argon (paid plan, or a trial on eligible premium devices); Gemini 4 Hydrogen, Claude Opus 5.5 and Sonnet 5.5 (not during a trial)
Google AI Ultra$99.99 or $199.99 a monthThe highest quota and weekly limits; Gemini 4 Carbon, plus Argon, Hydrogen and the same Claude models

The prices come from Google's AI plans page, unchanged on November 18:

Google AI plan cards with Free at $0, Google AI Plus at $4.99, Google AI Pro at $19.99 and Google AI Ultra from $99.99 a month
Google AI Ultra's two tiers give 5x or 20x the usage of AI Pro; at about the same prices, Claude sells Max (5x Pro) and Ultra (10x Pro a week). Google's AI plans page for the US, October 2026.

When the quota runs out, Pro and Ultra can switch to purchased AI credits if you allow it in settings, much like Claude's usage credits.

Gemini CLI pricing now

With a paid key you pay per token, at these list prices:

Gemini API, paid tier, per million tokens
$2

Gemini 4 Argon input, through November 30, 2026

$10

Gemini 4 Argon output, through November 30, 2026

$0.75

Gemini 3.8 Flash input, through December 31, 2026

$3.75

Gemini 3.8 Flash output, through December 31, 2026

From Google's Gemini API pricing, checked November 18, 2026, when Google listed Argon doubling on December 1, 2026 and Flash on January 1, 2027. Gemini 4 Carbon has Argon's prices and the same December 1 change; Gemini 4 Hydrogen costs $1.50 and $7.50. Argon and Carbon have no free tier.

Setup compared

Claude Code

On Mac or Linux, open Terminal and run:

Terminal
curl -fsSL https://claude.ai/install.sh | bash

On Windows, open PowerShell and run:

PowerShell
irm https://claude.ai/install.ps1 | iex

Then type claude in your project folder and log in through the browser; our guide on how to install Claude Code covers the common errors.

Gemini CLI API key setup

Gemini CLI needs Node.js 20 or later, so check your version first. This is a real run on a Mac:

Mac Terminal where node --version returns v26.8.2 and npm view shows that Gemini CLI 0.64.0 needs Node.js 20 or later (engines.node >=20)
If your Node.js version is below 20, update Node before installing Gemini CLI. Real output on a Mac, October 20, 2026; the requirement was the same for version 0.68.0 on November 18.

Homebrew users can run brew install gemini-cli instead of the npm line. On Mac or Linux, with your paid key in place of YOUR_KEY:

Terminal
npm install -g @google/gemini-cli
export GEMINI_API_KEY="YOUR_KEY"
gemini

On Windows, set the key with $env:GEMINI_API_KEY="YOUR_KEY" in PowerShell instead. When Gemini CLI starts, choose Use Gemini API key. A key set this way lasts for the current window only, so add it to your shell profile if you use it daily. Since Google now calls this route legacy, don't build a new long-term setup on it.

How to install Antigravity CLI

On Mac or Linux:

Terminal
curl -fsSL https://antigravity.google/cli/install.sh | bash

On Windows, in PowerShell:

PowerShell
irm https://antigravity.google/cli/install.ps1 | iex

Check it worked with agy --version, then run agy in your project folder. We haven't run it ourselves; per Google's getting-started page (checked November 8, 2026), the first launch asks three things:

Antigravity CLI's first launch, per Google's getting-started page
  1. Color scheme

    Dark, Solarized Dark, Solarized Light or your terminal's default

  2. Rendering mode

    Full-screen, or inline output that stays in your terminal history

  3. Workspace trust

    Confirm you trust the project folder before the agent indexes it

Then you sign in with your Google account, and Google's migration page says that if Gemini CLI was used on the same computer, a checklist offers to bring its settings over.

Gemini CLI vs Claude Code: which is better?

Claude Code, if you want the higher benchmark score, Opus 5.5 as the default model and close control over each change (manual, plan and auto modes, plus checkpoints you can rewind without Git). Antigravity CLI, if you want to start at $0, already pay Google, want a lower cost per task, or want Gemini and Claude models under one Google plan.

For most individuals the fair question is now Antigravity vs Claude Code, since Gemini CLI mainly serves companies on Code Assist. If you pick Claude Code and have never opened a terminal, our Claude Code course, in early access, covers the parts this switch involves: installing it, writing a CLAUDE.md, adding skills and MCP servers, then building a landing page and an email agent. The free switch kit at the end of this page is the step to take first.

Which tool fits your situation?

Your situationPick
You want to try an AI coding agent this week for freeAntigravity CLI
You already pay for Google AI Pro or UltraAntigravity CLI first
You want Google's strongest model, Gemini 4 CarbonAntigravity CLI on Google AI Ultra
You have never coded and want a website or an automationClaude Code, starting with the switch kit below
You want Claude models with the most mature controlsClaude Code
Your company has Gemini Code Assist Standard or EnterpriseGemini CLI, which keeps working
You already pay for ChatGPTRead our Codex vs Claude Code comparison
You want any model from any providerRead our OpenCode vs Claude Code comparison

Quick check0 of 2 correct

What happened to Gemini CLI for free users on June 18, 2026?

In our import test, what did Claude Code's Gemini importer not pick up?

What to do next

If money decides it, install Antigravity CLI and run the free tier on one small project this week; Google's model list gave November 18 as the last day for its free Claude models, so check which models are left before you count on them. If you want the stronger results for real business work, start Claude Code on Pro, run claude import gemini --dry-run to see what carries over, and give it the same project. Weighing other agents too? Our AI coding agent comparison covers twelve.

After a few days, keep the one you trust with your files. If that's Claude Code, the free switch kit below has the checklist and test prompts for the move, and the Claude Code course picks up from your first project.

Switch kit: from Gemini CLI to Claude Code or Antigravity CLI

An inventory checklist, the tested import steps for Claude Code, the Antigravity migration commands, and five prompts to confirm nothing got lost.

Enter your email and the full section opens right here.

No spam. One click to unsubscribe. We use your email to send you this bonus, new guides and news about our courses.

Frequently asked questions

What is the difference between Gemini CLI and Gemini Code Assist?

Gemini CLI is Google's open source terminal agent. Gemini Code Assist is Google's paid coding assistant for organizations, and its Standard and Enterprise licenses are now the main way Gemini CLI is meant to be used.

Can I add my own API key to get more Antigravity usage?

No. Google's Antigravity plans page, checked November 8, 2026, says bring-your-own-key isn't supported for additional rate limits, so a Gemini API key won't raise your quota there. Extra usage on paid plans comes only from Google's AI credits.

Do Claude models in Antigravity share the Gemini quota?

No. Antigravity's usage panel shows two meters, one for Gemini models and one for Claude and GPT models, each with its own weekly and five-hour limit, according to Google's model page.

Can I use Gemini models inside Claude Code?

Yes, with Google's Gemini API CLI (gemini-api), a command line tool built for other agents. Set up a Gemini API key, put gemini-api on your PATH, and Claude Code can call Gemini models for tasks like reading a PDF or making an image, at Gemini API prices.

Is Antigravity CLI the same thing as the Antigravity IDE?

No. Antigravity comes as a desktop app, the agy command line tool, an IDE, extensions for editors such as VS Code and JetBrains, and a Python SDK. They all use your Google sign-in, and your Google AI plan sets the limits.

Will my Gemini CLI extensions work in Antigravity CLI?

Mostly. Running agy plugin import gemini converts extensions into Antigravity plugins, and workspace skills need to move from .gemini/skills to .agents/skills. Google says parity is partial, so check custom themes and experimental features.

Keep reading