Contents
Until mid-2026 the usual comparison was “Gemini CLI is free with a big daily quota, Claude Code is paid”. That no longer holds. On 19 May 2026 Google announced on its developer blog that Gemini CLI would stop serving free accounts and Google AI Pro and Ultra subscribers on 18 June 2026, moving them to Antigravity CLI. Plenty of articles and videos still describe the old situation. The facts here come from Google’s and Anthropic’s official pages as we read them on 27 November 2026.
The short table
| Gemini CLI | Claude Code | |
|---|---|---|
| Made by | Anthropic | |
| Licence | Open source (Apache 2.0) | Closed source |
| Who can use it now | Gemini Code Assist Standard and Enterprise licences, paid Gemini API keys, Vertex AI | A paid Claude plan (Pro or higher) or a Console account |
| Free account | Moved to Antigravity CLI | Not included |
| Install | npm install -g @google/gemini-cli or brew install gemini-cli |
curl -fsSL https://claude.ai/install.sh | bash, npm or WinGet |
| Requirements | Node.js 20+; docs list macOS 15+, Windows 11 24H2+, Ubuntu 20.04+ | No Node.js with the native installer; macOS 13+, Windows 10 1809+, Ubuntu 20.04+ |
| Project instructions file | GEMINI.md |
CLAUDE.md (it can also read AGENTS.md) |
| MCP support | Yes, in ~/.gemini/settings.json |
Yes, with claude mcp add |
| Other surfaces | Antigravity (desktop app, CLI, web) | VS Code, JetBrains, desktop app, web |
Prices change, so they aren’t in the table. Claude’s published prices are in Claude Code pricing; Google’s are on its Google AI and Gemini API pages.
Who should choose Gemini CLI
- A company with a Gemini Code Assist Standard or Enterprise licence: Google says access for these “remains unchanged”, and the project page says the tool is designed for them.
- Anyone using a paid Gemini API key or Vertex AI who wants an open-source agent they can read and modify.
- Builders of their own tooling on top of an open-source agent, in scripts and automation.
One more note from the project page: Gemini CLI is “not optimized” for Gemini 4 models, and Google points people who want them to Antigravity. In other words, Google’s development is moving to Antigravity, which matters if you’re choosing a tool for the long term.
Who should choose Antigravity instead
If you have a regular Google account or a Google AI Pro or Ultra subscription, the official path is now Antigravity CLI or the Antigravity app. Google says it keeps Gemini CLI’s most important features: Agent Skills, Hooks, Subagents, and Extensions, now called Antigravity plugins, while warning there isn’t full feature parity from day one. See antigravity.google for installation and current limits.
Who should choose Claude Code
- Anyone with a Claude subscription, or willing to pay for one, who wants one tool across terminal, editor, desktop app and browser.
- People working on a server over SSH: the native installer doesn’t need Node.js, and there is an official sign-in path for servers without a browser. See Install Claude Code.
- Anyone who wants a clear permission system before edits and commands, and a plan mode that proposes a plan first.
What they share
Both are AI agents that work inside your project folder: they read files, edit, run commands after your approval, read an instructions file in the project root, and connect to outside tools through MCP. Both send what they read to cloud models, so keep secrets out of the code. And in both cases the result is ordinary files on your machine that you own and can move to any host.
If you used Gemini CLI on a free account
- Check your account: run
geminiin your project. If requests are refused after signing in with a regular Google account, that’s expected since 18 June 2026. - Keep your
GEMINI.md: it’s plain text with your project rules. Copy it into the new tool’s instructions file (CLAUDE.mdfor Claude Code, for example); most tools read something similar. - Review your MCP servers: they’re configured in
~/.gemini/settings.json, and most servers work with any MCP client. Add them again in the new tool, as in MCP servers for Claude Code. - Ignore the old quotas quoted in articles written before June 2026.
Try both on the same task
The best comparison is your own. Take a small repository, commit, then give each tool the same task:
Read this project, then add a "Contact us" page with a form that saves messages to the database, write a test for it and run it.
Compare with git diff: how many files changed, did the test pass, how often did you have to step in. Reset with git restore . before trying the second tool.
On ArabyHost
Whichever tool you pick, the output is code that needs somewhere to run. Static sites and PHP apps with MySQL/MariaDB run on the regular hosting plans; Node.js (20 and 24) and Python (3.9 to 3.12) apps run on the AI/Developer plans through Phusion Passenger, with SSH jailed in CageFS, Git and Composer, and background workers kept alive with cron. Claude Code and Codex run over SSH on those plans (Claude Code on a server). There is no root, no Docker and no GPU, so you can’t run a local language model on the hosting. To deploy, pick the matching guide, such as Deploy a Node.js app, or start from Where to host a project you built with AI.
FAQ
Is Gemini CLI still free?
Not for individual accounts. According to Google's developer blog and the project's GitHub page, Gemini CLI stopped serving free use and Google AI Pro and Ultra subscribers on 18 June 2026, moving them to Antigravity CLI. It remains available with paid Gemini API keys and Code Assist Standard and Enterprise licences.
What is Antigravity CLI?
The terminal surface of Google Antigravity, Google's agentic coding platform, offered as the replacement for accounts that left Gemini CLI. The Antigravity site says the platform is available to developers at no charge on macOS, Windows and Linux; check the current limits there.
Which is better for a beginner, Gemini CLI or Claude Code?
Today the bigger difference is the account, not the tool. If you already pay for Claude, Claude Code is simpler to set up. If you want to start at no cost, try Google's Antigravity or Codex in ChatGPT first, then decide.
Can I run either on my hosting server?
Both are terminal tools, so they can run over SSH on a Linux server that lets you install npm packages in your own folder. Gemini CLI needs Node.js 20 or later; Claude Code needs Node.js 22 or later when installed with npm.