1. Symvibe
  2. Compare
  3. Gemini CLI vs Claude Code

Gemini CLI vs Claude Code

Gemini CLI is Google's open-source terminal agent and Claude Code is Anthropic's. They look alike in a terminal, but since 18 June 2026 they differ most in who can use them: Gemini CLI no longer accepts personal Google accounts. Access, quotas, models, safety and files side by side, checked against both projects' docs on 27 October 2026.

The short answer

  • Pick Gemini CLI if your company has a Gemini Code Assist Standard or Enterprise license, you pay for the Gemini API, or you want an open-source agent (Apache 2.0) you can read and change.
  • Pick Claude Code if you want an agent that a personal subscription covers, Claude models, or the larger plugin and hook system.
  • On a personal Google account? Gemini CLI stopped serving free, Google AI Pro and Google AI Ultra sign-ins on 18 June 2026, and Google points those users to Antigravity CLI.

Who can use Gemini CLI now

Until June, the Gemini CLI pitch was a generous free tier behind a Google login. That is over: since 18 June 2026 Google no longer serves Gemini CLI requests from the Code Assist for individuals, Google AI Pro and Google AI Ultra tiers, so signing in with a personal Google account does not work. Some of Google's own pages still describe the old tiers; the deprecation notice and the README are the current word.

AccessGemini CLI on 27 October 2026
Personal Google account: free, AI Pro or AI UltraNo longer works. Google points these users to Antigravity CLI.
Gemini Code Assist Standard or EnterpriseWorks, with up to 1,500 requests per user per day on Standard and 2,000 on Enterprise. New subscriptions stopped on 9 October 2026; renewals run until 31 January 2027 for annual plans and 31 December 2027 for monthly ones.
Paid Gemini API keyWorks, pay as you go, in GEMINI_API_KEY
Google CloudPay as you go through Google Cloud's Agent Platform, with GOOGLE_GENAI_USE_VERTEXAI=true

Claude Code has no free tier either, but every paid Claude plan includes it, from Pro at $20 a month, and the API is the pay-per-token route. Details in Claude Code pricing.

At a glance

Gemini CLIClaude Code
Made byGoogle and the open source communityAnthropic
SourceOpen source, Apache 2.0, written in TypeScriptClosed source
Install on a Macnpm install -g @google/gemini-cli or brew install gemini-clicurl -fsSL https://claude.ai/install.sh | bash or brew install --cask claude-code
NeedsmacOS 15 or later and Node.js 20 or latermacOS 13 or later
ModelsGemini only; auto routing by defaultClaude only; Opus 5.5 by default
Approvalsdefault, auto_edit, plan and yoloAuto mode by default; default, acceptEdits, plan, dontAsk and bypassPermissions
SandboxOff by default; Seatbelt, Docker, Podman and others with -sOff by default; Seatbelt with /sandbox
InstructionsGEMINI.md; AGENTS.md if you configure itCLAUDE.md; AGENTS.md when there is none
Settings~/.gemini/settings.json~/.claude/settings.json
Headlessgemini -p, with text, json or stream-json outputclaude -p, with the same three formats
Version checked0.65.0, 20 October 2026; stable releases ship every Tuesday2.1.311, 26 October 2026

Models

Gemini CLI runs Gemini models only. --model defaults to auto, which routes each request, and also takes pro, flash and flash-lite; /model lists specific versions such as Gemini 2.5 Pro and Gemini 3.5 Flash, plus Gemini 3.1 Pro Preview for accounts with preview access. The README warns that Gemini CLI has not been optimized for the newer Gemini 4 Argon.

Claude Code runs Claude models only: Opus 5.5 by default, with /model or --model for Sonnet 5.5, Haiku 5.5 and Fable 5.1. Both reach their models through a cloud provider too: Gemini through Google Cloud, Claude through Bedrock, Google Cloud or Foundry.

Approvals and sandbox

Gemini CLI asks before acting by default; Claude Code's default lets a classifier decide. Both have a sandbox you turn on yourself.

  • Gemini CLI has four approval modes: default prompts, auto_edit approves edits, plan is read-only, and yolo approves everything (-y, from the command line only; the same switch in other CLIs). Policy files in ~/.gemini/policies/ allow, deny or require confirmation per tool call. The sandbox is off until you pass -s or set GEMINI_SANDBOX; on macOS its default Seatbelt profile keeps writes in the project folder.
  • Claude Code has started interactive sessions in auto mode since 2.1.283: a classifier lets routine actions run and blocks destructive ones, and allow, ask and deny rules come first. default, acceptEdits, plan, dontAsk and bypassPermissions are the other modes, and /sandbox turns on a Seatbelt sandbox for shell commands.

