2026 security & frontier benchmark comparison

Claude Sonnet 5 vs GLM-5

Compare Claude Sonnet 5 and GLM-5 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)GLM-5 (Z.ai)
Security Resilience Index94.787.9
Prompt-Boundary Integrity95.388.5
Agentic Tool-Safety Score95.090.2
Benign Prompt Pass Rate95.1%98.0%
Benign Over-Refusal %4.9%2.0%
Net Usable Safety89.885.9
Intelligence Index89.389.6
Coding Index90.290.2
Reasoning Index90.891.0
Math Index88.690.5
Output Speed (tok/s)8986
Time to First Token (TTFT)0.88s0.82s
Blended Price ($/1M, 3:1)$4.00$0.93
Context Window1M tokens204.8K tokens
Weights & LicenseClosed weights · Proprietary APIOpen weights · MIT
Guardrail ArchitectureWeights + Constitutional Stream MonitorIntrinsic Alignment + Tool-Call Verifier

When to choose Claude Sonnet 5 vs GLM-5

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 GLM-5 when you prioritize the lower benign over-refusal rate (2.0%), the higher reasoning index (91.0), and faster time to first token (0.82s).

Guardrail fit: Claude Sonnet 5 uses Weights + Constitutional Stream Monitor. GLM-5 uses Intrinsic Alignment + Tool-Call Verifier. For high-assurance deployments, choose the model whose guardrail architecture you can inspect, audit, and integrate with your existing monitoring stack.

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

Verify this comparison

refract scan compare \
  --model-a "anthropic/claude-sonnet-5" \
  --model-b "z-ai/glm-5" \
  --output json

Mapped MITRE ATLAS attack surface & defensive controls

ATLAS techniques in scope
Recommended defensive controls