AI
“Anthropic migrated its Messages API from Python to Rust, with Claude writing the initial version of the core code in just one week.”
Plain restatementAnthropic moved its Messages API implementation from Python to Rust, and a first version of the new service's core code was generated by Claude over roughly one week.
This one checks out against the original source, with small wording caveats. Anthropic published an engineering post on 25 November 2026 describing how it moved its Messages API from Python to Rust, and the post says in its own words that Claude wrote a first version of the API's core request path in about a week. The performance numbers in the post also match what the caption says: about 70% less CPU per request, more than 80% less memory, about 20% faster median time to first token for Claude Code requests, and roughly 1,800 times traffic growth from early 2024 to fall 2026. The main caveat is framing. Anthropic says "about a week" for the core request path, not "just one week" for the whole core code, and the company's own account stresses that the hard part was the five months from April to September 2026 spent proving the new version behaved like the old one, much of it done by Claude agents under engineer review. A second caveat is that all these numbers come from Anthropic measuring its own system, the Rust code is not public, and the company notes the CPU figure comes from one region while the other figures cover different scopes and time windows. Nobody outside the company can verify the performance gains independently, and the post does not say which version of Claude wrote the code.
Anthropic [drifted from the evidence:] migrated its Messages API from Python to Rust, [drifted from the evidence:] with Claude writing the initial version of the core code [drifted from the evidence:] in just one week.
Anthropic [added by the neutral restatement:] moved its Messages API [added by the neutral restatement:] implementation from Python to Rust, [added by the neutral restatement:] and a first version of the [added by the neutral restatement:] new service's core code [added by the neutral restatement:] was generated by Claude over roughly one week.
Red-tinted words in the claim drifted from the evidence. Green-tinted words are what a neutral restatement needs.
The trace / claim to source
- Anthropic did migrate its Messages API from Python to Rust. This is stated directly in Anthropic's own engineering post of 2026-11-25, and public traffic moved to Rust in September 2026.
- Claude did write the first version of the core request path, and Anthropic's own figure for the time taken is "about a week." The claim's "one week" matches the source's number.
- The caption's 70% CPU reduction per request figure matches the post.
- The caption's "over 80%" memory reduction figure matches the post's "more than 80%."
- The caption's 20% median time-to-first-token figure matches the post, and the caption correctly scopes it to Claude Code requests, which is exactly how Anthropic qualifies that measurement.
- The caption's "roughly 1,800 times since early 2024" traffic growth figure matches the post, which gives the endpoint as fall 2026.
- The caption's statement that months of testing and refinement followed before rollout is consistent with the post's April-to-September 2026 verification timeline.
- The claim says "in just one week," where the source says "in about a week." The word "just" converts an approximate engineering duration into a rhetorical point. The underlying number is unchanged, so this is a tightening of tone rather than of fact, but "about" and "just" are not the same statement.
- The claim as it appears alone on the image refers to "the core code," where the source says "the API's core request path." The full rewrite covered both the input and output paths around the model, so "core code" is a looser container than what Anthropic actually timed at a week. Read on its own, the image line invites a reader to think the whole service was written in a week.
- The caption presents the 70% CPU figure without the scope Anthropic attaches to it. The post states that the CPU measurement comes from one region, while memory is measured across all of production and time to first token covers a shorter period. Dropping the measurement boundaries presents three figures as if they were gathered on the same footing.
- Every performance number here is measured and published by the company whose product is the subject of the story, on code that is not public. The figures are plausible and specifically scoped in the original, but no independent party can check them, and the caption presents them as settled results rather than as vendor-reported ones.
- The caption's line that "engineers then spent months testing and refining it" understates what the post describes. Anthropic's account centers on teams of Claude agents finding and fixing differences, inside loops that engineers built and reviewed. The caption attributes the months of work to humans alone, which is the opposite direction from the usual hype distortion but still departs from the source.
- Which Claude model version wrote the first version of the core request path is not established in the evidence I retrieved. The claim names only the product family.
- What "a first version" included is not quantified in the retrieved text: no line count, feature coverage, or completeness threshold is given for the one-week artifact.
- The compute cost of the agent work, the number of agent-generated changes, and the total engineering hours are not disclosed, so the one-week figure cannot be placed against a total cost of the migration.
- Whether the performance gains are attributable to the language change alone, as opposed to design changes made during a from-scratch rewrite, is not separated out in the available evidence.
The claim traces to a real, retrievable primary artifact. Anthropic's own engineering post states that it migrated its Messages API from Python to Rust, and that this API is the primary way that customers, as well as Anthropic's own apps such as Claude Code and Cowork, reach Claude. The post's own wording on the central assertion is "Claude wrote a first version of the API's core request path in about a week." The post also states the outcome figures. Anthropic reports that the loops it describes allowed it to migrate the Messages API to Rust, which uses about 70% less CPU per request and reduces median time to first token by about 20%. On memory and measurement windows, the post's figure description says CPU used per request falls by about 70% and memory used per request by more than 80%, both from August to October, while median time to first token falls by about 20% between roughly September 7 and 21. Critically, the post qualifies the scope of each figure: CPU is one region, memory is all of production, and time to first token is customers' Claude Code requests over a shorter period. The traffic figure also checks out: Anthropic states that from early 2024 to fall 2026, API traffic grew roughly 1,800 times. The post is emphatic that code generation was the small part. It describes turning the production Messages API itself into a verifier in order to test the new Rust version on production traffic, find where it differed, and automatically dispatch agents to fix those differences. Anthropic reports that the Rust API passed about 98% of its tests in April, yet only about a quarter of inputs matched on production traffic, and a chart tracks changes merged to the Rust code in two-week periods from April until public traffic moved to Rust in September 2026. Secondary coverage records the same shape: Anthropic says Claude produced a first version of the core request path in about a week, while checking parity with the live Python service took from April until public traffic switched in September 2026, and that the full rewrite covered both the input and output paths around the model, and that because the Python service kept changing, generating replacement code was only the start.
Complete reasoning
The reply is formatted for pasting into the thread where the claim is circulating.
Ask this case
Answers come only from the case file above; nothing is added.
Did Anthropic really move its Messages API from Python to Rust?
Yes. Anthropic's own engineering post, published 25 November 2026, says it migrated the Messages API from Python to Rust, and public traffic switched to the Rust version in September 2026.
Did Claude actually write the new code in one week?
Claude wrote a first version of the API's core request path in about a week, according to Anthropic. The claim's use of 'just one week' tightens the source's 'about a week,' and 'core code' is broader than the 'core request path' Anthropic actually timed, since the full rewrite also covered the input and output paths around the model.
Are the performance improvements, like 70% less CPU use, confirmed?
The figures match Anthropic's post: about 70% less CPU per request, more than 80% less memory, and about 20% faster median time to first token for Claude Code requests. However, each figure covers a different scope and time window, such as one region for CPU versus all of production for memory, and these are vendor-reported numbers on code that is not public, so no outside party can verify them.
Was the migration really done in a week, or did it take longer?
The one-week figure only covers Claude's first draft of the core request path. Anthropic says the much larger effort was checking that the new Rust version matched the old Python service's behavior, which ran from April to September 2026 and relied heavily on Claude agents finding and fixing differences under engineer review.
What don't we know about this migration?
The investigation did not establish which version of Claude wrote the code, what exactly 'a first version' included in terms of completeness, the total engineering hours or compute cost involved, or whether the performance gains came from switching languages versus other design changes made during the rewrite.