Observability

Your monthly AI bill doubled and you have no idea which feature caused the jump.

  1. ASwitch to a cheaper model everywhere.
  2. BSet a lower global token limit.
  3. CLog token usage and cost per run, tagged by feature and user.
  4. DWait and see whether next month comes down.

Answer: C

Log token usage and cost per run, tagged by feature and user.

Why

You can’t optimize what you don’t measure. Per-run token and cost logs tagged by feature pinpoint the source; blanket cuts and waiting fix nothing you can name.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path