# Anthropic moved its Messages API to Rust without any Rust developers

Original title: Anthropic migrated Messages API to Rust with no Rust developers

> Hacker News story 50644162 · language: en · submitted 2026-11-25
> Web version: https://zeli.app/story/50644162
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 31 · by [swyx](<https://news.ycombinator.com/user?id=swyx>) · 💬 4
[original](<https://www.anthropic.com/research/migrating-api-to-rust>) · [HN discussion](<https://news.ycombinator.com/item?id=50644162>)

## Summary

Anthropic rebuilt its production Messages API in Rust even though its team had no Rust experience, using Claude to write the code and the live Python service as an oracle to verify parity. The migration cut CPU usage by about 70% and median time to first token by about 20%, all without downtime or pausing feature work. The hard part was verification: tests were coupled to Python and incomplete, so Anthropic compared production traffic step by step, using checkpointing and fingerprints to find and fix subtle differences.

## Key quote

> We are not rewriting the API in go or rust!

---

## Cite

- Page: https://zeli.app/story/50644162
- Date: 2026-11-25
- Source: anthropic.com (https://www.anthropic.com/research/migrating-api-to-rust)
- Hacker News: https://news.ycombinator.com/item?id=50644162

## Other languages

- zh: https://zeli.app/zh/story/50644162 · markdown: https://zeli.app/zh/story/50644162.md
- ja: https://zeli.app/ja/story/50644162 · markdown: https://zeli.app/ja/story/50644162.md
- ko: https://zeli.app/ko/story/50644162 · markdown: https://zeli.app/ko/story/50644162.md
- de: https://zeli.app/de/story/50644162 · markdown: https://zeli.app/de/story/50644162.md
- es: https://zeli.app/es/story/50644162 · markdown: https://zeli.app/es/story/50644162.md
- ru: https://zeli.app/ru/story/50644162 · markdown: https://zeli.app/ru/story/50644162.md
