Best for · AI tools
Codex vs Claude Code vs Antigravity: price, models, limits and who each fits
- Last checked
- 5 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- Google Antigravity if you want to start free or like having Gemini and Claude models in one place.
- OpenAI Codex if you already pay for ChatGPT or want clear, published limits.
- Claude Code if you live in the terminal, want the deepest hooks, skills, MCP and CI setup, and are happy on Anthropic's models.
Compared here
- 01OpenAI Codex
- 02Claude Code
- 03Google Antigravity
Short answer
Antigravity is the cheapest way in: Google's pricing page lists a $0 individual tier with a weekly agent quota, and its Google AI Pro tier adds Gemini 4 models plus Claude Sonnet 5.5 and Opus 5.5. Codex rides on your ChatGPT plan: limited on Free and Go, full CLI, IDE, web and cloud on Plus at $20 a month, with published per-model message ranges per five hours. Claude Code needs a Claude plan from Pro ($20, or $17 a month billed yearly), and shares one usage pool with your Claude chats.
Pick Antigravity if you want to start free or like having Gemini and Claude models in one place. Pick Codex if you already pay for ChatGPT or want clear, published limits. Pick Claude Code if you live in the terminal, want the deepest hooks, skills, MCP and CI setup, and are happy on Anthropic's models.
Sponsored links. We may earn a commission; it never changes the pick.
At a glance
| Codex | Claude Code | Antigravity | |
|---|---|---|---|
| Made by | OpenAI | Anthropic | |
| Free way in | ChatGPT Free: quick tasks, desktop app, subject to rollout | No: Claude Free does not include Claude Code | Yes: $0 tier, weekly baseline quota |
| Entry paid | Plus $20 a month | Pro $20 a month or $17 billed yearly | Google AI Pro (price not shown on the page) |
| Models | GPT-6.x family (Sol, Astra, Terra, Luna) | Anthropic's Opus, Sonnet, Haiku | Gemini 4 family; Claude Sonnet 5.5 and Opus 5.5 on paid plans |
| Limits | Plus: published per-model ranges per 5 hours, weekly may apply; Pro no 5-hour limit | Five-hour session plus weekly; shared with Claude chat | Free weekly; paid refresh every 5 hours plus weekly |
| Overflow | Buy credits (Plus and Pro) | Usage credits on paid plans | Paid AI credit overages on Pro and Ultra |
| Surfaces | CLI, IDE extension, desktop app, web, cloud, mobile | Terminal, VS Code, JetBrains, desktop app, web, mobile | App, IDE, IDE extensions, CLI, SDK, web app |
| Bring an API key | Yes, CLI, SDK, IDE; no cloud features | Yes: Console or third-party providers in CLI, VS Code, JetBrains | Business pay-as-you-go via Google Cloud |
Money talk first. All three buttons go through our /go/ links. We have no confirmed affiliate deal with OpenAI, Anthropic or Google for these tools, so we most likely earn nothing either way, and it would not change the order if we did. We did not build the same app three times with a stopwatch. We read each vendor's pricing and docs pages on 3 December 2026; everything below comes from there.
Three agents, three business models
These three do roughly the same job: read your code, plan changes, edit files, run commands, and open pull requests. What differs is how you pay and whose models you get.
- Codex is part of your ChatGPT subscription. You get OpenAI's models.
- Claude Code is part of your Claude subscription (or an Anthropic Console account). You get Anthropic's models.
- Antigravity is Google's family of agent tools, with a free tier and, on paid Google AI plans, both Gemini and Claude models.
So the first question is not "which is smartest". It is "which subscription do I already have, or want".
Price and free access
Antigravity: Google lists an individual tier at $0 a month, no subscription required, with Gemini 4 Hydrogen and a "baseline agent quota refreshed weekly". Google AI Pro and Ultra are listed without prices on that page. Business via Google Cloud starts at $30 per seat per month, or pay as you go.
Codex: OpenAI's Codex pricing page lists:
- Free: quick coding tasks, GPT-6 Luna in the desktop app, "subject to rollout".
- Go, $8: lightweight coding tasks.
- Plus, $20: web, CLI, IDE extension and iOS, cloud integrations, GPT-6.1 Sol and GPT-6 Luna, buyable credits.
- Pro, from $100: tiers at $100, $200 and $500 a month.
- Business: $20 per user a month billed yearly ($25 monthly), two users minimum.
Claude Code: needs a paid Claude plan. Per Anthropic's pricing page, Free does not include Claude Code; Pro is $20 a month or $17 billed yearly; Max $100 (5x Pro usage); Ultra $200 (10x weekly, no five-hour limit for verified accounts). You can also use an Anthropic Console account or third-party providers in the CLI, VS Code and JetBrains.
If you have zero budget, Antigravity's free tier and Codex on ChatGPT Free are the only ways in.
Models
- Codex: OpenAI's GPT-6.x family. The limits table names GPT-6.2 Astra, GPT-6.2 Sol, GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Sol and GPT-6 Luna.
- Claude Code: Anthropic's Opus, Sonnet and Haiku, per the pricing page.
- Antigravity: Free gets Gemini 4 Hydrogen. Google AI Pro gets Gemini 4 Neon, Carbon and Hydrogen, an "Orchestrator", plus Claude Sonnet 5.5 (thinking) and Claude Opus 5.5 (thinking). Claude models are limited to non-trial subscriptions. Ultra adds "full access to third-party partner models". No GPT models are mentioned.
That Antigravity line is the interesting one. If you want to switch between Gemini and Claude without two subscriptions, Google's paid tier is the only one of the three that offers it. Our Antigravity vs Claude Code page goes deeper on that pairing.
Usage limits
All three meter you. Only one publishes numbers.
Codex (most transparent). For Plus and Standard Business, local messages per five hours, by model: GPT-6.2 Astra 6 to 50, GPT-6.2 Sol 17 to 180, GPT-6 Astra 5 to 45, GPT-6.1 Sol 15 to 160, GPT-6.1 Terra 35 to 285, GPT-6 Sol 15 to 150, GPT-6 Luna 350 to 3,000. Weekly limits may also apply. Local and cloud tasks share the allowance; cloud tasks may use more. Pro currently has no five-hour limit. After the limit, Plus and Pro can buy credits; OpenAI says a typical GPT-6.2 Sol task uses about 2 to 15 credits.
Claude Code. Anthropic does not publish message counts. It has a five-hour session limit and weekly limits, and usage across claude.ai, Claude Code and Desktop "counts towards the same usage limit". Paid plans can continue on usage credits if you turn them on.
Antigravity. Free: weekly baseline quota. Pro: higher quota refreshed every five hours, higher weekly limits, optional paid overages. Ultra: the highest. Google says limits vary by plan, trial status and task complexity, and trials may get lower quotas.
If predictable limits matter to you, Codex wins on paper simply because it tells you.
Where each one runs
- Codex: CLI, IDE extension, desktop app, ChatGPT on the web, Codex cloud and the mobile app; SDK and
codex execfor scripts. With an API key, CLI, SDK and IDE only, no cloud features such as GitHub review or Slack. - Claude Code: terminal (macOS, Linux, WSL, Windows), VS Code and Cursor extension, JetBrains plugin, desktop app (Mac, Windows, Linux beta), web at claude.ai/code and the mobile apps. GitHub Actions and GitLab CI, GitHub Code Review, Slack routing on Team and Enterprise.
- Antigravity: the Antigravity app, IDE, IDE extensions, CLI, Python SDK and a web app. The pricing page mentions parallel background agents, subagents, browser use and scheduled tasks. It does not list operating systems.
Setup and customisation
This is where Claude Code is furthest along, going by the docs we read:
- CLAUDE.md project instructions read every session, and it can read an existing AGENTS.md instead.
- Auto memory across sessions.
- Skills for repeatable workflows, hooks that run shell commands before or after actions.
- MCP to connect Jira, Drive, Slack and your own tools.
- Subagents and background agents in parallel, plus an Agent SDK.
- Scheduled tasks in the cloud or on the desktop.
Codex has an SDK, scripted runs and cloud tasks. Antigravity lists subagents, background agents and scheduled tasks. Neither pricing page goes into the same depth on customisation, so we will not claim feature parity either way.
Who should pick which
- Pick Antigravity if you want to start free, you already pay for Google AI Pro, or you want Gemini and Claude models under one roof. Try it at vectaai.com/go/antigravity.
- Pick Codex if you already pay for ChatGPT, want published limits, or like kicking off cloud tasks from your phone. It comes with ChatGPT.
- Pick Claude Code if you live in the terminal, want hooks, skills, MCP and CI wired in, and are fine sharing one pool with your Claude chats. Start at Claude Pro.
And the honest tip: they all have a cheap or free way in. Spend a week on each with your real repo before you commit to a yearly plan.
More comparisons
- Codex vs Claude Code vs Gemini CLI for the terminal-only version of this fight.
- Cursor vs Claude Code vs Codex if you want an AI editor in the mix.
- Windsurf vs Cursor vs Antigravity for the IDE angle.
- Best AI model for coding if you care about the model more than the tool.
How we checked
We read Antigravity pricing, OpenAI's Codex pricing, the Claude Code overview, Claude pricing and Anthropic's usage limits article on 3 December 2026. Google AI Pro and Ultra prices were not shown on Antigravity's page, and Antigravity's supported operating systems were not listed. We did not benchmark code quality. Vendor pages win if they change. Method: how we pick.
Questions people ask
Which is better, Codex, Claude Code or Antigravity?
It depends on what you already pay for. Antigravity is the only one with a $0 tier and offers Claude models on Google's paid plans. Codex comes with ChatGPT, from limited Free access to full use on Plus. Claude Code needs Claude Pro or higher and has the most built-out setup for hooks, skills, MCP and CI.
Is Antigravity free?
Google's pricing page lists an individual tier at $0 a month with no subscription required, using Gemini 4 Hydrogen and a baseline agent quota refreshed weekly. Google AI Pro and Ultra raise the quota, refresh it every five hours and add more Gemini models plus Claude Sonnet 5.5 and Opus 5.5, limited to non-trial subscriptions.
Can I use Claude models in Antigravity instead of paying for Claude Code?
On Google AI Pro, Ultra and Business, Antigravity's pricing page lists Claude Sonnet 5.5 and Opus 5.5 with thinking. Trials do not get the Claude models, and Business needs an admin to opt in. You get the models, not Claude Code itself: no CLAUDE.md, Claude Code hooks or skills, and Google's quotas instead of Anthropic's.
How much Codex do I get on ChatGPT Plus?
OpenAI's Codex pricing page lists ranges of local messages per five hours on Plus, by model: for example 17 to 180 on GPT-6.2 Sol and 350 to 3,000 on GPT-6 Luna. Weekly limits may also apply, cloud tasks share the same allowance, and you can buy credits after hitting the limit. Pro currently has no five-hour limit.
Does Claude Code use the same limit as Claude chat?
Yes. Anthropic says usage across claude.ai, Claude Code and Claude Desktop counts towards the same limit, with a five-hour session and a weekly limit. A heavy coding morning leaves less chat for the afternoon. Max at $100 gives 5x Pro, and Ultra at $200 removes the five-hour limit for verified accounts.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- Google Antigravity pricing, checked 3 Dec 2026
- OpenAI Codex pricing, checked 3 Dec 2026
- Claude Code docs: Overview, checked 3 Dec 2026
- Claude pricing, checked 3 Dec 2026
- Claude help center: Understanding usage and length limits, checked 3 Dec 2026