2026 security & frontier benchmark comparison

Claude Sonnet 5 vs GLM-4-Plus

Compare Claude Sonnet 5 and GLM-4-Plus 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-4-Plus (Z.ai)
Security Resilience Index94.777.8
Prompt-Boundary Integrity95.378.4
Agentic Tool-Safety Score95.075.8
Benign Prompt Pass Rate95.1%96.9%
Benign Over-Refusal %4.9%3.1%
Net Usable Safety89.874.7
Intelligence Index89.376.4
Coding Index90.277.0
Reasoning Index90.875.9
Math Index88.674.8
Output Speed (tok/s)8972
Time to First Token (TTFT)0.88s0.54s
Blended Price ($/1M, 3:1)$4.00$1.08
Context Window1M tokens128K tokens
Weights & LicenseClosed weights · Proprietary APIClosed weights · Proprietary (API)
Guardrail ArchitectureWeights + Constitutional Stream MonitorSafety Post-Training + Content Moderation Filter

When to choose Claude Sonnet 5 vs GLM-4-Plus

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-4-Plus when you prioritize the lower benign over-refusal rate (3.1%), faster time to first token (0.54s), and the lower blended price ($1.08 per million tokens).

Guardrail fit: Claude Sonnet 5 uses Weights + Constitutional Stream Monitor. GLM-4-Plus uses Safety Post-Training + Content Moderation Filter. 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-4-Plus · 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-4-plus" \
  --output json

Mapped MITRE ATLAS attack surface & defensive controls

ATLAS techniques in scope
Recommended defensive controls