Skip to main content

Comparison Testing of Claude and GPT Models for Code Review in GitHub Copilot

· 11 min read

Question​

Original question: How does the effectiveness of the new Copilot Fusion compare to direct selection of a model when performing code reviews in GitHub Copilot?

Revised to: How do the Claude and GPT models stack up for code review in GitHub Copilot?

tip

TL;DR spoiler: Fusion selected GPT-6 models over Claude, and Sol and Astra did a poor job of reviewing the code. Further testing revealed this to be a GPT-6 problem, not a Copilot Fusion problem — so much so that I will not use GPT-6 models again for code review.

Cost versus effectiveness

Introduction​

GitHub unveiled Copilot Fusion in late October, 2026. It serves as a model router: you give it the task and the effort level, and it choose the model to run. Model routing reduces token cost by optimizing LLM selection for the task, often invoking multiple models in the same long running solution. While conceptually mature (2025), the technique is now gaining in popularity as AI usage costs have increased.

My primary coding agent is Claude Code. Frequently, I switch to GitHub Copilot for code reviews so that I have a broad range of models to choose from, and to balance my token usage across entry-level subscriptions in both. For all but the smallest tasks, I run a suite of five specialist reviews (team-pr-review skill). Each is assigned to a subagent, and the main thread orchestrates, confirms, and reports the findings back to me. Typically I am choose a higher-end model, e.g. Claude Opus or GPT Sol. Sometimes I set the subagents to a lower model, particularly when I am not the only reviewer. Previously, I have had reasonable outcomes when using GPT-5 models. Until the experiment reported below, I had not yet tried the GPT-6 class of models.

To date, all of my model routing has been manual, e.g. I select a model for orchestration then tell it which model to use (if different) for subagents. Given that GitHub Copilot charges for consumption, unlike Claude Code (with these models), Fusion has the potential for reducing the AI credit cost of my code reviews. But will it be effective?

warning

The experiment documented below is only analyzing code review. Strictly speaking, it has nothing to say about coding tasks, beyond the comparison of AI credit costs for the "same" workload.

Approach​

Run the following prompt across a matrix of model choices:

/team-pr-review — PR 1420 checked out at commit 01222687f0acc7be5bff159867aae1b956d4208a. The PR description describes the task; no need to read Jira or a GitHub Issue. Save this prompt and your final review as ./round-{n}-{model}.md. Do not post to GitHub.

In the initial runs, all models were left with the default "medium" effort. Models:

  • Claude Haiku 5.5
  • Claude Sonnet 5.5
  • Claude Opus 5.5
  • Copilot Fusion high
  • Copilot Fusion max
  • GPT-6 Luna
  • GPT-6 Sol
  • GPT-6 Astra

Copilot Fusion high executed GPT-6 Sol and Copilot Fusion max executed GPT-6 Astra, and these did not return any findings. Copilot Fusion selected GPT-6 on multiple turns. I continued testing with these models through manual selection, and gave up on using Copilot Fusion as a distraction from the emergent question of GPT-6's fitness for code review.

Initially, all tests were run from GitHub Copilot CLI v1.0.107 running inside a Docker Sandbox. The following additional runs were performed with variations:

  • GPT-6 Astra (medium effort) replacing my skill invocation with "code review this PR...".
  • GPT-6 Astra (medium effort) with a colleague's review prompt.
  • GPT-6 Astra (high effort) with the colleague's prompt.
  • GPT-6 Astra (high effort) with the original /team-pr-review skill and prompt (accidentally ran original prompt leading to wrong commit).
  • GPT-6 Astra (medium effort) run was performed in GitHub Copilot running directly on my computer, without a sandbox.
  • Claude Code with Opus 5.5 and the same original prompt.
tip

When performing an experiment on a pull request that is still open, the experimental mantra to "keep all but one variable constant" means one should pin to a specific commit, not to the PR itself.

Analysis​

I combined and deduplicated the findings from all runs after pinning to a specific commit. The Fusion-based runs are omitted as they lack useful data, other than seeing a discounted cost for the otherwise ineffective code reviews.

The combined findings were assigned the highest severity reported by any of the models. There were 57 unique findings: High 2, Medium 20, Low 28, Nit 7. I asked Claude Opus 5.5 to review all 57 deduplicated findings and provide its own assessment of the severity. Then, Opus scored the results on my behafl:

  • Baseline scale: No-action/Invalid = 0, Nit = 1, Nit-Low = 1.5, Low = 2, Low-Medium = 2.5, Medium = 3. Source ratings: Nit = 1, Low = 2, Medium = 3, High = 4.
  • Weighting: each finding is weighted by its baseline value, so Medium counts 3, Low 2 and Nit 1. Findings the baseline rates No-action or Invalid carry no coverage weight and count as false positives when reported.
  • Actionable baseline findings: 52 of 57, total weight 86.0.
  • Precision: share of reported findings whose baseline is above No-action.
  • Bias: mean of (source rating - baseline) over actionable findings. Positive means over-rating.
  • Composite: weighted coverage points minus 2 points per false positive. It is a judgment call, not a validated measure.

Results:

RankModelEffortFindingsPrecisionSeverity1BiasUniqueFalse +Composite
1Opus (CC2)medium3597.1%13/34, 30/34+0.657155.0
2Opusmedium3293.8%23/30, 30/30+0.204249.0
3Haiku + Sonnet3medium2889.3%8/25, 23/25+0.728335.0
4Sonnetmedium2190.5%5/19, 18/19+0.745226.0
5Haikumedium1593.3%5/14, 13/14+0.682123.5
6Astrahigh7100%2/7, 6/7-0.360013.5
7Astra4medium5100%2/5, 5/5+0.20009.0
8Lunamedium3100%2/3, 3/3+0.33005.0
9Astra5medium2100%1/2, 2/2+0.50004.0
10Astrahigh1100%0/1, 1/1+1.00102.0
10Solmedium1100%1/1, 1/10.00002.0
10Astra (original)medium1100%1/1, 1/10.00002.0
13Astra6medium0n/an/an/a000.0

