Did Anthropic rewrite Claude in Rust?
“Verification, not generation, had become the bottleneck.”
Not Claude the model. Anthropic rewrote the Messages API, the web service that every request to Claude passes through, from Python to Rust. A model is a set of trained weights running on accelerators; it is not written in Python or Rust in the way a web service is. The service around it is ordinary code, and that is what changed.
The Messages API is, in Anthropic's words, "the primary way that customers, as well as our own apps, like Claude Code and Cowork, reach Claude". When it was built in 2023 one engineer called it "basically a request forwarder". By late 2025 every request had to be validated, turned into the prompt, tokenized and screened by safety classifiers, and every reply had to be split into text, thinking and tool calls as it streamed back, then counted for limits and billing. From early 2024 to fall 2026, Anthropic says API traffic grew roughly 1,800 times.
Public traffic moved to the Rust version in September 2026. Anthropic explained how in an engineering post on 25 November 2026, and most of that post is not about Rust at all. It is about how to prove that a rewritten production system does exactly what the old one did.
Read next: Latency: what it is and where it comes from


