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.0 · Higher is better
No publicly available API
Average agent wall time per task · Lower is better
No publicly available API
Average API cost per task (USD) · Lower is better
No publicly available API

Comparison

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

Coding Agent Comparison

Metric
Antigravity CLI
Gemini 4 Carbon (High)
Codex
GPT-6 Astra (Max)
Analysis
Agent Harness
Antigravity CLI
Codex
Representative Model
Gemini 4 Carbon (High)
GPT-6 Astra (Max)
Coding Agent Index
59
55
Antigravity CLI has a higher Coding Agent Index than Codex
FrontierCode v1.1
51
49
Antigravity CLI has a higher FrontierCode v1.1 score than Codex
Terminal-Bench 4.0
64
56
Antigravity CLI has a higher Terminal-Bench 4.0 score than Codex
SWE-Atlas-QnA-AA
64
59
Antigravity CLI has a higher SWE-Atlas-QnA-AA score than Codex
Cost per Task
$7.74
$7.04
Codex has a lower cost per task than Antigravity CLI
Time per Task
29.8m
24.8m
Codex has a lower time per task than Antigravity CLI
Turns per Task
177.8
39.4
Codex has a lower turns per task than Antigravity CLI
Token Usage per Task
12.5M
3.23M
Codex has a lower token usage per task than Antigravity CLI
Cache Hit Rate
95%
93%
Antigravity CLI has a higher cache hit rate than Codex

Model Variants

Evaluated model variants for Antigravity CLI and Codex.

Model Variants

Antigravity CLI
Gemini 4 Carbon (High)
high
59
51
64
64
$7.74
29.8m
12.5M
Antigravity CLI
Gemini 4 Argon (High)
high
53
49
56
55
$11.73
34.7m
13.9M
Codex
GPT-6 Astra (Max)
max
55
49
56
59
$7.04
24.8m
3.23M
Codex
GPT-6.1 Sol (Max)
max
54
49
53
60
$1.50
23.7m
3.94M
Codex
GPT-6.1 Terra (Xhigh)
xhigh
48
45
46
54
$0.69
16.4m
6.89M
Codex
GPT-6.1 Terra (Max)
max
48
42
48
54
$1.24
26.1m
12.3M
Codex
DeepSeek V4.1 Flash (Max)
max
47
53
28
61
$0.39
38.1m
27.2M
Codex
GPT-6.1 Terra (High)
high
46
43
42
53
$0.54
12.7m
5.6M
Codex
GPT-6.1 Terra (Medium)
medium
42
44
35
47
$0.39
10.2m
4.08M
Codex
GPT-6.1 Terra (Non-reasoning)
non-reasoning
39
46
25
46
$0.45
9.5m
5.78M
Codex
GPT-6.1 Terra (Low)
low
35
41
25
39
$0.20
6.3m
1.89M
Codex
GPT-6 Luna (Max)
max
31
40
16
38
$0.16
20.8m
8.69M

Performance

Performance across the Artificial Analysis Coding Agent Index.

Artificial Analysis Coding Agent Index

Artificial Analysis Coding Agent Index v2.0 incorporates 3 benchmarks: FrontierCode v1.1, Terminal-Bench 4.0, and SWE-Atlas-QnA-AA · Higher is better
Color by
Not publicly available

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

Token Usage

Token consumption across the Artificial Analysis Coding Agent Index.

Token Usage per Task

Average input, cache, and output tokens per task
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

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
Not publicly available

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
Not publicly available

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