Topic 2 of 5 · 4 min read
Running a new model on your test set
Goal: Run the same tasks on two models with matched settings and record every output in one sheet.
Run every model on the same prompts, with the same settings and the same inputs, then record every output in one sheet before you judge any of them. If anything else differs, you are testing the difference, not the model.
Check yourself · 1 of 3
You test two models on the same task. Which setup gives a fair comparison?
Why it matters
Models give a different answer each time you ask. A single run of a single task is an anecdote. Two models are also easy to compare unfairly: one gets a longer prompt, one has web search turned on, one is the free tier of an app and the other a paid API. Matching the setup is what makes the result usable.
How to run it
- Pick the surface and keep it equal. Chat apps (Claude, ChatGPT, Gemini) add hidden system prompts, memory and tools. An API call gives you control of settings. Test the way you will actually use it, and use the same surface for both models.
- Match the settings. Same temperature if the tool exposes it, same maximum output length, same tools on or off, same files attached. Start every task in a fresh chat so earlier answers do not leak in.
- Paste the prompt exactly. No "improving" it for the new model on the first pass. Prompt tuning is a second experiment.
- Run each task three times when it matters. If a model passes once and fails twice, that is a different result from passing all three.
- Record everything. One row per task and run: model, date, settings, full output, time taken, tokens or cost if shown. Use a spreadsheet. Note the exact model name and date, because providers update models behind a name.
Before and after
Weak: you try your best prompt on the new model in an app with search on, compare it to your memory of the old model's answer last week, and decide it feels better.
Better: both models get the saved prompt, search off, fresh chat, three runs each. Six outputs per task sit side by side in the sheet.
Optional code branch
If you can code, a short loop makes this repeatable. Tools such as promptfoo or an API gateway such as OpenRouter let one script call several models.
for task in tasks:
for model in ["model-a", "model-b"]:
for run in range(3):
out = call(model, task.prompt, temperature=0.7, max_tokens=800)
rows.append([task.id, model, run, out.text, out.seconds])
What goes wrong
- Unequal setups. Search or memory on for one model only.
- One run per task. Luck decides the winner.
- Unrecorded outputs. You remember the best answer and forget the failures.
- Context carry-over. An earlier chat steers a later answer.
Examples
A fair spreadsheet row
Task 7, "summarise the supplier contract". Columns: model name and date, app or API, search on or off, run number, full output, seconds, pass or fail.
The sheet has 3 runs for each of 2 models, so six rows for this task. Search is off everywhere and each run began in a new chat.
An unfair test caught early
Rosa tests a new model in its chat app and her old model through the API. The app runs a built-in web search and a long hidden system prompt. The new model's answers cite sources, so she thinks it is smarter.
She reruns both in the same app with search off. The gap shrinks to almost nothing. The citations came from the tool, not the model.
Key points
- Give both models the same prompt, the same files and the same settings, in a fresh chat each time.
- Test on the surface you will really use, and do not compare an app with a different tool setup against an API call.
- Run each important task several times, because a single output can be luck.
- Record every output, with model name, date, settings and time, in one sheet before judging.
- Treat prompt tuning for the new model as a separate second experiment.
Common mistakes
- Comparing a chat app on one side with a raw API call on the other.
- Changing the prompt for the new model before you have a matched baseline.
- Judging from one run per task and keeping no record of the other outputs.
- Continuing in an old chat, so earlier messages influence the answer.
Check yourself · 2 of 3
A new model answers a task correctly on its first run. What should you do before counting it as a pass?
Check yourself · 3 of 3
Why should you write down the exact model name and the date next to each output?
Practice items, not counted towards your mastery.
Start here
- Develop test cases (Claude docs) (opens in a new tab)DocsFree
How to write measurable success criteria and test cases before you judge any model.
- Your AI product needs evals (Hamel Husain) (opens in a new tab)ArticleFree
A practitioner walk-through of building evals from real failures and looking at your own data.
- Promptfoo introduction (opens in a new tab)ToolFree
A free tool that runs the same prompts against several models and shows results side by side.
More for this topic
- OpenRouter (opens in a new tab)ToolFree
One API key and one request format for many models, which makes matched side-by-side runs easy.