A newer or bigger model is always tempting. Here is how I checked whether it was actually better for my agent.
Every model launch looks great. The benchmark chart goes up, the examples are impressive, and you start wondering whether your agent should be running on something better.
So, you swap the model, try three or four questions, and the answers look fine. Maybe even nicer than before.
But are they more correct? And what are you paying for that difference?

I wanted a better answer than “it feels smarter”. So, I ran a small experiment.
What was I testing?
Imagine an online store called Northstar Market. It’s a fictional company, which I created so that I could share everything openly.
Its customers ask the kind of questions you would expect.
Can I return this?
Can I cancel my order?
My laptop arrived damaged, what now?
I built a customer-support agent for it as a prompt agent in Microsoft Foundry. It had no tools and no search. Three policies lived directly in its instructions:
Returns and Refunds
Order Cancellations
Warranty and Damaged Items
The agent was running on gpt-4.1-nano, a small and low-cost model.
My question was simple: would gpt-4.1-mini do the job better, and would it be worth it?

Why not just check a leaderboard?
A leaderboard can tell you how a model performs on general tasks. It cannot tell you whether the model understands that your “final sale” rule doesn’t stop a customer from reporting a damaged item.
Only your own questions can tell you that.
How did I build the test?
I wrote 40 questions based on the three policies, in four groups:
| Type | Questions | What it checks |
| — -| — -| — -|
| Simple | 5 | Can it find a fact? |
| Conditional | 10 | Can it apply a condition? |
| Multi-policy | 15 | Can it combine rules? |
| Ambiguous | 10 | Does it ask when information is missing? |
Why the uneven split?
If every question were easy, both models would probably do well and the test would teach me very little.
The interesting differences usually hide in the questions where rules overlap or details are missing.
A conditional question, for example, is about a product delivered 31 days ago, when the return window is 30 days. One day makes all the difference, and the agent has to notice it.
Here is one I like:
“I bought a FINAL SALE laptop 20 days ago, but it arrived damaged. Can I return it?”
A quick “No, it was final sale” sounds confident, and it is wrong. Final sale does not prevent a damage claim. Support needs to verify the damage and decide on a resolution.
And then there are questions like this:
“I bought something a while ago. Can I return it?”
There is no way to answer that yet. A good agent should ask for more details instead of guessing.
For every question, I wrote the expected answer from the policy text and checked it by hand. This is the most important part. If your answer key is wrong, your results will be wrong too.
Where did the dataset come from?
I sent the questions to my agent, and Foundry captured the conversations as traces, which looks something like this:

Those traces can be turned into an evaluation dataset. But remember,
a trace only tells you what the agent said. It does not tell you what it should have said.
So I added my expected answers to every row. Please don’t use the agent’s own replies as the answer key. You would end up rewarding the next model for repeating the same mistakes.

A few small things are worth knowing before you try this:
The project needs permission to read Application Insights (the Reader role for the project’s identity).
Traces don’t always appear instantly, so give them a minute or two.
In Foundry, the answer-key column in my dataset is called expected. Elsewhere you may see it called ground truth.
How did I compare the two models?
I used Agent Optimizer in Microsoft Foundry.
It evaluates your current agent, generates a candidate, evaluates that candidate on your dataset and compares the scores. It can suggest changes such as better instructions or a different model.

I wanted a clean comparison, so I chose these settings:
Goal: Improve quality
Optimization target: Model only
Maximum candidates: 1
Evaluation model: gpt-5-nano
Optimization model: gpt-5-nano
The run finished in about six minutes.
So, did the bigger model win?
On quality, yes.
| | gpt-4.1-nano | gpt-4.1-mini |
| — -| — -| — -|
| Average quality score (0 to 1) | 0.756 | 0.825 |
| Average tokens | 1.8K | 1.9K |
| Average latency | 1.9 s | 1.9 s |
| Estimated cost | 1× | about 4× |

The score went up by 0.069.
Microsoft’s guidance treats a change below 0.03 as noise and 0.03 to 0.10 as moderate.
So this is a real signal, but not a dramatic one.
Please note that 0.825 does not mean 82.5% of the answers were correct. It is an average score given by the judge model.
What’s the catch?
Cost.
Token usage and latency were nearly the same, but the portal’s estimate showed that running the agent on gpt-4.1-mini cost about four times as much.

“Four times” can sound abstract, so here is a purely hypothetical example.
If the smaller model cost you $2 a day at your volume, the bigger one would cost about $8. For a hobby project, those extra $6 may not be worth it. For a busy support desk, where one wrong answer can mean an unnecessary refund or an unhappy customer, they might be.
I also noticed something interesting. Of the roughly 580,000 tokens used by the optimization run, about 427,000 went to the judge. That is far more than the two models being compared used to answer the questions.
So when you plan an evaluation, budget for the judge too.
Should you switch?
It depends on what a wrong answer costs you.
If cost matters most, you could stay on the smaller model and try improving the instructions.
If accuracy matters most, the bigger model deserves a serious look.
If a wrong answer is expensive, keep a human check in place, whichever model you choose.
The tool gives you a recommendation, but nothing changes on your agent until you promote a candidate. The final call is yours.
What would I be careful about?
This was a small experiment, so don’t treat my numbers as a verdict on either model.
I used only 40 questions, so a single answer can move the score noticeably. I ran the comparison once. The judge was itself a small model. And I did not confirm the winner on a fresh set of questions.
Before changing a real application, I would add more questions, repeat the run, test the judge on answers I already know and keep some questions aside for a final check.
What did I learn from this experiment?
The comparison itself was the quick part. The thinking went into the questions and the answers.
Writing an answer key forces you to decide what “correct” means for your application.
Should the agent ask for the delivery date first?
When should it escalate?
What is it never allowed to promise?
If you can’t answer these yourself, no model can be scored fairly on them.
That test set also stays useful. When the next model arrives, or when you change your instructions, you can run the same questions again and compare.
Wrapping up
Next time a new model tempts you, don’t start by asking which one is best. Ask:
Best on whose questions?
Start with ten real questions from your own application and write down the correct answers. That small file will teach you more about your agent than any leaderboard.
Have you compared models on your own data? I’d love to hear what surprised you.


Mahesh ChandTOP 10Posted Dec 4, 2026, 6:22 AM EST
Nicely done @Shweta Lodha. Please do share your deck.