Comparison

Claude Code vs Gemini CLI

A like-for-like, spec-level comparison. Both entries are verified against their docs and repo.

Claude Code

Anthropic's agentic CLI coding assistant.

  • + Strong multi-file reasoning and coordinated edits
  • + Sub-agents keep the main context lean
  • − Tied to Claude models only
  • − Can burn tokens re-reading large repos without guidance files

Gemini CLI

Google's open-source terminal agent for Gemini.

  • + Open source and free to start
  • + Tight Gemini grounding (search, docs)
  • − Gemini models only
  • − Newer than incumbents
Spec Claude Code Gemini CLI
Category coding-agent coding-agent
License Proprietary Apache-2.0
Open source No Yes
Self-hostable No No
MCP support Yes Yes
Pricing freemium freemium
Starting price Included with Claude Pro/Max Free tier with Gemini API
Models claude gemini
Languages python, typescript, go, rust, multi typescript
GitHub stars 105.5k
Last activity 2026-06-25