The following table lists the costs in GitHub Copilot's AI credits, from lowest to highest. As of November, 2026, my Enterprise account charges $0.0026 / AI credit.

Model (round)EffortAI CreditsInput TokensOutput Tokens
Haikumedium7.261.7m51.4k
Lunamedium14.635.9m77.4k
Sonnetmedium173.723.6m37.3k
Haiku + Sonnetmedium180.985.3m88.7k
Solmedium280.928.4m38.1k
Astramedium409.541.8m10.7k
Astramedium432.8472.1m10.4k
Astra5high471.932.3m11.4k
Opusmedium848.0513.7m105.3k
Astramedium1,126.195.4m24.8k
Astrahigh2,240.6710.8m64.5k
Astramedium2,532.6612.6m60.0k
Opus (CC)mediumn/a822.8m129.6k

The quadrant chart (also available in the preface) compares cost to effectiveness in a scaled quadrant. Where multiple results are available from Astra, only the best is used. The Claude Code run is omitted because of the inability to directly compare costs.

Cost versus effectiveness

Discussion​

Claude Opus 5.5 was clearly the most effective of the models when tested with my review skill, whether running in GitHub Copilot or Claude Code. Claude Sonnet 5.5, as advertised, presented a good balance. Opus in GitHub Copilot had the lowest absolute bias value of any of the useful (non-zero) results, meaning that it rarely overstated or understated the severity. However, this in itself might be a bias: Opus was used to combine the results and re-grade the severities, and it may have favored its own previous run.

Even Claude Haiku was relatively effective, and the combination of Sonnet and Haiku results scored very high at a reasonable cost, less than GPT-6.1 Sol or Opus 5.5. However, the combination of Sonnet and Haiku led to three false positive findings; the person receiving the review must be wary of automatically accepting all comments without confirming them.

It was surprising to see that Sol and Astra performed so poorly — and even more surprising that Luna performed better than Sol or Astra when run with medium effort.

The GPT-6.x models were sometimes quite costly. The most effective run with GPT-6 Astra was the one using my colleague's much simpler prompt; it only cost 471.93 credits and had two medium findings, plus two nits. Other runs were an order of magnitude more expensive.

It was an interesting phenomenon to see the AI credit cost be so high for some of the Astra-medium runs. In my output logs I noticed that the GPT-6 models tended to pull in unnecessary skills, which the Claude models did not do. To my surprise, there is no correlation between extra skills and AI credits in these runs: some of the cheaper runs had several extra skills, and some of the more expensive had few extra invocations. However, I now wonder if Sol and Astra were getting "confused" by some of the extra skills, leading to lower quality results.

Conclusion​

Given that my current role in management does not typically require me to run multiple agents at the same time, and given Claude Code's rolling usage window, continuing to use Claude Code with Opus 5.5 will be my most effective strategy for most code reviews.

In circumstances where I find my available usage window running low in Claude Code, it would be effective to run Opus 5.5 in GitHub Copilot. And if I am not the only reviewer — I sometimes leave the formal review to someone else closer to the daily work — a combination of Haiku + Sonnet in GitHub Copilot would also be appropriate, if the other reviewer has sound review practices.

Although perhaps unfair, finding an effective prompting strategy for Sol or Astra would be costly. The experiments analyzed above do not give me any confidence that such an investigation would lead to anything other than burned AI credits.

What does this tell me about these GPT-6 models? In the context of GitHub Copilot, they are not suitable for code review using my prompts. They may be suitable using someone else's prompts, or when used in the context of OpenAI's Codex.

Regarding the original question, Copilot Fusion was not effective, as it consistently used GPT-6 models, which in turn performed poorly (results not show, but consistent with those that are shown).

Due to a limited budget, this review has very few data points. It is not a scientifically valid comparison with statistical proof that one technique is better than the other.

Future Questions​

We could also analyze other models available in GitHub Copilot, including the following untested models:

  • The online Code Review agent
  • Mai Code 2
  • Gemini 4 Neon
  • Gemini 4 Hydrogen

This blog post was hand-written and conceived, with minor only minor editorial updates from a Claude Code + Sonnet 5 editorial review. The meta-analysis to generate the scoring and cost comparisons was provided by Claude Code with Opus 5.5.

Footnotes​

  1. count of exact matches, followed by count within one step ↩

  2. via Claude Code, in Docker Sandbox, instead of using GitHub Copilot ↩

  3. combined findings from the Haiku and Sonnet runs ↩

  4. GitHub Copilot running in Windows, not in a Docker Sandbox ↩

  5. Colleague's prompt; this table does not include two nit findings from that review, which the combined reviews failed to classify because of the non-standard wording.

    Provide a code review of PR 1420 checked out at commit 01222687f0acc7be5bff159867aae1b956d4208a focused on correctness and simplicity. Check for duplicated and dead code. Ensure the code provides the simplest responsible solution. Check for scope creep. Do not run tests. Save this prompt and your final review as ./reviews/round-21-astra6.md. Do not post to GitHub.

    ↩ ↩2
  6. Simplified request to "code review PR 1420..." without additional skills. ↩

  7. Includes 10.33 credits of Claude Sonnet 5.5 from context that was not cleared before the review. Poor experimental hygiene on my part. ↩

  8. Claude Code's own /usage rates this as an estimated $11.18 job, compared to $6.58 actual cost for the most expensive Copilot run. However, to my knowledge these are not directly comparable, since the Claude Code cost does not translate to usage-based billing. ↩