Claude Code vs Gemini CLI: what 36 developers chose.
3,237 opinions. 36 developers named a direct preference: Claude Code 32–4. Approval is 54% vs 29%.
Claude Code wins the direct preference 32–4, but both tools score best on the same topic. Use the decision cards below to choose on workflow.
Choose Claude Code if you…
- 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 you…
- Want lower per-message cost
- Prefer an open source CLI
- Have tasks where Gemini CLI already one-shots the fix
Claude Code and Gemini CLI: where each one wins.
Net sentiment per topic: praise minus complaints, as a share of mentions. Positive means more praise than complaints. Hover a dot for the raw counts.
Net sentiment = praise minus complaints, as a share of each tool's mentions. The dot lanes are only for readability; position is the score.
View data table
| Topic | Claude Code | Gemini CLI | Mentions |
|---|---|---|---|
| Autonomy | +52 | -10 | 368 / 20 |
| UX | -3 | -60 | 437 / 35 |
| Reliability | -47 | -77 | 403 / 62 |
| Code quality | +12 | -48 | 429 / 23 |
| Cost & pricing | -18 | -22 | 313 / 18 |
| Usage limits | -44 | -85 | 228 / 13 |
| Customization | +2 | -50 | 178 / 4 |
| Speed | +48 | -33 | 169 / 6 |
The same decision, from both sides.
Paraphrased from comments where a developer named a preference or described a switch. Each links to the original.
Picked Claude Code 32 developers
Tried all three and found Gemini CLI lacking next to Codex and Claude Code, using it only to cross-check specs.
Agreed Gemini CLI is poor for agentic coding next to Claude Code, and said Google is focused on search instead.
Said Gemini CLI gets stuck in loops, so it does not match the Claude Code or Codex experience.
Found Gemini CLI far behind Claude Code, slower and producing worse code, despite liking Gemini models generally.
Picked Gemini CLI 4 developers
Liked Gemini CLI about as much as Claude Code and sometimes better, but resented new forced usage limits.
Argued other agents are no worse than Claude Code and rated Gemini and Crush above it.
Saw Gemini 3 through Gemini CLI fix a batch of bugs that Claude Code could not fix.
Left Claude Code because it cost too much per message and moved to Gemini CLI, then Qwen.
The numbers.
| Metric | Claude Code | Gemini CLI |
|---|---|---|
| Approval | 54% | 29% |
| Last 90 days | 51% | 25% |
| Opinions | 3,026 | 211 |
| Developers | 2,204 | 175 |
| First-hand opinions | 2,397 | 163 |
| Direct picks | 32 | 4 |
| Type | Terminal agent | Terminal agent |
| Made by | Anthropic | |
| Website | Visit ↗ | Visit ↗ |
Related matchups.
Claude Code vs OpenAI Codex
181–62 direct picks, and a clear difference in what developers optimise for.
Claude Code vs OpenCode
73–42 direct picks, and a clear difference in what developers optimise for.
Claude Code vs Cursor
61–42 direct picks, and a clear difference in what developers optimise for.
How to read this comparison.
Approval is the positive share of opinions that took a side, with the rank based on the lower bound of a 90% confidence interval. Direct picks count comments where a developer explicitly preferred one tool or described switching. Small samples are noisier; check the opinion counts.
Get the monthly report
Which AI coding tools gained or lost developer approval on Hacker News, and why people switched. One email a month.