{"type":"post","id":"migrating-our-messages-api-to-rust-anthropic-406242","slug":"migrating-our-messages-api-to-rust-anthropic-406242","title":"Migrating our Messages API to Rust \\ Anthropic","description":"Claude wrote a first version of the Messages API’s core request path in about a week, but Anthropic still had to show it matched the live service.","retrieval_nugget":"Claude wrote a first version of the Messages API’s core request path in about a week, but Anthropic still had to show it matched the live service. The API, migrated from Python to Rust, is the main route customers and Anthropic apps such as Claude Code and Cowork use to reach Claude. (anthropic.com)","published_at":"2026-11-25","updated_at":"2026-11-25","record_date":"2026-11-25","date_kind":"published_at","topics":["anthropic","claude","claude-code"],"entities":["Anthropic","Messages API","Claude","Claude Code","Cowork","Rust","Python"],"related_patterns":["verification-bandwidth-is-the-scarce-resource"],"novelty_label":"new_fact","what_changed":"Anthropic details how it verified the Rust migration against production traffic and reports roughly 70% less CPU per request, following an earlier 40–50% reduction estimate.","prior_refs":[],"source_url":"https://www.anthropic.com/research/migrating-api-to-rust","source_urls":["https://www.anthropic.com/research/migrating-api-to-rust"],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:migrating-our-messages-api-to-rust-anthropic-406242","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/migrating-our-messages-api-to-rust-anthropic-406242/","markdown":"https://newruntime.com/posts/migrating-our-messages-api-to-rust-anthropic-406242.md","json":"https://newruntime.com/posts/migrating-our-messages-api-to-rust-anthropic-406242.json"},"markdown_url":"https://newruntime.com/posts/migrating-our-messages-api-to-rust-anthropic-406242.md","next_reads":[{"type":"topic","path":"/topics/anthropic/","url":"https://newruntime.com/topics/anthropic/","title":"Anthropic","reason":"Explore the anthropic topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/anthropic.md","json_url":"https://newruntime.com/topics/anthropic.json"},{"type":"topic","path":"/topics/claude/","url":"https://newruntime.com/topics/claude/","title":"Claude","reason":"Explore the claude topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude.md","json_url":"https://newruntime.com/topics/claude.json"},{"type":"topic","path":"/topics/claude-code/","url":"https://newruntime.com/topics/claude-code/","title":"Claude Code","reason":"Explore the claude-code topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude-code.md","json_url":"https://newruntime.com/topics/claude-code.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
