Coding Agent Benchmarks

Pi vs. ZCode

Comparison between Pi and ZCode 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 Pi and ZCode.

Metric
GLM-5.3-Flash (Max)
GLM-5.3-Flash (Max)
Analysis
Agent Harness
Pi
ZCode
Representative Model
GLM-5.3-Flash (Max)
GLM-5.3-Flash (Max)
Coding Agent Index
30
37
ZCode has a higher Coding Agent Index than Pi
FrontierCode-AA 2.0
15
18
ZCode has a higher FrontierCode-AA 2.0 score than Pi
Terminal-Bench 4.1
27
38
ZCode has a higher Terminal-Bench 4.1 score than Pi
SWE-Atlas-QnA-AA
47
55
ZCode has a higher SWE-Atlas-QnA-AA score than Pi
Cost per Task
$0.41
$0.54
Pi has a lower cost per task than ZCode
Time per Task
57.5m
45.6m
ZCode has a lower time per task than Pi
Turns per Task
106
105.1
ZCode has a lower turns per task than Pi
Token Usage per Task
11.4M
15.2M
Pi has a lower token usage per task than ZCode
Cache Hit Rate
95%
96%
ZCode has a higher cache hit rate than Pi

Models

Evaluated models for Pi and ZCode.

GLM-5.3-Flash (Max)
max
30
15
27
47
$0.41
57.5m
11.4M
GPT-6 Luna (Max)
max
21
19
8
36
$0.11
18.9m
5.59M
GLM-5.3-Flash (Max)
max
37
18
38
55
$0.54
45.6m
15.2M
GPT-6 Luna (Max)
max
21
21
8
34
$0.97
1.3h
37.4M

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