Developers

Anthropic moved its Claude API from Python to Rust without downtime

Anthropic has rebuilt the service behind its Claude Messages API in Rust, replacing the original Python code without taking the API offline, and developers get faster first responses as a result. Anthropic says each request now uses about 70% less CPU and over 80% less memory, and median time to first token dropped by roughly 20%. Claude wrote most of the new code, public traffic switched to Rust in September, and the team checked the port by running live requests through both versions and comparing the output until 99.6% matched.