ClaudeFolio

Claude vs ChatGPT vs Gemini for coding: plans, agents, and prices compared

How Claude, ChatGPT, and Gemini compare for building software: which plans include a coding agent, what each costs, and how Claude Code, Codex, and Google Antigravity differ.

·5 min read
Claude vs ChatGPT vs Gemini for coding: plans, agents, and prices compared

Claude, ChatGPT, and Gemini all started as chat apps, and all three now come with an agent that works inside your project. It reads the files, runs commands, and makes the edits itself. For building software, that agent matters more than the chatbot. Anthropic's is Claude Code, OpenAI's is Codex, and Google's is Antigravity.

This guide compares the three on what you get, what it costs, and how the agents work day to day. Prices and plan details come from each company's own pages and were checked on November 4, 2026. One disclosure up front: ClaudeFolio is a directory of projects built with Claude Code, and this site is run with it, so weigh the last section with that in mind.

What each plan costs, and which ones include the agent

All three companies sell a free tier, a plan around $20 a month, and pricier tiers that mostly buy higher usage limits. The table shows US monthly prices.

ClaudeChatGPTGemini (Google AI)
Free$0. Chat with Sonnet and Haiku. No Claude Code$0. "Limited Codex access"$0. Flash-Lite model, "basic weekly rate limits" in Antigravity
Around $20Pro, $20 ($17 a month billed yearly). Includes Claude Code and OpusPlus, $20. "Expanded Codex usage." Go is $8 and may show adsAI Pro, $19.99. Gemini 4 Argon and entry Antigravity limits. AI Plus is $4.99
Heavy useMax, $100 (5x Pro usage). Ultra, $200 (10x Pro usage each week)Pro, three tiers from $100. Adds GPT-6 Astra reasoning and longer Codex sessionsAI Ultra, $99.99, or $199.99 for 20x the AI Pro limits

The free tiers differ the most. ChatGPT and Google both let you try their coding agent at no cost, with small limits. Claude's free plan is chat only, and Claude Code starts at Pro. At about $20 the three line up closely: each includes its agent and the company's newest model family. That means Claude's Opus models (the newest, Opus 5.5, came out September 22, 2026), OpenAI's GPT-6 reasoning models, and Gemini 4 Argon, which Google announced in September 2026. OpenAI keeps its strongest reasoning, GPT-6 Astra, for the Pro plans.

None of them sell unlimited agent time. Anthropic says its Pro and Max plans have a five-hour session limit and a weekly limit, and the $100 and $200 tiers at all three companies exist mainly to raise caps like those. On Claude, chat and Claude Code draw from the same allowance, which this post covers in more detail.

As for the agents themselves, Claude Code and Codex look alike from a distance. Both install with one command, open in a terminal inside your project folder, and take plain-English tasks. Both also keep a project instruction file the agent reads at the start of each session.

Claude Code installs on macOS, Linux, and WSL with curl -fsSL https://claude.ai/install.sh | bash, and on Windows PowerShell with irm https://claude.ai/install.ps1 | iex. Besides the terminal, it runs in VS Code and JetBrains, in the Claude desktop app, and on the web. Its instruction file is CLAUDE.md. The getting started guide walks through the first session, and this guide covers the desktop app versus the terminal.

Close-up of a laptop screen showing JavaScript code in a dark code editor
Image Credit: Marc Mueller via Wikimedia Commons

Codex installs with curl -fsSL https://chatgpt.com/codex/install.sh | sh, and you sign in with your ChatGPT account the first time you run codex. Its /init command writes an AGENTS.md file "with instructions for Codex," which plays the same role as CLAUDE.md. For scripts and CI jobs it has codex exec, and OpenAI's docs also list an IDE extension and a cloud version.

Antigravity is Google's newer answer. Google calls it "our agent-first development platform that allows anyone to be a builder," and its plans set how much you can use the agent model inside it. One thing to know if you are following older tutorials: Gemini CLI, Google's open-source terminal agent (Apache 2.0), no longer serves individual accounts. Its README says free and Google AI Pro or Ultra access "moved to Antigravity CLI on June 18, 2026," and Gemini CLI is now for enterprise Code Assist customers. Guides that promise a generous free Gemini CLI quota are out of date.

Which one to pick

If you already pay for one of the $20 plans, start with the agent it includes. ChatGPT Plus, Claude Pro, and Google AI Pro each come with one, so trying it costs nothing extra. If you pay for none, ChatGPT and Google let you test their agents free, while Claude Code needs Pro from day one.

Every company says its model leads. Anthropic, for one, says Opus 5.5 "leads in agentic coding" on its own benchmarks. Vendor benchmarks are a starting point at best. A fairer test takes about an hour: copy a real project, give each agent the same small job (fix a failing test, or add a field to a form), and compare the changes each one makes. Look at whether it ran the tests, whether it touched files it didn't need to, and how much you had to correct.

For heavy daily use, the limits matter more than the model. If you keep hitting the five-hour or weekly cap, the $100 tier at any of the three is the next step. Claude Code also lets you trade depth for usage with effort levels, and you can switch to lighter models for routine work, as this comparison explains.

Our bias, stated plainly: we build and run ClaudeFolio with Claude Code, and the rest of these guides go deep on it. If you are deciding between the Claude chat app and Claude Code specifically, this post covers when to use each.

Sources

Steps

  1. Check the plan you already have

    If you pay for Claude Pro, ChatGPT Plus, or Google AI Pro, its coding agent is already included.

  2. Install the agent

    Install Claude Code, Codex, or Antigravity using the one-line command from the company's own docs.

  3. Sign in with your account

    Run the agent in a project folder and sign in with the same account as your subscription.

  4. Copy a real project

    Make a copy of a small real project so each agent starts from the same files.

  5. Give each the same task

    Ask each agent to fix a failing test or add a form field, using the same wording.

  6. Compare the changes

    Check whether each agent ran the tests, stayed in scope, and how much you had to correct.

Frequently asked questions

Is Claude better than ChatGPT and Gemini for coding?
Each company says its own model leads, and Anthropic says Opus 5.5 leads in agentic coding on its benchmarks. The fairest check is to give Claude Code, Codex, and Antigravity the same small task in a copy of your project and compare the changes.
Which AI coding agent can I use for free?
ChatGPT's free plan includes limited Codex access, and Google's free tier includes basic weekly limits in Antigravity. Claude's free plan is chat only, so Claude Code starts with the Pro plan at $20 a month.
How much does Claude Code cost compared with Codex?
Both start at $20 a month: Claude Code with Claude Pro, and Codex with expanded usage on ChatGPT Plus. Each company also sells tiers from $100 to $200 a month that mainly raise usage limits.
What happened to Gemini CLI?
Per its README, free and Google AI Pro or Ultra access moved to Antigravity CLI on June 18, 2026. Gemini CLI is still open source under Apache 2.0, but it now serves enterprise Gemini Code Assist customers.
What is the difference between Claude and Claude Code?
Claude is the chat assistant in the Claude app. Claude Code is the coding agent that works inside your project, reading files, running commands, and editing code. Both come with paid Claude plans and share the same usage allowance.
Do I need a separate subscription for the coding agent?
No. Claude Pro, ChatGPT Plus, and Google AI Pro each include their company's agent at about $20 a month. Higher tiers at all three mostly buy more usage before you hit the limits.

Built something with Claude Code?

ClaudeFolio is the directory of projects built with Claude Code. If this guide helped you ship something, the community would like to see it.

More guides