2026 security & frontier benchmark comparison

Claude Sonnet 5 vs Qwen 2.5 Coder 32B Instruct

Compare Claude Sonnet 5 and Qwen 2.5 Coder 32B Instruct on security resilience, safe-request refusals, coding, reasoning, speed, and pricing.

Side-by-side security & benchmark comparison

MetricClaude Sonnet 5 (Anthropic)Qwen 2.5 Coder 32B Instruct (Alibaba / Qwen)
Security Resilience Index94.764.8
Prompt-Boundary Integrity95.363.0
Agentic Tool-Safety Score95.063.1
Benign Prompt Pass Rate95.1%97.1%
Benign Over-Refusal %4.9%2.9%
Net Usable Safety89.861.9
Intelligence Index89.371.4
Coding Index90.280.6
Reasoning Index90.872.1
Math Index88.673.2
Output Speed (tok/s)8996
Time to First Token (TTFT)0.88s0.39s
Blended Price ($/1M, 3:1)$4.00$0.75
Context Window1M tokens32.77K tokens
Weights & LicenseClosed weights · Proprietary APIOpen weights · Apache-2.0
Guardrail ArchitectureWeights + Constitutional Stream MonitorOpen Weights (Pair with NeMo Guardrails)

When to choose Claude Sonnet 5 vs Qwen 2.5 Coder 32B Instruct

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 Qwen 2.5 Coder 32B Instruct when you prioritize the lower benign over-refusal rate (2.9%), higher output throughput (96 tok/s), and faster time to first token (0.39s).

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

Claude Sonnet 5 · Qwen 2.5 Coder 32B Instruct · Open 5-Model Compare Playground · Explore Security Scatter Planes

Verify this comparison

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

Mapped MITRE ATLAS attack surface & defensive controls

ATLAS techniques in scope
Recommended defensive controls