OpenAI GPT-4o Mini vs OpenAI GPT OSS 20B

Detailed comparison for LLMs

OpenAIOpenAI

On Guardion's LLM vulnerability Benchmark, OpenAI GPT OSS 20B is the more secure of the two: GPT-4o Mini scores 26.7% and GPT OSS 20B scores 20.0% 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 OSS 20B is the overall winner in this comparison!

Attack Success Rate (lower is safer)

ASR for OpenAI GPT-4o Mini vs OpenAI GPT OSS 20B. Green marks the safer model on each metric. Only the overall score is available for estimated models.

Overall (ASR)

GPT-4o Mini
26.7%
GPT OSS 20B
20.0%

TAP Attack Method (ASR)

GPT-4o Mini
40.5%
GPT OSS 20B
100.0%

Crescendo Attack Method (ASR)

GPT-4o Mini
33.1%
GPT OSS 20B
100.0%

Zero-Shot (ASR)

GPT-4o Mini
6.4%
GPT OSS 20B
100.0%

Key Highlights

  • OpenAI GPT OSS 20B has a lower Overall (ASR).
  • OpenAI GPT-4o Mini has a lower TAP Attack Method (ASR).
  • OpenAI GPT-4o Mini has a lower Crescendo Attack Method (ASR).
  • OpenAI GPT-4o Mini has a lower Zero-Shot (ASR).

Security Profile

Outward is better on every axis.

OverallTAPCrescendoZero-Shot
GPT-4o Mini
GPT OSS 20B
Full security profile
OpenAI GPT-4o Mini
Full security profile
OpenAI GPT OSS 20B

Frequently asked questions

Is OpenAI GPT-4o Mini or OpenAI GPT OSS 20B more secure?

On Guardion's LLM vulnerability Benchmark, OpenAI GPT OSS 20B is the more secure of the two: GPT-4o Mini scores 26.7% and GPT OSS 20B scores 20.0% 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 GPT-4o Mini vs GPT OSS 20B?

GPT-4o Mini has a 26.7% ASR and GPT OSS 20B has a 20.0% ASR — the share of adversarial prompts that succeed across zero-shot, TAP, and Crescendo attacks. Lower is safer.

How were GPT-4o Mini and GPT OSS 20B 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