2026 security & frontier benchmark comparison
Claude Sonnet 5 vs GLM-4.5
Compare Claude Sonnet 5 and GLM-4.5 on security resilience, safe-request refusals, coding, reasoning, response speed, and price per million tokens.
Side-by-side security & benchmark comparison
| Metric | Claude Sonnet 5 (Anthropic) | GLM-4.5 (Z.ai) |
|---|---|---|
| Security Resilience Index | 94.7 | 82.4 |
| Prompt-Boundary Integrity | 95.3 | 83.0 |
| Agentic Tool-Safety Score | 95.0 | 85.2 |
| Benign Prompt Pass Rate | 95.1% | 97.6% |
| Benign Over-Refusal % | 4.9% | 2.4% |
| Net Usable Safety | 89.8 | 80.0 |
| Intelligence Index | 89.3 | 86.1 |
| Coding Index | 90.2 | 86.9 |
| Reasoning Index | 90.8 | 87.5 |
| Math Index | 88.6 | 87.2 |
| Output Speed (tok/s) | 89 | 88 |
| Time to First Token (TTFT) | 0.88s | 0.68s |
| Blended Price ($/1M, 3:1) | $4.00 | $1.00 |
| Context Window | 1M tokens | 131.07K tokens |
| Weights & License | Closed weights · Proprietary API | Open weights · MIT |
| Guardrail Architecture | Weights + Constitutional Stream Monitor | Intrinsic Alignment + Tool-Call Verifier |
When to choose Claude Sonnet 5 vs GLM-4.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-4.5 when you prioritize the lower benign over-refusal rate (2.4%), faster time to first token (0.68s), and the lower blended price ($1.00 per million tokens).
Guardrail fit: Claude Sonnet 5 uses Weights + Constitutional Stream Monitor. GLM-4.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-4.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-4.5" \
--output json
Mapped MITRE ATLAS attack surface & defensive controls
- ATLAS techniques in scope
- AML.T0015 · Evade AI Model
- AML.T0024 · Exfiltration via AI Inference API
- AML.T0029 · Denial of AI Service
- AML.T0043 · Craft Adversarial Data
- AML.T0051 · LLM Prompt Injection
- AML.T0053 · AI Agent Tool Invocation
- AML.T0054 · LLM Jailbreak
- AML.T0069.002 · System Prompt
- AML.T0135 · Outputs from AI Models
- AML.T0044 · Full AI Model Access
- AML.T0043.000 · White-Box Optimization
- AML.T0086 · Exfiltration via AI Agent Tool Invocation
- Recommended defensive controls
- AML.M0004 · Limit AI Service Query Volume and Rate
- AML.M0010 · Predictive AI Input Restoration
- AML.M0015 · Predictive AI Adversarial Input Detection
- AML.M0019 · Control Access to AI Models and Data in Production
- AML.M0020 · Generative AI Guardrails
- AML.M0021 · Generative AI Guidelines
- AML.M0024 · AI Telemetry Logging and Monitoring
- AML.M0026 · Manage AI Agent Service Access
- AML.M0028 · Enforce Access Controls for AI Agent Tools
- AML.M0029 · Human In-the-Loop for AI Agent Actions
- AML.M0030 · Restrict AI Agent Tool Invocation on Untrusted Data
- AML.M0033 · Input and Output Validation for AI Agent Components