# Can cost_drift catch a cost that creeps up slowly, not just a sudden spike?

Yes, because cost_drift checks two references at once, and each one is blind to what the other catches. One is the call site's rolling recent normal, which catches a sudden jump, like a deploy that doubles token usage overnight. The other is pinned at the last deploy, a fixed point rather than a moving one, so a change that inches up over weeks still reads as far from where things stood at launch.

A rolling baseline alone would absorb slow creep a little each window until expensive became the new normal with no finding ever firing. A pinned baseline alone would keep flagging a change forever, since it never resets. Running both means creep gets caught by the one that doesn't move, and a real jump gets caught fast by the one that does. Only a person resets the pin, once they've confirmed the new normal is actually fine.

---

Source: https://tessary.ai/answers/tessary-cost-drift/can-cost-drift-catch-a-slow-cost-creep
More on Tessary cost drift: https://tessary.ai/answers/tessary-cost-drift
From Tessary, agent reliability for AI agents in production: https://tessary.ai
