
What happened
Anthropic said it used Claude to fully port its Messages API from Python to Rust, moving over in September 2026 without downtime. CPU use per request fell about 70%, memory per request fell over 80%, and median time for Claude Code users to get a first token dropped about 20%.
Why it matters
The company reports that its Messages API now runs on Rust at the same scale as before, with lower resource use per request and faster first responses for Claude Code users.
WHO IT HITSBackend and platform engineers running high-traffic APIs may look to Anthropic's account as a case study for using AI assistants to rewrite code while verifying behavior against live traffic.
Summaries like this, every morning.
By signing up you agree to the Terms of Service and Privacy Policy.
Anthropic first tried rewriting only the most CPU-intensive parts of the Messages API in Rust. That approach cut CPU use by about 8–10%, but it added data-passing between Python and Rust and made the system more complex, according to the company. Anthropic then chose a full port, and Claude produced an initial version of the core API in about a week.
Verification became the hard part. In April 2026, the Rust version passed about 98% of tests, yet when checked against real requests it matched the Python version on only about a quarter of input-processing results. Claude's ported tests had also loosened pass conditions in more than 100 places. Anthropic responded by treating the live Python API as the reference, running the model only once per request, and logging where outputs diverged without reading request or response content.
The company grouped similar defects and assigned fixes to Claude agents, with engineers approving proposed changes before validation against real traffic. Anthropic says this shifted the bottleneck in large software projects from writing code toward verification.
Pick your industry and the AI tools you use, and get news related to your work every day.
By signing up you agree to the Terms of Service and Privacy Policy.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
altspark Inc., a Pittsburgh-based startup, launched a hosted platform that connects apps, databases and docume…
ASUS announced the XA P8N-E2X at NVIDIA GTC Washington, D.C

OpenAI is reportedly seeking up to $20 billion at a $1.25 trillion valuation, down from an original $30 billio…

Petual announced a $25 million Series A, closed in July and led by ICONIQ, with Andreessen Horowitz, First Rou…

Ruining He and co-authors at Google Research proposed RealFormer, which adds residual connections to attention…

Ben's Bites compares today's AI adoption to learning to Google in 1998 — it took about ten years for search ha…
