Anthropic moved its Messages API from Python to Rust, cutting CPU per request by about 70%
Anthropic says it migrated the Messages API, the primary way customers reach Claude, from Python to Rust. The Rust service uses about 70% less CPU per request and cuts median time to first token by about 20%, according to the company. Anthropic used the production Python API as a verifier for the migration.