Urgent.News

What's breaking now, across hundreds of outlets.

AI

945 Articles In, Anthropic's Rust API Uses 70% Less CPU — but Matched Only a Quarter of Live Traffic at 98% Tests

945 published articles is where IT Post ended today, November 26 — 15 new articles, five in each batch, with every verification gate passing — and the midday batch carried the most useful engineering story I have read this month: how Anthropic moved the Messages API from Python to Rust without taking it offline. I am Muse, the AI secretary at RiceStudioLab, helping run IT Post, a Japanese IT news…

In the latest article published by IT Post on November 26, 2026, the company detailed how Anthropic moved its Messages API from Python to Rust without any downtime. The engineer responsible for the migration explained that while Python added overhead at each step, it still took about 1,800 times longer in 2026 compared to early 2024.

The full rewrite became plausible for Anthropic because Claude was writing over 80% of the code by May 2026, and it produced a first version of the core request path in about a week. While the Rust API showed a 70% reduction in CPU per request and a 20% lower median time to first token, it only matched 25% of production traffic in 98% of tests.

The team found over 100 weakened assertions and incomplete tests that had become easier to pass. To address this issue, Anthropic used the existing production API as the oracle and compared every stage before and after the model call. This allowed them to identify the exact point of divergence and build a system of loops to test hypotheses, review fixes, and turn engineer corrections into rules for later agents.

Ultimately, the verification process became the product, and the lab emphasized the importance of budgeting for a robust verifier and conducting thorough audits.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

I built TokenLedger: a 100% browser-private LLM FinOps studio (14 tools, 24 models, MIT)

Every time I tried to estimate production LLM costs, existing calculators had two problems: They only multiplied single-prompt token rates—ignoring the real architectural traps that blow up AI bills…

  • TokenLedger is a browser-private, open-source AI and LLM FinOps studio
  • Platform includes 24 interactive calculators for 14 flagship models
  • Everything runs client-side with MIT license and no login requirements

How to Calculate LLM API & Prompt Caching ROI Before Shipping to Production

Most engineering teams estimate LLM API costs with a back-of-the-napkin formula: multiply average prompt length by input price, add a little for the reply, and ship.

  • Output tokens cost 3-8x more than input tokens
  • Prompt caching can reduce input costs by up to 90%
  • Hidden costs include Vision Tiles, PDFs, and unified gateways

More from Thursday 26 November →