← all posts
migration·Lukas Babaliauskas·Sep 12, 2026·updated Nov 19, 2026·8 min read

The new model was 59% cheaper and 75% faster. I still wouldn't ship it.

A candidate model cut cost 59% and latency 75% with zero failed calls. The migration report still said FAIL, because the agent's behavior changed.

The migration looked like an obvious win on economics. In one EvalShift run, the candidate model was:

  • +58.8% cheaper
  • +75.2% faster
  • +0 failed or truncated calls
Run economics table: source and target each made 16 calls with no failures or truncations; the target cost $0.0741 against $0.1799 and averaged 773 ms against 3.1 s.
Run economics. Same 16 calls on both sides, no failures, and every number a finance reviewer cares about moved the right way.

Then the migration report returned:

FAIL

Not because the model crashed. Not because the API changed. Not because the output stopped parsing. It changed what the agent actually did.

Migration verdict card: FAIL, 5 of 7 budgets within policy, 61.4% equivalent, 25.0% improved, 13.6% regressed, cost −58.8%, latency −75.2%.
The verdict card. Five of seven budgets passed; the two that did not are the two that describe behavior.

What failed

I replayed 16 real examples against the source and candidate models. Across the run, 13.6% of evaluated comparisons regressed, and the overall regression-rate budget actually passed. Two other checks did not:

BudgetLimitThis runResult
Overall regression rateat most 30%13.6%Pass
Cost changeat most +200%−58.8%Pass
Latency changeat most +200%−75.2%Pass
Tool-selection divergenceat most 10%25.0%Fail
Equivalence rateat least 75%61.4%Fail

The policy had seven budgets; the two not shown here passed too. Any breached budget fails the migration, so two out of seven was enough.

Report verdict and findings: the target breached max_tool_divergence at 25.0% against a 10% ceiling and fell below min_equivalence_rate at 61.4% against 75%; findings list searching instead of answering, confirming actions it never performed, and routing to the wrong tool.
The written verdict and its findings. The recommendation is not to migrate until the tool-selection and semantic regressions are fixed.

That distinction matters. Looking only at latency, cost, successful requests, or even a few manually inspected outputs would have made this migration look pretty attractive. The behavioral diff told a different story.

The failures weren't cosmetic

One example asked for an opinion on working late. The source model answered the question directly. The candidate instead issued a search_web call and returned no text.

Per-example diff for the working-late question: the source called no tools and answered in two sentences; the target called search_web with the query "is working late worth it productivity well-being" and produced no final text. Flagged as TOOL_SELECTION_DRIFT.
The diff for that example. Source trace on the left, target trace on the right, and the reason it was flagged at the top.

Other cases had the same general problem in different forms:

  • +an action was reported as completed even though the corresponding tool was never called (asked to book coffee, the candidate said it was on the calendar without calling any tool);
  • +a request was routed to a different tool (a weather question gained a display_info call, and the answer became "it's on your screen");
  • +an unnecessary tool call appeared where the source answered directly.

These are not necessarily signs that the candidate model is "bad." They show that changing the model changed the application.

For an agent, the model is part of the control flow.

Aggregate quality can hide this

The evaluator breakdown made the tradeoff clearer. Routing arguments and routing conformance were broadly equivalent in this run, while tool-selection divergence, semantic similarity, and the pairwise equivalence judge showed regressions.

Per-evaluator table over 16 examples: routing divergence regressed (score delta −0.167, likely), routing args equivalent (+0.179, unclear), routing conformance equivalent (+0.047, unclear), the LLM equivalence judge regressed critically (−0.438, certain), and semantic similarity regressed (−0.214, likely).
Overall, by evaluator. Two rows say equivalent, three say regressed, and each comes with its own effect size, confidence interval and confidence label.

A single average score would flatten all of that into one number. For a migration, I care more about the question:

What changed, on which examples, and is that change acceptable for this application?

Why the cost case is always there

A cut this size is roughly what moving down one model tier buys, so the economic argument will show up on almost every migration proposal. At both large API providers, each step down the lineup cuts the per-token price by half or more:

ProviderModelInput ($/MTok)Output ($/MTok)
AnthropicClaude Opus 5.5$4$20
AnthropicClaude Sonnet 5.5$2$10
AnthropicClaude Haiku 5.5 (prompts up to 100K tokens)$0.10$0.50
OpenAIgpt-6.2-astra$8.00$40.00
OpenAIgpt-6.2-sol$2.00$10.00
OpenAIgpt-6.1-terra$1.00$5.00
OpenAIgpt-6-luna$0.10$0.50

