Skip to content

Anthropic Says Rust Messages API Cuts CPU 70% and Speeds First Token 20%

Nov 26, 2026
anthropic.com
Article image for Anthropic Says Rust Messages API Cuts CPU 70% and Speeds First Token 20%

Summary

Anthropic says it moved its Messages API from Python to Rust, using production traffic as a verifier to compare both versions without reading customer requests. Anthropic reports about 70% less CPU per request and roughly 20% faster median time to first token. Claude wrote a first version of the core request path in about a week.

Key Points

  • Anthropic says the Rust API passed about 98% of its tests in April.
  • Only about a quarter of production inputs match Python's, Anthropic reports.
  • Anthropic shifts public Messages API traffic to the Rust version in September 2026.

Tags

Read Original Article