2026 security & frontier benchmark comparison

Claude Sonnet 5 vs GPT-5 Pro

Compare Claude Sonnet 5 and GPT-5 Pro on security resilience, safe-request refusals, coding, reasoning, response speed, and price per million tokens.

Side-by-side security & benchmark comparison

MetricClaude Sonnet 5 (Anthropic)GPT-5 Pro (OpenAI)
Security Resilience Index94.791.4
Prompt-Boundary Integrity95.391.0
Agentic Tool-Safety Score95.092.0
Benign Prompt Pass Rate95.1%93.9%
Benign Over-Refusal %4.9%6.1%
Net Usable Safety89.885.3
Intelligence Index89.384.3
Coding Index90.285.2
Reasoning Index90.888.4
Math Index88.688.7
Output Speed (tok/s)8972
Time to First Token (TTFT)0.88s7.90s
Blended Price ($/1M, 3:1)$4.00$41.25
Context Window1M tokens400K tokens
Weights & LicenseClosed weights · Proprietary APIClosed weights · Proprietary API
Guardrail ArchitectureWeights + Constitutional Stream MonitorInstruction Hierarchy + Deliberative Alignment

When to choose Claude Sonnet 5 vs GPT-5 Pro

Choose Claude Sonnet 5 when you prioritize higher security resilience (94.7), stronger prompt-boundary integrity (95.3), and higher agentic tool safety (95.0).

Choose GPT-5 Pro when your requirements are not differentiated by the benchmark metrics and you prefer its provider and guardrail stack.

Guardrail fit: Claude Sonnet 5 uses Weights + Constitutional Stream Monitor. GPT-5 Pro uses Instruction Hierarchy + Deliberative Alignment. For high-assurance deployments, choose the model whose guardrail architecture you can inspect, audit, and integrate with your existing monitoring stack.

Claude Sonnet 5 · GPT-5 Pro · Open 5-Model Compare Playground · Explore Security Scatter Planes

Verify this comparison

refract scan compare \
  --model-a "anthropic/claude-sonnet-5" \
  --model-b "openai/gpt-5-pro" \
  --output json

Mapped MITRE ATLAS attack surface & defensive controls

ATLAS techniques in scope
Recommended defensive controls