Gemini CLI Kinda Sucks (I Compared It With Claude Code)
11:57

Gemini CLI Kinda Sucks (I Compared It With Claude Code)

Ray Amjad 26.06.2025 22 789 просмотров 265 лайков обн. 18.02.2026
Поделиться Telegram VK Бот
Транскрипт Скачать .md
Анализ с AI
Описание видео
Join AI Startup School & learn to vibe code and get paying customers for your apps ⤵️ https://www.skool.com/ai-startup-school 📲 Stay up to date on AI with my app Tensor AI - on iOS: https://apps.apple.com/us/app/ai-news-tensor-ai/id6746403746 - on Android: https://play.google.com/store/apps/details?id=app.tensorai.tensorai CONNECT WITH ME 📸 Instagram: https://www.instagram.com/theramjad/ 👨‍💻 LinkedIn: https://www.linkedin.com/in/rayamjad/ 🌍 My website/blog: https://www.rayamjad.com/ ————— - Gemini CLI Announcement: https://blog.google/technology/developers/introducing-gemini-cli-open-source-ai-agent/ - Gemini CLI GitHub: https://github.com/google-gemini/gemini-cli - Claude Code: https://www.anthropic.com/claude-code Timestamps: 00:00 - Intro 00:48 - Getting Started 01:22 - Real World Example 01:54 - The Prompt 02:10 - Progress of Both 02:43 - Claude Code’s Result 04:38 - Review of Claude's Result 04:59 - Gemini CLI’s Progress 05:37 - Upgrading Gemini CLI's Plan 06:33 - Gemini CLI’s Progress (again) 09:48 - Token Usage 10:02 - Gemini CLI Commands 11:11 - My Conclusion

Оглавление (13 сегментов)

  1. 0:00 Intro 186 сл.
  2. 0:48 Getting Started 127 сл.
  3. 1:22 Real World Example 160 сл.
  4. 1:54 The Prompt 69 сл.
  5. 2:10 Progress of Both 111 сл.
  6. 2:43 Claude Code’s Result 445 сл.
  7. 4:38 Review of Claude's Result 83 сл.
  8. 4:59 Gemini CLI’s Progress 130 сл.
  9. 5:37 Upgrading Gemini CLI's Plan 214 сл.
  10. 6:33 Gemini CLI’s Progress (again) 666 сл.
  11. 9:48 Token Usage 60 сл.
  12. 10:02 Gemini CLI Commands 249 сл.
  13. 11:11 My Conclusion 191 сл.
0:00

Intro

Okay, so Google's Gemini CLI released earlier today, which is basically their cloud code competitor, and I'm going to compare to Cloud Code and see which performs better when it comes to a real world production application. Basically, right now it's free to use with up to 60 model requests per minute or a,000 model requests per day, which is already much cheaper than Cloud Code, which for $20 a month is 10 to 40 prompts of Cloud Code every 5 hours. Or for $100 a month, it's 50 to 200 prompts of Cloud Code every 5 hours. And it seems that in some cases it does perform better because this person talked about making a stock tracker app with cloud code and it performed well at first until the project became too big and then they gave it to Gemini CLI and then it continued to perform better whilst cloud code struggled and got lost and I imagine that's because cloud code is using Gemini 2. 5 Pro and that has a 1 million token context window compared to Claude for its 200,000 context window.
0:48

Getting Started

So anyways to get started you run this command and then you run gemini and then you pick a color scheme and then you will sign in with your Google account and it's pretty interesting that when you're starting a new project with cloud code and it's a full stack project using nextjs then it uses bootstrap CSS. So this is a prompt that's given to cloud code you can see in the GitHub and it uses material design principles for some reason and I think that's pretty annoying because most people nowadays are using tailwind CSS when they're using Nex. js. So yeah, I guess you want to explicitly specify to use Tailwind CSS instead of Bootstrap CSS when you're making any new projects with it.
1:22

Real World Example

Anyways, a realable example I use is Tensor AI and this is an application that I made for staying up to date with the latest AI news. So right now you can download it from the app store and you can put in your interest and it will only notify you about the AI news that it thinks is relevant to you. But basically what we're going to do is we're going to add a swiping left and right thing to go between the different news articles because right now I want to be able to swipe right and then go to next news article and swipe left and go back. And right now I'm using 11 Labs for the voice as well and I want to replace that with Miniax speech02 Turbo because it's cheaper. So I'm going to have Gemini CLI and Claude Code do both and see which one has a better implementation. Okay, so I duplicated
1:54

The Prompt

