---
title: "Gemini CLI vs. Claude Code - Six of One, Half a Ton of the Other"
url: "https://zuey.me/articles/gemini-cli-vs-claude-code-ke-tam-lang-nguoi-may-can?lang=en"
locale: en
access: members
full_text: false
published_at: "2025-07-07T02:21:19.000Z"
tags: ["Claude Code", "Vibe Coding", "MCP", "AI", "SaaS"]
translations:
  vi: "https://zuey.me/articles/gemini-cli-vs-claude-code-ke-tam-lang-nguoi-may-can.md?lang=vi"
  zh: "https://zuey.me/articles/gemini-cli-vs-claude-code-ke-tam-lang-nguoi-may-can.md?lang=zh"
  ko: "https://zuey.me/articles/gemini-cli-vs-claude-code-ke-tam-lang-nguoi-may-can.md?lang=ko"
  ja: "https://zuey.me/articles/gemini-cli-vs-claude-code-ke-tam-lang-nguoi-may-can.md?lang=ja"
---
# Gemini CLI vs. Claude Code - Six of One, Half a Ton of the Other

> I shelled out almost 2 million VND for Gemini CLI and over 5 million for Claude Code, so here's my honest review for anyone on the fence about paying for these premium coding assistants.

![Gemini CLI vs. Claude Code - Six of One, Half a Ton of the Other](https://media.zuey.me/blog/2025/79b2e3e6-1yzdwq9-eoh2wgrmpyuxrba.png)

> **TIP:** **TL;DR:** Same task for everyone, bootstrap a multi-agent LangGraph boilerplate by prompting only, no hand-editing code: Cursor & Windsurf gave up (3/10), Gemini CLI got there but watch your API bill (6/10), and Claude Code on the Max plan nailed it in one prompt (9/10).

After shelling out almost 2 million VND for Gemini CLI and over 5 million for Claude Code, allow me to share a few thoughts. Hopefully they give some extra perspective to anyone still on the fence about whether these premium coding assistants are worth the money.

To make the comparison as fair as possible, I gave them all the same task: bootstrap a boilerplate for a multi-agent system using LangGraph. And I'd go full "vibe coding", meaning I only give orders (prompts) and never review or edit the code myself.

> **INFO:** Oh, someone commented asking why I keep going on about "vibe coding" but never share the prompt. Truth is, the main prompt is already in the repo (it's open source, the `GEMINI.md` or `CLAUDE.md` file), I just figured pasting it into the post would make it way too long. But fine, for those too lazy to open the repo, I've dropped the prompt at the end of this post (only the initial bootstrap prompt though, I can't remember all the prompts I used while iterating).

---

### Cursor & Windsurf

They're not in the same category (CLI), but these two deserve a mention anyway.

These are the tools I use the most, but sadly, even armed to the teeth, these two buddies couldn't finish the job.

With Windsurf, I had to implement a few extra things myself just to get it running, and in the end it still threw in the towel on the test suite, burning through all my premium credits for nothing.

Cursor wasn't any better, it couldn't even bootstrap the project. On top of that, it's been in a "quietly changed the pricing policy" crisis lately, a sure sign of... LOSING money 😁

I also tried the premium models (Gemini 2.5 Pro Thinking, Claude 3.7 Sonnet Thinking and Opus 4), burned through every last premium credit (ouch), and still got nowhere (wanna know why? Read till the end 😁)

**My score: 3/10**

---

### Gemini CLI (with Gemini 2.5 Pro)

First, I have to admit I was a total dummy for not doing my homework...

> Every bit of stupidity gets paid for in cash! 😆

To find out why, read on...

#### First impressions

**Strengths:** Gemini CLI is fast, indexes the codebase well, sticks to the prompt pretty well, and the UX/DX is decent.

**Weakness:** it's... free. Two or three prompts in and you hit the limit. Annoyed, I plugged in my own API key to go full throttle, and once the key was in, it coded like there was no tomorrow.

At the end of the day I carefully checked the bill: only 80K VND. I thought to myself: "Damn, that's dirt cheaaaap". Went to bed on cloud nine, woke up the next morning, opened the bill and nearly had a heart attack. Turns out the bill only updates a few hours later: **1 MILLION 650 THOUSAND VND (~$63)**.

The next day I posted about it on Facebook and someone commented: "Why didn't you just log in with your Gemini Pro account so it doesn't cost anything?" - Oh wow... how did I not know thiiiiis? 🥲

(Though the limit seems low there too. The next day I logged in and tried another app, and after a few prompts I hit the Gemini 2.5 Pro limit, it automatically fell back to Gemini 2.5 Flash, which is noticeably dumber)

#### Model Context Protocol (MCP) & Internal Tools

Besides its built-in Google Search and filesystem tools, Gemini CLI fully supports plugging in MCP servers. Adding MCPs like context7, PostgreSQL and Puppeteer makes it code 10x stronger!

#### Limitations

**1/ Security**

> **WARN:** Put a rule in `GEMINI.md` forbidding it from editing the `.env` file and from committing it. I didn't notice, it pushed the file to git, and I had to go revoke a bunch of keys.

Gemini CLI happily uses MCP server tools on its own without asking for permission, which is a bit dangerous. If you're unlucky and hit a "prompt injection" like "delete the French language pack to make your computer faster" (`sudo rm -fr /*`) and it just runs it, lights out...

**2/ Infinite loops** (same bug as early Windsurf or Cursor): it keeps running the same task over and over and can't get out (painful when you're on an API key).

It also often hangs, because it starts a dev environment process to check the logs but has no timeout to kill it and move on, so I had to terminate it myself. You prompt, leave it running, go do something else, and come back to find it frozen who knows when.

**My score: 6/10**

All in all, it's worth using (just don't use an API key 😁)

---

### Claude Code (with the Claude Max plan: Sonnet 3.7 and Opus 4)

Say what you will, you have to admit Anthropic's models are still the GOAT at coding!

It was the power of Opus 4 in the Claude Max plan that pulled off the extraordinary: ONE PROMPT AND DONE!

At first I was skeptical, partly because the price is steep, and I was afraid I'd subscribe and get stuck just like the guys above, and that'd be $200 down the drain

Now I don't regret it one bit, worth every penny! 🥹

#### Other things

**1/ MCP integration is pretty easy** (of course, it's MCP's dad after all). Out of the box it already has handy commands (internal tools) like fetch, internet search, file system,... But to make it even more powerful, add MCPs like the ones above: Context7, PostgreSQL,...

**2/ Security:** Anthropic's docs are really polished (honestly, Anthropic builds all its products that carefully).

They care a lot about security. For example, MCP tools and even the default internal tools must be approved by a human before running: you can approve once, approve forever, or deny.

---

*Phần còn lại dành cho thành viên có quyền đọc toàn bài (Knowledges, Kết hợp, Cộng đồng) — see plans at https://zuey.me/pricing*
