DevConsensus
Comparisons / Claude Code vs Gemini CLI
AI coding tools · HN opinions Nov 2025 – Nov 2026

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
54%
approval · 3,026 opinions · 2,204 developers
last 90 days: 51%
Gemini CLI
29%
approval · 211 opinions · 175 developers
last 90 days: 25%

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

PraiseComplaintsA = Claude CodeB = Gemini CLI
UX
A
225
212
B
28
7
Code quality
A
189
240
B
17
6
Reliability
A
296
107
B
55
7
Autonomy
A
88
280
B
11
9
Cost & pricing
A
185
128
B
11
7
Usage limits
A
164
64
B
12
1
Customization
A
87
91
B
3
1
Speed
A
44
125
B
4
2

Why developers switched

Picked Claude Code

Picked Gemini CLI

Liked Gemini CLI about as much as Claude Code and sometimes better, but resented new forced usage limits.HN comment · May 22, 2026
Argued other agents are no worse than Claude Code and rated Gemini and Crush above it.HN comment · Feb 2, 2026
Saw Gemini 3 through Gemini CLI fix a batch of bugs that Claude Code could not fix.HN comment · Nov 25, 2025
Left Claude Code because it cost too much per message and moved to Gemini CLI, then Qwen.HN comment · Nov 1, 2025

Summaries are paraphrased. Each links to the original comment.

Side by side

Claude CodeGemini CLI
Approval
54%
29%
Last 90 days51%25%
Opinions3,026211
First-hand users2,397163
TypeTerminal agentTerminal agent
Made byAnthropicGoogle
WebsiteVisit ↗Visit ↗

Related comparisons