the folder Tensor AI and called it Tensor AI Cloud and I'm going to have both of them run in separate folders on the same files and see which one performs better. You can pause and see the prompt and we'll see which one performs faster and better. So I'm going to press enter now for both of them and then see how they get on. So it seems
2:10

Progress of Both

whilst cloud code is still navigating the directory, gem AI or Jimmy CLI has already completed a change. So I can press allow once. This looks pretty good. And we can also modify it with an external editor which I'll show you later. But let's press allow always for now so we don't have to keep allowing everything. So, one of the annoying things seems to be that it says rate limiting detected automatically switching from Gemini 2. 5 Pro to Gemini 2. 5 Flash for a faster response. Meanwhile, Cloud Code is still like navigating the whole code base. So, it's interesting to see what this will come up with.
2:43

Claude Code’s Result

So, it seems that Cloud Code is actually finished with everything even though it wasn't going as fast at the beginning. And it seems that Gemini here is kind of stuck because it switched from Pro to Flash for a faster response and now it's just like going around in circles probably. So, we'll give it another like 5 10 minutes to see if it actually does anything. Otherwise, it means it's actually stuck. So, I'm going to go inside the expo folder and run npm run start and then actually open it up on the iOS emulator and see if it achieves uh what I set out to achieve. So, I have the application open and Gemini is still going around in circles. So, we'll see if Claude's solution actually worked over here. So, if I open up an article, it says that pan gesture handler must be descent. So, actually what I'm going to do is I'm going to copy this and then drag the screenshot back into cloud and then tell it to fix it. So, we'll fix this and we'll see if it performs better this time. And now I made the update. So, we can try again one more time and open up the application simulator again. And now if we try this, swipe this way. And it seems to work pretty well. Like we can swipe left and right and switch between the articles over here. And it added a nice little like button or tracker over here so we know where we actually are. So, I'd say that Cloud Code did a pretty good job implementing this feature overall. and we're going to check the implementation for the audio feature instead. So, I'm going to test the audio generation quickly by pressing invoke over here, invoke function, and we'll see if it succeeds. So, unfortunately, it seems that cloud code did not implement the replicate thing properly because it says invalid version or not permitted. Uh, so I guess this is a simple fix because we just specify the version over here. So, if you just remove this part over here, then we have the correct version number and we can press save and then we can try one more time by pressing rerun. And yeah, it seems it successfully generated the audio this time. So, it's going to upload that to Mox and then uh yeah, let's listen to how it actually is. So, if you press listen, welcome to the Tensor AI daily digest. This setup helps developers rapidly iterate. And yeah, basically sounds perfect. Like this is the solution that I was looking for. So
4:38

Review of Claude's Result

overall, I think Claude Code did a pretty good job, but it did have some mishaps like the version name and adding it a string and ignoring the fact that it's meant to be wrapped in a gesture root handler. And it seems that Gemini CLI is still going around in circles ever since it switched to the flash model, unfortunately. So, I'm going to have to pause it or kill it over here. And then uh try it one more time. So
4:59

Gemini CLI’s Progress

it's interesting that after killing it, it used about 500,000 input tokens and only 4,000 output tokens. And uh if we compare that to Cloud Code, then Cloud Code actually did use it used 2,000 input tokens and 3,000 output tokens, but I think it like cashes pretty heavily here or something. Um but yeah, this is like pretty cheap for the solution that it made. Whereas Gemini, uh let's try one more time so we can avoid the pro mode. So I'm going to put in the same command that we had earlier and see how long it takes. So, it seems I got stuck in the same problem we had earlier where I switched from the pro tier flash model for faster response, but now it's having issues.
5:37

Upgrading Gemini CLI's Plan

So, now what we're going to do is we're actually going to upgrade to the standard tier. So, apparently to upgrade you need to use Gemini code assist agent mode. And uh the pricing is $19 a month per user when you pay upfront for an entire year or for no annual commitment, it's $23 a month. So, even though they say Gemini CLI has the highest usage limit in the market today, like if the usage limit gets stuck for the free tier, then you're going to have to upgrade anyway. And then it's just a case of which one is cheaper uh to do. So, I'm actually going to upgrade to the Gemini code assist standard over here. So, fortunately, it says first 50 users are free for the first month and then $22. 88 after that. So, if you press complete purchase, we don't have to pay anything for this month right now. Continue. Okay. Okay, so that was a bit of a hassle to get set up on the paid subscription. But these documentation or this documentation about authentication setup does help. So I'm going to do the same instructions again and then see how it performs instead of switching back to the flash model. And it seems like it
6:33

Gemini CLI’s Progress (again)

