Gemini at the Frontier, Western Open Models Catching Up: How the Newest Models Rank on our Pentesting Benchmark
Western models close the gap. PWNBench 2.0 benchmarks the latest Western open-weight AI models on AI penetration testing tasks, alongside frontier models and leading Chinese models.
The past few weeks brought a wave of new models: Google’s Gemini 4 Argon, Amazon’s open-weight Ergo 1.0, Thinking Machines’ Inkling 2 Small, Reflection Beam, and a new DeepSeek V4.1 Flash (both September’s release and 1017). We ran all of them through a new version of PWNBench, our benchmark for agentic pentesting of live web applications, alongside Opus 5.5 and the strongest open-weight models from China.
PWNBench 2.0 is bigger, more realistic and more challenging than 1.0: 2x the apps and 3x the vulnerabilities to find. This new benchmark also uses a simpler harness than v1, giving us a more direct read of raw model capability.
Opus 5.5 and Argon both ran with full cyber access. Here is what we found:
- Gemini is now a frontier model for offensive security. In our first test of Gemini, Argon lands just behind Opus 5.5 (F0.5 61 vs. 68) at about half the price, with the same precision.
- Western open-weight models are in the game. In our last round they sat at the bottom. Now Ergo and Inkling score level with the Chinese mid-pack.
- Amazon Ergo matches the capability of Chinese open-weight models released 3 months ago. It doesn’t lead the open-weight pack on pentesting, and instead sits level with GLM 5.3 Flash and DeepSeek V4.1 Flash. This is because it breaks its own access, stops early and loses work to excessive thinking.
- Cheap models are now very cheap. DeepSeek V4.1 Flash scores F0.5 48 for $0.34 per app, and Hy4 Flash runs for $0.11 per app.
- You can buy recall, not precision. More runs find more vulnerabilities on every model, but only the frontier models deliver high precision.
PWNBench v0.2 summary results. End-to-end penetration testing performance versus cost for each model, all in the same thin harness. The vertical axis shows *F0.5, which combines precision and recall with extra weight on precision. The horizontal axis shows cost per app on a reversed log axis (expensive left, cheap right). Each curve is one model, where test-time compute is increased by adding parallel runs per app and merging their findings. Labels such as k=4 mark the largest number of runs on each curve.
Gemini 4 Argon joins the frontier
This was our first time testing Gemini, and Argon lands firmly in the frontier tier with Opus 5.5.
At four runs per app, Argon scores F0.5 61 for $69 per app. Opus 5.5 scores 68, but at $135 per app. On precision the two are level: 73.1% for Argon and 73.2% for Opus 5.5. Where Opus 5.5 pulls ahead is recall, finding 56.6% of the vulnerabilities to Argon’s 43.0%.
Argon is also the cheapest way to frontier-level precision. A single run costs $17 per app and scores F0.5 53 at 77% precision. That is more precise than any open-weight model at any number of runs.
Argon’s lead grows on the vulnerabilities that matter most. Counting only medium severity and above, recall rises slightly from 43.0% to 48.8%, while every other model’s recall stays about the same or drops.
One caveat cuts the other way. A single run of Opus 5.5 ($34 per app) matches four runs of Argon (F0.5 62 vs. 61) at half the price. So per dollar, Opus 5.5 is still hard to beat at the top end.
Western open-weight models are in the game
When we last ran PWNBench, the Western open-weight models (NVIDIA Nemotron 3 Ultra and Meta Muse Glimmer 30B) sat at the bottom of the chart, under 15% recall. This time, Amazon Ergo and Thinking Machines’ Inkling 2 Small sit with the Chinese mid-pack. That is a major step up for the category.
| Model | F0.5 (4 runs) | Recall | Precision | Cost per app |
| DeepSeek V4.1 Flash 1017 | 53 | 36.5% | 62.2% | $1.37 |
| DeepSeek V4.1 Flash (Sep) | 48 | 33.7% | 56.3% | $6.00 |
| Amazon Ergo 1.0 | 47 | 27.4% | 59.6% | $8.27 |
| GLM | 47 | 27.8% | 58.9% | $4.00 |
| Inkling 2 Small | 43 | 25.4% | 53.8% | $5.01 |
| Reflection Beam | 25 | 10% | 46.7% | $1.65 |
Ergo leads the Western models and is level with GLM on both recall and precision. Inkling is close to Ergo on recall but further behind on precision. Both cost 1.25 to 2 times more than GLM, and both trail DeepSeek V4.1 Flash 1017, which beats Ergo on every axis at a sixth of the price.
Reflection Beam is behind almost everything we tested, with F0.5 25 and 10% recall.
Why Amazon Ergo underperforms on pentesting
Ergo 1.0, released December 1, leads the other open-weight models on multiple benchmarks. On PWNBench, which specifically measures models’ effectiveness at offensive security tasks, it lands in the pack, not ahead of it. We went through its runs to find out why, and the answer is mostly how it behaves, not what it knows.
It breaks its own access. We checked 12 runs per model on a subset of the benchmark for self-sabotage: actions that break the agent’s own access, like locking out, renaming or deleting the accounts it was given. Ergo did this 56 times, in 11 of its 12 runs and on every app. For comparison, DeepSeek V4.1 Flash did it 21 times and Inkling 18. In practice that means rounds of 10 to 60 failed logins that lock out its accounts, and changing its own users’ passwords, emails and usernames. On one HR app, an IDOR test on the change-username form renamed its own viewer account to “admin_pwned” and locked it out. Every account it breaks is a role it can no longer test from, and Ergo talks about restoring and cleaning up about five times as often as the other models.
We run several agents on the same app at the same time in PWNBench, to mimic real-world agentic swarms, so when one agent breaks the app, it breaks it for all of them. In the example below, one Ergo agent got around the app’s safeguard and permanently deleted an admin account with everything it owned, and another agent on the same app later found the admin gone.
It thinks past its output limit. Our harness caps output at 32K tokens per turn. Of the models we checked, only Ergo hit that cap, 12 times in 7 different runs. DeepSeek’s and Inkling’s longest turns stay under 2.5K tokens, and Opus 5.5’s under 17.5K. Five of those hits came while Ergo was assembling its final report: it worked out the whole report in its head, ran out of budget mid-thought, and the draft was lost.
It stops too early. Like the other open-weight models, Ergo ends its runs after about 20 minutes, while Opus 5.5 keeps going for about 58. The difference is the reason: in about half its runs it stops with “I have enough verified findings.” And for Ergo, longer runs find more.
It skips the easy vulnerabilities. Of the vulnerabilities most models find in most runs, Ergo finds about half (49%), against 76% for DeepSeek V4.1 Flash. On the rare ones, the two are level. Most of the gap is in three classes: hardening and configuration, stored XSS, and injection or unauthenticated endpoints. Stored XSS shows the pattern. On the CRM app, every DeepSeek run traced the bug to the shared table renderer and reported all four affected fields. No Ergo run reported more than one of those fields.
Ergo’s gaps look like behavior, not missing skill. Its PWNBench score likely understates what it can do in a harness built to compensate for the model’s specific characteristics.
Cheap models are now very cheap
At the low end, two models set the price of capable pentesting.
DeepSeek V4.1 Flash 1017 is the efficiency leader. One run scores F0.5 48 for $0.34 per app. GLM, Ergo, Inkling and the DeepSeek 1017 need four to eight runs to reach about the same, at 12 to 29 times the cost. At eight runs ($2.69 per app), DeepSeek scores F0.5 55 and beats a single run of Argon ($17 per app). Its recall at eight runs, 45.5%, even beats Argon at four runs (43.0%) for 1/25 of the price, though its precision is lower (59% vs. 73%). Compared with the 1017 release, it gains about 4 points of F0.5 at a quarter of the price.
Hy4 Flash is the cheapest point on the chart. One run costs $0.11 per app, and even 12 runs cost $1.29. It roughly matches Opus 4.6 on recall (21.1% vs. 22.7%), is more precise (50.9% vs. 42.8%), and costs 1/112 as much. Above about $0.33 per app, though, DeepSeek wins at every price.
Between DeepSeek at $2.69 and Opus 5.5 at $34, no model is on the frontier. And at these low prices, model cost stops limiting how many agents you can run in parallel. DeepSeek is the better value per agent, and Hy4 sets the floor.
You can buy recall, not precision
Running a model more times per app and merging the findings raises recall for every model we tested. GLM goes from 12.5% to 37.5% recall between one and eight runs, and Hy4 from 10.4% to 33.7% between one and twelve. Opus 5.5’s 56.6%, though, stays out of reach.
Precision works the other way: it decreases as runs are added, on every model. DeepSeek V4.1 Flash drops from 71% at one run to 59% at eight, Ergo from 64% to 53%, GLM from 62% to 55%, and Argon from 77% to 73% at four runs.
That leaves a clear gap between the tiers. Argon at four runs (73.1%) is the least precise frontier result, and it is still above the most precise open-weight result, DeepSeek at one run (71.2%). Every other open-weight model sits at 64% or less. For teams that can’t afford to chase false positives, the frontier models are the only option.
Across models, recall and precision move together (r ≈ 0.9): models that find more vulnerabilities also report fewer false ones.
Precision and recall, shown separately. Top: precision versus recall at four runs per app, one point per model. Bottom: recall (left) and precision (right) versus cost per app, on the same reversed log axis as the summary chart, with one curve per model as parallel runs are added.
How we tested
PWNBench measures greybox agentic pentesting: the model gets a live web application, a set of accounts that depends on the task, and no hints about where the vulnerabilities are. The apps are forks of large open-source projects, and findings are scored against a human-built ground truth of mostly novel vulnerabilities, so models can’t lean on CVEs they memorized in training.
The full methodology is in our first PWNBench post.
For this round we made the benchmark bigger and harder: about 2x the apps and 3x the vulnerabilities to find. Unless noted, results are four runs per app across all severities, with cost per app. *F0.5 weights precision above recall, because a pentest report full of false positives costs the security team time. We kept the harness thin and identical for every model, to see what each model can do on its own.
Takeaways
- Two tiers control the frontier. Opus 5.5 and Gemini 4 Argon lead on quality, and DeepSeek V4.1 Flash and Hy4 Flash lead on cost.
- Gemini is a real option for offensive security. Argon matches Opus 5.5 on precision at half the price, and its lead grows on higher-severity findings.
- The Western open-weight gap has closed, but not the cost gap. Ergo and Inkling now compete with the Chinese mid-pack, but at a higher price than DeepSeek 1017 or GLM.
- Benchmark scores don’t transfer automatically. Ergo’s general benchmark results didn’t carry over to live pentesting, and the reasons were behavioral. How a model treats the target, when it stops and what it reports matter as much as raw capability.
- Precision is what money can’t buy. More runs find more, but only the frontier models deliver reports a security team can trust as is.
We’ll keep adding models to PWNBench as they ship.
*F0.5 = (1 + β²)·P·R / (β²·P + R) with β = 0.5, i.e. F0.5 = 1.25·P·R / (0.25·P + R), where P is precision and R is recall. We compute it per application and then take the unweighted mean across apps, so it can differ from the formula applied to the overall recall and precision.



