AI & Enterprise
Anthropic switches message API from Python to Rust, cuts CPU use 70 percent
Anthropic disclosed on its engineering blog on Nov. 25 how it migrated its Message API, a key channel to access Claude, from Python to Rust. The company said the Rust-based API cut CPU usage per request by about 70 percent and reduced the median time to first token by 20 percent. Anthropic said it completed the transition without stopping its service, citing a surge in traffic.