Skip to content
benchtopia
  • Fetching the field guide…

Code · Best AI for

Hacking & CTF challenges

Capture-the-flag puzzles, finding vulnerabilities and understanding exploits (for defence and authorised testing).

Top tested so far: Claude Opus 4.6 (Anthropic)

Claude Opus 4.6 from Anthropic is the best tested so far (100/100), followed by Claude Mythos Preview and Claude Opus 4.5. Most of today's newest top models haven't taken these tests yet. Cybench is a set of real capture-the-flag challenges from security competitions. ExploitBench tests writing working exploits for known bugs.

Heads up: most of today's newest top models haven't taken these tests yet, so this ranking leans on older results. Check the grid for the newest models.

Top 15 for hacking & CTF challenges

Score = share of today's AI models it beats on the tests below (100 = best of all).

  1. 1Claude Opus 4.6Anthropic · a few tests100
  2. 2Claude Mythos PreviewAnthropic · one test so far100
  3. 3Claude Opus 4.5Anthropic · a few tests91
  4. 4GPT-5.5OpenAI · one test so far88
  5. 5Claude Sonnet 4.5Anthropic · a few tests82
  6. 6Claude Opus 4.7Anthropic · one test so far75
  7. 7Grok 4xAI · a few tests73
  8. 8Claude Opus 4.1Anthropic · a few tests64
  9. 9Gemini 3.1 ProGoogle · one test so far63
  10. 10Grok 4.1xAI · a few tests55
  11. 11Claude Sonnet 4.6Anthropic · one test so far50
  12. 12Claude Opus 4Anthropic · a few tests45
  13. 13Kimi K2.6Moonshot AI (Kimi) · one test so far38
  14. 14Claude Sonnet 4Anthropic · a few tests36
  15. 15Grok 4 FastxAI · a few tests27

Best overall

Claude Opus 4.6

Score 100 · Anthropic · $0.95 per job

Best under $1

o3-mini

Score 18 · OpenAI · $0.1 per job

Best open source

Kimi K2.6

Score 38 · Moonshot AI (Kimi) · $0.174 per job

What it costs to work through one CTF challenge

≈ 150K tokens read and 8K written per job, at each model's list API price. Monthly chat-app plans don't charge per job.

ModelScorePer jobPer 1,000 jobsMemory
Claude Opus 4.6best value100$0.95$9501M
Claude Mythos Preview100———
Claude Opus 4.591$0.95$950200K
GPT-5.588$0.99$9901.1M
Claude Sonnet 4.582$0.57$570200K
Claude Opus 4.775$0.95$9501M
Grok 473———
Claude Opus 4.164$2.85$2,850200K
Gemini 3.1 Pro63$0.396$3961M
Grok 4.155———
Claude Sonnet 4.650$0.57$5701M
Claude Opus 445———
Kimi K2.638$0.174$175262K
Claude Sonnet 436———
Grok 4 Fast27———

Highlighted: the cheapest model within 15% of the top score.

Tests behind this ranking

Share = how much each test counts towards the score.

CybenchCan it win hacking puzzle contests made for security pros?58%
ExploitBenchHow far can it get in hacking a real web browser's engine?42%

Tips

  • Most providers refuse some security requests. The rankings show skill, not how often a model says no.

Quick answers

Which AI is best at cybersecurity and CTFs?

Claude Opus 4.6 from Anthropic is the best tested so far (100/100), followed by Claude Mythos Preview and Claude Opus 4.5. Most of today's newest top models haven't taken these tests yet.

About Claude Opus 4.6 →
What's the best cheap AI for hacking & CTF challenges?

o3-mini: 18/100 for about $0.96 per million tokens. One job (work through one CTF challenge) costs about $0.1.

See the details →
What's the best open-source AI for hacking & CTF challenges?

Kimi K2.6 from Moonshot AI (Kimi), scoring 38/100. You can download it and run it yourself.

See the details →
How much does it cost to work through one CTF challenge with AI?

With Claude Opus 4.6, about $0.95 (≈ 150K tokens read, 8K written, at list API prices). Chat apps on a monthly plan don't charge per job.

How is this decided?

Cybench is a set of real capture-the-flag challenges from security competitions. ExploitBench tests writing working exploits for known bugs.

How scores work →

Related