Claude Code vs. GitHub Copilot

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

Coding Agent Comparison

Metric
Claude Code
Claude Opus 5.5 (Max, Default Fallback)
GitHub Copilot
Copilot Fusion (Max)
Analysis
Agent Harness
Claude Code
GitHub Copilot
Representative Model
Claude Opus 5.5 (Max, Default Fallback)
Copilot Fusion (Max)
Coding Agent Index
62
60
Claude Code has a higher Coding Agent Index than GitHub Copilot
FrontierCode v1.1
56%
51%
Claude Code has a higher FrontierCode v1.1 score than GitHub Copilot
Terminal-Bench 4.0
63%
71%
GitHub Copilot has a higher Terminal-Bench 4.0 score than Claude Code
SWE-Atlas-QnA-AA
66%
57%
Claude Code has a higher SWE-Atlas-QnA-AA score than GitHub Copilot
Cost per Task
$11.42
$5.59
GitHub Copilot has a lower cost per task than Claude Code
Time per Task
1.0h
36.1m
GitHub Copilot has a lower time per task than Claude Code
Turns per Task
146.4
171
Claude Code has a lower turns per task than GitHub Copilot
Token Usage per Task
14.5M
7.3M
GitHub Copilot has a lower token usage per task than Claude Code
Cache Hit Rate
95%
97%
GitHub Copilot has a higher cache hit rate than Claude Code

Model Variants

Evaluated model variants for Claude Code and GitHub Copilot.

Model Variants

Claude Code
Claude Opus 5.5 (Max, Default Fallback)
62
56%
63%
66%
$11.42
1.0h
14.5M
Claude Code
Claude Sonnet 5.5 (Max, Default Fallback)
59
48%
66%
64%
$13.30
1.3h
24.1M
Claude Code
Claude Fable 5.1 (Max, Default Fallback)
58
49%
58%
66%
$11.53
35.3m
6M
Claude Code
Step 5 Preview
43
40%
30%
59%
$1.84
1.0h
22.1M
Claude Code
Qwen3.8 Max
39
45%
17%
56%
$3.80
1.3h
9.2M
Claude Code
Claude Haiku 5.5 (Max)
37
47%
31%
34%
$2.67
1.2h
16.1M
GitHub Copilot
Copilot Fusion (Max)
60
51%
71%
57%
$5.59
36.1m
7.3M

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

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