Claude Code vs Gemini CLI

Claude Code and Gemini CLI are both AI coding agents that work from your terminal: you describe a change, and the agent reads your code, edits files and runs commands. Here's how they differ on the basics.

Claude CodeGemini CLI
Made byAnthropicGoogle
Open sourceNoYes, Apache-2.0 (github.com/google-gemini/gemini-cli)
Pricing label in our directoryPaidOpen source. Per its README, you can sign in with a Google account or use a Gemini API key.
Where it runsTerminalTerminal
Official linkanthropic.com/claude-codegithub.com/google-gemini/gemini-cli

When each one fits

Things to check on the official sites

Current pricing, free usage limits, supported operating systems, and data and privacy terms for your code. Both tools change quickly, and we link to the source rather than repeating details that go stale.

Other terminal agents

Claude Code vs Codex CLI · Codex CLI vs Every Code · Gemini CLI vs Qwen Code · Qwen Code (Alibaba's Qwen team, open source) · Aider (open source, git-aware) · All terminal agents compared · More comparisons

This comparison isn't sponsored.