Claude Code vs Google Antigravity: Security Is the Catch

Published benchmarks, matching price ladders and each agent's worst moment, weighed for real repos

Published Updated

Claude Code vs Google Antigravity is a choice between a higher-scoring model inside the tools you already use and a single window built for running several agents at once. If you are picking a coding agent for real work rather than a demo, the published evidence puts Claude Code ahead, and its catch is security, not price. Nothing here comes from a hands-on run on our own repo: every number and claim below comes from published benchmarks, vendor pricing pages, announcements and reports.

The benchmark gap

Start with the scoreboard. On SWE-bench Verified, a coding benchmark, Anthropic's Claude Opus 4.5 scores 80.9 percent, ahead of Gemini 3 Pro at 76.2 percent. Gemini 3 Pro is the model Google built Antigravity around. Those scores were reported by VentureBeat and Vellum.

That gap matters because the model writes your patches. But a benchmark scores a model, not the agent you live with every day. So the first question is whether the lead even belongs to Claude Code.

Antigravity runs Claude too

Here is what weakens the lead: Antigravity can run Claude. Google's own announcement says the platform fully supports Anthropic's Claude Sonnet 4.5 and OpenAI's GPT-OSS alongside Gemini 3 Pro.

Read that list closely, though. It names Sonnet 4.5, not the Opus 4.5 that posted the higher score. By Google's own list, the leading model stays on Claude Code's side.

There is a second crack. Google's model card lists Gemini 3 Pro at the same 76.2% on SWE-bench Verified in a single attempt, so the scoreboard holds. But the same card shows its successor, Gemini 3.1 Pro, improving that score to 80.6%, a hair behind Opus. That figure is Google grading its own model, not an independent test. If it holds up, the models stop deciding this comparison, and price and fit start.

Two matching price ladders

So is either one cheaper? Not once you pay. On Anthropic's pricing, the Free tier does not include Claude Code at all. Access starts at Pro, $20 a month, and climbs through Max plans at $100 and $200. With Claude Code, your subscription pays for the model doing the work, so the intelligence is never free here.

Google restructured its AI plans at I/O this year into the same shape: AI Pro at roughly $20 a month, AI Ultra at $100 or $200. Those same plans set Antigravity's rate limits. At every paid rung, you pay about the same amount.

The difference sits at the bottom. Antigravity launched as a free public preview, and Google's ladder starts at Free, so there is a no-cost way in that Claude Code does not offer.

How far do those limits stretch? Developers on Google's own AI forum complain that even on a paid Antigravity tier, their Gemini quota ran out in a single prompt. That is their account of their own usage, not a measurement, and no figure here rests on it. Treat the free plan as a trial rather than a workday. Price is close to a tie, so the next test is whether the tool itself holds still.

Antigravity's six-month rebuild

Will the tool you learn this month look the same in six months? Google announced Antigravity in November 2025 with an Editor View for IDE-style work and a Manager Surface for spawning and watching several agents. In May 2026, Antigravity 2.0 turned it into a standalone desktop app built entirely around agent orchestration, replacing the original VS Code-style editor.

That is Antigravity's main catch: the tool you learn may not be the tool you keep. In a thread on Google's developer forum titled "I'm done with Antigravity," users called the new split between the IDE and the Agent Manager a downgrade, citing crashes and a lost split-window view. Those are user complaints, not a test. But if you want several agents running side by side while you watch them, that is the job Antigravity was built for.

Claude Code goes the other way: it comes to where you already work. It runs in the terminal, VS Code, JetBrains, a desktop app and the browser. Antigravity asks you to move into its own window, a desktop app for macOS, Windows and Linux.

On hardware, none of the material reviewed here lists requirements for either tool: no chip, memory or GPU floor is published for Claude Code or Antigravity. That editor-level fit is Claude Code's edge, but an agent inside your editor also sits next to your secrets.

Claude Code's trust problems

So can you trust Claude Code with your secrets? Picture approving a shell command that carries a database password, then clicking "Don't Ask Again." Claude Code saves that full command, password included, into a local settings file in your project. Security firm Apiiro scanned 104,185 public copies of that file and found 1,122 repositories exposing at least one secret. That is Claude Code's main catch: it remembers what you approve, in a file that can end up public.

It was not the only scare this fall. At the end of October, security researchers reported that two versions of the Claude Code extension distributed through the Cursor Marketplace carried a backdoor that installed a persistent SSH tunnel. Where you install the tooling from matters as much as what it saves. This month, a GitHub issue reported that its web-search tool put the user's email address into the User-Agent header sent to third-party sites.

The responses matter too. On that issue, an Anthropic-affiliated contributor said a newer version added a default-on privacy mod to block the email leak. And Goldman Sachs restricted Claude Code to engineers only in October, after previously letting traders and bankers use it: the bank narrowed who uses the tool rather than dropping it. Read together, the catch is real and it is manageable.

Claude Code vs Google Antigravity: which agent gets your repo

Claude Code still comes out ahead. Its model leads the published benchmark, and it lives in the terminal and editors you already use.

If you ship code daily from your editor or terminal, take Claude Code from the Pro tier up, and keep its settings file out of public repositories. If you want to try an agent before paying anything, take Antigravity on Google's free plan, and be ready for it to change shape again.

Use Antigravity instead of Claude Code when you want one window to spawn and watch several agents at once. Don't use Claude Code if nobody on your team will check what "Don't Ask Again" writes down.

Claude Code lives in Anthropic's claude-code repository on GitHub. The material reviewed here gives no install command for either tool, so start from Anthropic's documentation and Google's Antigravity announcement for setup steps. Remember one line: a benchmark picks the model, but your settings file decides whether you can trust the agent.

Sources