[HTML payload içeriği buraya]
27.5 C
Jakarta
Saturday, May 16, 2026

Codex CLI vs Gemini CLI vs Claude Code: Which is the Greatest?


In 2025, a number of AI coding assistants have been launched, which may be accessed immediately from the terminal. Codex CLI, Gemini CLI, and Claude Code are a number of the fashionable names that embed massive language fashions into command-line workflows. These programming instruments that may generate and repair code through pure language prompts are actually unbelievable. We doc our analysis of all three of those throughout totally different duties to find out which is most helpful.

Every assistant relies on a complicated AI mannequin like o4-mini, Gemini 2.5 Professional, or Claude Sonnet 4 to reinforce productiveness. We place each in the identical surroundings and take a look at them with particular metrics on lifelike programming duties. Various from internet growth to knowledge evaluation, by way of this, we goal to make the strengths of every agent clear!

Meet the Contenders: Codex CLI, Gemini CLI & Claude Code

The command line is rapidly turning into a battleground for the subsequent era of AI coding assistants. Corporations, together with OpenAI, Google, and Anthropic, have launched superior CLI-based AI coding assistants, every with very highly effective and spectacular capabilities immediately into the terminal. However what are the variations, and which is finest on your workflow? Let’s go over the instruments. 

Codex CLI: OpenAI’s Code-Centric Terminal Agent

Codex CLI features like a sensible terminal assistant for coding. It listens to what you say to it and creates code. Codex CLI has entry to your shell and file system. It might probably scaffold a undertaking, write a perform, and repair a bug. Codex CLI is using OpenAI’s Codex fashions within the background. You utilize plain English to inform Codex CLI what code you prefer to for a job. Then the CLI suggests new code and information. Codex CLI helps a number of languages, together with Python, JavaScript, and Go.

Codex CLI

Gemini CLI: Google’s Terminal Agent

Gemini CLI by Google brings collectively the strengths of the Gemini 2.5 Professional mannequin with entry to the terminal and filesystem to be able to create an uninterrupted coding and utility assistant for builders. It may be used for rather more than easy code era. Gemini CLI is adept at finishing duties in actual time, equivalent to acquiring reside info or operating shell instructions. Developed on the Google infrastructure and built-in with varied instruments equivalent to VS Code AI, Gemini CLI offers utility throughout terminals and IDEs.

Gemini CLI

Claude Code: Anthropic’s CLI Assistant

Claude Code is a number one coding AI made for high-performance terminal workflows. It’s primarily based on Claude Sonnet 4 and may simply deal with end-to-end software program growth features. Similar to writing new modules to operating assessments, to mechanically creating pull requests. Claude Code goals to offer depth, consistency, and certified codebase navigation. Whereas it’s skill-based and closed-sourced. So in case you are knowledgeable software program developer searching for AI that may perceive and evolve massive, complicated initiatives, Claude Code is for you.

Claude Code

Codex CLI vs Gemini CLI vs Claude Code: Abstract

CharacteristicCodex CLIGemini CLIClaude Code
Mannequin SpineOpenAI Codex (o4-mini)Gemini 2.5 ProfessionalClaude Sonnet 4
Context Window128K tokens1 million tokens~200K tokens (approx)
Set upnpm set up codex-clinpm set up @google/gemininpm set up claude
License SortBusiness OpenAI phrasesOpen-source (Apache 2.0)Business, subscription-based
Native File System EntrySureSureSure
Shell Command ExecutionNative through shell integrationNativeNative
Distinctive FunctionalityQuickest response timeActual-time internet search + commandFull codebase mapping & PR era
Superb ForBuilders needing fast iterationBalanced dev + utility workflowsSuperior workforce growth
Net IntegrationNo reside internet searchBuilt-in Google SearchNone – code-focused solely

How We Examined Them: Setup, Metrics & Duties

Testbed & Surroundings: All of the CLI-based AI coding assistants had been examined utilizing an area workstation operating Ubuntu 24.04. The brokers Codex CLI (primarily based on OpenAI’s o4-mini), Gemini CLI (Gemini 2.5 Professional), and Claude Code (Claude Sonnet 4) had been put in through npm or pip. Codex CLI and Claude required Node.js and legitimate API keys. Gemini CLI required a Google login for authentication.

Analysis Metrics That Matter: We evaluated every agent primarily based on 5 standards: 

  • Code correctness
  • Code era velocity
  • Simplicity of prompts
  • Output readability
  • Dealing with of errors

These measures take a look at not simply efficiency, however how usable and dependable a developer can anticipate the brokers to be in an actual workflow.

Actual-World Duties Used within the Battle: Every agent was tasked with three duties to check versatility:

  • Construct a recreation just like Tremendous Mario.
  • Construct a Climate Clock that presents the time and the climate.
  • Start exploratory knowledge evaluation (EDA) in Python utilizing the Nike_Sales_Uncleaned.csv dataset.

Codex CLI vs Gemini CLI vs Claude Code: Job-by-Job Faceoff

Job 1: Making a Tremendous Mario Sport 

Purpose: Construct a fundamental 2D Mario-style recreation

Immediate: “Create a fundamental 2D Tremendous Mario-style platformer recreation. The sport ought to function a easy tile-based format with Mario standing on floor blocks, a background sky with clouds, a query mark block above him, and a inexperienced pipe close by. Embody fundamental mechanics like left/proper motion and leaping utilizing keyboard arrow keys. Simulate gravity and collision with platforms. Use pixel-art fashion graphics with embedded or referenced native property.”

Gemini CLI:

Codex CLI:

Claude Code:

CLI Comparability

  • Claude Code: Greatest and most related of all three. It additionally makes use of the pixelated model, and the consumer has full management over Mario. It additionally exhibits the thriller bins for cash and power-ups, however nothing occurs when Mario hits them.
  • Codex CLI: created an interface with a pixelated interface, however was not in a position to play the sport as Mario is trapped contained in the inexperienced field.
  • Gemini CLI: created an interface with a block format interface and in a position to play the sport, however the factor is it doesn’t observe the unique guidelines, prefer it permits me to cross by way of the objects and leap mechanically when Mario reaches close to the sting with out urgent the leap key.

Claude Code excels in recreation dealing with logic from each Codex and Gemini. It exhibits constant controls, gravity, and collision, and delivers essentially the most immersive gameplay expertise.

Job 2: Climate Clock App

Purpose: Construct a clock UI with reside climate updates

Immediate: “Design and develop a visually wealthy weather-themed dynamic clock dashboard utilizing solely HTML, CSS, and JavaScript. The primary purpose is to create a real-time clock interface that not solely shows the present time but in addition visually adapts to the time of day. Implement 4 animated background transitions representing dawn, midday, sundown, and night time, every with distinctive colours and animated components like shifting clouds, twinkling stars, or a rising/setting solar/moon, and provide a toggle between 12-hour and 24-hour time codecs. For an added layer of interactivity, embody a piece that shows a rotating motivational or productiveness quote primarily based on the hour.”

Gemini CLI:

Codex CLI:

Claude Code:

CLI Comparability

  • Claude Code: Claude Code offered essentially the most visually profound and feature-complete consequence. It carried out 4 animated themes with clean transitions and interactive components equivalent to shifting clouds and celestial our bodies. Moreover, Claude Code got here with an auto-theme mode, shifting the backgrounds primarily based on system time. The 12/24-hour toggle and quote-randomization options had been seamlessly finished.
Claude Code Output
  • Codex CLI: Codex CLI had carried out the entire required features and execution, however lacked visible design and polish. The consumer expertise felt antiquated, with static styling and uninspired format. Functionally, it was sound, however design execution was the weakest among the many three.
Codex CLI Output
  • Gemini CLI: Gemini CLI used a hard and fast background, i.e, no animation, which introduced down some visible richness. Nevertheless, Gemini was nonetheless a cleaner interface than Codex. Gemini made on a regular basis show and quote-randomization work appropriately, however lacked interactivity and dynamism within the general expertise.
Gemini CLI Output

To summarize, Claude Code was forward in UI logic and the general consumer expertise. It introduced collectively sound performance, participating visible transitions, interactive components, and circulation within the consumer interface. Codex delivered on the fundamental purposeful necessities however lacked the UX, and Gemini had a average visible design however very low dynamism.

Job 3: Performing EDA (Exploratory Information Evaluation)

Purpose: Clear, analyze, and visualize a dataset

Immediate: “Carry out Information Evaluation and Exploratory Information Evaluation (EDA) on the dataset offered in the identical listing. The complete evaluation needs to be carried out and saved in a Jupyter Pocket book file named eda.ipynb. Start by loading the dataset and inspecting its construction, together with column names, knowledge sorts, and abstract statistics. Proceed to wash the information by dealing with lacking values, correcting knowledge sorts if mandatory, and eradicating any duplicates. Conduct univariate evaluation to grasp particular person options, after which carry out bivariate and multivariate evaluation to uncover relationships between variables. Use clear and related visualizations to assist your insights. Arrange the pocket book with correct Markdown headings and explanations for every step. Conclude with at the least three key observations or insights drawn from the information.”

Gemini CLI:

Codex CLI:

Claude Code:

CLI Comparability

  • Claude Code: Claude Code produced a whole professional-grade EDA. It accomplished every bit of the instruction from the immediate, together with the output being organized into three folders:
    • A Plots folder containing all of the generated visualizations
    • A Code folder containing the clear, reproducible pocket book
    • The visuals had been acceptable, and the insights had been reported clearly.
  • Codex CLI: Codex CLI produced a usable however partial answer. It produced the required code and suitably adopted the EDA steps, but it surely didn’t produce any visualizations or present a abstract of essential insights. The pocket book didn’t have any ultimate analytical conclusions, nor markdown explanations to help in interpretation.
  • Gemini CLI: Gemini CLI was unable to finish this job. It was unable to finish the EDA pipeline and in the end produced an incoherent pocket book. There have been many cases of dataset loading failing, no visualizations, and plenty of incomplete code blocks.

Claude Code is the one for EDA and knowledge evaluation. It not solely completes the total analytical workflow but in addition organizes the outputs properly and delivers well-structured insights helpful for each single-user knowledge work and team-based environments. Codex may very well be a helpful backup; nonetheless, Gemini CLI isn’t acceptable for this.

Codex CLI vs Gemini CLI vs Claude Code: Total Evaluation

Claude Code provides a transparent construction and documentation, and is sweet to execute. It dealt with the sport logic and error dealing with with out subject. Codex CLI was quick and versatile, however required some guide intervention. Gemini CLI gave a agency basis and appeared quick. Its polish and documentation had been missing; it suffered essentially the most within the EDA project, lacking core outputs and structural completeness.

In velocity, Codex CLI was quickest, adopted by Gemini and Claude. Claude was the best for immediate engineering. Every CLI was suited nicely to particular workflows. Claude was sturdy on logic-heavy work, Codex can be finest in speed-focused workflows, and Gemini was appropriate for fundamental structured implementations missing refinement.

Conclusion

Claude Code was one of the best throughout all duties, offering the highest quality code, consumer expertise, and full vary of options. Whereas it was not the quickest AI coding assistant, its completed merchandise had been polished, documented, organized, and perfect for skilled workflows with a variety of belief concerned. Codex CLI was the quickest, and an important alternative utilizing to creating fast prototypes or if there was a time constraint on the coding work. 

Gemini CLI was cheap for fundamental builds, however had points with not being quick, polished, or organized for a lot of varieties of labor. It had points with knowledge evaluation duties that required organized or insightful content material. Total, all instruments have totally different matches, however Claude Code offers essentially the most constant depth relating to being a command-line AI coding assistant.

Ceaselessly Requested Questions

Q1. What’s a CLI AI assistant, and the way does it work?

A. A CLI (Command-Line Interface) AI assistant permits customers to work together with an AI mannequin immediately by way of the terminal, automating duties like coding, debugging, and content material era utilizing pure language prompts.

Q2. Which AI terminal assistant is quickest?

A. Codex CLI presents the quickest response instances, adopted by Gemini CLI, with Claude Code being the slowest of the three. Nevertheless, velocity comes at the price of polish and completeness in lots of instances.

Q3. Which software is finest for growth?

A. Claude Code demonstrated superior growth capabilities, creating essentially the most playable and visually interesting Tremendous Mario-style recreation with correct physics, collision detection, and interactive components like thriller bins.

This autumn. Can Codex CLI, Gemini CLI and Claude Code work with present codebases?

A. Sure, all three instruments have native file system entry and may work with present initiatives. Claude Code notably excels at understanding and navigating massive, complicated codebases.

Q5. Is Claude Code at all times the only option?

A. Claude Code presents essentially the most balanced efficiency throughout duties, particularly for professional-grade initiatives, but it surely isn’t the quickest.

Hiya! I am Vipin, a passionate knowledge science and machine studying fanatic with a robust basis in knowledge evaluation, machine studying algorithms, and programming. I’ve hands-on expertise in constructing fashions, managing messy knowledge, and fixing real-world issues. My purpose is to use data-driven insights to create sensible options that drive outcomes. I am desperate to contribute my expertise in a collaborative surroundings whereas persevering with to study and develop within the fields of Information Science, Machine Studying, and NLP.

Login to proceed studying and luxuriate in expert-curated content material.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles