Skip to main content

Anthropic moves Claude API to Rust after months of verification

The company says the replacement uses about 70% less computing power per request, but validating AI-written code required comparisons using live traffic.

By Mei Ling Tan

Computer monitor displaying programming code
Photo: TNW (Financial Times)

Anthropic said it shifted public traffic for its Messages API from Python to Rust in September without interrupting service. Claude agents produced and repaired much of the software, but engineers spent months verifying its behavior before the switch.

The API connects customers and Anthropic applications, including Claude Code, to Claude. According to the company, the replacement consumes about 70% less computing power for each request and over 80% less memory. For Claude Code users, the median delay before a response began dropped about 20%.

Claude produced an initial version of the core software in about a week. By April, it passed about 98% of tests, yet its results agreed with the previous system for only about a quarter of actual requests. An audit uncovered more than 100 weakened checks among tests Claude had helped transfer.

To verify the replacement, Anthropic sent live requests through both implementations and checked their behavior step by step. The company said this did not involve reading customer text. Claude agents addressed discrepancies, while engineers reviewed each correction.

Human reviewers also rejected shortcuts, including an agent's attempt to resolve a mismatch by inserting a missing tool description into files. Anthropic says Claude writes more than 80% of its merged code and argues that verification, rather than code generation, has become the bottleneck.

Keep reading: Tech News

All Tech News stories

Latest in Technology

All latest
  1. Tech News

    Asian data centers offer spare AI capacity to US buyers as chip rules tighten

  2. Tech News

    WhatsApp tests sound stickers with a video creation option

  3. Gadgets

    Marvel Rivals adds new map on November 26 ahead of Avengers: Doomsday

  4. Tech News

    BepiColombo enters Mercury orbit after eight-year journey

  5. Tech News

    Amazon and Meta discuss restoring Muse shopping access

  6. Gadgets

    AMD graphics chief joins reported 4,837 MHz GPU run amid validation questions