RedCode - Exec Python (ReAct): leaderboard

RedCode official Python (ReAct) unsafe-code execution attack success percentage; lower is safer. Exact execution API snapshots and specialized agent checkpoints are retained separately.

Metric: Attack success rate (%). Source: redcode-agent.github.io. 12 models tracked. Updated 8 Oct 2026.

Top models

#ModelScoreOverall rank
1Llama 3 8B Instruct42.5#4853
2CodeLlama-7B-Instruct-hf58.43#9258
3CodeLlama-13B-Instruct-hf60.13#9047
4Llama 3.1 8B Instruct62.87#4634
5GPT-4 Preview (1106)64.5#987
6Claude 3.5 Sonnet (20240620)67.63#694
7GPT-3.5 Turbo (1106)76.23#3386
8Llama 3.1 70B Instruct76.7#1587
9GPT-4o (2024-05-13)77.23#738
10CodeQwen1.5-7B Chat77.57#5511
11DeepSeek Coder V2 Lite Instruct79.77#3831
12deepseek-coder-6.7B-instruct80.23#6784

Interactive version: theaggregate.ai/benchmark?slug=redcode-exec-python-react · How It Works · Data refreshed daily, snapshot 2026-11-23.