The Information Machine
FollowingDay 7in the edition since 26 Nov 20266 sourcesupdated 29 Nov 2026

Anthropic's Messages API rewrite in Rust

The gist

Latest: Anthropic Rebuilt Messages API in Rust, Cutting CPU Use 70%

The migration demonstrates a production-scale case of AI-assisted development where an AI tool wrote most of the code for a core infrastructure rewrite, with no team members holding prior expertise in the target language. The result is a substantial efficiency gain on a high-traffic API.

When stories like this move, I write about them in an email each morning.

One free email each morning, around 8 AM US Eastern.

The full picture

Anthropic migrated its Messages API from Python to Rust, and the official engineering blog reported the rewrite cut per-request CPU usage by roughly 70%. A team with no prior Rust experience carried out the work, with Claude writing most of the implementation while engineers handled system design, migration strategy, and verification. The team built a complete Rust replacement rather than migrating incrementally, then validated it via shadow traffic before cutting over production traffic. Static analysis kept the Rust service in sync as the Python API continued to evolve during the transition. After cutover, teams of Claude agents were deployed to identify and fix behavioral differences between the two versions. API traffic had grown roughly 1,800 times since early 2024. Earlier figures drawn from a Latent Space podcast with Katelyn Lesse cited 40-50% CPU reduction and 10-20% improvement in time to first token; the official November 25 post superseded those with the 70% figure.

How it developed
29 November 2026

The Neuron Daily reported the 70% CPU reduction figure

First in the edition · 26 November 2026
25 November 2026in the 26 Nov edition

Anthropic's engineering blog on November 25 reported that rewriting the Messages API from Python to Rust cut per-request CPU by roughly 70%.

Earlier sources drawing on a Latent Space podcast with Katelyn Lesse put the reduction at 40-50% with a 10-20% time-to-first-token improvement, leaving the two figures unreconciled. The team had no prior Rust experience; Claude wrote most of the implementation while engineers designed the system and verified results, using a one-shot replacement validated through shadow traffic.

1 November 2026

Mark Kretschmann summarized the migration on X, citing Claude-led implementation and 40-50% CPU reduction

31 October 2026

explainx.ai reported the same podcast figures (40-50% CPU, 10-20% TTFT) and noted Anthropic had not yet published an official corroborating post

29 October 2026

BigGo Finance reported Anthropic's zero-Rust team rebuilt the Messages API with Claude, citing 40-50% CPU reduction and 10-20% TTFT improvement from Latent Space podcast

Sources
1 more source

Get the daily email

When stories like this move, I write about them in an email each morning.

One free email each morning, around 8 AM US Eastern.

See the latest edition · Privacy