2026 security & frontier benchmark comparison

Claude Sonnet 5 vs Codestral 25.08

Compare Claude Sonnet 5 and Codestral 25.08 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)Codestral 25.08 (Mistral)
Security Resilience Index94.779.4
Prompt-Boundary Integrity95.380.0
Agentic Tool-Safety Score95.077.5
Benign Prompt Pass Rate95.1%97.9%
Benign Over-Refusal %4.9%2.1%
Net Usable Safety89.877.3
Intelligence Index89.378.9
Coding Index90.286.2
Reasoning Index90.877.8
Math Index88.676.4
Output Speed (tok/s)89145
Time to First Token (TTFT)0.88s0.32s
Blended Price ($/1M, 3:1)$4.00$0.45
Context Window1M tokens256K 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 Codestral 25.08

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 Codestral 25.08 when you prioritize the lower benign over-refusal rate (2.1%), higher output throughput (145 tok/s), and faster time to first token (0.32s).

Guardrail fit: Claude Sonnet 5 uses Weights + Constitutional Stream Monitor. Codestral 25.08 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 · Codestral 25.08 · Open 5-Model Compare Playground · Explore Security Scatter Planes

Verify this comparison

refract scan compare \
  --model-a "anthropic/claude-sonnet-5" \
  --model-b "mistralai/codestral-2508" \
  --output json

Mapped MITRE ATLAS attack surface & defensive controls

ATLAS techniques in scope
Recommended defensive controls