The router that saved 40% and cost 5 points
Take apart a length-based router's reported 40% saving using the cache counters and the per-slice eval, then say what should replace it.
On this page
A routing change shipped with a slide that said 40% cheaper. The eval and the cache counters tell a different story, and the critique has to put a number on it.
The situation
A support assistant ran entirely on the large tier, reading 10M input tokens a day with a measured cache hit rate of 85%. Last month a router went live: any message of 300 tokens or fewer goes to the small tier, everything else to the large one. After the change, half of all input tokens go to each tier. The launch slide computed the saving from the price list — a blend of half at the small rate and half at the large rate against all at the large rate — and reported 40%.
Two weeks later the golden set (200 items) reads 87% against 92% before the change. The "billing and account closure" slice, 50 items, fell from 90% to 74%. The dashboard shows the cache hit rate at 60% on both tiers; the team had not looked at it.
Assume P_in = $3 per million input tokens on the large tier and $0.60 on the small tier (one-fifth), a cache read at C_r × P_in, with C_r = 0.1, on each tier, cache writes small enough to ignore, and output tokens unchanged by the router and left out of the sums.
The question
Decide whether the router should stay, with the real daily input cost before and after it rather than the slide's figure — and say what the team should do instead.
A strong answer · Rubric · Where answers go wrong
Write your answer first, then open