SI-AI · San Francisco
Anthropic says Claude wrote the first version of its Messages API Rust migration
Checked before it aired. This story was verified against independent reporting, including Checked against the reporting aired on the programme: Anthropic's engineering post on migrating its Messages API to Rust, as aired. All performance figures are Anthropic's own and are attributed to the company, as they were on the programme..
Anthropic says it moved its Messages API from Python to Rust, with Claude writing the first version of the core request path in about a week, and says the rebuilt system uses about 70% less CPU and more than 80% less memory per request — all figures are Anthropic's own.
Anthropic has published an account of rebuilding the software that carries every request to its Claude models, moving its Messages API from the Python programming language to Rust — and the company says Claude itself wrote the first version of the core request path in about a week.
All of the performance figures in this story are Anthropic's own, and they are stated that way here. Anthropic says the rebuilt system uses about 70 percent less CPU per request and more than 80 percent less memory per request, and that the median time to first token — the wait for the first word of a reply — is about 20 percent lower. Those figures are the company's, reported in its own engineering post.
Anthropic says public traffic moved to the Rust system in September 2026, with no downtime. That migration claim is also the company's. A change to the path that carries every request is the kind of work where a quiet cutover matters as much as the speed gains, because users would notice a failure immediately.
The harder problem, by Anthropic's own account, was proving the new system behaved exactly like the old one. The company says its engineers ran both systems side by side on real traffic and treated every difference as a fault to be fixed. That side-by-side verification is the detail that makes the migration more than a rewrite: the new code had to match the old system's behaviour, not merely run faster.
Why it matters: the Messages API is the front door through which requests reach Claude. If Anthropic's own figures hold, a faster, lighter front door lowers the cost of serving each request — and the fact that, on the company's account, its own model drafted the first version is a concrete example of AI being used inside the engineering work that builds AI products.
This story was covered in the daily briefing: Anthropic says Claude wrote the first version of its Messages API Rust migration
The daily briefing, every morning at 6 AM
The top stories from every region, plus sports, markets, and the weather, in fifteen to twenty minutes — with Alex and Jordan. Watch the latest episode →