Guides · ← All guides
How Do You Test a Replacement Model Before Migrating?
Published: November 14, 2026 · Reviewed: November 14, 2026 · 7 min read
By the Ingenious AI team
The short answer
Test a replacement model against your own stored production prompts, side by side with the current model, scored in four separate sections: semantic differences, latency, cost, and hard failures. Vendor benchmarks tell you how the model did on the vendor's homework. Your prompts — with your edge cases, your formatting demands, your customers' messiness — are the only test that predicts your migration. ModelMinder's migration plans are built on exactly this: a comparison run executes your saved evaluation set against both models through your own endpoint, measures per-call latency, and prices the run from the endpoint's reported token counts — never estimates.
What belongs in the test set?
Real prompts, sampled from production, including the embarrassing ones. The long document at the edge of the context window. The user input with typos and mixed languages. The request your prompt handles badly today — the candidate should be measured on your weaknesses, not your strengths. Add the known traps: inputs that historically triggered refusals, formats your parser depends on, and the five prompts your support team would name if asked what the model is 'for'. A set of 100 to 300 representative prompts beats 5,000 synthetic ones, because every case in it is a case that actually happened. ModelMinder workspaces keep this as a saved evaluation set so the same set can judge every candidate, this migration and the next.
Why compare against the incumbent instead of an answer key?
Because for most production prompts there is no single correct answer — there is the behaviour your product was built around. The incumbent's outputs are the specification your prompts, parsers, and users are calibrated to. Side-by-side comparison surfaces exactly what will change: the diffs. Where you do have ground truth — extraction fields, classifications, calculations — score accuracy directly as well. The two lenses together answer both questions that matter: is the candidate right, and is the candidate compatible? A model can be better in the abstract and still be the wrong migration this quarter, which is a finding worth the price of the test.
How should latency and cost be measured?
On the same runs, from the same calls, not from a pricing page. Latency is per-call and distributional: compare p50 and p95, because a candidate that is faster on average but spikier at the tail will feel worse in production. Cost must come from actual token counts the endpoint reports for your prompts — output verbosity differs between models, and a cheaper per-token model that writes twice as much can cost more per task. ModelMinder's comparison does this accounting from endpoint-reported usage multiplied by the standing catalog list prices, and marks any side 'not measured' rather than estimating when usage or a price row is missing. Honest gaps beat invented numbers in a decision document.
What counts as a hard failure?
Refusals of requests the incumbent answers, malformed structured output, truncated responses, tool-call errors, and timeouts — counted separately from quality differences, because they are a different species of problem. Quality differences can be tuned; a candidate that refuses 4 percent of your core workload has a policy boundary your product cannot live with, and no amount of prompt craft fixes a refusal class. Keep hard failures visible as their own number in the report. The moment they are averaged into a quality score, a disqualifying fact becomes a rounding error.
Who approves the result, and on what evidence?
A named owner, on the written comparison — which is why ModelMinder migration plans gate on exactly this: a plan can only be approved by the workspace owner, and only after a comparison exists. The approval is a judgement over four sections, and it should be recorded with its reservations: which divergence classes were accepted, which were fixed by recalibration, which remain open risks. That record is what turns a migration from a leap into an engineering decision, and it is what you will want in your hand at the postmortem if anything still goes wrong. The full sequence this testing sits inside is in the migration playbook.
Five actions for a replacement test that predicts production
- Build the test set from stored production prompts — edge cases, traps, and known weaknesses included.
- Run incumbent and candidate on identical inputs through your own endpoint configuration, same day, same settings.
- Report four sections separately: semantic differences, latency (p50 and p95), cost from reported token counts, hard failures.
- Read the most divergent outputs and every hard failure; classify each as fix, accept, or block.
- Record an owner approval on the written comparison before any production traffic moves.
Worked example: Kepler Tutoring tests two candidates and rejects the cheaper one
Kepler Tutoring, a fictional online maths school, tested two replacement candidates for its worked-solution generator on 220 stored student questions. Candidate A was 22 percent cheaper per token. Candidate B matched the incumbent's pricing. On headline quality the two looked close — until the sections were separated.
Candidate A refused or deflected 11 of 220 questions (a hard-failure rate of 5 percent, mostly multi-part problems it judged 'too long'), and its p95 latency was 6.8s against the incumbent's 4.9s. Candidate B had zero hard failures, p95 of 4.4s, and semantic divergence concentrated in formatting that one prompt edit fixed. Kepler migrated 6 endpoints to Candidate B. Measured after cutover: cost per worked solution $0.021 versus $0.023 before, p50 latency 2.0s versus 2.3s. The cheaper model would have cost them 5 percent of their core workload; the test cost them two days.
Sources
- ModelMinder documentation (ModelMinder, 2026) — this platform’s own first-party method for the radar, the dependency graph, and the Sunset Risk Score.
- OpenAI deprecations documentation (OpenAI, 2026) — the provider’s own deprecation list: shutdown dates, recommended replacements, and published minimum notice periods.
Frequently asked questions
How many prompts do we need for a meaningful test?
For most workloads, 100 to 300 real production prompts, chosen to cover your main use cases plus edge cases and known traps, will surface the differences that matter. Coverage of your failure modes matters more than raw count; synthetic bulk adds cost without adding signal.
Can we rely on the provider's benchmark scores instead?
Benchmarks tell you how a model performs on the provider's tasks, not on your prompts, formats, and downstream parsers. They are useful for shortlisting candidates. The migration decision needs your own side-by-side run, because compatibility with your existing behaviour is half the question.
Should cost be calculated from the pricing page?
No — from the token counts your test calls actually consume. Models differ in verbosity, so per-token prices mislead. Multiply endpoint-reported usage by list prices for both models on the same prompts, and compare cost per completed task.
What if the candidate is better but different?
Then the work is recalibration and an explicit acceptance record: adjust prompts, re-run, and have the owner sign off on the remaining divergence classes. 'Better but different' is a good outcome when it is chosen; it is a bad one when it is discovered by users.
How long should a replacement test take?
For a prepared team — saved eval set, endpoint access — the run itself is hours and the review is one to three days. Teams without a saved set spend most of the time assembling prompts, which is the argument for building the set before a deprecation forces the question.