Coding Agent Benchmarks

Antigravity CLI vs. Codex

Comparison between Antigravity CLI and Codex across the Artificial Analysis Coding Agent Index, including benchmark scores, cost, execution time, and token usage.

For details relating to our methodology, see our methodology page.

Explore other comparisons
vs
Artificial Analysis Coding Agent Index v2.1 · Higher is better
Average agent wall time per task · Lower is better
Average API cost per task (USD) · Lower is better

Comparison

Side-by-side comparison of Antigravity CLI and Codex.

Metric
Gemini 4 Neon (Xhigh)
GPT-6.2 Astra (Max)
Analysis
Agent Harness
Antigravity CLI
Codex
Representative Model
Gemini 4 Neon (Xhigh)
GPT-6.2 Astra (Max)
Coding Agent Index
59
53
Antigravity CLI has a higher Coding Agent Index than Codex
FrontierCode-AA 2.0
43
42
Antigravity CLI has a higher FrontierCode-AA 2.0 score than Codex
Terminal-Bench 4.1
65
64
Antigravity CLI has a higher Terminal-Bench 4.1 score than Codex
SWE-Atlas-QnA-AA
68
55
Antigravity CLI has a higher SWE-Atlas-QnA-AA score than Codex
Cost per Task
$6.86
$5.12
Codex has a lower cost per task than Antigravity CLI
Time per Task
30.5m
25.1m
Codex has a lower time per task than Antigravity CLI
Turns per Task
177.1
51
Codex has a lower turns per task than Antigravity CLI
Token Usage per Task
13.8M
4.67M
Codex has a lower token usage per task than Antigravity CLI
Cache Hit Rate
95%
95%
Both agents have the same cache hit rate

Models

Evaluated models for Antigravity CLI and Codex.

Gemini 4 Neon (Xhigh)
xhigh
59
43
65
68
$6.86
30.5m
13.8M
Gemini 4 Carbon (High)
high
55
38
65
64
$9.75
33.6m
15.4M
Gemini 4 Hydrogen (Xhigh)
xhigh
52
37
60
60
$4.45
32.1m
18.5M
Gemini 4 Argon (High)
high
45
25
57
55
$9.46
37.7m
16.4M
GPT-6.2 Astra (Max)
max
53
42
64
55
$5.12
25.1m
4.67M
GPT-6.2 Astra (Xhigh)
xhigh
53
43
62
54
$3.20
16.5m
3.09M
GPT-6 Astra (Max)
max
53
43
58
59
$7.63
26.0m
3.47M
GPT-6.2 Astra (High)
high
52
42
60
55
$2.37
15.8m
2.26M
GPT-6.1 Sol (Max)
max
52
42
54
60
$1.51
21.9m
4.33M
GPT-6.2 Sol (Xhigh)
xhigh
50
40
58
51
$0.90
12.6m
3.26M
GPT-6.2 Astra (Medium)
medium
49
40
54
54
$1.20
11.6m
1.02M
GPT-6.1 Terra (Max)
max
49
41
51
54
$1.53
28.1m
14.4M
GPT-6.2 Sol (Max)
max
49
42
58
46
$1.22
17.5m
4.25M
GPT-6.2 Sol (High)
high
47
38
54
51
$0.76
10.6m
2.96M
GPT-6.2 Sol (Medium)
medium
45
36
49
50
$0.57
8.4m
2.28M
GPT-6.2 Sol (Low)
low
37
28
41
42
$0.33
7.2m
1.31M
GPT-6.2 Astra (Low)
low
36
27
44
36
$0.70
7.8m
551k
GLM-5.3-Flash (Max)
max
28
15
22
47
$0.59
1.5h
18M
GPT-6 Luna (Max)
max
26
24
15
38
$0.19
23.5m
10.1M

Performance

Performance across the Artificial Analysis Coding Agent Index.

Artificial Analysis Coding Agent Index

Artificial Analysis Coding Agent Index v2.1 incorporates 3 benchmarks: FrontierCode-AA 2.0, Terminal-Bench 4.1, and SWE-Atlas-QnA-AA · Higher is better
Color by
Artificial Analysis logo

Artificial Analysis Coding Agent Index vs. Cost per Task

Artificial Analysis Coding Agent Index vs. average pay-per-token API cost per task (USD)
Color by
Most attractive quadrant
Pareto line
Artificial Analysis logo

Token Usage

Token consumption across the Artificial Analysis Coding Agent Index.

Token Usage per Task

Average input, cache, and output tokens per task
Artificial Analysis logo
Prompt cache hit rates can vary significantly by provider routing, which can materially change effective cost.

Artificial Analysis Coding Agent Index vs. Total Tokens

Artificial Analysis Coding Agent Index vs. average total tokens per task
Color by
Most attractive quadrant
Artificial Analysis logo

Cost

Pay-per-token API cost across the Artificial Analysis Coding Agent Index, based on current per-token pricing.

Cost per Task

Average pay-per-token API cost per task (USD) · Lower is better
Color by
Artificial Analysis logo

Execution Time

Active agent runtime across the Artificial Analysis Coding Agent Index.

Time per Task

Average agent wall time per task · Lower is better
Color by
Artificial Analysis logo

Artificial Analysis Coding Agent Index vs. Execution Time

Artificial Analysis Coding Agent Index vs. average agent wall time per task
Color by
Most attractive quadrant
Artificial Analysis logo