Google Gemini 2.5 Pro vs Anthropic Claude 4.0 Sonnet

Detailed comparison for LLMs

GoogleAnthropic

On Guardion's LLM vulnerability Benchmark, Anthropic Claude 4.0 Sonnet is the more secure of the two: Gemini 2.5 Pro scores 16.1% and Claude 4.0 Sonnet scores 13.6% on attack success rate (ASR) (lower is better).

Head-to-Head Overview

Claude 4.0 Sonnet is the overall winner in this comparison!

Attack Success Rate (lower is safer)

ASR for Google Gemini 2.5 Pro vs Anthropic Claude 4.0 Sonnet. Green marks the safer model on each metric.

Overall (ASR)

Gemini 2.5 Pro
16.1%
Claude 4.0 Sonnet
13.6%

TAP Attack Method (ASR)

Gemini 2.5 Pro
27.5%
Claude 4.0 Sonnet
22.0%

Crescendo Attack Method (ASR)

Gemini 2.5 Pro
19.1%
Claude 4.0 Sonnet
14.8%

Zero-Shot (ASR)

Gemini 2.5 Pro
1.6%
Claude 4.0 Sonnet
4.1%

Key Highlights

  • Anthropic Claude 4.0 Sonnet has a lower Overall (ASR).
  • Anthropic Claude 4.0 Sonnet has a lower TAP Attack Method (ASR).
  • Anthropic Claude 4.0 Sonnet has a lower Crescendo Attack Method (ASR).
  • Google Gemini 2.5 Pro has a lower Zero-Shot (ASR).

Security Profile

Outward is better on every axis.

OverallTAPCrescendoZero-Shot
Gemini 2.5 Pro
Claude 4.0 Sonnet
Full security profile
Google Gemini 2.5 Pro
Full security profile
Anthropic Claude 4.0 Sonnet

Frequently asked questions

Is Google Gemini 2.5 Pro or Anthropic Claude 4.0 Sonnet more secure?

On Guardion's LLM vulnerability Benchmark, Anthropic Claude 4.0 Sonnet is the more secure of the two: Gemini 2.5 Pro scores 16.1% and Claude 4.0 Sonnet scores 13.6% on attack success rate (ASR) (lower is better).

What is the attack success rate (ASR) of Gemini 2.5 Pro vs Claude 4.0 Sonnet?

Gemini 2.5 Pro has a 16.1% ASR and Claude 4.0 Sonnet has a 13.6% ASR — the share of adversarial prompts that succeed across zero-shot, TAP, and Crescendo attacks. Lower is safer.

How were Gemini 2.5 Pro and Claude 4.0 Sonnet 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