What does “good” mean for an LLM application?
A model can score well on a public benchmark and still be wrong for your product. A support assistant may care about grounded answers, latency, structure, privacy, and cost. A coding assistant may care about unit-test success.
So evaluation should start with the user job and failure cost, then choose measurements that reflect those requirements.
Turn product needs into measurable checks
Example evaluation dimensions
Hard requirements are gates, not averageable scores
Suppose two candidates are measured on the same workload:
Toy model-selection example
If requirements are quality ≥ 4, p95 ≤ 2 s, and schema ≥ 99%, Candidate B is eligible while A is not. A higher quality score does not erase a hard latency failure.
Apply eligibility checks before comparing preferences. In the figure, candidate A has a higher quality score but fails the latency requirement; a higher average cannot cancel that failure.
The best model is the best eligible fit for the use case
LLM-as-a-judge can help—but it is not ground truth
A separate model can score answers against a rubric at useful scale. But model judges can have position bias, rubric ambiguity, correlated errors, or preferences for certain phrasing. Calibrate them against trusted human-labelled examples before relying on them.
Compare systems fairly
If Model A gets one prompt, one hardware stack, and one retrieval configuration while Model B gets different ones, the experiment mixes model quality with serving and application differences.
Control what matters
Why the next lesson matters
Evaluation tells us whether the system works. What kinds of factual, security, and trust failures must we design controls around?
Hallucinations, Guardrails & Safety →Summary / Key Takeaways
- LLM evaluation should begin with the user job, product constraints, and cost of failure.
- Quality, grounding, structure, latency, safety, and cost often need separate measurements.
- Hard requirements such as latency or data residency act as eligibility gates.
- LLM-as-a-judge is useful but can be biased and should be calibrated against trusted labels.
- Fair comparisons keep important prompts, workloads, retrieval settings, and serving conditions consistent or explicitly account for them.
- A leaderboard score cannot replace application-specific evaluation.