← All comparisons

Coding agents

Claude Code vs Gemini CLI

A side-by-side view built only from each listing. Prices change, so check the source links.

Claude Code compared with Gemini CLI
Claude CodeGemini CLI
Good atTerminal coding agent from Anthropic that reads, edits and runs code in your repo.Open-source terminal agent from Google powered by Gemini.
PricingIncluded with Claude Pro ($20/mo monthly, $17/mo annual) and Max (from $100/mo)
Checked 2026-10-13 · source
Free and open source (you pay your own LLM API costs)
Checked 2026-10-13 · source
Best forterminal codingrefactoringlarge codebasesterminal codingopen source
Setupnpm install -g @anthropic-ai/claude-code && cd my-repo && claudenpm install -g @google/gemini-cli && gemini
LinksFull listing · Official siteFull listing · Official site

Pick Claude Code if…

  • you want it for refactoring, large codebases (listed for Claude Code, not Gemini CLI)
  • this fits what you need: Terminal coding agent from Anthropic that reads, edits and runs code in your repo
  • its pricing works for you: Included with Claude Pro ($20/mo monthly, $17/mo annual) and Max (from $100/mo)

Pick Gemini CLI if…

  • you want it for open source (listed for Gemini CLI, not Claude Code)
  • this fits what you need: Open-source terminal agent from Google powered by Gemini
  • its pricing works for you: Free and open source (you pay your own LLM API costs)