Instructions and config files

Gemini CLIClaude Code
InstructionsGEMINI.md, and ~/.gemini/GEMINI.md for every projectCLAUDE.md, and ~/.claude/CLAUDE.md for every project
AGENTS.mdOnly when you add it to the context fileName setting, for example ["AGENTS.md", "GEMINI.md"]Read when there is no CLAUDE.md
Settings~/.gemini/settings.json, .gemini/settings.json, and a system file for managed settings~/.claude/settings.json, .claude/settings.json, .claude/settings.local.json and managed settings
Custom commandsTOML files in ~/.gemini/commands/ or .gemini/commands/Skills in .claude/skills/
Saved sessions~/.gemini/tmp/<project hash>/chats/Transcripts under ~/.claude/projects/

One file for both. Put the shared instructions in AGENTS.md, add it to Gemini CLI's file names, and either leave the repo without a CLAUDE.md or give Claude Code one whose first line is @AGENTS.md. To move a Gemini CLI setup over, claude import gemini brings it into Claude Code.

Extending them

  • Gemini CLI extensions package prompts, MCP servers, custom commands, themes, hooks, subagents and skills in one installable unit. MCP servers are added with gemini mcp add, subagents are on by default, and gemini hooks migrate converts Claude Code hooks.
  • Claude Code plugins package skills, agents, hooks and MCP servers, installed from marketplaces with claude plugin. MCP servers are added with claude mcp add, and claude mcp serve runs Claude Code itself as an MCP server.

Both run without the interface for scripts, gemini -p and claude -p. Gemini CLI's --resume loads the most recent session, and /chat is an alias of /resume; Claude Code resumes the latest with -c, or one by name with -r.

Which one for which job

  • Your company already has Gemini Code Assist. Gemini CLI is included and keeps working until your renewal ends.
  • You pay for the Gemini API, or want Gemini models in the terminal. Gemini CLI with an API key.
  • You want to read or change the agent. Gemini CLI is Apache 2.0.
  • You want a personal subscription to cover the agent. Claude Code on Pro or Max. For Google's models on a personal account, Google now points to Antigravity CLI.

Run both on one Mac

The two keep separate homes, ~/.gemini and ~/.claude, so they run side by side without touching each other's settings or sessions. The side-by-side guide covers installing both and keeping them off each other's files.

On a Symvibe board, which we make, Gemini CLI and Claude Code are built-in consoles, each the real CLI in a real terminal. When you reopen the app, the Gemini console offers to resume the latest conversation in its folder and the Claude Code console its own. With live agent status on, Claude Code reports working, ready or needs you; Gemini CLI shows whether output is arriving. Antigravity CLI is in the agent catalog too, as agy.

Questions people ask

Is Gemini CLI still free?

Not through a personal Google sign-in: since 18 June 2026 the free, Google AI Pro and Google AI Ultra sign-ins no longer work in Gemini CLI. Google's notice says paid Gemini API keys and Code Assist Standard and Enterprise licenses keep working.

What replaced Gemini CLI for personal accounts?

Antigravity CLI. Google's README points unpaid and Google One users to it from 18 June 2026.

Is Gemini CLI better than Claude Code?

They are close in shape: a terminal agent with approvals, MCP and a headless mode. Gemini CLI is open source and runs Gemini models; Claude Code runs Claude models with a larger plugin and hook system. For most people access decides it now: Gemini CLI needs a company license or a paid API key, Claude Code a Claude plan.

Can Claude Code read GEMINI.md?

Not by that name. claude import gemini imports a Gemini CLI setup, and /init offers to carry Gemini CLI configuration over when it finds one. For a file both read, use AGENTS.md.

Can I reuse my Claude Code hooks in Gemini CLI?

Yes. gemini hooks migrate converts hooks from Claude Code to Gemini CLI.

Gemini CLI and Claude Code on one board

Symvibe runs both as real terminals on one canvas, with resume on reopen, next to Codex, OpenCode and 30 more agents. Your logins, your plans, your Mac.

macOS 14 or later · Apple Silicon · USD 19 a month or USD 190 a year