> ## Content Index
> Fetch the complete content index at: https://claudefox.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Claude Code vs Gemini CLI (2026): access, pricing, features
- URL: https://claudefox.com/claude-code-vs-gemini-cli/
- Published: 2026-11-20T07:48:48.000Z
- Updated: 2026-11-20T07:50:05.000Z
- Description: A sourced comparison of Claude Code and Gemini CLI in November 2026: why Gemini CLI is now for Google Cloud customers only, how Antigravity CLI fits in, plans and API prices, models, limits, privacy, and how to share CLAUDE.md and GEMINI.md.
- Author: hupicake
- Tags: Tips

Last checked: 2026-11-20\. Claude Code facts come from Anthropic's Claude Code docs, claude.com pricing, the Claude API price list and the Claude Help Center. Gemini CLI facts come from the google-gemini/gemini-cli repository, geminicli.com docs, Google Cloud's Gemini Code Assist pricing and quota pages, Google's Gemini API price list and the Antigravity site. On that date the newest stable releases were Claude Code 2.1.329 and Gemini CLI 0.70.0, both released November 19; Gemini CLI also had a 0.71.0 preview and nightly. Prices are as of November 20, 2026, in US dollars before tax.

Gemini CLI is no longer an option for most individual developers. Since June 18, 2026 it serves only organizations with Gemini Code Assist Standard or Enterprise licenses, Code Assist for GitHub on Google Cloud, or paid Gemini API and Vertex keys; free users and Google AI Pro and Ultra subscribers were moved to Google's Antigravity CLI. If you are choosing for yourself and do not already pay for a Gemini API key, we think the real comparison is Claude Code against Antigravity CLI, so the table below covers all three.

## Can you still use Gemini CLI?

Yes, but only through an organization or a paid key. Google's May 19 transition post says Gemini CLI and the Code Assist IDE extensions stopped serving Google AI Pro, Ultra and free Gemini Code Assist for individuals on June 18, 2026, while Standard and Enterprise customers keep access, and that Google will keep supporting Gemini CLI with the latest Gemini models. Code Assist for GitHub outside Google Cloud was set to take no new installations from June 18 and stop serving requests in the following weeks.

The repository README now calls Gemini CLI enterprise-only, says it is not tuned for the Gemini 4 series, and asks people not to use it for Gemini benchmarks. One caveat: Google's own Gemini CLI quota page still lists a free tier of 1,000 requests a day and Google AI Pro and Ultra quotas, which contradicts the README and the transition post, even though the page shows a June 18, 2026 update. We go by the README and the post, which describe who can actually sign in.

## Claude Code vs Gemini CLI at a glance

Claude Code and Antigravity CLI are sold to individuals on monthly plans, while Gemini CLI now needs a Google Cloud license or a paid API key.

