Claude Code vs Gemini CLI: what developers actually say
Based on 3,237 opinions on Hacker News from developers who discussed these two, most of them first-hand users.
Claude Code comes out ahead. Its approval is 54% against 29% for Gemini CLI, and explicit head-to-head picks run 32 to 4. It leads on autonomy (280 positive, 88 negative) and speed (125 positive, 44 negative), while Gemini CLI is near flat on both. Both draw reliability complaints, and Claude Code carries heavy negatives on usage limits (164) and cost (185), so Gemini CLI is the better pick when price, open source, or a lighter tool matters, with only 211 opinions behind it.
When developers explicitly said they prefer one or switched: 32 picked Claude Code, 4 picked Gemini CLI.
Choose Claude Code if
- Want stronger autonomy and speed
- Want the tool most users pick head to head
- Can live with higher cost and tighter usage limits
Choose Gemini CLI if
- Want lower per-message cost
- Prefer an open source CLI
- Have tasks where Gemini CLI already one-shots the fix
Where each one wins and loses
Why developers switched
Picked Claude Code
Picked Gemini CLI
Summaries are paraphrased. Each links to the original comment.