was much faster now because it probably already had it in the cache as well or something. Um but yeah anyway we can try the solution by going and switching the application exiting out of here and then go to a folder that was made for uh Gemini instead and then pressing I and seeing it on the emulator again. So if you go on the emulator uh we'll see how this solution if it managed to oneshot the problem more or less like how uh Claude code did. And it seems it led to a syntax error for some reason. So, I'll just take a screenshot of this, put it back into here, and say uh and then just press enter so it can look at the screenshot. And now, for some stupid reason, even though we gave it a local file screenshot, it can't see the screenshot or it can't look at the local file. So, that needs fixing. But for now, we can just copy the failing code over here and then paste it into here instead of using the screenshot. Okay. And now, if we try one more time, pressing reload, it seems that it's still having more issues. And it seems that these issues came from the fact that it just added a bunch of random code onto listen. txx page which I didn't really want. Uh so we can delete this and or undo those changes and then see what happens now. And uh it seems it just takes us to a listening page instead. So it completely misunderstood the instructions that I wanted it to understand. So I'll just revert this block instead and then uh try one more time. And I fell into the same trap that CL code did where it didn't add the actual roots view. So I'm going to paste the error back over here. And then it will fix that. And when we try swiping back and forth, it says try to synchronously call a nonwork alert. So it seems that Gemini is struggling way more here on than Cloud Code actually did. Um, which is quite unfortunate because I hope it perform better with the larger context window. Okay, now let's try swiping this time. And yeah, the swiping does work. It is a little bit more laggy uh than the swiping that Claude Code gave it. So, I'm not sure how the implementation is different. Um, and the direction seems to be messed up as well because for some reason it goes in the wrong direction. Now, I'll check if the audio generation works. And it seems to specify a version number over here, which I don't think I'm not sure where I got this version number from. I don't think that will work, but we will see like uh if this actually works by rerunning the function. And yeah, just as I expected, it did not work because it gave a 42:2 error. And that's because it should be making requests more like this instead. So, we can just copy this example and then go back to Gemini and uh then paste this example and use this to fix your audio generation. And it seems it did a better job over here. And it looks like this code will actually work. So, we'll go back to ingest and then we will press rerun over here. And we'll see if it generates the audio this time. And yeah, it seems to have generated the audio properly this time. So I can actually access the audio and welcome to the 10 subscription rather than the creators. Yeah, basically it sounds pretty good. Like uh it seems that Gemini CLI needed more guidance when it came to implementing something that was online or replicate in this case. So maybe it's something to do with the training data or like the fact that it doesn't think to use Google to actually double check or something.
9:48

Token Usage

But yeah, let's see how much use it actually used. So, we can type slash and then type in stats. And yeah, the total token usage minus something that I did earlier today is probably about 700,000. And I think they're actually measuring the token somewhat differently between these two because these figures seem pretty low over here. But yeah
10:02

Gemini CLI Commands

something else cool about Gemini is when you want to actually edit the code that I wrote. You can write in editor and then choose a default editor. And I chose cursor. So by default, it will automatically open up in cursor instead. And the other options you have available are like z vs code when surf and vim. A few other settings is that you can press chat and then you can write uh save. So you can say like save as whatever and then you can resume the chat by using the same chat ID and you can do chat list to see what chats you have available. So if you do close the terminal then you can resume the session quite quickly. Some of the other options it has available is compress docs MCP. So you can set up some MPC servers. You can do memory. I wonder what that is about. Memory uh show. And I guess this is a memory has from the current session or like the user's memory. So the user prefers Tailwind over Bootstrap for example. The other options is besides MP MCP stats theme. You can change a theme as well to any of these themes like GitHub doc and then it also has tools. So you can see which tool calls are available in Jimny CLI. Uh so it can search text, it can like write to files, it can do web search and Google search and so forth.
11:11

My Conclusion

But unfortunately it seems to be having issues with uploading local images that you took a screenshot of. And I hope that gets fixed in a future update. And hopefully the prompt gets improved or something because it added a bunch of random code that was not needed. So basically I think my overall conclusion is that whilst the gem does have a nice free usage tier, when you start hitting the usage t and it switches down to flash model, then it really struggles to accomplish anything and it gets stuck and probably the performance isn't as good and gem needed more guidance like documentation that I found online and also added some random files and just didn't add as good of a solution as cloud code did in this real world example. So I think going forwards I'll still be sticking to cloud code unless a gem CLI makes a significant update that massively improves its capability. And I hope they just improve the billing as well because a billing situation is pretty confusing of how to sign up for billing and then get it connected to Gemini CLI.

Ещё от Ray Amjad

Ctrl+V

Экстракт Знаний в Telegram

Транскрипты, идеи, методички — всё самое полезное из лучших YouTube-каналов.

Подписаться