How to evaluate an LLM for your product (a practical checklist)
Short answer: evaluating an LLM for a product isn't about general intelligence. It's about whether it does your task reliably, at a cost and speed you can live with. You need a test set of real prompts, a definition of a correct answer for each (exact checks plus plain-English rules), and three numbers per model: pass rate, cost, latency. Everything else is a refinement.
The checklist
- Test set: 30–100 real prompts with inputs, covering common and hard cases. How to build it.
- Correctness: for each prompt, the checks an answer must pass. Exact where possible, an LLM judge where not.
- Baseline: the numbers for the model you use now.
- Candidates: the same test on the models you'd consider.
- Decision: the cheapest model that matches your baseline on pass rate and stays under your latency limit.
- Re-run whenever you change a prompt, a model ships or yours is deprecated.
Metrics worth tracking (and ones to skip)
| Metric | Worth it? |
|---|---|
| Pass rate on your checks | Yes: the main number. |
| Which prompts failed, and why | Yes: tells you whether a prompt fix will do or the model is wrong for the job. |
| Cost per 1,000 runs, from real token counts | Yes. How to calculate it. |
| Median and p95 latency | Yes for anything a user waits on. Measuring latency. |
| Consistency (same prompt, several runs) | Useful if you run at temperature above 0. |
| BLEU, ROUGE, similarity to a reference answer | Rarely, for product tasks: they punish answers that are correct but worded differently. |
| General benchmark scores | Only to pick candidates. Why. |
Prompt testing vs model testing
They're the same test pointed in two directions. Prompt testing: keep the model, change the prompt, re-run, and check the pass rate didn't drop (regression testing). Model testing: keep the prompts, change the model. If you build the test set once, you get both.
Tools, from simplest to heaviest
- A spreadsheet and a script: fine for a first pass with one lab's API. Gets tedious when you add labs (an account and a key for each) or re-run often.
- Open-source eval frameworks (for example Promptfoo): tests defined in config files, run from the command line or CI. Good for engineers who want it in the repo.
- Eval and observability platforms (for example Braintrust, Langfuse, LangSmith): datasets, experiments and dashboards, plus tracing of live traffic. Built for AI engineering teams.
- Playgrounds that run one prompt on many models: quick to see differences, but one prompt says little about a whole task.
All of these are good at running a test you start. None of them notice that a new model came out and run your test on it for you.
Common mistakes
- Testing on prompts you made up instead of real traffic.
- Judging by reading 5 answers and getting an impression.
- Comparing list prices instead of the cost of your prompts (output length varies a lot between models).
- Testing once, when you first picked the model, and never again.