Anthropic publishes official engineering blog post and X announcement reporting roughly 70% CPU reduction per request
Anthropic Rebuilt Messages API in Rust; CPU Down 70%, Team Had No Rust Experience
The migration shows a production API team with no Rust expertise using an AI model to execute a full-language rewrite of core infrastructure at scale. The discrepancy between the 40-50% figures from earlier podcast coverage and the 70% figure in the official post is unresolved.
When stories like this move, I write about them in an email each morning.
One free email each morning, around 8 AM US Eastern.
Check your email.
I have sent you a confirmation link. One click and you are in.
Not in your inbox? Look in spam or promotions. If it's there, mark it "Not spam" so future editions land in your inbox.
The full picture
Anthropic migrated its Messages API from Python to Rust, with its official engineering blog reporting roughly 70% less CPU per request. The engineering team had no prior Rust experience; Claude wrote the vast majority of the implementation while human engineers handled system architecture, migration strategy, and verification. Earlier reports citing figures from a Latent Space podcast discussion with Katelyn Lesse put the CPU reduction at 40-50% and time to first token improvement at 10-20%. API traffic had grown approximately 1,800 times since early 2024. Claude produced a first draft of the Rust service in about a week. The team built a full replacement rather than migrating incrementally, validated it via shadow traffic run in parallel with the Python service, and deliberately avoided adding new features during the port. Teams of Claude agents were then used to track down and fix behavioral differences between the two versions.
How it developed
Mark Kretschmann summarizes migration on X: 40-50% CPU reduction, team had no prior Rust experience, Claude wrote most code
explainx.ai publishes writeup with 40-50% CPU and 10-20% TTFT figures; notes no official Anthropic post yet
BigGo Finance reports 40-50% CPU reduction and 10-20% faster time to first token, citing Latent Space podcast with Katelyn Lesse
Sources
- OpenAI's Habitat storage platform Rust rewrite
- AWS open-source local cloud emulator
- Perplexity's Lily local inference engine
- DeepSeek's DeepInfer inference engine
BackgroundCompute: the chips, clouds and data centers behind AI
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.
Check your email.
I have sent you a confirmation link. One click and you are in.
Not in your inbox? Look in spam or promotions. If it's there, mark it "Not spam" so future editions land in your inbox.