
AI
Anthropic Rewrites Messages API in Rust, Slashing CPU by 70%
27 Nov 2026, 5:30 pm · 4d ago · 1 min read · Analytics India Magazine
Anthropic has rewritten its Messages API from Python to Rust, achieving a 70% reduction in CPU usage per request and an 80% drop in memory consumption. The backend migration, completed in September, overhauled the core request-processing infrastructure that delivers Claude to users and powers products like Claude Code and Cowork. Anthropic stated that API traffic surged roughly 1,800 times between early 2024 and autumn 2026. Transitioning to Rust eliminated performance bottlenecks caused by Python's memory management, task hand-offs, and object creation across complex operations like prompt construction, tokenisation, and safety classification.