All Questions
Evals And Observability hard

Monthly LLM spend rose 40% while request volume stayed flat and no new models were adopted. Your traces record token counts and latency on every span: retrieval, each generation call, and each tool call. Several teams shipped prompt and agent changes during the month. How do you find the cost driver most efficiently?

  1. A Alert on average latency per request, since rising LLM cost tracks rising latency closely and will point straight to the slow feature.
  2. B Compare monthly provider invoices across environments and API keys to see which service's total spend grew the most over the month.
  3. C Aggregate span token counts by feature, prompt version, and span type to find which component's tokens per request grew.
  4. D Manually review 20 sampled transcripts, since a close qualitative read finds the cost driver faster than aggregate dashboards do.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions