ACN · Presented by Levr
ACN WIRE

Tools

Anthropic used Claude to move its API to Rust

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, Anthropic
0:00 / 0:00

Image: Anthropic

The quick hit

  • Anthropic has moved its Messages API from Python to Rust, using Claude to write code.
  • Anthropic says the Rust API uses about 70% less CPU per request.
  • Anthropic says verifying the new code, not generating it, was the bottleneck.

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.”
Anthropic, Anthropic
“Verification, not generation, had become the bottleneck.”
Anthropic, Anthropic

Sponsor

Sources

  1. Anthropic · Nov 25, 2026
  2. Anthropic (Install as app) · Nov 24, 2026

Spot an error? Email corrections@aicodingnews.si. Fixes are logged on the corrections page.

From our sponsors

Sponsor

Sponsor

Also in

Sponsor

Sponsor