Aliases move to new snapshots between eval runs. Record the model each response reports (model, modelVersion, system_fingerprint) and refuse mixed comparisons.
A passing eval that compared two different models
Jenya runs the evaluation suite for the help-desk assistant at Belgavi's Book Store: 200 recorded CASE tickets, each with a reference answer and a grader. In October the suite scored 91 percent. In November, after a prompt change, it scored 88, and the team spent two days looking for what the prompt change broke. The prompt was fine. The configuration named a model alias, and between the two runs the provider had moved the alias to a newer snapshot. The two numbers measured two different models with two different prompts, and nobody could say how much of the three points belonged to which.
This guide explains how aliases, snapshots and model IDs differ across three major APIs, where each response reports the model that actually served it, and how to make an evaluation harness refuse to compare runs that were not served by the same model.
Aliases, snapshots and IDs
Providers use the words differently, so read each one's documentation rather than assuming.
OpenAI. Each model page lists dated snapshots and the alias that points to one of them. The documentation says snapshots "let you lock in a specific version of the model so that performance and behavior remain consistent". The GPT-4o page, for example, names gpt-4o-2024-08-06 as the default snapshot behind the gpt-4o alias. A request to the alias is served by whichever snapshot the alias points to on that day.
Anthropic. The model IDs and versioning page states that each Claude model ID identifies a pinned version whose underlying model "remains constant for the lifetime of that ID". Models before the 4.6 generation carry a date, such as claude-haiku-4-5-20251001, and the Claude API also accepts shorter aliases such as claude-haiku-4-5 that point to the most recent dated snapshot for that minor version. From the 4.6 generation on, IDs have no date, and the page is explicit that a dateless ID like claude-sonnet-4-6 "is not an alias. It is the snapshot." The same page adds a caveat worth recording: serving infrastructure such as the request router, safety classifiers and sampling logic can change without a new ID, and "occasionally" that produces minor behaviour differences.
Gemini. The models page describes four kinds of name. Stable names point to a specific model. Preview names may be used in production and are deprecated with at least two weeks of notice. Latest names, such as gemini-flash-latest, point to the newest release of a variation and are "hot-swapped with every new release", with two weeks of notice by email. Experimental names are not for production.
The practical rule follows from all three: a name that can be repointed is a moving target, and an evaluation result is only meaningful together with the identity of what served it.
Record what each response says served it
Every one of these APIs tells you, in the response, which model produced it:
| API | Field | What it identifies |
|---|---|---|
| OpenAI Chat Completions | model | the model used for the completion, typically the snapshot behind an alias |
| OpenAI Chat Completions | system_fingerprint | the backend configuration the model ran with |
| Anthropic Messages | model | the model that completed the prompt |
| Gemini generateContent | modelVersion | the model version used to generate the response |
Most harnesses log the requested name and discard these fields. Store them per response, next to the score.
FIELDS = {'openai': ('model', 'system_fingerprint'),
'anthropic': ('model', None),
'gemini': ('modelVersion', None)}
def resolved(provider, body):
model_field, fp_field = FIELDS[provider]
if not body.get(model_field):
raise ValueError(f'{provider} response has no {model_field}; cannot record what served it')
return body[model_field], (body.get(fp_field) if fp_field else None)Failing loudly when the field is missing is deliberate. A gateway or proxy that rewrites responses can drop it, and silently recording nothing is how the October and November runs became incomparable.
Refuse comparisons the data cannot support
With the served model recorded, a comparison rule is simple: two runs are comparable only if each was served by exactly one model and it is the same one. A fingerprint change on the same model is worth a warning, not a refusal.
The companion example replays synthetic response bodies through that rule. The model names in it are placeholders, not real releases.
| Comparison | Result | Reason |
|---|---|---|
| October run on the alias vs November run on the alias | not comparable | served by example-chat-2026-08-01, then by example-chat-2026-10-15 |
| October run on the alias vs November run pinned to the October snapshot | with caution | same model, backend fingerprint changed from one value to two |
| October run vs a Gemini run on a latest name | not comparable | the latest name switched model in the middle of the run, 2 responses to 1 |
| a run against itself on a fixed Claude ID | comparable | one model throughout |
The third row shows a case that is easy to miss. A run that starts before an alias moves and finishes after it is internally mixed, so it cannot be compared even with itself. The harness should flag it the moment a second served model appears.
What to change in configuration
- Name snapshots or fixed IDs in production configuration and in evaluation configuration. Keep aliases for exploration, where tracking the newest model is the point.
- Put the model identifier in the same change-control path as the prompt. A model change and a prompt change should never ship in one step, so that each evaluation measures one change.
- Record the served model and any fingerprint on every response, in traces as well as evaluation results. An incident review needs to know which model gave a bad answer, not which alias was configured.
- Subscribe to the providers' deprecation notices and schedule migrations. Pinning trades silent changes for scheduled ones, and a retired snapshot stops working on a known date.
- When you migrate, run the evaluation suite on the old and new identifiers with the same prompt, then change the prompt in a separate step.
What an evaluation report should carry
A score without its context cannot be compared later, so make the report self-describing. For every run, record the requested model name, the set of served model identifiers with a count for each, any backend fingerprints, the prompt version, the tool definitions version, the date range of the run, the sampling settings that were sent, and the evaluation dataset version. Keep the raw responses or at least their identifiers, so a disputed case can be read again.
With that record, a dashboard can group results by served model instead of by configured name, and a regression investigation starts by checking which of those fields changed between the two runs. In Jenya's case the served model field alone would have explained most of the difference on the first morning, before anyone opened the prompt diff.
Failure modes
Pinned in code, aliased in a gateway. An LLM gateway with its own routing table can map a pinned name to something else. The response field still tells the truth, which is why recording it beats trusting configuration.
Fallback models. Retry logic that falls back to a second model on overload mixes models inside one run. Either disable fallback during evaluations or record and segment by served model.
Caching across models. A response cache keyed only by prompt can return an answer produced by the previous model after a migration. Include the served or requested model in the cache key.
Treating a fixed ID as frozen behaviour. Even a pinned ID can show small behaviour shifts from infrastructure changes, as Anthropic's documentation says. Keep a small canary evaluation running on a schedule and alert on drift, rather than assuming pinning removes all change.
Retirement surprises. A pinned snapshot that is retired fails every request. Track retirement dates in the same place as the pinned identifiers and test the replacement before the date.
Verification
The companion example checks that each provider's field is read correctly, that a missing field raises an error, that alias runs served by different snapshots are refused, and that a mixed run is refused even against itself. In a real harness, add one assertion to the reporting step: no score is printed beside another unless their served-model sets are identical. That single check would have saved Jenya's two days.