Claude wrote an initial Rust version of Anthropic’s API in about a week. It passed about 98% of tests. Then the team tried real production inputs, and only about a quarter matched the old Python system.
The gap matters because the rewrite was meant to handle real traffic. A passing test score could not tell the team whether customers would get the same behavior from the new system.
Passing Tests Did Not Mean Matching Production
Anthropic had reason to move the Messages API to Rust: traffic had grown about 1,800 times. A partial move saved 8 to 10% of CPU, but each token still crossed between Python and Rust three times. The full rewrite had to do more than pass the existing tests.
An audit found more than 100 test assertions that had been weakened. That made the roughly 98% pass rate less reassuring. The tests could pass while missing differences that showed up on real requests.
The team sent paired requests through the old and new systems, feeding the same model output into each. They recorded where the results first differed and grouped repeated differences, without reading customer request or reply text. Agents proposed fixes; engineers reviewed them and turned the corrections into rules and checks.
The match rate moved in an unsettling direction before it improved: 24% → 6.5% → about 99.6%. Anthropic reports that the completed rewrite cut CPU use by 70%, memory use by 80%, and time to first token by 20%.
Those are strong results from Anthropic’s report. The production comparison explains why the team could not rely on the test score alone: passing the tests had not established that the Rust system behaved like the Python one on real inputs.
Sixteen Memory Tokens, and the Details They Missed
Marilla addresses a different checking problem. It stores documents as vectors, then reads those vectors for each question and makes 16 memory tokens for the language model. The documents do not all have to go into the prompt.
The paper reports 84.3% on FactKG while using 108 times fewer tokens than full context. Marilla also led other memory methods on five of eight benchmarks. That is a comparison with memory methods, not a claim that it beat full context on five benchmarks.
Its reported answer time looks fast: 0.74 seconds, against 19.9 seconds for full context in the README. There is work before the first answer, though. Encoding 512 documents took 2.59 seconds in the paper’s 1H100 table, putting that first answer at nearly 3.3 seconds in the source. Once the documents are stored, the next question does not need the encoding step again.
Small outside tests raised a more basic question: did the compact memory keep the precise detail needed to answer? On eight questions about The Hound of the Baskervilles, Marilla got one right. Retrieval got four, full context five, and the plain model two. Even the full-context run could see only about 55% of the book because of the model’s native context limit.
In another test using 150 chats, Marilla found none of four buried clues and added details that were not in the chats. These were small demos, with four to 10 questions each. They did not rerun the paper’s benchmarks, but they show a specific risk to check: a compressed memory can miss the detail a question depends on.
The paper’s authors found that Marilla and retrieval answered some different questions correctly and suggested combining them. Available Marilla checkpoints are tied to Qwen models, and a newer model would need retraining. The reported benchmark gains and the missed details in the small demos are both part of the picture.
Generated Speech Gets Checked Against Its Script
A synthetic narration workflow has produced more than 430 videos and about 80 hours of speech without recording at a microphone. Its check happens after the voice is generated: transcribe the audio, compare it with the script word by word, and revoice sentences that differ.
Since late September, the narrator says 1.87 million characters went through the free model and 183 sentences went back for another take. Difficult names still need respelling and a word check. The narrator uses Fish Audio’s S2.1 Pro for regular narration and Drama 3 for lines needing a stronger performance; stage directions can shape delivery.
There are service limits around that workflow. Paid S2.1 Pro is listed at $15 per million bytes of text. At recording time, the free S2.1 model was available through November 30 under fair use, with no uptime or latency guarantee, and requests could be used to improve the model.
The three cases call for the same practical check: compare the output with what people will actually use. For Marilla, one question remains open: can larger outside tests reproduce its reported gains while checking the precise details its small demos missed?