Skip to content

Claude Helped Rewrite Anthropic’s API, Cutting CPU Use by 70%

AI Podcasts
A black podcast microphone beside an open server tray with two copper heatsinks and bright cables.
Editorial illustration of a podcast microphone and server hardware.
Anthropic says its move from Python to Rust cut CPU use per request by about 70% in one region. Claude wrote an early draft of the code that lets apps reach its models. The team spent much more time on tests. They had to check what the new code did when it got a request the old tests had missed.
Anthropic published its account on November 25. Public traffic moved to Rust in September. In the November 27 episode of AI World Today, we look at how the team checked the rewrite, plus OpenAI's privacy trial, US chip rules and the mystery of an unsigned sketchbook at Yale.

Listen to the November 27 episode

Follow AI World Today on Spotify, Apple Podcasts or Amazon Music. Browse more episodes of AI World Today: Daily News.

Claude wrote the first version in about a week

The Messages API checks what an app sends, prepares prompts for the model and sorts the reply into text and tool calls. Those steps take computing power of their own. Our coverage of Anthropic's move to Rust explains what changed around the model.
In April, the Rust API passed about 98% of its tests. Yet only about a quarter of the inputs matched on live traffic. That gap showed where the new and old code did things in different ways. A few changes were small, like the way the code wrote a symbol. In some cases it left out part of a prompt or turned down a request the old API let through.
Some tests changed during the rewrite too. As TechRepublic reports, a passing test could cover less than the old one did. To find out what users would get, Anthropic needed to compare the two systems as they dealt with the same requests.

The old API became a reference

The team ran the model once and played the reply back to the new service. They could then check what the new API did with the reply. The customer paid for one request. Agents made their own examples to find the cause of each gap. Engineers checked the fixes before the team tried them on live traffic.
Anthropic also reported more than 80% less memory per request across production. In a narrower sample of Claude Code requests, the median wait for the first piece of a reply fell by about 20%. Those numbers measure different parts of the service. The 70% CPU figure covers API work in one region.

OpenAI starts testing Private Inference

OpenAI calls Private Inference an early API preview. It aims to protect a prompt and its reply while the model works on them. The small customer trial is separate from OpenAI's zero data retention option, which covers what the company keeps after it handles a request.

US chip rules could slow some Chinese AI releases

The US rule that took effect November 19 puts some large overseas computing deals under license. Reuters spoke to people familiar with Z.ai and Moonshot about what might happen to model release plans. The dates are still uncertain. Our earlier story traced the rush to rent computing power abroad.

An AI finds a lead in an unsigned sketchbook

Historian Mark Humphries gave GPT-6.2 Astra images from an 1808 sketchbook held at Yale. In about 22 minutes, the model proposed the Vicomte de Chabot as the likely artist and pointed to a journal on microfilm. Humphries then obtained the scans and checked the route, handwriting and an entry about drawing Fort St. Joseph. Our sketchbook story follows the evidence he found after that first AI search.
AI World Today is narrated by an AI voice.
loading

Loading