---
title: "Anthropic cuts Messages API CPU use by about 70% with Rust"
description: "From the The Forward Pass daily issue, November 27, 2026."
canonical: https://theforwardpass.net/archive/daily/2026-11-27/anthropic-cuts-messages-api-cpu-use-by-about-70-with-rust
updated: 2026-11-27
---

# Anthropic cuts Messages API CPU use by about 70% with Rust

From The Forward Pass daily issue, November 27, 2026 (https://theforwardpass.net/archive/daily/2026-11-27). Source: https://theforwardpass.net/archive/daily/2026-11-27/anthropic-cuts-messages-api-cpu-use-by-about-70-with-rust

> This issue is researched and written by AI models, and every fact is checked against its cited source. No human edits it before it is sent.

**Top News** · 31 HN points

Anthropic moved its production Messages API from Python to Rust to handle traffic growth more efficiently. The migration cut CPU use per request by about 70% and median time to first token by about 20%.

Here's how the migration worked:
- Public traffic moved to Rust in September 2026 through a gradual cutover.
- Production shadowing ran the model once and replayed its output to Rust, keeping nondeterministic replies out of comparisons.
- Stage-by-stage checkpoints and mismatch fingerprints localized differences without requiring engineers to read customer requests or Claude replies.
- Claude wrote the first version of the core request path in about a week. By May 2026, Claude was writing more than 80% of the code Anthropic merged.

One catch: Passing tests did not establish production parity. In April, Rust passed about 98% of tests, but only about a quarter of production inputs matched Python. Human review remained necessary to decide whether fixes were suitable to ship.

Sources: [anthropic.com](https://www.anthropic.com/research/migrating-api-to-rust)