List prices from Anthropic's pricing page ↗ and OpenAI's pricing page ↗ (standard tier), read on 2026-11-19.

In my run, part of the saving came from the candidate simply saying less. Both sides read the same 241,901 input tokens, but the candidate wrote 614 output tokens against the source's 5,363. A model that answers with a tool call and no text is cheap, and that is exactly the behavior the report flagged.

Tool behavior is what moves between tiers

Whether to call a tool at all is a decision the model makes on every turn, so it is one of the first things to change when the model does. Anthropic's tool-use docs say that with the default tool_choice of auto, Claude "determines on each turn whether to call a tool or respond directly ↗." The same page says Opus is "much more likely" to notice a missing required parameter and ask for it, where Sonnet may infer a value instead, and that this is not guaranteed "for less capable models."

Even the scaffolding differs. The system prompt the API adds when you pass tools is 497 tokens for Claude Sonnet 4.6 and 286 tokens for Claude Sonnet 5.5 ↗ under auto. Swapping the model string swaps that prompt too, without any change in your code.

Public benchmarks show the same shape as my run: the cheaper tier is cheaper and faster, and its tool-calling accuracy moves by category rather than uniformly. Two same-family pairs from the Berkeley Function-Calling Leaderboard ↗ (last updated 2026-04-12, native function-calling mode):

ModelBenchmark costMean latencyMulti-turn accuracyIrrelevance detection
Claude Opus 4.5$86.554.38 s68.38%84.72%
Claude Haiku 4.5$14.231.68 s53.62%85.11%
Gemini 2.5 Flash$26.362.99 s36.25%93.67%
Gemini 2.5 Flash-Lite$7.551.18 s13.50%92.50%

Irrelevance detection, which checks that a model calls nothing when none of its tools fits, barely moves in either pair. Multi-turn accuracy drops in both. An average over those categories would describe neither, which is the same problem as averaging my five evaluators.

Agent behavior is also not stable from one run to the next. The τ-bench paper ↗ reports that even gpt-4o, as a function-calling agent, succeeded on under 50% of its tasks, and that pass^8 (all eight trials of a task succeed) was under 25% in the retail domain. That is a reason to rerun a borderline migration before deciding, and to read the per-example diffs rather than trust one number.

This is why I built EvalShift

I kept running into model migrations that were tested roughly like this:

change model → try several prompts → outputs look fine → ship.

That works until the difference is something subtle like an extra tool call, a missing action, or different routing behavior.

EvalShift replays the same suite against the source and target model, compares the behavior, and produces the migration decision and individual diffs before the model string gets changed in production. The CLI is local-first and produces a self-contained HTML report; hosted upload is optional. How that differs from an observability tool or a prompt-eval runner is on the comparison pages.

The interesting result from this run wasn't that the candidate was worse. It was that "59% cheaper and 75% faster" wasn't enough information to decide whether the migration was safe.

FAQ

Can a model migration be cheaper and faster and still fail? Yes. In this run the candidate was 58.8% cheaper and 75.2% faster with no failed or truncated calls, and the report still returned FAIL because tool-selection divergence hit 25% against a 10% limit and the equivalence rate fell to 61.4% against a required 75%. Cost and latency say nothing about whether the agent still does the same thing.

Why is the regression rate passing while the migration fails? Because a migration is judged against several independent budgets, not one score. The overall regression-rate budget was within policy at 13.6%, but tool-selection divergence and the overall equivalence rate each breached their own limit, and any breached budget fails the migration.

What does a behavioral regression look like in a model swap? An agent that issues a search_web call and returns no text where the previous model answered directly; an action reported as completed although the corresponding tool was never called; a request routed to a different tool; an unnecessary tool call where the source answered without one. The output can read fine while the trace underneath has changed.

Do cheaper model tiers call tools differently? They can, and not uniformly. On the Berkeley Function-Calling Leaderboard, Claude Haiku 4.5 ran the benchmark for $14.23 against $86.55 for Claude Opus 4.5, and its multi-turn accuracy was 53.62% against 68.38%, while irrelevance detection was almost the same (85.11% against 84.72%). Test the tool calls your own agent makes rather than relying on a headline score.