# Which Production Metrics Matter for a Chatbot?

> The numbers that show a chatbot is healthy after launch: speed, cost, real outcomes and sampled quality checks, explained simply for your AI interview.

**In short:** Track speed and errors, cost per solved chat, and whether users got a real answer, then check quality and safety on a sample of chats. Uptime and error rates alone miss the failures that hurt most, such as a fast bot that gives wrong answers.

AI and LLM interview question Q259, Evaluation and observability. Intermediate, very common (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/production-metrics-for-a-chatbot

## Say it in 30 seconds

When a chatbot goes live, I watch a few kinds of numbers. First, speed and errors: how long people wait, and how often a call fails. Second, cost per solved chat, because tokens add up fast. Third, outcomes: how many chats were solved, handed to a person, or abandoned. Fourth, quality on a sample of chats, checked for whether answers are backed by their source. Fifth, safety flags. Uptime alone would have missed the bot that was running fine but giving wrong answers.

## Say it in 2 minutes

A chatbot needs more than an uptime check after launch. I track a handful of numbers. Speed comes first: latency, which is how long a reply takes to arrive. I watch the slow end, not the average. Errors come next, such as failed calls and timeouts.

Then cost. Models bill by the token, the small pieces of text they read and write, so I track tokens per chat and, more useful, cost per solved chat. Outcomes matter most: resolution rate for chats solved, escalation rate for handoffs to a person, and abandon rate for chats that go quiet.

Quality needs a sample. Nobody has an answer key for live chats, so I score a fixed share for groundedness, which asks whether the answer is backed by the source it was given. A person reads a few each week too, and safety flags run on the same sample.

The trap is a green dashboard. In one made-up bank case, uptime and errors looked fine while tokens more than doubled, the slow tail grew and escalations climbed, because a prompt change loaded the whole policy file into every reply. Only the speed, cost, outcome and sample numbers caught it.

## What metrics does a chatbot need, in plain words?

A chatbot is a live product. Once real customers use it, you need numbers that show whether it works, what it costs and whether it stays safe. Those numbers are the metrics.

Think of a bank branch manager. They watch queue length, wait time, cost per customer and complaints. A branch with short queues but angry customers is in trouble, even though its doors are open. A chatbot works the same way: the server can be up while customers get wrong answers.

- **Latency:** How long a reply takes to arrive.
- **Token:** A small piece of text. The model reads and writes tokens, and usage is billed by them.
- **Resolution rate:** The share of chats that ended with the question answered, either confirmed by the user or implied by the flow.
- **Groundedness:** Whether an answer is backed by the source text the bot was given.

## Which numbers show the bot is healthy?

Three kinds of number run on every chat. Quality and safety are a fourth group, scored on a sample, which the next section covers.

*Diagram, What to count after launch: Each chat is logged once. Speed, cost and outcomes are counted on every chat. Quality and safety are scored on a sample, since scoring every chat, by a checker or a person, costs too much time and money.*
1. Each logged chat feeds the everyday counts.
2. A fixed share of chats is copied out for scoring.
3. Speed, cost and outcomes go into the weekly review.
4. The scored sample goes into the same review.

- **Speed and errors: Watch the slow end.** Track the 95th percentile instead, the wait that 1 in 20 chats takes or exceeds. The average can look fine while those chats suffer.
- **Cost: Cost per solved chat.** Tokens add up with every long reply and every extra tool call. Dividing total spend by solved chats counts the spend on chats that solve nothing, so waste shows up.
- **Outcomes: Solved, handed over, dropped.** Resolution, escalation and abandon rates together cover most ways a chat ends. Resolution is the good end. Escalation and abandon each point to a different kind of failure.

Microsoft's guidance makes the key point: a server that stays up says little about the answers it gives.

> "Uptime and error rates are not good indicators of quality and reliability in AI systems." (Microsoft, on AI systems)
>
> "The share of engaged sessions that ended after 60 minutes of inactivity without resolution or escalation, which is your fail-quietly signal." (Microsoft, on abandoned chats)

Escalation rate is the share of chats handed to a person. Abandon is the quiet one. A chat that just stops tells you the customer gave up, and no error is logged. Microsoft's definition waits 60 minutes of silence before it counts a chat as abandoned.

## How do you judge quality when there is no answer key?

Live chats don't come with a correct answer, so you score a sample. A fixed share of chats, say one in twenty, is copied out each day and scored by a checker that asks whether the reply is backed by the source it used. Someone also reads a few chats each week.

Microsoft's Foundry platform lists the same kind of checks. Its dashboards track token consumption, latency and error rates, and its built-in checks include groundedness and relevance for bots that read your documents first. Its continuous evaluation scores production traffic at a sampled rate.

- **Thumbs up or down: Cheap, but thin.** Easy to collect, but it only hears from people who choose to click, so it can miss everyone who stays silent.
- **Scored sample: Steady and repeatable.** The same share of chats, scored the same way each week, shows whether quality moves after each change. Safety flags run on the same sample.

Anthropic's guide makes the same point: a complete picture uses several methods together, and user feedback and human review of transcripts are two of them.

## What does a bad week look like in the numbers?

Here is a made-up case. A mid-size bank runs a support bot for card disputes. On Monday the team ships a prompt change that loads the whole dispute policy into every reply, including the sections nobody asked about.

Nothing crashes, so no alarm fires. Then customers start asking "Why was my card fee charged twice this month?" and the replies come back more expensive and a little slower.

*Diagram, A bad week the dashboard missed: A made-up week in a bank's card-dispute bot. The dashboard watches only the server, so it reports fine while tokens and handoffs rise. Trimming what the bot loads fixes both.*
1. The dashboard only sees the server, so it reports fine.
2. The same change shows up in the chats themselves.
3. Trimming the context brings both numbers back down.

1. **Tokens climb:** Tokens per chat rise from about 4,000 to about 8,800 in a week. The 95th percentile reply time rises from about 3 seconds to about 5. Providers such as OpenAI can send an email alert once usage passes a threshold you set, but that only helps if someone sets one.
2. **Handoffs climb:** Escalations to a person rise from 12% to 19% of chats. They show up on the outcome numbers as a slow climb, not a sudden drop.
3. **The weekly review catches it:** The weekly review of 200 scored chats finds answers that quote fees from the wrong card product. A person reads them and marks the fee wrong. Groundedness would pass them, because the fee sat in the policy the bot was given. Uptime never would.
4. **Trim and recheck:** The team sends only the policy section each question needs. Tokens drop back to about 4,000 a chat, and escalations return to 12% over the following week.

### How would you set alerts for a new chatbot?

Start from a normal week, then set lines the numbers can cross without much noise.

1. **Cap the spend:** Set a daily token or spend line on the account, so a looping prompt cannot run up the bill overnight. OWASP's 2026 list calls this unbounded consumption and warns of unsustainable financial costs.
2. **Page on the slow end:** Alert when the 95th percentile reply time or the error rate stays past its line for 15 minutes. One slow chat is noise.
3. **Warn on outcomes:** Alert when the escalation rate rises by a set share against the same weekday last week. That catches the bad week that uptime misses.

Review the lines monthly, because a model or prompt change moves every baseline.

> "Unbounded Consumption occurs when an LLM application allows excessive and uncontrolled inferences, enabling attackers to disrupt service availability, inflict unsustainable financial costs, or steal intellectual property through model cloning" (OWASP, on unbounded consumption)

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] Name the groups: speed and errors, cost, outcomes, and quality and safety on a sample.
- [ ] Say why uptime and error rates are not enough on their own.
- [ ] Use the 95th percentile for latency, not only the average.
- [ ] Give cost per solved chat, not raw token counts.
- [ ] Explain resolution, escalation and abandon rates in one line each.
- [ ] Describe a scored sample plus a weekly human read.

**Common traps**

- Trap: "Uptime is 99.9%, so the bot is healthy." Better: Uptime says the server answered. It says nothing about whether the answer was right.
- Trap: "Average reply time is two seconds, so we are fine." Better: Averages hide the slow tail. Track the 95th percentile instead.
- Trap: "We will read chats when we have time." Better: Set a fixed weekly sample and a named owner, or nobody reads them.

## Can you spot the problem?

**Spot the warning:** Which number on the dashboard should the team check first?

A. Uptime 99.9%, flat all week
B. Average reply time 2.0 seconds, flat all week
C. Escalations up from 12% to 19% of chats in four days
D. Error rate 0.2%, down from 0.3% last week

**Answer:** C. Uptime, averages and error rates all look healthy, so they hide the problem. A jump in handoffs means the bot is passing on chats it could not solve, so check that first.

**Quick check:** A support bot's weekly cost rises, but its resolution rate is flat. Which two numbers show whether the extra spend is worth it?

A. Uptime and error rate
B. Cost per solved chat and resolution rate
C. Total spend and number of chats
D. Average reply length and page views

**Answer:** B. Total cost rises with any growth. Cost per solved chat and resolution rate show whether each unit of spend solves more problems.

## Can you answer these from memory?

**Flash cards**

- **Which groups of chatbot metrics matter?** Speed and errors, cost, outcomes, and quality and safety on a sample.
- **Why is uptime not enough?** It shows the server answered, not that the answer was right or useful.
- **What is the 95th percentile reply time?** The reply time that 1 in 20 chats takes or exceeds. It shows the slow tail.
- **What is abandon rate?** In Microsoft's Copilot Studio, 60 minutes of silence with no resolution or handoff counts as abandoned.
- **What is groundedness?** Whether an answer is supported by the source text the bot was given.
- **Why score a sample, not every chat?** Scoring every chat costs too much time and money, so you score a fixed share.

## Likely follow-up questions

- Q258 How do you A/B test an LLM feature? https://designervenkat.online/interview/ai/how-do-you-ab-test-an-llm-feature
- Q260 What is tracing for LLM apps? https://designervenkat.online/interview/ai/what-is-tracing-for-llm-apps
- Q261 How do you detect drift? https://designervenkat.online/interview/ai/how-do-you-detect-drift
- Q262 "The model got worse after an upgrade." What do you do? https://designervenkat.online/interview/ai/the-model-got-worse-after-an-upgrade-what-do-you-do
- Q265 How do you sample production traffic for evals? (full answer coming)

## Learn it in depth

- [Production monitoring](https://designervenkat.online/learn/ai-engineering/production-monitoring)
- [Watching cost and speed](https://designervenkat.online/learn/ai-engineering/cost-latency-monitoring)
- [Seeing inside your AI app](https://designervenkat.online/learn/ai-engineering/llm-observability)
