Skip to content

Claude Code vs Codex vs Antigravity: which fits your work?

Claude Code, Codex and Google Antigravity compared on plans, models and daily workflow, plus how to run Claude Code and Codex on one repository.

Updated November 3, 2026Markdown version

Claude Code, Codex and Google Antigravity are coding agents from Anthropic, OpenAI and Google. Each is built around its maker's models, so the right one follows the models you prefer and the plan you pay for, not a single winner. One 5abeer Bundle plan runs all three, so you can test each yourself.

How do Claude Code, Codex and Antigravity compare?#

All three read and change your code to finish a task you describe. This table follows each maker's own docs, checked on 2026-11-03:

Claude CodeCodexGoogle Antigravity
Made byAnthropicOpenAIGoogle
Models with 5abeerClaudeGPTGemini
Where it runsTerminal, IDE extensions, desktop app, browserTerminal, IDE extension, ChatGPT desktop app, Codex cloudDesktop app, terminal (agy), IDE extensions
Official sign-inA paid Claude plan or an Anthropic Console accountAny ChatGPT plan, or an OpenAI API keyA Google Account, Gemini Enterprise or a Gemini API key

Claude Code also accepts another API endpoint through ANTHROPIC_BASE_URL, and Codex another model provider in config.toml. That is how both run on a 5abeer key.

Which plan does each one need?#

On the makers' own plans, as their pages read on 2026-11-03:

  • Claude Code: Anthropic includes it in Claude Pro, Max and Ultra, not in its no-cost plan. An Anthropic Console account works too.
  • Codex: OpenAI includes it in every ChatGPT plan, the no-cost one too. Usage depends on the model, the task and whether it runs locally or in the cloud. Extra local chats can run on an API key, at standard API rates.
  • Google Antigravity: Google lists an Individual level at no charge, and its Google AI Pro and Ultra plans raise the limits.

The official OpenAI and Anthropic prices, each row with its source and the date we checked it:

PlanMarket and channelOfficial priceBillingSourceChecked
ChatGPT GoUnited States · Vendor website$8per monthopenai.com2026-10-31
ChatGPT PlusUnited States · Vendor website$20per monthhelp.openai.com2026-10-31
ChatGPT Pro 100United States · Vendor website$100per monthhelp.openai.com2026-10-31
ChatGPT Pro 200United States · Vendor website$200per monthhelp.openai.com2026-10-31
ChatGPT Pro 500United States · Vendor website$500per monthhelp.openai.com2026-10-31
Claude ProUnited States · Vendor website$20per monthclaude.com2026-10-31
Claude ProUnited States · Vendor website$200per yearclaude.com2026-10-31
Claude MaxUnited States · Vendor website$100per monthclaude.com2026-10-31
Claude UltraUnited States · Vendor website$200per monthclaude.com2026-10-31
The vendors' own prices as published at the source on the date checked; they can change. Tax: per Anthropic's pages, some countries include tax in the displayed price and others add it at checkout.

Google's prices are in Google Antigravity explained. For paid limits in more than one tool, you pay each maker separately.

Which models does each one run?#

Claude Code runs Claude models and Codex runs GPT models. Antigravity is built on Gemini, though Google's own picker also offers some Claude models and OpenAI's GPT-OSS. In Claude Code and in Codex, you switch models during a session with /model, or when you start the tool with --model. These are the newest models in each, at our price per million tokens:

per 1M tokens

Official price from the provider's page, checked October 19, 2026.

All models and prices
per 1M tokens

Official price from the provider's page, checked October 19, 2026.

All models and prices

With 5abeer, Google Antigravity runs Gemini models, listed on Models that run in Google Antigravity. To choose within a family, read Which Claude model to use and Which GPT model to use.

How do Claude Code and Codex differ day to day?#

Most differences are in file names and commands:

Claude CodeCodex
Settings file~/.claude/settings.json, or .claude/settings.json in a project~/.codex/config.toml, or .codex/config.toml in a trusted project
Project instructionsCLAUDE.md, or AGENTS.md when there is no CLAUDE.mdAGENTS.md
Add an MCP serverclaude mcp addcodex mcp add
Run one task without the interactive sessionclaude -p "<task>"codex exec "<task>"
Split work across agentsSubagentsSubagents
Work away from your computerWeb sessions, GitHub Actions, GitLab CI/CDCodex cloud, GitHub Actions

How do you run both on one repository?#

To keep one set of rules for both tools:

  • One instructions file. Keep your project rules in AGENTS.md. Codex reads it in each folder from the Git root down to your working folder, and closer files take priority. Claude Code, from v2.1.277, reads it only when there is no CLAUDE.md, .claude/CLAUDE.md or CLAUDE.local.md in your working folder or above it. If you also keep a CLAUDE.md, start it with an @AGENTS.md line so Claude Code reads both.
  • Two files that break it. Adding a personal CLAUDE.local.md is enough to make Claude Code skip AGENTS.md; the claude-md-and-agents-md value of Project instructions in /config loads both. And in any folder that has an AGENTS.override.md, Codex reads that file instead of the folder's AGENTS.md, while Claude Code never reads it, so put rules for both tools in AGENTS.md, not in an override.
  • Or let Codex read your `CLAUDE.md`. Add project_doc_fallback_filenames = ["CLAUDE.md"] to Codex's config.toml, and Codex reads CLAUDE.md in folders that have no AGENTS.md. By default it stops adding instruction files after 32 KiB in total.
  • MCP servers go in two files. Claude Code writes project servers to .mcp.json when you add them with --scope project; without it, a server is yours alone. Codex reads project servers from .codex/config.toml, only in a trusted project. Both files sit in the repository, so you can commit them.
  • Moving from Codex. Claude Code's /import codex copies the Codex instruction files, MCP servers, commands, subagents and skills on your computer into Claude Code. Add --dry-run to see the list first. It isn't available when telemetry or feature-flag fetching is off.

Which one fits your work?#

Each fits a different starting point:

  • You prefer Claude's answers, or your team already keeps CLAUDE.md files: start with Claude Code.
  • You use ChatGPT every day and want the same account in the terminal and the ChatGPT desktop app: start with Codex.
  • You build on Gemini, or already pay for Google AI Pro or Ultra: start with Google Antigravity.

To decide, give the same real task to two of them and compare the result, the time and how much of your limit or balance it used.

What does each one cost to run?#

Claude Code and Codex run on a plan or on an API key billed per token. Antigravity runs on a plan, and only its CLI can also run on a Gemini API key. On a plan, your work counts against the plan's usage limits, and long agent sessions reach them sooner. On a key, every request is billed by its model and token count, and a coding agent sends far more tokens than you type, because each turn carries the conversation, the files it read and its command output.

Per Anthropic's docs, when ANTHROPIC_API_KEY is set, Claude Code uses that key instead of your Claude plan, even when you are signed in. An interactive session asks you to approve it once.

Use every model priced per token through the API for 70% less than its official price.

For real numbers, read The cheapest way to run Claude Code and Codex CLI with an API key.

Can one 5abeer plan run all three?#

Yes.

Every Bundle plan runs every official app, from the smallest to the largest.

5abeer's Bundle plans are Pro, Max (formerly Max 5x) and Ultra (formerly Max 20x). Each runs Claude Code, Codex and Google Antigravity on your own official account, through the 5abeer AI app on Mac, Windows or Linux. They are not the Anthropic or OpenAI plans with the same names. Our prices, as on the pricing page, in your currency:

5abeer Bundle plans
5abeer planBest forUsage limitsOur price
ProFor everyday useA 5-hour limit and a weekly limit15.99 / month
Max (formerly Max 5x)For heavy daily work5× the Pro plan limits69.99 / month
Ultra (formerly Max 20x)If you work with it all day20× the Pro plan limits139.99 / month

5abeer's Max has 5 times the limits of 5abeer's Pro, and 5abeer's Ultra has 20 times. Each plan has one 5-hour limit and one weekly limit that cover all your apps, as in Usage limits. We don't promise limits matching Anthropic's or OpenAI's plans. The Claude Code, Codex and Google Antigravity pages show what you get in each.

Plans are for the supported apps. To use the models from your own code, create an API key.

How do you use them with 5abeer keys?#

To pay per token instead, give each tool its own key. A 5abeer key works with one provider's models, so Claude Code needs a Claude key and Codex a GPT key, and both draw on the same balance, as in One key per provider. Claude Code uses our Anthropic base URL, and Codex our OpenAI one:

OpenAI-compatiblehttps://api.5abeer.ai/v1Authorization: Bearer <KEY>
Anthropic-compatiblehttps://api.5abeer.aix-api-key: <KEY>
Geminihttps://api.5abeer.ai/v1betax-goog-api-key: <KEY>

The steps are in Claude Code setup and Codex CLI setup. On a plan, the 5abeer AI app sets up each tool for you, with no key and no files to edit.

FAQ#

Is Claude Code better than Codex?#

Neither wins every task. The better choice depends on which maker's models do better on your own work, and only a test on a real task shows that.

Can I use them without a paid plan?#

Two of them, on their makers' terms. OpenAI includes Codex in its no-cost ChatGPT plan, and Google lists an Individual level of Antigravity at no charge. Claude Code needs a paid Claude plan or an Anthropic Console account.

Can I use Claude Code and Codex on the same project?#

Yes. Both can read one AGENTS.md, while each tool keeps its own settings and MCP servers. The details are in How do you run both on one repository?

Does time in Codex count against my Claude Code limits on a 5abeer plan?#

Yes. Every app you turn on with one subscription counts against its 5-hour and weekly limits, so a long Claude Code session leaves less for Codex, and the other way round.

Can I pay for only Claude Code or only Codex?#

Yes. 5abeer's Claude plan runs Claude Code and the other Claude apps, its GPT plan runs ChatGPT Desktop and Codex, and its Gemini plan runs Google Antigravity. On an API key, you pay only for the requests you send.

Does a 5abeer plan work in Claude Code on the web or on my phone?#

No. A 5abeer plan works in the desktop and terminal apps through 5abeer AI on Mac, Windows or Linux, not in the phone apps or on the websites.

Get started#

One subscription for every AI app shows how to turn on each app. Or pick a Bundle plan and give Claude Code and Codex the same task.

Choose a Bundle planClaude Code, Codex and Google Antigravity on one subscription.

Sources#

Checked on 2026-11-03: