Large Model Version Migration Checklist and the Three-Step Acceptance Method
This article explains why large model version upgrades fail during acceptance rather than coding, then provides a six-item code change checklist that separates hard breaking changes from silent soft changes. It also covers the append-only conversation history constraint and a three-step acceptance method spanning API checks, behavior comparison, and cost and stability monitoring.
1. The Real Migration Risk Is Acceptance, Not Code Changes
A version upgrade usually involves very little code. Most edits cluster around a few points: the model identifier, the calling method, and the parameter set. What actually causes incidents are configuration items that keep running without changes while quietly degrading metrics. They throw no exceptions. They only reduce cache hit rates, cause reasoning records to be discarded, and let output quality drift, until the damage surfaces all at once in the bill and in user feedback.
For that reason, treat a migration as a combined effort of compatibility changes plus observability-based acceptance, not a simple string replacement. Below are the six most frequent changes, ordered by how often they appear, followed by the acceptance method.
2. Six Code Changes: Hard Changes vs. Soft Changes
| Location | What changes | Consequence of not changing |
|---|---|---|
| Model identifier field | Replace the legacy model string with the new model string (update both the main model and the lightweight model) | Calls fail outright; mandatory change |
| Tool calling | Migrate from the chat completions-style API to the Responses-style API | Tool declarations do not take effect, so the model cannot trigger external capabilities |
| Reasoning effort | Remove null and the lowest tier; standardize on low; new integrations default to medium | Parameter validation error |
| Sampling parameters | Remove temperature, top-p (nucleus sampling), logprobs, and their variants | Parameter validation error |
| Cache configuration | Replace the flat retention-duration field with a nested cache options object | No error, but caching breaks and cost rises |
| System prompt placement | Move from the top-level instruction field to a developer message at the start of the input sequence | No error, but the cache hit rate drops significantly |
The first four are hard changes: they work once changed and fail if left alone, and the problem shows up in the first integration test. The last two are soft changes: the API returns 200, every health check is green, but cache boundaries are broken and prefix stability is destroyed, so cost and quality degrade at the same time. In practice, nearly all incidents come from the last two.
Sample code for the tool calling migration:
# Before migration: chat completions-style callresponse = client.chat.completions.create(model="legacy-large-model",messages=[...],tools=[...],)# After migration: Responses-style callresponse = client.responses.create(model="new-generation-model",input=[...],tools=[...],reasoning={"effort": "medium"},)
Note two differences. First, the input structure changes from a message array plus a top-level instruction to a unified input sequence. Second, reasoning effort becomes a first-class parameter that must be declared explicitly; you cannot rely on a default.
3. Why Append-Only Matters: The Most Overlooked Constraint
The most hidden constraint on the list is this: conversation history can only be appended to, never edited.
Once you rewrite the prefix of the history, including developer messages and earlier tool call results, the server silently discards the cached reasoning records. The symptoms are lower output quality and token consumption close to doubling, with no error surfaced at the API layer. Retrying does not fix this class of failure; retrying only pays for it again.
There are three practical responses:
- Keep the default path strictly append-only, and treat history messages as immutable once written.
- When the business genuinely needs to edit history, accept the re-reasoning cost and flag those sessions separately in monitoring.
- After an edit, resend the full context to rebuild the prefix instead of trying to patch it locally.
This constraint is independent of how you connect. Whether you call the model API directly or go through a unified access platform (some platforms wrap the cache boundary), append-only semantics live at the API layer, and the business side must enforce them. A good practice is to design history records as immutable structures in the data access layer, using event appends instead of in-place updates.
4. The Three-Step Acceptance Method
Step 1: API Acceptance
Exercise each call path and confirm that tool calling goes through the Responses-style API and returns the expected structure. Check that tool declarations actually trigger calls and return structured results, that the reasoning effort parameter is accepted, and that deprecated sampling parameters no longer appear and no longer raise errors. Turn this step into automated smoke tests in continuous integration so any parameter regression is blocked.
Step 2: Behavior Acceptance
Run the same fixed set of test cases and compare output quality before and after the migration. Focus on three metrics: task success rate, format compliance rate, and consistency across multi-turn conversations. The sample should cover long contexts, chained tool calls, and boundary-case inputs. If quality shifts systematically, investigate system prompt placement and cache configuration first rather than suspecting model capability.
Step 3: Cost and Stability Acceptance
Watch the input-to-cached-token ratio per request, time to first token, and error rate. If the cache hit rate is clearly lower than before the migration, prefix stability has been broken; if input tokens rise abnormally, that usually corresponds to re-reasoning after reasoning records were discarded. Observe for at least one full business cycle, configure monitoring alerts, and put cache hit rate and cost per request on a dashboard.
5. Implementation Recommendations
Turn the six changes into a checklist and code scanning rules: static checks block model identifiers and deprecated parameters, while configuration templates inject prompt placement and cache options uniformly. During the canary stage, shift a small traffic share first, compare the three sets of acceptance metrics, then roll out to full traffic. Only then is the migration truly complete, rather than merely “code changed.”
