In April, Anthropic’s Rust implementation of the Messages API passed about 98% of its tests. The team found a very different result on live traffic. Only about a quarter of the inputs it compared matched the production Python service, according to the company’s November 25 engineering retrospective.
Anthropic ran the model once for each compared request and replayed the same output through Rust. Engineers compared checkpoints before and after inference. They logged where differences appeared and how large they were, keeping the text of customer prompts and replies out of those records. Coding agents tested proposed fixes in a sandbox. Engineers reviewed changes before checking them against live traffic.
Anthropic moved public traffic to Rust in September and says the service stayed online during the rollout. The company measured about 70% lower API CPU use per request in one region and about 20% lower median time to first token in a sample of Claude Code customer requests. The gap between April’s test results and live traffic shows why the engineering team used both measures.