The AI arena is free today

Open Superagent

CWE-Bench

Implementation

Progress Over Time

Interactive timeline showing model performance evolution on CWE-Bench

State-of-the-art frontier
Open
Proprietary

CWE-Bench Leaderboard

3 models
ContextCostLicense
1—1.0M$4.00 / $20.00
2—1.0M$4.00 / $20.00
3———
Notice missing or incorrect data?
About this benchmark

What is CWE-Bench?

CWE-Bench evaluates autonomous agents on finding and patching real-world software vulnerabilities.

CWE-Bench is a text benchmark evaluating models on safety, agents, and code tasks. LLM Stats tracks 3 models on this benchmark, scored on a 0–1 scale. The current average is 0.6, with the leader at 0.7.

Compare leaders on the best AI for safety, best AI for agents and best AI for code leaderboards.

Current leaders

Gemini 4 Carbon from Google currently leads the CWE-Bench leaderboard with a score of 0.710 across 3 evaluated AI models.

1Gemini 4 CarbonGoogle71.0%
2Gemini 4 ArgonGoogle68.0%

FAQ

Common questions about the CWE-Bench benchmark and leaderboard.

What is the CWE-Bench benchmark?

CWE-Bench evaluates autonomous agents on finding and patching real-world software vulnerabilities.

What is the CWE-Bench leaderboard?

The CWE-Bench leaderboard ranks 3 AI models based on their performance on this benchmark. Currently, Gemini 4 Carbon by Google leads with a score of 0.710. The average score across all models is 0.621.

What is the highest CWE-Bench score?

The highest CWE-Bench score is 0.710, achieved by Gemini 4 Carbon from Google.

How many models are evaluated on CWE-Bench?

3 models have been evaluated on the CWE-Bench benchmark, with 0 verified results and 3 self-reported results.

Where can I find the CWE-Bench dataset?

The CWE-Bench dataset is available at https://cwe-bench.com/.

What categories does CWE-Bench cover?

CWE-Bench is categorized under safety, agents, and code. The benchmark evaluates text models.

Which model offers the best value on CWE-Bench?

Among models scoring within 10% of the leader, Gemini 4 Carbon from Google is the cheapest, at $4.00 per million input tokens with a score of 0.710.

How recent are the CWE-Bench leaderboard results?

The CWE-Bench leaderboard was last updated in December 2026 and currently includes 3 evaluated models.