← From the November 25, 2026 · 20:00 CET issue
Anthropic — Claude Messages API now runs on Rust, median time to first token down about 20%
Low importanceIncludes vendor claims
What changed
The Claude Messages API moved from Python to Rust; Anthropic reports about 70% less CPU per request and about 20% lower median time to first token.
Previously: Messages API served by a Python service
Why it matters
- Technical:
- Median time to first token on the Claude Messages API is about 20% lower after the move to Rust, per Anthropic.
- AI agents:
- The Messages API that Claude Code and Cowork call now runs on Rust with about 70% less CPU per request, per Anthropic.
AI-drafted from official sources
Claims
- Anthropic migrated its Messages API from Python to Rust.
Quote and source
“We ran into this problem when we migrated our Messages API from Python to Rust.”
- Anthropic reports the Rust API uses about 70% less CPU per request and cuts median time to first token by about 20%.Vendor claim
Quote and source
“This allowed us to ship an API on Rust that uses about 70% less CPU per request and cuts median time to first token by about 20% without ever taking the service offline or freezing feature development.”
- The Messages API is the primary way customers and Anthropic's own apps, such as Claude Code and Cowork, reach Claude.
Quote and source
“This API is the primary way that customers—as well as our own apps, like Claude Code and Cowork—reach Claude.”
- API traffic grew roughly 1,800 times from early 2024 to fall 2026.
Quote and source
“From early 2024 to fall 2026, API traffic grew roughly 1,800 times.”
- Claude wrote a first version of the API's core request path in about a week.
Quote and source
“Claude wrote a first version of the API’s core request path in about a week.”
Affected
- Roles:
- Technical · AI agents
- Products:
- Claude API
What to watch:
- Latency change by model or region not given
Was this useful?
Sources
- Anthropic Engineering — Migrating our Messages API to Rust✓ official
- @AnthropicAI on X✓ official
History
- · Published · v1