Guide · Model migration

Switching LLM models: what to measure before you migrate

A new model is announced with a lower list price or a better benchmark, and the question becomes whether to move a workload to it. List price and benchmarks describe the model in general. Whether the move pays off for you depends on your workload, your definition of success and the work the migration itself takes. This checklist is a way to answer that question on your own data, and to keep a record of why you decided.

1. Name the workload, not the model

Migrate one workload at a time: a support-ticket summary, an extraction step, a code-review pass. Different workloads can reach opposite answers about the same pair of models, so a single company-wide decision usually hides at least one bad trade.

2. Freeze the success check before you test the new model

Write down how one unit of work is judged a success, and use the same rule for the current and the candidate model. If the rule is chosen after seeing results, it can be bent to favour either side. Record outcomes as success, failure or unknown, and keep the unknowns visible rather than counting them as either.

3. Compare on matched work

Run both models on the same kind of requests, ideally a replayed sample of real traffic. A comparison between last month’s mix on the old model and this week’s mix on the new one measures the change in mix as much as the change in model. AIYVO’s analyzer can group results by task type (--by-task-type) and withholds a comparison it marks as a different task mix rather than ranking unlike groups against each other.

4. Compare cost per successful result, not price per token

Include failed attempts, retries and fallbacks in cost, then divide by successes. A cheaper model that fails more often, or needs a second call to finish a task, can cost more per result than the model it replaces. See why the cheapest LLM per request can cost more per result for a worked synthetic example. If one job takes several calls, compare cost per completed task instead, which needs one row per whole task in your usage export.

5. Require enough evidence, and say when there is not enough

Set a minimum sample before reading anything into a difference. AIYVO’s analyzer requires at least 30 records per group, complete cost data and known outcomes before it reports cost per successful request, and otherwise withholds the figure with the reason. A trial of a dozen requests can show that a model works; it cannot show that it is cheaper per result.

6. Count the one-off cost of moving

A migration has costs that per-request figures never show: rewriting and re-testing prompts, updating output parsing, re-running your evaluation set, engineering review time, and a period of running both models side by side. Estimate these separately and set them against the per-result difference over a realistic volume and period, rather than folding them into a single blended number.

7. Keep latency, quality and constraints as separate columns

Cost per successful result, success rate, latency and any hard requirement such as data residency or context length are different questions. Keep them side by side. A blended score hides which trade-off you are making, and a hard requirement the candidate fails is not offset by a lower price.

8. Record the decision and keep a way back

Keep the usage files, the price table with its date, the success rule and the resulting report, each with a content fingerprint, so someone else can rerun the comparison later. Keep the previous model configured until the new one has run on real traffic for long enough to repeat the measurement. Audit evidence for AI model and provider decisions lists what to keep.

What AIYVO does today, and what is planned

Today, AIYVO is an offline analyzer: it reads usage exports you already have, on your machine, and reports cost per successful request or per completed task by provider and model, with the evidence behind each figure. It does not call providers and does not verify provider billing, and it does not estimate one-off migration work for you. Routing work between models, spend governance and authorization are planned, not available; the planned-platform simulation shows how they are intended to work, on synthetic data.

See it on a worked example

The AIYVO analyzer runs offline on a usage export you already have. On this site it is shown step by step on a synthetic export with fictitious models, so you can inspect every input, command and output.

Weighing a migration on one real workload? Read how an AIYVO pilot works or send a pilot-interest inquiry to jorge@aiyvo.com. It creates no account, subscription or commitment, and does not guarantee a pilot.