Online evaluation
Definition
Scoring a sample of real production traffic continuously, with automated checks or judges, to catch problems that offline test sets miss.
In more detail
Offline evals run on a fixed dataset before release. Online evals run on live traces: a judge model rates helpfulness or faithfulness, code checks for format errors or leaked data, and user feedback is attached to the same traces. Observability tools such as Langfuse, Phoenix and Opik can run these rules automatically.
Online scores tell you when quality drifts because users ask new things or a provider changes a model. They are noisier than offline evals and cost money, so sample, and feed interesting failures back into the offline set.
Related terms
Eval
A repeatable test that measures how well an AI system performs on a defined set of cases, so you can compare versions instead of guessing.
LLM observability
Collecting traces, costs, latency and quality signals from AI applications in production so you can debug and improve them.
Regression eval
An eval run automatically on every prompt, model or code change, so that a drop in quality is caught before it reaches users.
Trace
A record of every step in one AI request or agent run: prompts, model responses, tool calls, retrieved context, tokens, timing and cost.
Read more about Online evaluation
- LLM observability
Tracing requests, tokens, latency and cost in AI applications running in production.
- Opik
Open-source platform from Comet for tracing, evaluating and monitoring LLM apps.
- Add tracing and cost tracking to an LLM app
One trace per user action, with tokens, latency and cost for each model call, so slow and costly features stand out.