aicharts

CodexvsClaude CodevsAntigravity CLI

The best AI coding agent, measured on Terminal-Bench with every current modelAntigravity CLI replaced Gemini CLI[4]Data checked Compare models

Answer

Claude Code and Antigravity CLI are level at the top of Terminal-Bench, within two tasks of each other: 65.8% for Claude Code with Claude Fable 5.2 ($49.98 per task) and 64.5% for Antigravity CLI with Gemini 4 Carbon ($4.12 per task). Claude Code's top run costs 12× as much per task as Antigravity CLI's. Codex peaks at 62.1%, with GPT-6.2 Astra for $4.27.[1] Codex gives the highest score below $4.12 per task, and Claude Code from $14.30, up to 65.8%. In between, Antigravity CLI leads, at 64.5%. From $4.12 per task, Antigravity CLI with Gemini 4 Carbon comes within two tasks of the top score; paying more buys at most 1.2 points.

Claude Fable 5.2 in Claude CodeGemini 4 Carbon in Antigravity CLIModels in CodexOther models in Claude CodeOther models in Antigravity CLI

0%10%20%30%40%50%60%70%$0.25$0.5$1$2$5$10$25$50Pareto frontierCost per task (log)G4 CarbonFable 5.2
Claude Fable 5.2 in Claude Code · 65.8% on Terminal-Bench · $49.98 per taskGemini 4 Carbon in Antigravity CLI · 64.5% on Terminal-Bench · $4.12 per task
Each dot is one current model's Terminal-Bench run inside the agent named. The dashed grey line is the cost frontier of every run here: whichever agent owns it at a budget gives the highest score for that spend.

At a glance

marks the better value in a row. Score gaps smaller than two Terminal-Bench tasks count as level. Tokens and minutes are for each agent's cheapest run within two tasks of its best.

Codex vs Claude Code vs Antigravity CLI compared
CodexClaude CodeAntigravity CLI
Made byOpenAIAnthropicGoogleFormerly Gemini CLI
Measured4 models[1]One Terminal-Bench run each4 models[1]One Terminal-Bench run each4 models[1]One Terminal-Bench run each
Best Terminal-Bench score62.1%[1]GPT-6.2 Astra at Max · $4.2765.8%[1]Claude Fable 5.2 at Max · $49.9864.5%[1]Gemini 4 Carbon at High · $4.12
Lowest cost per task$0.22Lower[1]GPT-6 Luna · scores 16.4%$2.89[1]Claude Haiku 5.5 · scores 40.0%$2.38[1]Gemini 4 Hydrogen · scores 56.4%
Best under $1.00 per task16.4%Only run[1]GPT-6 Luna · $0.22No runCheapest is $2.89No runCheapest is $2.38
Best under $3.00 per task61.5%Higher[1]GPT-6.2 Sol · $1.0640.0%[1]Claude Haiku 5.5 · $2.8956.4%[1]Gemini 4 Hydrogen · $2.38
Best under $10.00 per task62.1%[1]GPT-6.2 Astra · $4.2740.0%[1]Claude Haiku 5.5 · $2.8964.5%[1]Gemini 4 Carbon · $4.12
Output tokens per task48.6kFewer[1]GPT-6.2 Sol, the cheapest run near its best269k[1]Claude Opus 5.5, the cheapest run near its best166k[1]Gemini 4 Carbon, the cheapest run near its best
Minutes per task20 minQuicker[1]GPT-6.2 Sol80 min[1]Claude Opus 5.558 min[1]Gemini 4 Carbon
MirrorCode, best model alone76.7%[2]GPT-6.1 Terra at Max, without the agent97.8%Higher[2]Claude Sonnet 5.5 at Max, without the agent58.9%[2]Gemini 4 Argon at High, without the agent

Every current model

Each current model's Terminal-Bench run, highest score first. Cost is what the run reported spending across its trials, divided by the trials.[1]
Model and settingTerminal-BenchCost per taskOutput tokensMinutes
Codex
GPT-6.2 AstraMax · 0.169.062.1%$4.2749.9k23
GPT-6.2 SolMax · 0.169.0on the cost frontier61.5%$1.0648.6k20
GPT-6.1 TerraMax · 0.164.053.3%$2.65100k38
GPT-6 LunaMax · 0.159.016.4%Version 4.0[3]$0.22138k38
Claude Code
Claude Fable 5.2Max · 2.1.321on the cost frontier65.8%$49.98491k122
Claude Opus 5.5Max · 2.1.284on the cost frontier64.8%Version 4.0[3]$14.30269k80
Claude Sonnet 5.5Max · 2.1.28461.8%Version 4.0[3]$22.22565k124
Claude Haiku 5.5Max · 2.1.31140.0%$2.89386k68
Antigravity CLI
Gemini 4 CarbonHigh · 1.5.7on the cost frontier64.5%$4.12166k58
Gemini 4 NeonXHigh · 1.5.1261.2%$5.83174k82
Gemini 4 HydrogenHigh · 1.5.756.4%$2.38119k32
Gemini 4 ArgonHigh · 1.5.255.5%$3.36163k65

