Coding Agent Benchmarks

OpenCode vs. Qwen Code

Comparison between OpenCode and Qwen Code 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 OpenCode and Qwen Code.

Metric
GLM-5.3 (Max)
GLM-5.3-Flash
Analysis
Agent Harness
OpenCode
Qwen Code
Representative Model
GLM-5.3 (Max)
GLM-5.3-Flash
Coding Agent Index
40
35
OpenCode has a higher Coding Agent Index than Qwen Code
FrontierCode-AA 2.0
21
17
OpenCode has a higher FrontierCode-AA 2.0 score than Qwen Code
Terminal-Bench 4.1
40
33
OpenCode has a higher Terminal-Bench 4.1 score than Qwen Code
SWE-Atlas-QnA-AA
59
55
OpenCode has a higher SWE-Atlas-QnA-AA score than Qwen Code
Cost per Task
$5.41
$0.54
Qwen Code has a lower cost per task than OpenCode
Time per Task
52.8m
1.5h
OpenCode has a lower time per task than Qwen Code
Turns per Task
114
107.8
Qwen Code has a lower turns per task than OpenCode
Token Usage per Task
17.7M
15.4M
Qwen Code has a lower token usage per task than OpenCode
Cache Hit Rate
97%
88%
OpenCode has a higher cache hit rate than Qwen Code

Models

Evaluated models for OpenCode and Qwen Code.

GLM-5.3 (Max)
max
40
21
40
59
$5.41
52.8m
17.7M
GLM-5.3-Flash
max
39
19
41
55
$0.60
1.2h
17.2M
GPT-6 Luna (Max)
max
23
22
13
34
$0.16
20.4m
7.31M
GLM-5.3-Flash
max
35
17
33
55
$0.54
1.5h
15.4M
GPT-6 Luna (Max)
max
17
18
12
22
$0.17
30.7m
7.37M

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