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

Track ANT on Unusual Whales
Unusual Whales does not confirm the information's truthfulness or accuracy of the associated references, data, and cannot verify any of the information. Any content on this site or related pages are not intended to provide legal, tax, investment or insurance advice. Unusual Whales Inc. is not registered as a securities broker-dealer or an investment adviser with the U.S. Securities and Exchange Commission, the Financial Industry Regulatory Authority (“FINRA”) or any state securities regulatory authority. Nothing on Unusual Whales should be construed as an offer to sell, a solicitation of an offer to buy, or a recommendation for any security by Unusual Whales or any third party. Options, investing, trading is risky, and losses are more expected than profits. Please do own research before investing. Please only subscribe after reading our full terms and understanding options and the market, and the inherent risks of trading. It is highly recommended not to trade on this, or any, information from Unusual Whales. Markets are risky, and you will likely lose some or all of your capital. Please check our terms for full details.
Any content on this site or related pages are not intended to provide legal, tax, investment or insurance advice. Unusual Whales Inc. is not registered as a securities broker-dealer or an investment adviser with the U.S. Securities and Exchange Commission, the Financial Industry Regulatory Authority (“FINRA”) or any state securities regulatory authority. Nothing on Unusual Whales should be construed as an offer to sell, a solicitation of an offer to buy, or a recommendation for any security by Unusual Whales or any third party. Certain investment planning tools available on Unusual Whales may provide general investment education based on your input. You are solely responsible for determining whether any investment, investment strategy, security or related transaction is appropriate for you based on your personal investment objectives, financial circumstances and risk tolerance. You should consult your legal or tax professional regarding your specific situation. See terms for more information.