Meta Llama 3.1 405B Instruct vs OpenAI GPT-4.1

Detailed comparison for LLMs

MetaOpenAI

On Guardion's LLM vulnerability Benchmark, OpenAI GPT-4.1 is the more secure of the two: Llama 3.1 405B Instruct scores 36.0% and GPT-4.1 scores 34.9% 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

GPT-4.1 is the overall winner in this comparison!

Attack Success Rate (lower is safer)

ASR for Meta Llama 3.1 405B Instruct vs OpenAI GPT-4.1. Green marks the safer model on each metric. Only the overall score is available for estimated models.

Overall (ASR)

Llama 3.1 405B Instruct
36.0%
GPT-4.1
34.9%

TAP Attack Method (ASR)

Llama 3.1 405B Instruct
100.0%
GPT-4.1
57.6%

Crescendo Attack Method (ASR)

Llama 3.1 405B Instruct
100.0%
GPT-4.1
44.9%

Zero-Shot (ASR)

Llama 3.1 405B Instruct
100.0%
GPT-4.1
2.3%

Key Highlights

  • OpenAI GPT-4.1 has a lower Overall (ASR).
  • OpenAI GPT-4.1 has a lower TAP Attack Method (ASR).
  • OpenAI GPT-4.1 has a lower Crescendo Attack Method (ASR).
  • OpenAI GPT-4.1 has a lower Zero-Shot (ASR).

Security Profile

Outward is better on every axis.

OverallTAPCrescendoZero-Shot
Llama 3.1 405B Instruct
GPT-4.1
Full security profile
Meta Llama 3.1 405B Instruct
Full security profile
OpenAI GPT-4.1

Frequently asked questions

Is Meta Llama 3.1 405B Instruct or OpenAI GPT-4.1 more secure?

On Guardion's LLM vulnerability Benchmark, OpenAI GPT-4.1 is the more secure of the two: Llama 3.1 405B Instruct scores 36.0% and GPT-4.1 scores 34.9% 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 Llama 3.1 405B Instruct vs GPT-4.1?

Llama 3.1 405B Instruct has a 36.0% 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 Llama 3.1 405B Instruct 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