OpenAI GPT-4.1 vs Google Gemini 2.0 Flash

Detailed comparison for LLMs

OpenAIGoogle

On Guardion's LLM vulnerability Benchmark, Google Gemini 2.0 Flash is the more secure of the two: GPT-4.1 scores 34.9% and Gemini 2.0 Flash scores 33.6% on attack success rate (ASR) (lower is better).

Head-to-Head Overview

Gemini 2.0 Flash is the overall winner in this comparison!

Attack Success Rate (lower is safer)

ASR for OpenAI GPT-4.1 vs Google Gemini 2.0 Flash. Green marks the safer model on each metric.

Overall (ASR)

GPT-4.1
34.9%
Gemini 2.0 Flash
33.6%

TAP Attack Method (ASR)

GPT-4.1
57.6%
Gemini 2.0 Flash
67.6%

Crescendo Attack Method (ASR)

GPT-4.1
44.9%
Gemini 2.0 Flash
30.4%

Zero-Shot (ASR)

GPT-4.1
2.3%
Gemini 2.0 Flash
2.8%

Key Highlights

  • Google Gemini 2.0 Flash has a lower Overall (ASR).
  • OpenAI GPT-4.1 has a lower TAP Attack Method (ASR).
  • Google Gemini 2.0 Flash 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
GPT-4.1
Gemini 2.0 Flash
Full security profile
OpenAI GPT-4.1
Full security profile
Google Gemini 2.0 Flash

Frequently asked questions

Is OpenAI GPT-4.1 or Google Gemini 2.0 Flash more secure?

On Guardion's LLM vulnerability Benchmark, Google Gemini 2.0 Flash is the more secure of the two: GPT-4.1 scores 34.9% and Gemini 2.0 Flash scores 33.6% on attack success rate (ASR) (lower is better).

What is the attack success rate (ASR) of GPT-4.1 vs Gemini 2.0 Flash?

GPT-4.1 has a 34.9% ASR and Gemini 2.0 Flash has a 33.6% ASR — the share of adversarial prompts that succeed across zero-shot, TAP, and Crescendo attacks. Lower is safer.

How were GPT-4.1 and Gemini 2.0 Flash 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