🌐
Composio
composio.dev › blog › gemini-cli-vs-claude-code-the-better-coding-agent
Gemini CLi vs. Claude Code : The better coding agent - Composio
July 2, 2025 - Token Usage: Claude used fewer tokens efficiently with auto-compaction; Gemini consumed more without optimisation. Code Quality & UX: Claude delivered a cleaner structure and smoother UX; Gemini was decent but less polished overall.
🌐
Reddit
reddit.com › r/claudeai › claude code vs gemini cli - initial agentic impressions
r/ClaudeAI on Reddit: Claude Code Vs Gemini CLI - Initial Agentic Impressions
June 25, 2025 -

Been trying Gemini for the last 2 hours or so, and I specifically wanted to test their agentic capabilities with a new prompt I've been using on Claude Code recently which really seems to stretch it's agentic "legs".

A few things:

  1. For Claude: I used Opus.

  2. For Gemini: I used gemini-2.5-pro-preview-06-05 via their .env method they mentioned in their config guide.

I used the EXACT same prompt on both, and I didn't use Ultrathink to make it more fair since Gemini doesn't have this reasoning hook.

I want you to think long and hard, and I want you to do the following in the exact order specified:

  1. Spawn 5 sub agents and have them review all of the code in parallel and provide a review. Read all source files in their entirety.

1a. Divide up the workload evenly per sub agent.

2. Have each sub agent write their final analysis to their individual and dedicated files in the SubAgent_Findings folder. Sub agent 1 will write to SubAgent_1.md, sub agent 2 will write to SubAgent_2.md, etc.

3. Run two bash commands in sequence:

3a. for file in SubAgent_{1..5}.md; do (echo -e "\n\n" && cat "$file") >> Master_Analysis.md; done

3b. for file in SubAgent_*.md; do > "$file"; done

I chose this prompt for 3 reasons:

  1. I wanted to see if Gemini had any separate "task"-like tools (sub agents).

  2. If it DIDN'T have sub agents. How would it attempt to split this request up?

  3. This is a prompt where it's important to do the initial fact-finding task in parallel, but then do the final analysis and subsequent bash commands in sequence.

  4. It's purposefully a bit ambiguous (the code) to see how the model/agent would actually read through the codebase and/or which files it dictated were important.

I feel like the Claude results are decently self explanatory just from the images. It is essentially what I have seen previously. It essentially does everything exactly as requested/expected. You can see the broken up agentic tasks being performed in parallel, and you can see how many tokens were used per sub agent.

The results were interesting on the Gemini side:

On the Gemini side I *THINK* it read all the files....? Or most of the files? Or big sections of the files? I'm not actually sure.

After the prompt you can see in the picture it seems to use the "ReadManyFiles" tool, and then it started to proceed to print out large sections of the source files, but maybe only the contents of like 3-4 of them, and then it just stopped....and then it proceeded with the final analysis + bash commands.

It followed the instructions overall, but the actual quality of the output is.......concise? Is maybe the best way to put it. Or potentially it just straight up hallucinated a lot of it? I'm not entirely sure, and I'll have to read through specific functions on a per file basis to verify.

It's strange, because the general explanation of the project seems relatively accurate, but there seems to be huge gaps and/or a lot of glossing over of details. It ignored my config file, .env file, and/or any other supporting scripts.

As you can see the final analysis file that Gemini created was 11KB and is about 200 LOC.

The final analysis file that Claude created was 68KB and is over 2000 LOC.

Quickly skimming that file I noticed it referenced all of the above mentioned files that Gemini missed, and it also had significantly more detail for every file and all major functions, and it even made a simplified execution pipeline chart in ASCII, lol.

People also ask

