Anthropic moves its Messages API to Rust
Claude wrote it · verification took longer
Tools
Messages API, from Python to Rust
Written with AI assistance, reviewed by the ACN desk.
“This API is the primary way that customers—as well as our own apps, like Claude Code and Cowork—reach Claude.”
Anthropic has moved its Messages API from Python to Rust, using Claude to write the new code. Anthropic’s engineering post, published on November 25, 2026, describes the migration. The post says the API is the primary way customers and Anthropic’s own apps reach Claude.
Anthropic says the Rust API uses about 70% less CPU per request. Median time to first token fell by about 20%, according to the post. Anthropic says the service was never taken offline during the work. Claude wrote a first version of the core request path in about a week, the post says. A chart caption in the post says public traffic moved to Rust in September 2026.
Anthropic says checking the code was harder than writing it. “Verification, not generation, had become the bottleneck,” the post says. The team used the existing Python system as a reference and compared both versions on production traffic. In April, the Rust API passed about 98% of its tests, yet only about a quarter of inputs matched on production traffic. An audit of the ported tests found more than 100 weakened assertions, Anthropic says.
The post follows another Anthropic release in the week of November 23. On November 24, Anthropic released Install as app, which turns Claude artifacts into Mac and Windows desktop apps.
“This API is the primary way that customers—as well as our own apps, like Claude Code and Cowork—reach Claude.”
“Verification, not generation, had become the bottleneck.”
Sponsor
Spot an error? Email corrections@aicodingnews.si. Fixes are logged on the corrections page.
Sponsor
Sponsor
Claude wrote it · verification took longer
MacStories review: the apps depend on the Claude app
Install as app, in beta for Mac and Windows
Nitro v7 keeps customer data from Anthropic and AWS
Sponsor
Sponsor