Anthropic Claude 3.7 Sonnet vs OpenAI GPT-4.1

Detailed comparison for LLMs

AnthropicOpenAI

On Guardion's LLM vulnerability Benchmark, Anthropic Claude 3.7 Sonnet is the more secure of the two: Claude 3.7 Sonnet scores 20.3% and GPT-4.1 scores 34.9% on attack success rate (ASR) (lower is better).

Head-to-Head Overview

Claude 3.7 Sonnet is the overall winner in this comparison!

Attack Success Rate (lower is safer)

ASR for Anthropic Claude 3.7 Sonnet vs OpenAI GPT-4.1. Green marks the safer model on each metric.

Overall (ASR)

Claude 3.7 Sonnet
20.3%
GPT-4.1
34.9%

TAP Attack Method (ASR)

Claude 3.7 Sonnet
31.4%
GPT-4.1
57.6%

Crescendo Attack Method (ASR)

Claude 3.7 Sonnet
25.3%
GPT-4.1
44.9%

Zero-Shot (ASR)

Claude 3.7 Sonnet
GPT-4.1
2.3%

Key Highlights

  • Anthropic Claude 3.7 Sonnet has a lower Overall (ASR).
  • Anthropic Claude 3.7 Sonnet has a lower TAP Attack Method (ASR).
  • Anthropic Claude 3.7 Sonnet has a lower Crescendo Attack Method (ASR).

Security Profile

Outward is better on every axis.

OverallTAPCrescendoZero-Shot
Claude 3.7 Sonnet
GPT-4.1
Full security profile
Anthropic Claude 3.7 Sonnet
Full security profile
OpenAI GPT-4.1

Frequently asked questions

Is Anthropic Claude 3.7 Sonnet or OpenAI GPT-4.1 more secure?

On Guardion's LLM vulnerability Benchmark, Anthropic Claude 3.7 Sonnet is the more secure of the two: Claude 3.7 Sonnet scores 20.3% and GPT-4.1 scores 34.9% on attack success rate (ASR) (lower is better).

What is the attack success rate (ASR) of Claude 3.7 Sonnet vs GPT-4.1?

Claude 3.7 Sonnet has a 20.3% ASR and GPT-4.1 has a 34.9% ASR — the share of adversarial prompts that succeed across zero-shot, TAP, and Crescendo attacks. Lower is safer.

How were Claude 3.7 Sonnet and GPT-4.1 tested?

Both were red-teamed with the HarmBench framework across zero-shot, TAP (Tree of Attacks with Pruning), and Crescendo multi-turn attacks, scored by Attack Success Rate.

Related Comparisons