Introducing Enterprise Drift Bench
A benchmark, built from real enterprise codebases, of how well AI models and harnesses catch drift, the gap between what the code does and what the business asked for
Enterprise Drift Bench (EDB) measures how well AI models, and the harnesses they run in, do the job that matters most in real enterprise code: catching drift before it ships.
Drift is behind some of this year’s biggest breaches:
- Oracle CVE-2026-46817: anyone could take over E-Business Suite Payments without logging in.
- TanStack CVE-2026-45321: a CI workflow ran an attacker’s code.
- GhostAction: credential-stealing workflows landed in hundreds of GitHub repositories.
- Railway: customers’ environment variables exposed.
Each one is code that stopped doing what its requirements say. Somewhere a rule was written down, and the code broke it without anyone noticing. Say a requirement reads: only the finance team can approve a payment over $10,000. A year later, someone adds bulk approval to a new dashboard, and its endpoint never checks who is asking. Every test still passes. Anyone with a login can now approve a million-dollar payment. That gap between what the code does and what the business asked for is drift.
Agents now write much of that code, faster than people can read it, and attackers have the same models. Coding benchmarks can’t tell you which model will catch drift, as they ask whether a model’s code change passes its tests, and drift passes its tests.
EDB asks the question directly. A model gets a codebase’s written requirements and a read-only checkout, and has to name every requirement the code breaks and cite the lines that prove it. Catch drift at review and it never becomes a CVE. 8090 Labs ran 11 models, each in four harnesses, through 659 tasks from 10 enterprise codebases, 4 of them private and 6 open source.
What we found:
- Public leaderboards may not be accurate for your own private repositories. Claude Opus 5.5 tops Terminal-Bench 4.0 and CursorBench. On EDB, Gemini 4 Carbon leads and GPT-6 Astra is second; Opus trails Astra by eight points and Carbon by 16.
- Your codebase changes the answer. Gemini 4 Carbon, the best model overall, comes first on five codebases and last on one. It passes 79% of tasks on one and 19% on another.
- The harness barely matters; the model does. Nine of 12 model configurations land within 2.5 points in all four harnesses.
- Benchmark: EDB V1
- 659 tasks
- 10 codebases
- 401 representative
- 258 frontier
- Models tested: 11
- Gemini 4 Carbon
- GPT-6 Astra
- GPT-6.1 Sol
- GPT-6 Luna
- Claude Opus 5.5
- Gemini 4 Argon
- Grok 4.7
- DeepSeek v4.1 Flash
- Mercury 3
- GLM 5.3
- Nemotron 3 Ultra
- Harnesses tested: 4
- Codex CLI
- Claude Code
- DeepSeek harness
- Pi
What EDB asks
The cheapest place to catch drift is the pull request, before it merges. Every EDB task is one question a reviewer would ask there. The model has to do one of four things:
- FindFamilies A, B, H
- the files and exact lines that implement a requirement.
- JudgeFamily D
- whether the code is consistent with an acceptance criterion, with evidence.
- AuditFamilies C, F, G
- a whole requirement document or change set and report every criterion it violates.
- MaintainFamily E
- the links after the code changes: keep, rebind, remove or flag each one.
The 659 tasks come in two halves. The 401 representative tasks are the everyday review: one rule, one document or one change. Take the rule from the top of this post: only the finance team can approve a payment over $10,000. A representative task asks whether one change, like the new bulk-approval endpoint, still keeps it. The 258 frontier tasks are the reviews that turn into critical vulnerabilities. The requirement says a build workflow can read only the secrets its job needs, and somewhere in the repository one step sends all of them to an outside server. The model gets the whole requirements document and has to find every rule the code breaks, not just the first. The score is the average of the two halves, so no model climbs the board on the easy half alone.
These two are illustrations. Two real tasks are worked through in How we built EDB. The other 657 stay private, so they can’t leak into training data.
Every answer comes with citations: repository, commit, path, line range. A deterministic grader checks each one against the pinned snapshot. A task passes only if every required element is there. Where that check rejects a maintained trace link, Jev 1.14 judges whether the link still matches its requirement, and the task passes only if every rejected link does.
The best pairing scores 52 out of 100
Gemini 4 Carbon in the DeepSeek harness leads at 51.8, and Carbon holds the top four places, from 51.1 to 51.8. OpenAI’s two top models hold the next eight, led by GPT-6 Astra in Claude Code at 43.5. Claude Opus 5.5 at xhigh effort follows, at 35.5. Last place is 13.9. Of 31,632 runs, about one in three passed.
Coding benchmarks measure something different, but they show what saturation looks like. SWE-bench Verified was archived at 97% because new models stopped separating on it. DeepSWE tops out at 74%. Terminal-Bench 4.0, CursorBench and Cognition’s FrontierCode sit between 50 and 65. EDB tops out at 52, and its frontier half below 35. That low ceiling is by design: it leaves room for new models to show real improvement without saturating the benchmark. When a pairing clears 70% of the frontier half, we’ll make it harder.
One model can audit; the rest fail four audits in five
Most models handle narrow checks well. The best keep traceability links correct after a change almost every time, and judge a single acceptance criterion against the code nearly nine times in ten. They do much worse when the problem spans more of the codebase. Every model passes half to two-thirds as many frontier tasks as representative ones. The hard half reorders the board, too: Gemini 4 Argon is level with Opus 5.5 at high effort overall, and beats it on the frontier half in every harness.
The hardest family is the one that looks most like an audit. In document audit, the model reads a whole requirements document and must report every criterion the code violates, each with its own evidence. Gemini 4 Carbon passes 70% of those tasks. No other pairing passes more than 19.2%, and the average of the other 44 passes 7.8%.
That is the enterprise number. An agent that can read a requirements document and say what the code violates is the agent a compliance team wants. Carbon is the first model we’ve tested that gets most of them right.
Public benchmarks pick a different winner
Ask the public leaderboards which model understands code best, and the answer is Claude Opus 5.5. It tops Terminal-Bench 4.0 and CursorBench. Artificial Analysis’s Coding Agent Index ranks it first, at 62 to GPT-6 Astra’s 55. On SWE Atlas’s codebase Q&A, which asks questions about unfamiliar repositories, it beats Astra 66% to 62%.
On EDB, the order flips. Gemini 4 Carbon leads the board and GPT-6 Astra is second. Opus 5.5’s best pairing trails Astra by eight points and Carbon by 16. Astra outscores Opus on all 10 codebases, open source and private alike. Asked what a change set breaks, Carbon passes about three tasks in four, and Astra and Sol about 60%, nearly twice any other model.
Neither result is wrong. They measure different work on different code. Public benchmarks are built from public repositories that every lab can see and tune for, so they tell you which model is best at public benchmarks. They can’t tell you which model is best on your systems, against your requirements.
Even on one set of codebases, the answer depends on the job. Opus 5.5 is the best at finding where a requirement lives in the code, and at keeping trace links current after it changes. Gemini 4 Argon is the best judge of one requirement against the code. Price doesn’t track any of it: GPT-6 Luna, the cheapest model on the board, keeps trace links right 66% of the time; DeepSeek v4.1 Flash does it 90% of the time for under a dime a task, more often than Gemini 4 Carbon, the most expensive, at 82%.
Every codebase is a different test
EDB’s tasks come from 10 codebases. Six are open-source projects on GitHub, from an enterprise web framework to a consumer chatbot. Four are private: two of 8090’s own and two from client projects.
The same model can pass four times as many tasks on one codebase as on another. Gemini 4 Carbon passes 79% on a legacy system migration and 19% on a financial records app. It comes first on five codebases, by up to 32 points, and last on one. Where it falls back, GPT-6 Astra and GPT-6.1 Sol usually lead, and below them the order changes with the code. Gemini 4 Argon is third on our AI development platform. On the legacy business application, GPT-6 Luna, the cheapest model on the board, comes first.
Public code is mostly no shortcut, either. Gemini 4 Carbon scores about six points higher on the open-source codebases than on the private ones. No other model gains much more than a point, and most score higher on the private ones.
Here, the harness barely matters
Three weeks ago we showed that the harness around a model can move a coding score by 35 points. On EDB it hardly moves at all. The four harnesses are Claude Code, Codex CLI, the DeepSeek harness and Pi, a minimal open-source coding agent. EDB has 12 model configurations, the 11 models with Opus 5.5 at two effort levels. Nine of the 12 land within 2.5 points across all four harnesses, and ten within noise. The models themselves span 38 points. None did meaningfully better in its maker’s own harness: GPT-6 Astra scored best in Claude Code, and Opus 5.5 at xhigh in the DeepSeek harness.
The task explains it. Coding rewards a harness that plans, edits, runs tests and recovers. Catching drift rewards reading. Every harness can grep; what separates the field is whether the model understands what it found. Choose the model by its EDB score, and the harness by your security and governance needs.
Cost per correct answer varies 136-fold
At list prices, only six pairings aren’t beaten by one that’s both cheaper and better. GPT-6 Luna in Codex CLI scores 31.5 at $0.023 a task. DeepSeek v4.1 Flash, an open-weight model, scores slightly less for four times the price, and in Codex CLI it is within half a point of Opus 5.5 at high effort for under a quarter of what Opus costs. GPT-6.1 Sol in Codex CLI jumps to 42.6 at $0.23, and edges up to 42.8 in Claude Code at $0.31. GPT-6 Astra in Claude Code adds most of a point for four times that. Gemini 4 Carbon buys the last eight points: 51.5 in Claude Code at $3.93 a task, and 51.8 in the DeepSeek harness at $4.65.
Budget by cost per success, as failed runs cost money too. That runs from 7 cents a pass for Luna to $9.42 for Gemini 4 Carbon in Codex CLI, a 136-fold spread. Under 10 cents a task, Luna, Mercury 3 and DeepSeek Flash pass around 30% of tasks, enough to triage. Above that, GPT-6.1 Sol in Codex CLI is the pairing to beat: within a point of Astra at a fifth of the cost per success. Carbon’s nine extra points cost about 14 times as much per success. Extra reasoning effort buys little: Opus 5.5 at xhigh gains up to 4 points over high for about twice the price.
Build a private benchmark from your own code
Public leaderboards and EDB pick different winners because they test different code. That is why we built EDB from code we work on and keep its tasks to ourselves: the questions never leave our hands, so no model can train on them. Every enterprise should do the same. Before you commit a model to your audits, reviews or maintenance, build a private benchmark from your own code and requirements, keep it out of training data, and rerun it whenever a new model ships. A public leaderboard, this one included, can tell you where to start looking. It can’t tell you what to choose.
8090 can help you build and run one on your own code. Talk to our team.
A board we’ll keep running, and keep hard
We commit to five things:
- New models within weeks of release, over all 659 tasks in all four harnesses, with the board re-published and dated every quarter. Kimi K3.1 Pro is next.
- Harder over time. The V1 tasks and grader are frozen and hashed. As the frontier half gets solved, V2 brings the tasks every model fails, with a fresh board. Scores are never compared across versions.
- Generations, not snapshots. We’ll track each model family release over release, so you can see who is closing the gap, and how fast.
- No home team. Our own Software Factory is not on the board and won’t be. A company that ranks its own product on a benchmark it wrote ends up fitting one to the other, and one of the 10 codebases is the Software Factory monorepo itself.
- Results in the open. Every pairing’s score, pass counts, cost and timing are downloadable as CSV.
How we built EDB
Every task starts from a codebase with written requirements, and its answer is settled before any model sees it.
- Pin the code and its requirements. Each codebase is pinned to a commit, with its requirements as they stood at that commit.
- Settle the answer first. Answer keys come from real drift a codebase’s owners found and fixed; from criteria judged against the code and checked again independently, scored only where both agree; and from small breaks we planted in a real snapshot, often one line, so we know exactly what breaks and which lines prove it.
- Split it into two halves. Representative tasks ask about one criterion, document or change. Frontier tasks ask for more at once: every break in a repository, the code behind a requirement whose linking blueprint is hidden, or requirements spread across documents. Tasks every calibration run solved went to an unscored control pool.
- Test the grading, then freeze. A correct answer passes; dropping any required element, citing the wrong commit or answering nothing fails. Then the tasks, answer keys and grader were hashed.
EDB tests reading, not writing: find the code a rule governs, decide whether it still keeps the rule, and cite the lines. It doesn’t test whether code passes its tests. Planted breaks are cleaner than drift in the wild, which builds up over many changes. Models may have seen the six public codebases in training, but never a planted break.
Here are two real tasks, both from omarchy-ai-bar, an MIT-licensed open-source desktop bar that shows how much of each AI provider’s usage quota is left. The other 657 stay private.
Does the code still keep this one rule?
AC-PC-002.3 When the user sets a provider order, the application shall persist that order for monitoring surfaces.
From REQ-PC-002, Configure Provider Presentation and Options, in the Provider Configuration document.
“Classify the alignment between the acceptance criterion under review and the implementation at this snapshot: consistent, contradiction, planned_absent, superseded, or needs_clarification. Cite the spans that establish your decision.”
This command saves the order the user asks for: the requested providers first, then any others after them. The task’s copy of the code only appends providers that aren’t in the list yet, so providers already there keep their old positions and the user’s order is never saved. The command still succeeds and reports nothing wrong.
1732fn set_provider_order(paths: &AppPaths, providers: &[String]) -> AppExitCode {// … parse the requested providers, reject duplicates, load the config …1790− let previous_order = std::mem::take(&mut config.provider_order);1791− config.provider_order = requested;1792− config.provider_order.extend(1793− previous_order1794− .into_iter()1795− .filter(|provider| !seen.contains(provider)),1796− );1790+ for provider in requested {1791+ if !config.provider_order.contains(&provider) {1792+ config.provider_order.push(provider);1793+ }1794+ }1797 if let Err(error) = validate_config(&config) {// … write the config back to disk …
Contradiction, citing lines 1790–1794 of wiring.rs.
Code from omarchy-ai-bar, © 2026 Omarchy AI Bar contributors, used under the MIT License. The planted changes are ours.
Appendix: full results
Each cell is one model in one harness. Switch between the score, its two halves and the cost per success; hover a cell to see all of them.
Appendix: how we measured
- Tasks
- 659 tasks: the frozen 589-task population of the stable release plus a 70-task extension, all fixed before any model outcome. 258 frontier, 401 representative. Each ships its requirements documents (blueprints, requirements, acceptance criteria) and one or more git snapshots pinned by commit. None is a coding task.
- Codebases
- 10 codebases pinned by commit: six open-source projects, from an enterprise web framework to a consumer chatbot, and four private ones, two of them 8090’s own, including its Software Factory monorepo, and two from client projects. Many tasks use constructed repositories: deterministic mutations of a real snapshot with planted contradictions, moves and decoys.
- Models
- GPT-6 Astra and GPT-6.1 Sol at high; GPT-6 Luna at max; Claude Opus 5.5 at high and xhigh, counted separately; Gemini 4 Argon and Gemini 4 Carbon at high; Grok 4.7 at xhigh; DeepSeek v4.1 Flash at max; Mercury 3 at high; GLM 5.3 at max; Nemotron 3 Ultra at max. The lineup trails the latest releases; see the commitment above.
- Harnesses
- Claude Code, Codex CLI, Pi and the DeepSeek harness, each with the same prompt, the same read-only checkout in a sandbox with no network, and no access to the answer keys. A local proxy pins the model and reasoning effort.
- Grading
- One graded run per task per pairing; a run with no answer is a fail. An answer passes if and only if every required element of the task’s frozen checklist is present, with citations checked against the pinned snapshot. Extras are never penalized. Where the deterministic check rejected a trace link in a link-maintenance task, Jev 1.14 judged the proposed link against the pinned source, and the task passed only if Jev matched every rejected link. That re-credited 201 of the 1,296 link-maintenance runs. No other step calls a model. The headline uses the verified truth policy; the strict policy moves no pairing by more than 0.8 points.
- Noise
- A score averages a pass rate over 258 tasks with one over 401, so it carries a 95% interval of about ±3.7 points, and a gap of 5 points or less between two pairings is within run-to-run noise.
- Cost
- Recorded token counts at each model maker’s public list rates, whichever route served the run. Cost per success is total spend divided by passes.
- Steps and tokens
- Steps are model calls and tokens are as reported by each provider, input including cached reads, over every attempt. Where a run did not record them, they are counted from its per-task traces; that corrects the output tokens of three pairings (GLM 5.3 in the DeepSeek harness and Nemotron 3 Ultra in the DeepSeek harness and Pi) against the CSV. Codex CLI’s logs for the 589-task release runs do not mark where one model call ends and the next begins. For Opus 5.5, the router’s request log gives exact counts for 1,107 of its 1,178 such tasks; the rest, and five other Codex pairings, are estimated from each task’s event log, calibrated on tasks with exact counts, and marked ≈ in the leaderboard.
- Data
- Every pairing’s score, both halves, passes, cost, timing, steps and tokens, as CSV.
Appendix: leaderboard
Every pairing with what it spent to get its score: cost, agent steps and tokens. Sort by any column, or narrow it to one harness.
| # | Model | Harness | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 1 | Gemini 4 Carbon (high) | DeepSeek | 51.8 | 34.1% | 69.6% | $4.65 | 45.7 | 4.13M | 64.8k |
| 2 | Gemini 4 Carbon (high) | Claude Code | 51.5 | 34.5% | 68.6% | $3.93 | 30.2 | 3.00M | 74.3k |
| 3 | Gemini 4 Carbon (high) | Codex | 51.5 | 33.7% | 69.3% | $5.22 | 55.0 | 4.92M | 73.3k |
| 4 | Gemini 4 Carbon (high) | Pi | 51.1 | 33.7% | 68.6% | $4.18 | 37.0 | 3.29M | 61.3k |
| 5 | GPT-6 Astra (high) | Claude Code | 43.5 | 30.2% | 56.9% | $1.21 | 10.5 | 338k | 6.0k |
| 6 | GPT-6.1 Sol (high) | Claude Code | 42.8 | 27.9% | 57.6% | $0.31 | 12.3 | 436k | 7.8k |
| 7 | GPT-6.1 Sol (high) | Codex | 42.6 | 28.7% | 56.6% | $0.23 | ≈9.6 | 495k | 6.2k |
| 8 | GPT-6.1 Sol (high) | Pi | 42.4 | 27.1% | 57.6% | $0.40 | 24.9 | 986k | 10.6k |
| 9 | GPT-6 Astra (high) | DeepSeek | 42.1 | 28.7% | 55.6% | $1.02 | 10.7 | 352k | 5.3k |
| 10 | GPT-6 Astra (high) | Codex | 42.0 | 28.7% | 55.4% | $1.17 | ≈9.1 | 429k | 5.0k |
| 11 | GPT-6.1 Sol (high) | DeepSeek | 41.4 | 28.7% | 54.1% | $0.24 | 11.8 | 422k | 6.0k |
| 12 | GPT-6 Astra (high) | Pi | 41.3 | 27.1% | 55.4% | $1.24 | 9.9 | 329k | 6.5k |
| 13 | Opus 5.5 (xhigh) | DeepSeek | 35.5 | 27.9% | 43.1% | $1.07 | 20.5 | 1.28M | 27.8k |
| 14 | Opus 5.5 (xhigh) | Claude Code | 35.3 | 27.9% | 42.6% | $0.86 | 19.1 | 1.34M | 13.0k |
| 15 | Opus 5.5 (xhigh) | Pi | 34.9 | 26.7% | 43.1% | $0.77 | 15.0 | 975k | 19.1k |
| 16 | Opus 5.5 (xhigh) | Codex | 33.8 | 24.0% | 43.6% | $0.83 | ≈17.7 | 1.19M | 17.2k |
| 17 | Grok 4.7 (xhigh) | DeepSeek | 33.8 | 24.4% | 43.1% | $0.85 | 20.2 | 1.16M | 27.2k |
| 18 | Opus 5.5 (high) | Pi | 33.3 | 23.3% | 43.4% | $0.36 | 11.3 | 544k | 6.2k |
| 19 | Gemini 4 Argon (high) | Codex | 32.9 | 26.4% | 39.4% | $1.08 | 33.6 | 2.69M | 31.9k |
| 20 | Gemini 4 Argon (high) | DeepSeek | 32.5 | 24.0% | 40.9% | $1.01 | 31.9 | 2.66M | 8.3k |
| 21 | Gemini 4 Argon (high) | Pi | 32.2 | 24.8% | 39.6% | $0.93 | 25.9 | 2.14M | 7.1k |
| 22 | Grok 4.7 (xhigh) | Codex | 32.2 | 21.7% | 42.6% | $1.09 | ≈19.2 | 1.49M | 37.9k |
| 23 | Opus 5.5 (high) | Claude Code | 32.1 | 22.5% | 41.6% | $0.54 | 12.8 | 828k | 6.8k |
| 24 | Opus 5.5 (high) | DeepSeek | 31.9 | 22.5% | 41.4% | $0.44 | 14.9 | 639k | 8.8k |
| 25 | Opus 5.5 (high) | Codex | 31.7 | 21.7% | 41.6% | $0.41 | ≈12.6 | 653k | 6.6k |
| 26 | GPT-6 Luna (max) | Codex | 31.5 | 20.9% | 42.1% | $0.023 | ≈11.9 | 694k | 19.4k |
| 27 | DeepSeek v4.1 Flash (max) | Codex | 31.3 | 20.9% | 41.6% | $0.096 | ≈33.9 | 2.47M | 42.8k |
| 28 | GPT-6 Luna (max) | Claude Code | 31.2 | 19.8% | 42.6% | $0.042 | 23.4 | 1.03M | 33.7k |
| 29 | GPT-6 Luna (max) | DeepSeek | 30.8 | 18.2% | 43.4% | $0.024 | 15.8 | 681k | 15.6k |
| 30 | DeepSeek v4.1 Flash (max) | DeepSeek | 30.8 | 20.2% | 41.4% | $0.086 | 43.8 | 3.40M | 53.0k |
| 31 | GPT-6 Luna (max) | Pi | 30.6 | 19.4% | 41.9% | $0.050 | 27.4 | 1.53M | 45.8k |
| 32 | Gemini 4 Argon (high) | Claude Code | 30.6 | 24.0% | 37.2% | $0.82 | 19.8 | 1.27M | 27.2k |
| 33 | DeepSeek v4.1 Flash (max) | Claude Code | 29.8 | 20.2% | 39.4% | $0.087 | 55.1 | 2.12M | 72.0k |
| 34 | Grok 4.7 (xhigh) | Pi | 29.1 | 20.2% | 38.1% | $0.51 | 14.0 | 677k | 8.6k |
| 35 | DeepSeek v4.1 Flash (max) | Pi | 29.0 | 19.4% | 38.6% | $0.059 | 35.7 | 2.65M | 45.7k |
| 36 | Mercury 3 (high) | Claude Code | 28.6 | 20.5% | 36.7% | $0.025 | 20.3 | 914k | 18.4k |
| 37 | Grok 4.7 (xhigh) | Claude Code | 28.4 | 20.9% | 35.9% | $0.48 | 16.3 | 724k | 7.3k |
| 38 | GLM 5.3 (max) | Claude Code | 28.2 | 20.9% | 35.4% | $0.57 | 20.8 | 1.19M | 40.0k |
| 39 | GLM 5.3 (max) | DeepSeek | 28.0 | 18.6% | 37.4% | $0.58 | 26.2 | 1.40M | 29.6k |
| 40 | Mercury 3 (high) | Pi | 28.0 | 20.5% | 35.4% | $0.026 | 22.9 | 1.05M | 18.9k |
| 41 | Mercury 3 (high) | Codex | 27.6 | 22.1% | 33.2% | $0.029 | 25.3 | 1.27M | 18.4k |
| 42 | GLM 5.3 (max) | Pi | 27.0 | 17.8% | 36.2% | $0.73 | 24.2 | 1.39M | 38.0k |
| 43 | Mercury 3 (high) | DeepSeek | 26.9 | 18.6% | 35.2% | $0.028 | 29.0 | 1.28M | 18.2k |
| 44 | GLM 5.3 (max) | Codex | 24.7 | 15.5% | 33.9% | $0.91 | 57.5 | 2.63M | 24.2k |
| 45 | Nemotron 3 Ultra (max) | Claude Code | 22.1 | 17.4% | 26.7% | $0.48 | 51.6 | 2.61M | 30.9k |
| 46 | Nemotron 3 Ultra (max) | DeepSeek | 18.1 | 14.3% | 21.9% | $0.45 | 56.6 | 2.29M | 27.2k |
| 47 | Nemotron 3 Ultra (max) | Pi | 14.8 | 9.3% | 20.2% | $0.40 | 36.1 | 1.48M | 16.2k |
| 48 | Nemotron 3 Ultra (max) | Codex | 13.9 | 10.8% | 17.0% | $0.39 | 47.0 | 2.10M | 19.2k |