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
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:
- 2025Google releases Gemini CLI, an open source terminal agent under the Apache 2.0 license.
- May 19, 2026Antigravity CLI becomes available to everyone, and Google announces the switch.
- June 18, 2026Gemini CLI and the Code Assist editor extensions stop serving free users and Google AI Pro and Ultra subscribers.
- October 28, 2026Google announces Gemini 4 Carbon, open at first only to selected security teams and partners.
- November 10, 2026Carbon opens to paying API developers and to Google AI Ultra subscribers, Antigravity included.
- November 12, 2026Google releases Gemini 4 Hydrogen, a faster model, for Antigravity on paid Google AI Pro and Ultra.
- 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.
- 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:
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 CLI | What changed | What to do |
|---|---|---|
| Sign in with Google on a free personal account | Free Code Assist for individuals ended | Install Antigravity CLI and sign in with the same account |
| Sign in with Google on AI Pro or Ultra | Your plan now covers Antigravity, not Gemini CLI | Install Antigravity CLI; Pro and Ultra get higher limits there |
| A free Gemini API key | The unpaid tier was moved to Antigravity | Add billing to the key's project, or switch tools |
| A paid Gemini API key, Vertex AI or a Code Assist license | Nothing | Keep 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 setup | In ~/.gemini (all projects) | In a project's own folder |
|---|---|---|
| GEMINI.md instructions | Listed: would be appended to ~/.claude/CLAUDE.md | Found, but held for review |
| MCP servers | Listed: would be added as a user MCP server | Found, with no automatic mapping |
| Custom command (.toml) | Listed: would be written as ~/.claude/commands/weekly-specials.md | Not found |
| Skill in a skills folder | Not found | Not found |
| Subagent in an agents folder | Not found | Not found |
| Extension | Not found | Not 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:
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 Code | Gemini CLI | Antigravity CLI | |
|---|---|---|---|
| Who it suits now | Anyone with a paid Claude plan or an Anthropic API key | Companies with Code Assist licenses, or paid API keys | Individuals with a Google account, plus Google Cloud customers |
| Free plan | No | No | Yes, with weekly limits |
| Cheapest start | Claude Pro, $20 a month | A paid Gemini API key, billed per token | $0 |
| Main models | Opus 5.5 (default), Sonnet 5.5, Haiku 5.5, Fable 5.2 | Gemini models through your key; not tuned for Gemini 4 | Gemini 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 file | CLAUDE.md, or AGENTS.md | GEMINI.md | GEMINI.md and AGENTS.md |
| Safety controls | Permission modes, plan mode, checkpoints | Sandboxing, trusted folders, checkpointing | Execution 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 Index | 58 | 55 | 52 | 45 |
| FrontierCode-AA 2.0 | 44 | 38 | 37 | 25 |
| Terminal-Bench 4.1 | 65 | 65 | 60 | 57 |
| SWE-Atlas-QnA-AA | 66 | 64 | 60 | 55 |
| API cost per task | $12.61 | $9.75 | $4.45 | $6.84 |
| Time per task | 1.1 hours | 33.6 minutes | 32.1 minutes | 37.7 minutes |
| Plan that includes it | Any paid Claude plan | Google AI Ultra | Google AI Pro, not during a trial | Google 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:

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) | Price | What it adds in Antigravity |
|---|---|---|
| Free, or Google AI Plus | $0, or $4.99 a month | A quota refreshed weekly, and Gemini 3.8 Flash |
| Google AI Pro | $19.99 a month | A 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 month | The 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:
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 4 Argon input, through November 30, 2026
Gemini 4 Argon output, through November 30, 2026
Gemini 3.8 Flash input, through December 31, 2026
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:
curl -fsSL https://claude.ai/install.sh | bash
On Windows, open PowerShell and run:
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:

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:
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:
curl -fsSL https://antigravity.google/cli/install.sh | bash
On Windows, in 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:
Color scheme
Dark, Solarized Dark, Solarized Light or your terminal's default
Rendering mode
Full-screen, or inline output that stays in your terminal history
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 situation | Pick |
|---|---|
| You want to try an AI coding agent this week for free | Antigravity CLI |
| You already pay for Google AI Pro or Ultra | Antigravity CLI first |
| You want Google's strongest model, Gemini 4 Carbon | Antigravity CLI on Google AI Ultra |
| You have never coded and want a website or an automation | Claude Code, starting with the switch kit below |
| You want Claude models with the most mature controls | Claude Code |
| Your company has Gemini Code Assist Standard or Enterprise | Gemini CLI, which keeps working |
| You already pay for ChatGPT | Read our Codex vs Claude Code comparison |
| You want any model from any provider | Read our OpenCode vs Claude Code comparison |
Quick check0 of 2 correct
What happened to Gemini CLI for free users on June 18, 2026?
Not quite.
Free users and Google AI Pro and Ultra subscribers now use Antigravity CLI. Gemini CLI still works with Code Assist licenses and paid API keys.
In our import test, what did Claude Code's Gemini importer not pick up?
Not quite.
Global instructions, MCP servers and commands were listed for import; skills and subagents in our sample weren't, so copy those folders by hand.
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.
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
Install Claude Code on Windows and Mac in 4 Steps (2026)
Install Claude Code on Windows or Mac with Anthropic's official installer or the desktop app, sign in, run a safe first task and fix errors. No coding needed.
Claude Code · 14 min readCodex vs Claude Code (2026): Benchmarks, Pricing and Limits
Codex vs Claude Code in 2026: Claude Code scores higher (58 vs 53), but Codex is about twice as fast and cheaper per task. See prices, limits and our test.
Claude Code · 9 min readClaude Code vs OpenCode (2026): Cost, Models and Privacy
Claude Code vs OpenCode in 2026: OpenCode is free and open source, but Claude Pro won't work in it. Compare benchmarks, real costs, local models and privacy.
Claude Code · 12 min read

