2026 security & frontier benchmark comparison

Claude Sonnet 5 vs Qwen3 32B

Compare Claude Sonnet 5 and Qwen3 32B 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)Qwen3 32B (Alibaba / Qwen)
Security Resilience Index94.777.5
Prompt-Boundary Integrity95.375.7
Agentic Tool-Safety Score95.076.2
Benign Prompt Pass Rate95.1%96.5%
Benign Over-Refusal %4.9%3.5%
Net Usable Safety89.874.0
Intelligence Index89.382.6
Coding Index90.283.1
Reasoning Index90.885.9
Math Index88.685.2
Output Speed (tok/s)89116
Time to First Token (TTFT)0.88s0.62s
Blended Price ($/1M, 3:1)$4.00$0.13
Context Window1M tokens131.07K tokens
Weights & LicenseClosed weights · Proprietary APIOpen weights · Apache-2.0
Guardrail ArchitectureWeights + Constitutional Stream MonitorOpen Weights (Pair with Llama Guard 4)

When to choose Claude Sonnet 5 vs Qwen3 32B

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 Qwen3 32B when you prioritize the lower benign over-refusal rate (3.5%), higher output throughput (116 tok/s), and faster time to first token (0.62s).

Guardrail fit: Claude Sonnet 5 uses Weights + Constitutional Stream Monitor. Qwen3 32B uses Open Weights (Pair with Llama Guard 4). For high-assurance deployments, choose the model whose guardrail architecture you can inspect, audit, and integrate with your existing monitoring stack.

Claude Sonnet 5 · Qwen3 32B · Open 5-Model Compare Playground · Explore Security Scatter Planes

Verify this comparison

refract scan compare \
  --model-a "anthropic/claude-sonnet-5" \
  --model-b "qwen/qwen3-32b" \
  --output json

Mapped MITRE ATLAS attack surface & defensive controls

ATLAS techniques in scope
Recommended defensive controls