The New Model Is Cheaper. Testing It Isn't.
In September a new generation of the model behind one of the services I maintain came out. On the same cases, its small tier cost almost half as much per classification as the one in production. On paper, that decision makes itself. Testing the swap properly took several days and between 47 and 65 dollars of model tokens . The service runs around 500 classifications a month , and its model bill…
In September, a new version of a model powering a service I maintain was released. For the same cases, this newer version cost less than half as much per classification compared to the model still in use. However, testing the actual swap took several days and cost between 47 and 65 dollars of model tokens. The service processes around 500 classifications per month, with a monthly model bill of around five dollars. Given this usage, the savings from the new model recoup the test costs in approximately two years.
The old model had been on the market for only 75 days at the time of testing. This scenario raises two questions: why does testing a swap require such extensive testing, and what happens when the test expenses exceed the savings from the swap.
Although a new model may be more capable, it can also perform worse in certain aspects. A leaderboard measures model performance, but the system that ships includes the model and all supporting components, such as prompts, tool definitions, response parsing, reasoning settings, budgets, and deadlines. This entire system, referred to as the "harness," needs to be adapted to the new model.
Every part of the harness was shaped by testing against the behavior of its original model. Differences in model behavior, including prompt adherence, ambiguity in instructions, prior knowledge, and tool usage, can affect cost, latency, and quality.
Some of these differences can move costs and latency, not just quality, and may require tuning the model's deadlines to maintain quality. If the candidate model is simply swapped into the existing harness, the measurement will only show how well the new model imitates the old one within this harness. This test favors the current production model and cannot justify rejecting a candidate model based on quality alone. Instead, a "substitution test" should be conducted, comparing each model with a harness tailored to it.
To test a model swap, the following procedure is recommended: isolate the changed components, run them on isolated cases, and then perform a full benchmark once the candidate model survives. Measure the service, not just the model, as components should be tested in isolation, but the final decision should rest on the system's overall performance.
Pin the model version to prevent changes during measurements, and use exact call shapes and pinned model versions to ensure consistent results. Record mechanisms and their responses to identify any stoppages in functionality while maintaining overall system performance.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to