Coding Agent Benchmarks

Claude Code vs. Qwen Code

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

Metric
Claude Fable 5.2 (Xhigh, Default Fallback)
GLM-5.3-Flash
Analysis
Agent Harness
Claude Code
Qwen Code
Representative Model
Claude Fable 5.2 (Xhigh, Default Fallback)
GLM-5.3-Flash
Coding Agent Index
58
35
Claude Code has a higher Coding Agent Index than Qwen Code
FrontierCode-AA 2.0
49
17
Claude Code has a higher FrontierCode-AA 2.0 score than Qwen Code
Terminal-Bench 4.1
64
33
Claude Code has a higher Terminal-Bench 4.1 score than Qwen Code
SWE-Atlas-QnA-AA
62
55
Claude Code has a higher SWE-Atlas-QnA-AA score than Qwen Code
Cost per Task
$15.47
$0.54
Qwen Code has a lower cost per task than Claude Code
Time per Task
53.3m
1.5h
Claude Code has a lower time per task than Qwen Code
Turns per Task
94.7
107.8
Claude Code has a lower turns per task than Qwen Code
Token Usage per Task
9.75M
15.4M
Claude Code has a lower token usage per task than Qwen Code
Cache Hit Rate
94%
88%
Claude Code has a higher cache hit rate than Qwen Code

Models

Evaluated models for Claude Code and Qwen Code.

Claude Fable 5.2 (Xhigh, Default Fallback)
xhigh
58
49
64
62
$15.47
53.3m
9.75M
Claude Fable 5.2 (High, Default Fallback)
high
58
49
64
62
$7.51
31.3m
5.12M
Claude Opus 5.5 (Max, Default Fallback)
max
58
44
65
66
$12.61
1.1h
15.9M
Claude Sonnet 5.5 (Max, Default Fallback)
max
56
39
66
64
$11.40
1.4h
26.4M
Claude Fable 5.2 (Max, Default Fallback)
max
56
44
63
60
$44.22
2.2h
24M
Claude Fable 5.2 (Medium, Default Fallback)
medium
53
36
60
64
$2.89
15.1m
1.9M
Claude Fable 5.1 (Max, Default Fallback)
max
52
33
58
66
$11.70
36.3m
6.68M
Claude Fable 5.2 (Low, Default Fallback)
low
48
31
53
60
$2.49
13.4m
1.64M
GLM-5.3-Flash
max
39
19
42
56
$0.58
1.1h
14.8M
Step 5 Preview
reasoning
36
18
30
59
$3.55
59.5m
24.5M
Qwen3.8 Max
reasoning
33
25
17
56
$4.03
1.4h
9.64M
Claude Haiku 5.5 (Max)
max
30
23
32
34
$2.25
1.3h
12.4M
GPT-6 Luna (Max)
max
22
22
10
34
$0.18
23.0m
9.2M
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