__Cells link the vendor page behind each figure, or our guide that covers it. Prices as of November 20, 2026.__
| Criterion          | Claude Code                                                                                                                                                                                                                                           | Gemini CLI                                                                                                                                                                                          | Antigravity CLI                                                                                                                                                                                                      |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Pricing and plans  | [Pro $20 a month ($17 billed annually), Max $100, Ultra $200; Team $20 or $100 per seat billed annually](https://claude.com/pricing?ref=claudefox.com)                                                                                                | [Code Assist Standard or Enterprise license, or a paid Gemini or Vertex API key; no free or Google AI plan access](https://github.com/google-gemini/gemini-cli?ref=claudefox.com)                   | [Free, or Google AI Pro $19.99 and Ultra $99.99 or $199.99 a month](https://gemini.google/us/subscriptions/?hl=en&ref=claudefox.com)                                                                                 |
| Models available   | [Anthropic only: Fable 5.2, Opus 5.5 (default), Sonnet 5.5, Haiku 5.5](https://code.claude.com/docs/en/model-config?ref=claudefox.com)                                                                                                                | [Gemini models; docs list Auto routing for Gemini 3 and 2.5; not tuned for Gemini 4](https://geminicli.com/docs/cli/model?ref=claudefox.com)                                                        | [Gemini 3.8 Flash on free; Gemini 4 Neon, Argon and Hydrogen on Pro, plus Carbon on Ultra; Claude Sonnet 5.5 and Opus 5.5 on paid, non-trial Pro and on Ultra](https://antigravity.google/pricing?ref=claudefox.com) |
| Where it runs      | [Terminal, VS Code, Cursor, JetBrains, desktop app, web, Slack](https://code.claude.com/docs/en/overview?ref=claudefox.com)                                                                                                                           | [Terminal via npm, npx, Homebrew or MacPorts; VS Code companion](https://github.com/google-gemini/gemini-cli?ref=claudefox.com)                                                                     | [Terminal, Antigravity app, IDE extensions, Python SDK](https://antigravity.google/pricing?ref=claudefox.com)                                                                                                        |
| Agent features     | [Subagents, background agents for parallel full sessions, hooks, MCP, skills, plugins and marketplaces](https://code.claude.com/docs/en/sub-agents?ref=claudefox.com)                                                                                 | [Subagents (local and remote), hooks, MCP, skills, extensions, custom commands](https://geminicli.com/docs/extensions?ref=claudefox.com)                                                            | [Background subagents, hooks, MCP, skills, plugins, scheduled tasks](https://antigravity.google/product/antigravity-cli?ref=claudefox.com)                                                                           |
| Context and limits | [1M-token window by default on Fable, Opus 5.5, Sonnet 5.5 and Haiku 5.5; 5-hour and weekly limits, weekly only on verified Ultra accounts](https://claudefox.com/claude-code-usage-limits/)                                                          | [1,500 requests per user per day on Standard, 2,000 on Enterprise](https://developers.google.com/gemini-code-assist/resources/quotas?ref=claudefox.com)                                             | [Weekly quota on free; 5-hour and weekly limits on Pro and Ultra](https://antigravity.google/docs/plans?ref=claudefox.com)                                                                                           |
| Privacy and data   | [Consumer plans: training is your choice, with 5-year retention if you allow it and 30 days if not; Team, Enterprise and API: no training unless you opt in, 30-day standard retention](https://code.claude.com/docs/en/data-usage?ref=claudefox.com) | [Code Assist: Google says prompts and responses are not used for training; paid API: not used to improve products](https://cloud.google.com/gemini/docs/discover/data-governance?ref=claudefox.com) | [Individual terms derived from Google's Terms of Service; we did not review its data policy](https://antigravity.google/docs/plans?ref=claudefox.com)                                                                |
| Source code        | [Proprietary, all rights reserved](https://github.com/anthropics/claude-code/blob/main/LICENSE.md?ref=claudefox.com)                                                                                                                                  | [Open source, Apache 2.0](https://github.com/google-gemini/gemini-cli?ref=claudefox.com)                                                                                                            | Not stated in the sources we checked                                                                                                                                                                                 |
| Best fit           | Claude-first developers on any plan                                                                                                                                                                                                                   | Teams already licensed for Gemini Code Assist                                                                                                                                                       | Individuals who want Gemini in a terminal                                                                                                                                                                            |

## Who should pick Claude Code, and who should pick Gemini CLI?

In our view, pick Gemini CLI only if your company already licenses Gemini Code Assist, or you already pay for a Gemini or Vertex API key and want an open-source agent; almost everyone else is choosing between Claude Code and Antigravity CLI.

- Pick Claude Code if you want Claude models with subscription pricing, a 1M-token window by default, and surfaces beyond the terminal such as JetBrains, the desktop app, the web and Slack.
- Pick Claude Code if you need it through Amazon Bedrock, Google Cloud or Microsoft Foundry rather than a Claude subscription.
- Pick Gemini CLI if your organization has Code Assist Standard or Enterprise seats. It is included in those licenses and shares their daily request quota with Code Assist agent mode.
- Pick Gemini CLI if you want to read, fork or audit the agent's code: it is Apache 2.0 licensed, while Claude Code's license reserves all rights.
- Pick Antigravity CLI instead if you are an individual who wants Gemini 4 models, a free tier, or Claude Sonnet 5.5 and Opus 5.5 on a paid Google AI Pro plan.

## How much does each cost?

Gemini Code Assist Standard costs about the same per seat as a Claude Team Standard seat: Google lists hourly license fees that work out to $19 a user per month on a 12-month commitment, or $22.80 on a monthly one, against Claude Team's $20 billed annually or $25 monthly.

- Enterprise seats: Code Assist Enterprise works out to $45 a user per month on a 12-month commitment, or $54 monthly, with 2,000 daily requests instead of 1,500\. Claude Team Premium seats cost $100 billed annually or $125 monthly, for 5x a Standard seat's usage.
- Individuals: Claude Pro is $20 a month and includes Claude Code. Google AI Pro is $19.99 a month and includes Antigravity CLI, not Gemini CLI.
- One API task with 1 million input tokens and 50,000 output tokens: $5.00 on Claude Opus 5.5 ($4 and $20 per million) and $2.50 on Sonnet 5.5 ($2 and $10). On a paid Gemini key, Gemini 3.1 Pro Preview lists at $2 and $12 for prompts up to 200K tokens, so $2.60 if each prompt stays under that.
- Watch the December change: Google lists Gemini 4 Carbon at $2 and $10 per million tokens through November 30, 2026, and $4 and $20 from December 1\. The same task goes from $2.50 to $5.00.
- Free options: none for Gemini CLI any more, and the free Claude plan does not include Claude Code. Antigravity's free plan includes Gemini 3.8 Flash with a weekly quota.

Our Claude Code pricing guide covers Anthropic's plans and API costs in more detail.

## How do you move between CLAUDE.md and GEMINI.md?

Keep one shared file and point each tool at it: Gemini CLI can read any file name you list in context.fileName, and Claude Code can import GEMINI.md or read AGENTS.md directly.

- From Gemini CLI to Claude Code: create a CLAUDE.md that imports your existing file with an @GEMINI.md line. Both tools support @path imports inside their instruction files.
- Shared file: rename GEMINI.md to AGENTS.md and set context.fileName in .gemini/settings.json to \["AGENTS.md", "GEMINI.md"\]. Claude Code reads AGENTS.md when there is no CLAUDE.md (v2.1.277 or later).
- Global rules: Gemini CLI loads \~/.gemini/GEMINI.md; the Claude Code equivalent is \~/.claude/CLAUDE.md.
- Subagents: Gemini CLI keeps them in .gemini/agents/\*.md, Claude Code in .claude/agents/. Both are Markdown files, but check the frontmatter fields before copying.
- Hooks and MCP: Gemini CLI reads hooks from .gemini/settings.json or \~/.gemini/settings.json, passes them a CLAUDE\_PROJECT\_DIR alias for compatibility, and keeps MCP servers in \~/.gemini/settings.json. In Claude Code, add MCP servers with claude mcp add or a project .mcp.json.
- Moving to Antigravity CLI: on first launch, agy detects Gemini CLI profiles and offers a checklist of what to migrate; you can also run agy plugin import gemini to convert extensions to plugins. GEMINI.md and AGENTS.md work unchanged; move workspace skills from .gemini/skills/ to .agents/skills/, and MCP servers to \~/.gemini/config/mcp\_config.json (global) or .agents/mcp\_config.json (workspace), with serverUrl as the URL key. Custom themes may not carry over.

```
// .gemini/settings.json: let Gemini CLI read the same file Claude Code reads
{
  "context": {
    "fileName": ["AGENTS.md", "GEMINI.md"]
  }
}
```

Our install guide walks through setting up Claude Code on Mac, Windows and Linux.

## Frequently asked questions

- Is Gemini CLI still free? No. Free access through Gemini Code Assist for individuals ended on June 18, 2026, and Google points free users to Antigravity CLI. Gemini CLI still works with paid Gemini API and Vertex keys.
- What replaced Gemini CLI? Antigravity CLI, run as agy, which Google made available to everyone on May 19, 2026\. Google says it keeps skills, hooks, subagents and extensions, the last now as plugins, though not with full feature parity at launch.
- Can Gemini CLI use Claude models? Its docs list only Gemini models. Antigravity CLI offers Claude Sonnet 5.5 and Opus 5.5 on paid Google AI Ultra and non-trial Pro plans; Google listed the Claude 4.6 models on free and trial plans for removal on November 18, 2026.
- Is Gemini CLI open source? Yes, under Apache 2.0, with 108,950 GitHub stars on November 20, per the GitHub API. Claude Code's repository is public but its license reserves all rights.
- Is the Gemini API CLI the same thing? No. gemini-api is a separate, stateless command-line tool for scripts, CI and other agents, and Google's README says it is not a coding harness.
- Does Claude Code read GEMINI.md? Not by itself. Import it from a CLAUDE.md with @GEMINI.md, or rename it to AGENTS.md, which Claude Code reads when no CLAUDE.md exists.

## Our take

This is opinion. Gemini CLI is now maintained for Google Cloud customers rather than built as Google's main agent: it still ships weekly releases, but its own README says it is not tuned for Google's newest models, and Google says it is pouring its energy into Antigravity. If your company already pays for Gemini Code Assist, keep using it and add Claude Code where Claude models help. If you are choosing for yourself, compare Claude Code with Antigravity CLI instead. Claude Code has the wider set of surfaces and a 1M-token window by default; Antigravity has a free tier and bundles Gemini 4 with some Claude models for $19.99.

## Related on claudefox

- [Claude Code pricing (November 2026): plans and API costs](https://claudefox.com/claude-code-pricing/)
- [Claude Code usage limits explained: 5-hour and weekly caps](https://claudefox.com/claude-code-usage-limits/)
- [How to install Claude Code on Mac, Windows and Linux](https://claudefox.com/install-claude-code/)
- [Claude Code vs Codex CLI (2026): which coding agent to use](https://claudefox.com/claude-code-vs-codex/)

Source: [google-gemini/gemini-cli README (GitHub)](https://github.com/google-gemini/gemini-cli?ref=claudefox.com), [Gemini CLI releases (GitHub)](https://github.com/google-gemini/gemini-cli/releases?ref=claudefox.com), [Transitioning Gemini CLI to Antigravity CLI (Google Developers Blog)](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/?ref=claudefox.com), [Gemini CLI quotas and pricing (geminicli.com)](https://geminicli.com/docs/resources/quota-and-pricing?ref=claudefox.com), [Gemini CLI model selection (geminicli.com)](https://geminicli.com/docs/cli/model?ref=claudefox.com), [GEMINI.md context files (geminicli.com)](https://geminicli.com/docs/cli/gemini-md?ref=claudefox.com), [Gemini CLI subagents (geminicli.com)](https://geminicli.com/docs/core/subagents?ref=claudefox.com), [Gemini CLI hooks (geminicli.com)](https://geminicli.com/docs/hooks?ref=claudefox.com), [Gemini CLI extensions (geminicli.com)](https://geminicli.com/docs/extensions?ref=claudefox.com), [Sandboxing in Gemini CLI (geminicli.com)](https://geminicli.com/docs/cli/sandbox?ref=claudefox.com), [Gemini CLI terms and privacy (geminicli.com)](https://geminicli.com/docs/resources/tos-privacy?ref=claudefox.com), [Gemini Code Assist pricing (Google Cloud)](https://cloud.google.com/products/gemini/pricing?ref=claudefox.com), [Gemini Code Assist quotas and limits (Google)](https://developers.google.com/gemini-code-assist/resources/quotas?ref=claudefox.com), [Gemini for Google Cloud data governance](https://cloud.google.com/gemini/docs/discover/data-governance?ref=claudefox.com), [Gemini Developer API pricing (Google AI Studio)](https://aistudio.google.com/docs/pricing?ref=claudefox.com), [Google AI plans](https://gemini.google/us/subscriptions/?hl=en&ref=claudefox.com), [Antigravity pricing](https://antigravity.google/pricing?ref=claudefox.com), [Antigravity plans (Antigravity docs)](https://antigravity.google/docs/plans?ref=claudefox.com), [Antigravity CLI](https://antigravity.google/product/antigravity-cli?ref=claudefox.com), [Migrating from Gemini CLI (Antigravity docs)](https://antigravity.google/docs/cli/gcli-migration?ref=claudefox.com), [Claude plans and pricing (claude.com)](https://claude.com/pricing?ref=claudefox.com), [Claude API pricing (Claude Platform docs)](https://platform.claude.com/docs/en/about-claude/pricing?ref=claudefox.com), [How do usage and length limits work? (Claude Help Center)](https://support.claude.com/en/articles/11647753-how-do-usage-and-length-limits-work?ref=claudefox.com), [Claude Code overview (Claude Code docs)](https://code.claude.com/docs/en/overview?ref=claudefox.com), [Model configuration (Claude Code docs)](https://code.claude.com/docs/en/model-config?ref=claudefox.com), [CLAUDE.md and AGENTS.md (Claude Code docs)](https://code.claude.com/docs/en/memory?ref=claudefox.com), [Create custom subagents (Claude Code docs)](https://code.claude.com/docs/en/sub-agents?ref=claudefox.com), [Hooks reference (Claude Code docs)](https://code.claude.com/docs/en/hooks?ref=claudefox.com), [MCP (Claude Code docs)](https://code.claude.com/docs/en/mcp?ref=claudefox.com), [Plugins overview (Claude Code docs)](https://code.claude.com/docs/en/plugins?ref=claudefox.com), [Data usage (Claude Code docs)](https://code.claude.com/docs/en/data-usage?ref=claudefox.com), [Claude Code changelog (GitHub)](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md?ref=claudefox.com), [Claude Code license (GitHub)](https://github.com/anthropics/claude-code/blob/main/LICENSE.md?ref=claudefox.com)