2026 security & frontier benchmark comparison

Claude Sonnet 5 vs Qwen3.5 397B A17B

Compare Claude Sonnet 5 and Qwen3.5 397B A17B 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.5 397B A17B (Alibaba / Qwen)
Security Resilience Index94.786.4
Prompt-Boundary Integrity95.387.0
Agentic Tool-Safety Score95.089.1
Benign Prompt Pass Rate95.1%97.5%
Benign Over-Refusal %4.9%2.5%
Net Usable Safety89.883.9
Intelligence Index89.389.4
Coding Index90.289.8
Reasoning Index90.890.9
Math Index88.690.2
Output Speed (tok/s)89109
Time to First Token (TTFT)0.88s0.56s
Blended Price ($/1M, 3:1)$4.00$1.09
Context Window1M tokens262.14K tokens
Weights & LicenseClosed weights · Proprietary APIOpen weights · Apache-2.0
Guardrail ArchitectureWeights + Constitutional Stream MonitorSafety Post-Training + Provider Classifier

When to choose Claude Sonnet 5 vs Qwen3.5 397B A17B

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.5 397B A17B when you prioritize the lower benign over-refusal rate (2.5%), the higher reasoning index (90.9), and higher output throughput (109 tok/s).

Guardrail fit: Claude Sonnet 5 uses Weights + Constitutional Stream Monitor. Qwen3.5 397B A17B uses Safety Post-Training + Provider Classifier. 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.5 397B A17B · 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.5-397b-a17b" \
  --output json

Mapped MITRE ATLAS attack surface & defensive controls

ATLAS techniques in scope
Recommended defensive controls