marks runs on the cost frontier of this page: nothing here scores higher for less. Runs scoring under three quarters of the top score aren't marked.

The models alone

Epoch AI tests each model on its own, without an agent. MirrorCode is the closest to an agent's work: the model rebuilds whole programs without seeing their source.[2] Each cell is the model's best score and the setting it came from.

Epoch AI's scores for the models in each agent.
ModelMirrorCodeGPQA DiamondFrontierMath Tiers 1–3
Codex
GPT-6.2 Astra67.8%Max96.8%Max92.6%Max
GPT-6.2 Sol———
GPT-6.1 Terra76.7%Max94.3%Max90.9%Max
GPT-6 Luna26.7%Max90.5%Max78.9%Max
Claude Code
Claude Fable 5.2—93.9%Max95.1%Max
Claude Opus 5.595.6%Max90.6%Max91.2%Max
Claude Sonnet 5.597.8%Max95.6%Max88.8%Max
Claude Haiku 5.578.9%Max89.6%Max75.1%Max
Antigravity CLI
Gemini 4 Carbon—96.5%High90.5%High
Gemini 4 Neon—96.3%XHigh91.2%XHigh
Gemini 4 Hydrogen—96.8%XHigh88.1%XHigh
Gemini 4 Argon58.9%High96.4%High86.0%High

Questions.

Which coding agent is best?

Claude Code and Antigravity CLI are level at the top of Terminal-Bench, within two tasks of each other: 65.8% for Claude Code with Claude Fable 5.2 ($49.98 per task) and 64.5% for Antigravity CLI with Gemini 4 Carbon ($4.12 per task). Claude Code's top run costs 12× as much per task as Antigravity CLI's. Codex peaks at 62.1%, with GPT-6.2 Astra for $4.27. Codex gives the highest score below $4.12 per task, and Claude Code from $14.30, up to 65.8%. In between, Antigravity CLI leads, at 64.5%. From $4.12 per task, Antigravity CLI with Gemini 4 Carbon comes within two tasks of the top score; paying more buys at most 1.2 points.

Which coding agent is cheapest?

Each agent's cheapest run within two tasks of its best: GPT-6.2 Sol in Codex, 61.5% for $1.06 per task; Gemini 4 Carbon in Antigravity CLI, 64.5% for $4.12 per task; Claude Opus 5.5 in Claude Code, 64.8% for $14.30 per task. The cheapest run of all is GPT-6 Luna in Codex, $0.22 per task for 16.4%. A run's cost is what it reported spending across its trials, divided by the trials; on a subscription plan you pay the plan instead.

Which model works best in each agent?

In Codex, GPT-6.2 Astra scores highest, 62.1% for $4.27 per task; GPT-6.2 Sol comes within two tasks of it for $1.06. In Claude Code, Claude Fable 5.2 scores highest, 65.8% for $49.98 per task; Claude Opus 5.5 comes within two tasks of it for $14.30. In Antigravity CLI, Gemini 4 Carbon scores highest, 64.5% for $4.12 per task.

What about Cursor, OpenCode or other coding agents?

These pages compare each lab's own agent running that lab's current models: Codex with OpenAI models, Claude Code with Anthropic models and Antigravity CLI with Google models. The Terminal-Bench leaderboard also lists other agents, such as mini-SWE-agent, GitHub Copilot, Grok Build and Muse Code; they aren't compared here.

What happened to Gemini CLI?

In May 2026 Google announced it was moving Gemini CLI users to Antigravity CLI. On June 18, 2026, Gemini CLI stopped serving Google AI Pro and Ultra subscribers and people using it free through Gemini Code Assist for individuals; enterprise licences and paid API keys kept access. The Gemini results on these pages are Terminal-Bench runs in Antigravity CLI.

How were these agents tested?

Each run is on the official Terminal-Bench leaderboard: the agent attempts all 66 tasks at least five times each, and errored trials count as failures. Before a run is listed, an LLM judge reviews every passing trial for reward hacking, and trials the maintainers disqualify count as failures too. 12 runs with current models are compared here; GPT-6 Luna, Claude Opus 5.5 and Claude Sonnet 5.5 were graded on version 4.0, before 4.1 changed the checks on every task.

Sources and scope

Every run here is a submission on the official Terminal-Bench leaderboard: the agent attempts all 66 tasks at least five times, errored trials count as failures, and an LLM judge checks passing trials for reward hacking before the maintainers list the run. Cost is what the run reported at the API prices it ran on; subscription plans cost differently. Epoch AI's scores test each model alone, outside any agent, under CC BY 4.0. Only current models are listed. Written by aicharts from data checked Nov 24, 2026.

  1. Terminal-Bench leaderboard submissions
  2. Epoch AI, Capabilities & benchmarking (CC BY 4.0)
  3. Terminal-Bench 4.1 release notes
  4. Google for Developers: Transitioning Gemini CLI to Antigravity CLI

Open the explorer

Terminal-Bench leaderboard by benchmark version