Run a fair model comparison
Use the same tasks and grading criteria across options. A general leaderboard cannot establish the best model for your workflow.
Lessons in this path
How to do it
- Build a small set of typical, difficult and out-of-scope requests. Keep evidence, output instructions and grading consistent across models.
- Measure factual accuracy, output format, latency, cost and corrections. Record incorrect contacts, commitments and numerical errors separately.
- Record model versions, inputs, owners and a fallback. Retest the same examples when the model or runtime changes.
Acceptance check · AI for self-employed professionals
A translator compares an existing writing tool with a local model for drafts that must follow approved product terminology.
Measure time to an approved draft. If local processing limits data sharing but increases glossary corrections, record both effects.
Apply this in your organization
Choose by effort per approved draft and the cases you actually handle.
How do you run the comparison in practice?
A fair comparison is less a matter of technology than of discipline. The process below works with a spreadsheet as well as with a script.
- Freeze the test set, system instruction (prompt) and scoring sheet, and give them a version number.
- Run every case through every candidate, two or three times where results vary, and store all outputs.
- Anonymise outputs so that reviewers cannot see which model produced them. This reduces bias.
- Have at least two people score the same cases and resolve disagreements. Divergent scores often reveal unclear criteria.
- Summarise: share of accepted results, critical errors, latency, cost per accepted result.
A scoring sheet that avoids arguments
Avoid 1-to-10 scales. They invite gut feeling. A few clearly defined levels with examples work better.
| Level | Definition | Example |
|---|---|---|
| Accepted | Usable without change | All fields correct, valid format |
| Fixable | Small edit, facts are right | Tone too formal, one field misformatted |
| Unusable | Rewriting is faster than fixing | Structure missing, task missed |
| Critical | Error with consequences, regardless of frequency | Invented amount, false promise, data leak |
A single critical error can outweigh ten percentage points more acceptance. Decide beforehand how many critical errors the test tolerates; the answer is often zero.
Going deeper: statistics, automated scoring and regression testing
With 20 test cases, a difference of two accepted results is not solid evidence and may be chance. If the decision is expensive, expand the test set or repeat runs. Rule of thumb: small differences on small test sets are a reason for more testing, not for a decision.
From a few hundred cases or with frequent model changes, automated scoring pays off. Format checks, exact field comparisons and checks against a source can be scripted. A language model as judge can additionally score tone and completeness; calibrate it against 20 to 50 human-scored cases before trusting it. Tools and frameworks for such evaluations are offered by model providers and open-source projects; what matters is that you own the test set, not the vendor.
Treat the test set like regression tests in software development: it runs on every change of model, prompt or runtime. In enterprises the result belongs in the AI system's documentation; for solo professionals a folder with date, outputs and a one-line conclusion is enough.
Example: a mid-sized company compares two models for proposal texts
A fictional machine builder tests two models with 30 enquiries to be turned into proposal texts. Two sales staff score anonymously. Model A achieves 24 accepted and 5 fixable results plus one critical error: it states a delivery time that was not in the source. Model B achieves 21 accepted, 8 fixable and no critical error.
The team chooses B and adds a rule against unsourced delivery times to A's prompt, planning to rerun the test in two weeks. Five new cases with missing delivery information are added to the test set so this error type is reliably caught in future.
Common mistakes
- Using different prompts per model in the first comparison. Optimise only after the fair baseline comparison.
- Scoring only the best of several outputs. In production you get the worse ones too.
- Adopting results from public leaderboards. They measure general capability, not your task.
Frequently asked questions
How many test cases do I need at minimum?
For a first orientation, 20 to 30 carefully chosen cases are enough. Decisions with high cost or risk need considerably more, including rare and critical cases.
Can an AI model score my test results?
Yes, as a pre-sort once you have calibrated it against human scores. Critical errors should still be confirmed by subject-matter experts.
Try it yourself
Run three tasks on two options. Record the model, response time, correct fields, required edits and whether the final result meets your approval criteria.
Check your result
If the stronger model costs more per approved result, can you show when the extra spend is worthwhile?