Does a frontier model make AI security code review better? In the most recent study from Clover’s research team, no. The strongest tier of models from Anthropic and OpenAI missed on average nearly 4 in 10 planted business-logic flaws, about the same share as the weakest tier, at 15 times the cost per pull request review. By AI security code review we mean an AI model reviewing a pull request for security flaws, with access to the repository and a security review prompt. What cut the misses was not a stronger model but feature-specific security context: the threats and countermeasures a security review of the feature’s specification had found.
If stronger models are better at reasoning about code, we’d expect them to be better at detecting security flaws that require that same reasoning.
For many engineering teams, code review is the last chance to catch a security flaw before the code reaches production, so there is a good reason to pay more for a model that catches more.
TL;DR:
- We tested six AI models across three strength tiers on pull requests with planted business-logic flaws.
- Without context, the strongest models missed on average nearly four in ten planted flaws, about as many as the weakest ones, at 15 times the cost per pull request review.
- Spec-review context, the threats and countermeasures a security review of the feature’s specification had identified, halved the share of flaws missed by the weakest models.
Does a frontier model catch more flaws in AI security code review?
Business-logic flaws are a useful test of this assumption. Unlike pattern-based vulnerabilities, they cannot be reliably identified by looking at the code alone. A piece of code can be syntactically correct, function exactly as implemented and still violate the security requirements of the feature. Think missing authorization checks, insecure direct object references or violations of business rules.
These are the kinds of flaws we’d expect stronger models to be better at detecting. Yet in our study, the strongest models missed slightly more business-logic flaws than the weakest, despite costing 15 times more per review.
To see how model strength affects security code review, we gave an AI model the pull request, access to the full repository and a security review prompt. The reviewer could explore the codebase, investigate potential vulnerabilities and reason about the implementation before producing its findings.
We ran the same review with six AI models as reviewers, grouped into three strength tiers based on each vendor’s model offerings:
- Small (3rd tier, the weakest): Claude Sonnet 5.5 and GPT-6 Luna
- Mid-tier (2nd tier): Claude Opus 5.5 and GPT-6.1 Sol
- Frontier (1st tier, the strongest): Claude Mythos 5.1 and GPT-6 Astra
Every model reviewed the same 27 pull requests from Plane, Grafana and Kubernetes, containing 68 known business-logic flaws introduced by coding agents in our earlier research. We measured whether the planted flaws appeared among the first ten findings of each review.
Aggregating the results per strength tier, with access to the code changes and the repository and no additional context, the weakest models missed 36% of planted flaws, the middle tier missed 37% and the strongest missed 39%. Each tier pools two models: on its own, Claude Mythos 5.1 missed 28% of planted flaws and Claude Sonnet 5.5 missed 21%.
The strongest models cost 15 times more, at $3.08 per pull request review compared with $0.20 for the weakest.

Can AI code review catch business logic vulnerabilities with the right context?
Why would a stronger model miss the same flaws as a weaker one? Because a business-logic flaw leaves no pattern in the code. An endpoint might correctly return data from a database, but whether it should return that data to a particular user depends on the access rules of the feature, and nothing in the code says a rule has been broken. The AI reviewer needs to know what the feature was supposed to do. The strongest model did not under-work: without context, Claude Mythos 5.1 averaged 23 tool turns per review against 6 for Claude Sonnet 5.5, and spent them exploring the codebase rather than checking the change against the feature’s intent.
What moved the result was context, and not any context. We ran two more sets of reviews. In the first, the AI reviewer got the feature’s specification, the document the feature was built from. In the second, it got the specification plus spec-review context: the threats a security review of that specification had found before any code was written, each paired with the countermeasure the feature needs. Same models, same pull requests, same prompts.
The specification on its own did not help, and for some models it hurt. The reviewers took the spec at its word and treated what it described as what the code did. Spec-review context did the opposite: it told the reviewer which threats to look for and what a correct implementation would contain, and the reviewer could check the change against that list.
The numbers follow from that. With spec-review context, five of the six models missed significantly fewer business-logic flaws. The weakest tier went from missing 36% of planted flaws to 18%, for 5 cents more per pull request review ($0.20 to $0.25); the strongest went from 39% to 24%. The cheapest model in the study, GPT-6 Luna at five cents a review, missed 18%; Claude Mythos 5.1, at $4.38, missed 17%. The best configuration of all was Claude Sonnet 5.5 with a one-line prompt asking for business-logic flaws and spec-review context: it missed one of the 68 planted flaws, at $0.17 per pull request review.

This is why the finding matters beyond model choice. For teams adopting spec-driven development or building a software factory, the specification already exists, and so does the security review of it when the team runs one at the design stage. Code review, meanwhile, is still the security gate carried over from traditional development, run on the diff with no memory of what the feature was meant to do. Carrying the spec review forward to that gate was the cheapest improvement in this study: no new model, and a one-time cost per feature that serves every pull request review of it.
What does AI security code review cost per pull request, and per year?
The gap in cost per review becomes a budget line once you count how much code engineering organizations now produce with AI coding agents. For an AI-forward company with 2,500 engineers, published engineering benchmarks from DX and He et al. (2026) put the volume at about 111,000 pull requests a month. Reviewing each of them once with the strongest models, without context, would cost an estimated $4.1 million a year; with the weakest models, $270,000. The figures cover the reviewer’s token spend on pull request reviews and exclude the cost of producing the spec-review context, which is produced once per feature and serves every pull request review of it.

Choosing the strongest models would mean spending an additional $3.8 million a year without a security gain in code review. Spec-review context improved detection at a fraction of the review cost.
Is best AI for code review even the right question?
Every few months a stronger model ships, and the question lands on the security team’s desk: is this the best AI for code review now, and should we pay for it? The same larger models that have become a clear advantage for attackers did little for the AI reviewers in this study. On business-logic flaws, what the reviewer knew about the feature moved the result more than which model did the review, so the better question is what your reviewer knows going in.
Before upgrading to a stronger model for security code review, test it on your own code. Plant a few known business-logic flaws in a test environment and measure how many your current reviewer misses. Then measure again with spec-review context, and compare both numbers with the stronger model before you pay for it.
Our study measured business-logic flaws, and results on pattern-based vulnerability classes such as injection may differ. For security teams looking to catch more business-logic flaws in code review, the priority is clear: invest in feature-specific security context before upgrading to a stronger model.
Frequently asked questions
Do bigger models find more vulnerabilities?
Not in this study. Without context, the strongest tier of models missed 39% of planted business-logic flaws and the weakest tier 36%, at 15 times the cost per pull request review. The study covers business-logic flaws only; results on pattern-based classes such as injection may differ.
What is the best AI for security code review?
The study does not rank models. Its best configuration was Claude Sonnet 5.5 with a one-line prompt asking for business-logic flaws and access to spec-review context, which caught 67 of the 68 planted flaws at $0.17 per pull request review. What the reviewer knew about the feature moved the result more than which model did the review.
How much does AI code review cost per pull request?
In this study, between five cents and about four dollars per pull request review, depending on the model. By tier, the weakest models averaged $0.20 per review without context and $0.25 with spec-review context; the strongest averaged $3.08 and $3.39. Spec-review context added at most a third to any model’s cost per review.