Skip to content
mentoor

Topic 4 of 5 · 4 min read

Post-launch monitoring of quality, cost and abuse

Goal: Choose the metrics and alert thresholds for the first two weeks after launching an LLM feature.

After launch, watch quality, user feedback, refusals, latency, spend and abuse, alert on the ones that hurt users or money, and read real conversations every week. Standard uptime monitoring will show green while the assistant is wrong, rude or very expensive.

Check yourself · 1 of 3

An assistant returns HTTP 200 for every request. Why can quality still be failing?

Choose one answer

Why it matters

An LLM feature can return HTTP 200 on every request and still fail. Quality drifts when a provider updates a model, when users find new kinds of questions, or when your own data changes. Cost can climb because one customer loops an agent. Abuse looks like normal traffic until you read it. None of this appears in error rates.

What to track

  1. Quality. An online eval score on a sample of live traffic, such as an LLM judge with a rubric, checked against human labels now and then.
  2. User signals. Thumbs-down rate, regenerate rate, copy rate, escalations to a human, and support tickets that mention the feature.
  3. Refusals and fallbacks. A rising refusal rate means a guardrail is too tight or the model changed. A falling one after a change can mean a guardrail broke.
  4. Latency. p50 and p95 time to first token and total time. Averages hide the slow tail.
  5. Spend. Tokens and dollars per request, per user and per tenant, with a daily cap alert.
  6. Abuse. Top users by volume, repeated injection patterns, and unusual tool use.

Alert on symptoms

Page a person for things users or the budget feel: a spend rate on course to exceed the daily cap, a quality score below the floor for a sustained period, a spike in refusals. Send smaller signals to a daily digest. An alert that fires every day is soon ignored.

Human review

In the first weeks, someone reads a random sample of real conversations each week, plus every thumbs-down. Write down failure types and feed them into the eval set.

Before and after

Weak: one dashboard with request count and error rate.

Better:

Metric           Watch         Alert
Eval score       daily mean    < 0.88 for 2 hours
Thumbs-down      daily         > 6% (baseline 3%)
Refusals         hourly        > 2x baseline
p95 latency      hourly        > 6 s for 15 min
Spend            hourly        projected > $400/day
Abuse            per user      > 200 requests/hour

What goes wrong

  • Only technical metrics. Green dashboards, unhappy users.
  • Thresholds nobody tuned. Baselines come from the canary; copy them, then adjust after a week.
  • Never reading transcripts. Numbers say that something moved, the transcripts say why.

Examples

The runaway agent

A spend alert fires at 11:00: projected daily cost is $900 against a $400 cap. The per-user breakdown shows one tenant's script calling the assistant in a loop. The team lowers that tenant's rate limit through a flag and the cost returns to normal. A dashboard with only total monthly cost would have shown the problem days later.

Green dashboard, drifting answers

Two weeks after launch, thumbs-down rises from 3% to 8% while errors stay at zero. A review of 30 sampled thumbs-down conversations finds the assistant now answers pricing questions from an outdated document. The cause is a stale retrieval index, found only by reading transcripts.

Key points

  • Error rate and uptime miss LLM failures, because a wrong answer still returns a success status.
  • Track quality, user feedback, latency, spend and abuse, with baselines taken from the canary.
  • Alert on user or budget impact, and send low-signal metrics to a digest.
  • Watch refusal rate in both directions: a rise and an unexpected fall both mean something changed.
  • Sample and read real conversations weekly in the first weeks, and feed failures into the eval set.

Common mistakes

  • Relying on uptime and error-rate dashboards that cannot see wrong answers.
  • Alerting on every metric, so on-call learns to ignore the pager.
  • Using averages for latency and missing the slow tail users actually feel.
  • Collecting transcripts but never reading a sample of them.

Check yourself · 2 of 3

After a guardrail change, the refusal rate falls from 4% to 0.3%. What should you do?

Choose one answer

Check yourself · 3 of 3

Which alert is best to page on-call at 3 a.m. during week one?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic