Anthropic Cut CPU Use About 70% by Moving Its Messages API From Python to Rust

The Migration

Anthropic says it cut CPU usage per request by about 70% and memory usage by more than 80% after migrating its Messages API from Python to Rust, with Claude writing much of the code.

Median time to first token also fell by about 20%, according to an Anthropic engineering blog post.

The service stayed online throughout the switch.

Why It Matters

The Messages API is the interface developers use to send requests to Claude. Cutting CPU per request by about 70% lowers the cost of serving every one of those requests, which matters at the scale Anthropic now operates at, and the company used its own model to write much of the migration code.

Do you want to see how to make more plays? Do you want to find gains yourself? Unusual Whales helps you find market opportunities through our market tide, historical options flow, GEX, and much, much more. Create a free account here to start conquering the market with Unusual Whales

Options and Market Impact

Anthropic (ANT) is the direct name. Serving costs are a core part of the AI lab margin story, and a 70% CPU cut on the main API is the kind of efficiency number investors in the newly public company will track.

Bottom Line

Anthropic rewrote its main API in Rust, used Claude to write much of the code, and cut CPU use by about 70% and memory by more than 80% without taking the service down.

Sign up for Unusual Whales to track the flow: https://unusualwhales.com/login?ref=blubber