Anthropic Claude 4.0 Sonnet vs xAI Grok-4.1

Detailed comparison for LLMs

AnthropicxAI

On Guardion's LLM vulnerability Benchmark, xAI Grok-4.1 is the more secure of the two: Claude 4.0 Sonnet scores 13.6% and Grok-4.1 scores 11.5% on attack success rate (ASR) (lower is better). One or both scores are estimated from public safety evaluations pending a Guardion benchmark run.

Head-to-Head Overview

Grok-4.1 is the overall winner in this comparison!

Attack Success Rate (lower is safer)

ASR for Anthropic Claude 4.0 Sonnet vs xAI Grok-4.1. Green marks the safer model on each metric. Only the overall score is available for estimated models.

Overall (ASR)

Claude 4.0 Sonnet
13.6%
Grok-4.1
11.5%

TAP Attack Method (ASR)

Claude 4.0 Sonnet
22.0%
Grok-4.1
100.0%

Crescendo Attack Method (ASR)

Claude 4.0 Sonnet
14.8%
Grok-4.1
100.0%

Zero-Shot (ASR)

Claude 4.0 Sonnet
4.1%
Grok-4.1
100.0%

Key Highlights

  • xAI Grok-4.1 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).
  • Anthropic Claude 4.0 Sonnet has a lower Zero-Shot (ASR).

Security Profile

Outward is better on every axis.

OverallTAPCrescendoZero-Shot
Claude 4.0 Sonnet
Grok-4.1
Full security profile
Anthropic Claude 4.0 Sonnet
Full security profile
xAI Grok-4.1

Frequently asked questions

Is Anthropic Claude 4.0 Sonnet or xAI Grok-4.1 more secure?

On Guardion's LLM vulnerability Benchmark, xAI Grok-4.1 is the more secure of the two: Claude 4.0 Sonnet scores 13.6% and Grok-4.1 scores 11.5% on attack success rate (ASR) (lower is better). One or both scores are estimated from public safety evaluations pending a Guardion benchmark run.

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

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

How were Claude 4.0 Sonnet and Grok-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