What’s the difference between an AI CLI and editor assistants like Copilot or Cursor?
AI CLIs run in your terminal and act on the whole repository: run tests, edit multiple files, generate PRs, and automate scripts. Editor assistants focus on inline code completion inside an IDE. If you want repo-wide automation and CI/CD hooks, AI CLIs are the better fit.
🌐
codeant.ai
codeant.ai › blogs › claude-code-cli-vs-codex-cli-vs-gemini-cli-best-ai-cli-tool-for-developers-in-2025
Claude Code CLI vs Codex CLI vs Gemini CLI: Best AI CLI Tool 2025
Which AI CLI performs best on real coding tasks (benchmarks like SWE-bench)?
Claude Code CLI currently leads on SWE-bench Verified, with Codex CLI close behind and Gemini improving fast. Benchmarks reflect multi-step reasoning, cross-file edits, and tests passing, useful signals if you care about reliability on complex PRs.
🌐
codeant.ai
codeant.ai › blogs › claude-code-cli-vs-codex-cli-vs-gemini-cli-best-ai-cli-tool-for-developers-in-2025
Claude Code CLI vs Codex CLI vs Gemini CLI: Best AI CLI Tool 2025
Do these AI CLIs work on Windows, and what’s the easiest setup?
Claude and Gemini run natively on Windows (plus macOS/Linux). Codex CLI is best on macOS/Linux; on Windows it’s most reliable via WSL2. All three install via simple package managers (e.g., npm) and authenticate with provider API keys or logins.
🌐
codeant.ai
codeant.ai › blogs › claude-code-cli-vs-codex-cli-vs-gemini-cli-best-ai-cli-tool-for-developers-in-2025
Claude Code CLI vs Codex CLI vs Gemini CLI: Best AI CLI Tool 2025
🌐
Medium
medium.com › @ferreradaniel › gemini-cli-vs-claude-code-the-2025-ai-coding-showdown-you-shouldnt-ignore-b893a08f909d
Gemini CLI vs Claude Code: The 2025 AI Coding Showdown You Shouldn’t Ignore | by Daniel Ferrera | Medium
August 20, 2025 - The competition is heating up. Claude Code recently overtook Cursor with cheaper pricing and better performance. Now Gemini CLI is answering back with features Claude doesn’t have.
🌐
Milvus
milvus.io › blog › claude-code-vs-gemini-cli-which-ones-the-real-dev-co-pilot.md
Claude Code vs Gemini CLI: Who’s the Real Dev Co-Pilot? - Milvus Blog
July 8, 2025 - Essentially, Gemini CLI can analyze your entire small-to-medium project in a single session, making it ideal for comprehending large codebases and cross-file relationships. Claude Code works better when you’re focusing on specific files or functions.
🌐
Entelligence
entelligence.ai › blogs › claude-code-vs-gemini-cli
Claude Code vs Gemini CLI
July 7, 2025 - Claude Code: Feels more like a developer assistant. It asks smart follow-up questions, gives a cleaner UI, and sometimes builds more than you asked, like full games with effects and animations. Gemini CLI: Focuses more on utility.
🌐
Glaxit
glaxit.com › home › gemini cli vs other ai clis (claude, openai)
Gemini CLI vs Other AI CLIs (Claude, OpenAI)
November 13, 2025 - If you want consistent, high-fidelity results in multi-step coding tasks, Claude Code is currently the most reliable. “If I use Gemini CLI for free, is Google training on my code?”
🌐
Verityai
verityai.co › blog › claude-code-vs-gemini-cli-enterprise-comparison
Claude Code vs Gemini CLI: Which AI Coding Assistant ...
July 15, 2025 - Subscribe to our newsletter for the latest updates in AI compliance · © 2025 VerityAI. All rights reserved
Find elsewhere
🌐
Codeant
codeant.ai › blogs › claude-code-cli-vs-codex-cli-vs-gemini-cli-best-ai-cli-tool-for-developers-in-2025
Claude Code CLI vs Codex CLI vs Gemini CLI: Best AI CLI Tool 2025
July 28, 2025 - Gemini has steadily improved with ... yet match Claude Code or Codex on raw SWE-bench scores, Gemini CLI shines in documentation, frontend tasks, and connected workflows....
🌐
Shipyard
shipyard.build › blog › claude-code-vs-gemini-cli
Shipyard | Claude Code vs Gemini CLI: Who is winning in July 2025?
July 24, 2025 - The biggest UI/UX difference that we noticed was that Gemini CLI puts its actions in individual boxes, while Claude uses more of a tree format. These are used differently too: Gemini “thinks”, takes actions, and then summarizes a series ...
🌐
Slashdot
slashdot.org › software › ai coding agents › claude code vs. gemini cli
Compare Claude Code vs. Gemini CLI in 2025
Integration is simple: install it via npm and start coding at “thought speed.” Claude Code helps teams move from concept to commit effortlessly, combining the familiarity of the terminal with the intelligence of Claude. Gemini CLI is an open-source command line interface that brings the ...
🌐
Alanops
alanops.com › googles-gemini-cli-vs-anthropics-claude-code-a-comprehensive-analysis-of-command-line-ai-coding-tools
Google's Gemini CLI vs Anthropic's Claude Code - AlanOps
Ship faster. Scale smarter. Sleep better. Lightweight DevOps for indie founders & tiny startups · You need DevOps help, not a full-time engineer
🌐
Medium
blog.metamirror.io › claude-code-v-gemini-cli-e144feafbcf2
Claude Code v Gemini CLI. A dev dream team? | by Steve Jones | Medium
June 27, 2025 - The other thing I liked was the way you can get it to review its own code, asking it to identify gaps and flaws, even being explicit that the code was written by a security threat so we really want to review it carefully. So when Gemini CLI came out I had to try it to compare, and that is when it hit me. ... After first playing off Claude against Gemini CLI on a single problem, where both did well, but I’ll give the edge to Claude in terms of the quality and approach and how much I had to give feedback.
🌐
YouTube
youtube.com › watch
Gemini CLI vs Claude Code vs Codex Compared! Should You Use an AI CLI? - YouTube
The latest Coding CLI currently available including Gemini CLI, Claude Code and OpenAI Codex CLI. Even Qwen Coding was recently released and the code cli lan...
Published   July 27, 2025
🌐
Google
developers.google.com › gemini code assist › gemini code assist overview
Gemini Code Assist overview | Google for Developers
November 18, 2025 - Note: Individual developers using the free version of Gemini Code Assist, Gemini Code Assist for individuals, can get access to higher daily model request limits by purchasing a subscription to Google AI Pro or Ultra. This will enable higher daily model request limits shared across Gemini Code Assist, Gemini CLI and agent mode.
🌐
Anthropic
anthropic.com › news › claude-4
Introducing Claude 4
New API capabilities: We’re releasing four new capabilities on our API that enable developers to build more powerful AI agents: the code execution tool, MCP connector, Files API, and the ability to cache prompts for up to one hour. Claude Opus 4 and Sonnet 4 are hybrid models offering two modes: near-instant responses and extended thinking for deeper reasoning.
🌐
Squadbase
squadbase.dev › en › blog › claude-code-vs-gemini-cli-vs-codex-cli-whats-the-best-choice-for-internal
Claude Code vs. Gemini CLI vs. Codex CLI
August 21, 2025 - Claude Code automatically reads ... instruction” stronger than regular conversation, it boosts output consistency. Gemini CLI lets you provide similar project context via GEMINI.md....
🌐
Ainativedev
ainativedev.io › home › news › choosing your next cli: codex, claude, warp, goose, or gemini?
Choosing your next CLI: Codex, Claude, Warp, Goose, or Gemini? | AI Native Dev
July 29, 2025 - Goose and Codex are good picks if you want to customize your tools or want pricing transparency. Gemini packs a punch for a low cost, so it’s a great option for budgeted development.
🌐
SourceForge
sourceforge.net › software › compare › Claude-Code-vs-Gemini-CLI
Claude Code vs. Gemini CLI Comparison
Compare Claude Code vs. Gemini CLI using this comparison chart. Compare price, features, and reviews of the software side-by-side to make the best choice for your business.