Claude Code vs Gemini CLI
A side-by-side view built only from each listing. Prices change, so check the source links.
| Claude Code | Gemini CLI | |
|---|---|---|
| Good at | Terminal coding agent from Anthropic that reads, edits and runs code in your repo. | Open-source terminal agent from Google powered by Gemini. |
| Pricing | Included 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 for | terminal codingrefactoringlarge codebases | terminal codingopen source |
| Setup | npm install -g @anthropic-ai/claude-code && cd my-repo && claude | npm install -g @google/gemini-cli && gemini |
| Links | Full listing · Official site | Full 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)