Coding Agent Benchmarks

Codex vs. Devin CLI

Comparison between Codex and Devin CLI 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 Codex and Devin CLI.

Metric
GPT-6.2 Astra (Max)
GLM-5.3-Flash
Analysis
Agent Harness
Codex
Devin CLI
Representative Model
GPT-6.2 Astra (Max)
GLM-5.3-Flash
Coding Agent Index
53
36
Codex has a higher Coding Agent Index than Devin CLI
FrontierCode-AA 2.0
42
18
Codex has a higher FrontierCode-AA 2.0 score than Devin CLI
Terminal-Bench 4.1
64
36
Codex has a higher Terminal-Bench 4.1 score than Devin CLI
SWE-Atlas-QnA-AA
55
55
Both agents have the same SWE-Atlas-QnA-AA score
Cost per Task
$5.12
$0.91
Devin CLI has a lower cost per task than Codex
Time per Task
25.1m
44.8m
Codex has a lower time per task than Devin CLI
Turns per Task
51
145.8
Codex has a lower turns per task than Devin CLI
Token Usage per Task
4.67M
25.9M
Codex has a lower token usage per task than Devin CLI
Cache Hit Rate
95%
87%
Codex has a higher cache hit rate than Devin CLI

Models

Evaluated models for Codex and Devin CLI.

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
28
15
22
47
$0.59
1.5h
18M
GPT-6 Luna (Max)
max
26
24
15
38
$0.19
23.5m
10.1M
GLM-5.3-Flash
-
36
18
36
55
$0.91
44.8m
25.9M
GPT-6 Luna (Max)
-
18
21
13
20
$0.20
22.2m
11M

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 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

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 Coding Agent Index vs. Execution Time

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