Repository navigation
Releases
modelpin 0.5.7
Changed
-
modelpin watchnow reports that Claude Opus 4.5 is retiring. Anthropic deprecated
claude-opus-4-5-20251101on 23 November 2026, with 22 January 2027 as its tentative retirement
date andclaude-opus-5-5as the recommended replacement. The retirement includes the undated
claude-opus-4-5. Vertex AI gives the same shutdown date for Claude Opus 4.5 on Google Cloud;
Amazon Bedrock's date was not checked. 0.5.6 and earlier list the model as active, so their
watchshows it as active and does not flag it.modelpin initnow also prints the retirement
date when it configures either id. -
Five Claude models are added, all active:
claude-opus-5-5,claude-haiku-5-5,
claude-fable-5-2,claude-mythos-5-1andclaude-mythos-5-2, from Anthropic's model status
table.watchused to report them as unknown. -
What was re-read on 26 November 2026:
- Anthropic's deprecations page and models overview. The status and dates of the registry's
other Claude entries still match the page's model status table. The page no longer names a
replacement forclaude-mythos-preview; the registry keepsclaude-mythos-5, which the page
named on 17 September 2026, and that entry's note now says so. The other Claude entries keep
theirfetched_atdates. - Vertex AI's partner-models page.
- OpenAI's deprecations page. It lists no model shutdown announced since the 22 November re-read.
The registry's Gemini entries were not re-read in full for this release and keep their earlier
fetched_atdates. The registry now has 100 entries. - Anthropic's deprecations page and models overview. The status and dates of the registry's
pip install --upgrade "modelpin[providers]"
modelpin version # -> modelpin 0.5.7modelpin 0.5.6
Fixed
modelpin initno longer sets you up with models that are about to stop answering.- OpenAI:
initset up OpenAI apps withgpt-4o-minias the placeholder model and
gpt-4.1-mini(orgpt-4o-mini) as the semantic judge. OpenAI shuts both down on 14 January
2027. Its models endpoint lists that date for the plain names and for their dated snapshots. - Claude: a Claude setup on
claude-haiku-4-5gotclaude-sonnet-4-5as its judge.
Anthropic retires that model on 30 November 2026 (its tentative date). - What
initwrites now:- OpenAI:
gpt-6-lunaas the placeholder (the replacement OpenAI names forgpt-4o-mini),
andgpt-5.6-terraas the judge, orgpt-5.6-lunawhen your app is ongpt-5.6-terra.
gpt-6-lunais never the default judge: OpenAI names it as the replacement for every model
it shuts down on 14 January, so it is likely to be the candidate in the checks those apps
run next, and a judge should not be one of the two sides it compares. - Claude:
claude-sonnet-5-5as the fallback judge. - OpenRouter: the same OpenAI models.
- Google, Groq, Together and Cerebras: unchanged. The Google judge,
gemini-3.5-flash, is
deprecated: Google is not shutting it down, but its requests are answered by
gemini-3.6-flash, somodelpin watchflags a new Google config. It stays until a
replacement judge has been checked live.
- OpenAI:
- A config written by an earlier
initkeeps its old models. If it namesgpt-4.1-mini,
gpt-4o-miniorclaude-sonnet-4-5(asjudge_model:or undermodels:), change it
before those dates;modelpin watchflags these. On OpenRouter (openai/gpt-4.1-mini,
openai/gpt-4o-mini) it cannot, because it reports OpenRouter ids as unknown. - Calibration: the semantic threshold was calibrated with
gpt-4o-minias the judge, at
temperature 0, and the run of record's false-alarm measurements were judged by
gpt-4o-miniandgpt-4.1-mini. The new default judges have been through neither. They
also run at the model's default sampling:gpt-5.6-terraandgpt-5.6-lunaare reasoning
models andclaude-sonnet-5-5accepts no temperature, so the judge does not send them
temperature: 0.
- OpenAI:
initno longer picks your app's own model as its judge when your code pins an OpenAI dated
snapshot. For example, it judged an app ongpt-4.1-mini-2025-04-14withgpt-4.1-mini,
which is the same model. The notecheckprints when the judge is one of the two models being
compared now catches that case too.initnow says when the model it configured is retiring. It used to print "Configured
claude-sonnet-4-5 ..." and nothing about the date, though a baseline can only be recorded while
the model still answers. It now prints the shutdown date, the days left and the replacement the
vendor names, read from the same registry asmodelpin watch, or says the model is already
shut down.modelpin watchis now one of the next stepsinitlists.
Changed
- The GitHub Action's README and
examples/github-workflow.ymlusegpt-6-luna, not
gpt-4.1-mini, as the example model to test.examples/voicerag-suite/modelpin.yamlkeeps
itsgpt-4o-minijudge, because the published VoiceRAG run used it, and now says that model
shuts down on 14 January 2027.
pip install --upgrade "modelpin[providers]"
modelpin version # -> modelpin 0.5.6modelpin 0.5.5
Fixed
- Claude Sonnet 4.5, Haiku 4.5 and the other Claude models up to Opus 4.6 can be checked again
with today'santhropicSDK.anthropic2.x (measured on 2.12.0) sends API version
2026-10-21, on which the API
rejectstemperatureandtop_pon every model. Modelpin still sent a scenario'stemperature
to those models, so every scenario that set one came back "could not replay": live on 23
November,claude-sonnet-4-5answeredtemperature: 0with a 400, "temperature: Extra inputs
are not permitted". Modelpin now reads the API version the SDK sends and, from 2026-10-21 on,
sends no sampling parameters to any Claude model; the Claude judge does the same. With
anthropic1.x nothing changes. A Claude baseline recorded throughanthropic1.x ran at the
scenario's temperature; re-record it so both sides run at the same sampling. - Tool scenarios replay on
gpt-6.1-terra, the model OpenAI names asgpt-5-mini's
replacement. Like the gpt-5.6 models, it accepts function tools on Chat Completions only with
reasoning_effort: none, which Modelpin now sends (one 2-run live probe on 23 November; its
record was not kept).
gpt-6.1-solstill takes no tools on Chat Completions at any effort (it rejectsnone), so
tool scenarios against it come back "could not replay" until Modelpin supports the Responses
API.
pip install --upgrade "modelpin[providers]"
modelpin version # -> modelpin 0.5.5modelpin 0.5.4
Changed
-
The registry was re-read against the vendors' deprecation pages on 22 November 2026.
modelpin watchnow reports:gpt-5,gpt-5-pro,o3ando3-pro(shutting down 11 December 2026): OpenAI now names
gpt-6.1-solas the replacement (forgpt-5-proando3-pro, withreasoning.mode: proin
the Responses API), sowatchsuggests checking against it rather thangpt-5.6-sol.gpt-5-mininow points togpt-6.1-terraandgpt-5-nanotogpt-6-luna.
gpt-6.1-solandgpt-6.1-terraare now in the registry.gemini-omni-1.1-flash: the Gemini API lists 3 December 2026 as its shutdown date and routes
its requests togemini-omni-1.2-flashfrom that day. It was listed as active.gemini-3.6-flash: Vertex AI now lists a retirement date of 28 January 2027, replacement
gemini-4-hydrogen(the Gemini API announces no date). It was listed with no date.gpt-image-2(an image model): deprecated on 10 November 2026, shutting down on 10 February
2027. The GPT Image retirements now namegpt-image-2.6-sunburst.gemini-3.7-flash: Vertex AI now namesgemini-4-hydrogenas its replacement; the Gemini API
still routes it togemini-3.8-flash, whichwatchkeeps suggesting.- New entries:
gemini-4-hydrogen,gemini-omni-1.2-flash,gpt-6.1-sol,gpt-6.1-terra,
gpt-image-2.6-sunburst,gpt-image-2.6-flare, andgpt-5.5-cyber-preview(deprecated,
shutting down 1 February 2027).
Claude Sonnet 4.5 (30 November 2026) and the Gemini 2.5 Pro and Flash re-routing (1 December
2026) are unchanged on the vendors' pages. 16 entries changed and 7 were added; 17 other
entries were re-read and still match, so theirfetched_atmoved to 2026-11-22. The other 55
keep their earlier dates.
pip install --upgrade "modelpin[providers]"
modelpin version # -> modelpin 0.5.4modelpin 0.5.3
Changed
-
A new tagline: "Pin the behavior, not the model." On PyPI it reads "For teams shipping LLM
apps: before you switch models, replay your app's real requests on the new one and see what
actually changed." It replaces the old "Dependabot" tagline on PyPI, inmodelpin --help
and in the README, and two published reports now call Modelpin "a model-migration check"
(their results are unchanged). Modelpin does not open upgrade pull requests, and another
tool already uses the old phrase. The package keywords dropdependabotand add
model-migrationandmodel-deprecation. -
The registry was re-read against the vendors' deprecation pages on 5 November 2026.
modelpin watchnow reports:gpt-4o-2024-08-06,gpt-4o-2024-11-20,gpt-4o-mini-2024-07-18,gpt-4.1-2025-04-14
andgpt-4.1-mini-2025-04-14(and thegpt-4o,gpt-4o-mini,gpt-4.1,gpt-4.1-mini
aliases): deprecated on 14 October 2026, removed from the OpenAI API on 14 January 2027,
successorgpt-6-luna. They were listed as active.claude-sonnet-4-5-20250929(aliasclaude-sonnet-4-5): deprecated on 30 September 2026,
retiring on 30 November 2026 on the Claude API and on Vertex AI, successor
claude-sonnet-5-5, which is now in the registry. It was listed as active.gemini-3.7-flashandgemini-3.5-flash: Modelpin now marks both deprecated. The Gemini
API already routes their requests togemini-3.8-flashandgemini-3.6-flashrespectively
(the page says the endpoints are not shutting down).
gemini-3.7-flashretires on Vertex AI on 28 January 2027.gemini-omni-flash-preview: shut down on 22 October 2026, not 30 September.claude-sonnet-4-20250514(retired): the successor Anthropic names is now
claude-sonnet-5-5.
52 other entries were re-read on those pages and still match; their
fetched_atmoved to
2026-11-05. The 20 entries read from a model page, which was not re-read, and
gpt-5.6-cyber, which today's deprecations page no longer names, keep their earlier dates.
Fixed
- The report's "typical run" example now shows typical behavior. Each side's example was
the most common exact run, wording included, so runs that did the same thing in different
words tied, and the first run won even when it was the one run that behaved differently. In
the live Gemini sample, the old model's example foroptional_availability_before_booking
showed the one run in five that calledcheck_availability. Examples are now chosen by what
the run did (which tools, in what order, refused or not), then by exact arguments and
wording; the new model's example prefers a new tool path or refusal first. Examples are
illustration chosen after the verdict; no verdict or exit code changes.
Security
- A
--configpath that is not a file, or amodelpin.yamlover 1 MiB, is refused before
it is read or parsed (#24). The Action's README now saysmodelpin-specis trusted input:
it goes straight topip installwith the job's secrets in the environment, so it must never
come from pull-request titles, branch names or other user-controlled values.
Documentation
- The README states the build-failing false-alarm bound, with the denominator of each
figure, in its limits section: 0 in 9 exposed trials, 28.3% over trials or 39.3% over the 6
distinct scenarios, none of them on tool calls. - A "Related tools" section lists eval platforms and eight 2026 model-migration and
statistical A/B tools, each described from its own PyPI or npm page.
pip install --upgrade "modelpin[providers]"
modelpin version # -> modelpin 0.5.3modelpin 0.5.2
The first release on PyPI since 0.5.0: it also carries everything listed under 0.5.1.
Fixed
-
modelpin watchno longer reports as retired four Gemini models that Google's pages still
list as available. The registry carried Vertex AI's 20 October 2026 date for
gemini-2.5-pro,gemini-2.5-flashandgemini-2.5-flash-lite, and, for
gemini-2.5-flash-image, the 2 October 2026 date it read from the Gemini API on 17 September.
Once those dates passed (forgemini-2.5-flash-image, from the day 0.5.0 shipped),watch
called all four retired. Read again on 5 November 2026:gemini-2.5-proandgemini-2.5-flash: the Gemini API gives 1 December 2026 as the
shutdown date, after which requests to them route togemini-3.8-flashand
gemini-3.5-flash-literespectively; access is already limited to earlier users.watch
now names those successors.gemini-2.5-flash-lite: the Gemini API says it "is not deprecated and remains available
through the API until further notice". Vertex AI still lists the passed 20 October date, so
watchreports it deprecated with no shutdown date, and namesgemini-3.8-flash, the first
successor Vertex lists.gemini-2.5-flash-image: both Google pages now give 15 March 2027, successor
gemini-3.1-flash-lite-image.
Where two Google surfaces disagree, the registry still carries the earlier date, but no longer
once that date has passed while the other surface still lists the model as available.
The changes listed under 0.5.1 were tagged but never published to PyPI; they reach PyPI with this release.
pip install --upgrade "modelpin[providers]"
modelpin version # -> modelpin 0.5.2modelpin 0.5.1
Not published to PyPI. This release was tagged, but the publish job waited for the required
pypiapproval, none was given, and GitHub failed it after 30 days. These changes first reached PyPI in 0.5.2.
Fixed
- Tool scenarios should now replay on
gpt-5.6-sol,gpt-5.6-terra,gpt-5.6-luna,
gpt-6-solandgpt-6-luna. According to OpenAI's and Azure OpenAI's documentation, Chat
Completions accepts tools from these models only withreasoning_effort: noneand rejects the
request otherwise (for gpt-5.6, even when no effort is sent). So every tool scenario in a
check against the successor OpenAI names for its 23 October 2026 retirements would come back
"could not replay"; this has not yet been confirmed by a live call. Modelpin now sendsnone
when a scenario sends tools to one of them and no effort was chosen, and the reports say so.
With noreasoning_effortset, no other request changes, apart from thegpt-6*change
below. gpt-6*ids are now treated as reasoning models: they getmax_completion_tokensand no
temperature.
Added
-
reasoning_effortfor OpenAI reasoning models, inmodelpin.yamlor as
--reasoning-effortonbaselineandcheck, so a check measures the effort you will ship.
It is sent only to reasoning models (gpt-5.x, gpt-6, o-series); a scenario can set its own.
last-report.md(the pull-request comment) andmigration-report.mdstate the effort each
side was sent, read from the recorded runs.modelpin reportdoes not read the setting yet. Choosing an effort other thannonefor a tool scenario on one of the
models above stops that scenario before any call, because Chat Completions would reject it.
The Responses API is not supported yet. -
A migration report for the person who decides on the switch. Whenever
modelpin check
writeslast-report.md, it now also writes.modelpin/migration-report.md: the same run in
plain English, with a one-line bottom line, a one-paragraph verdict, each changed scenario
with what it means for your app and a before and after example, what the check did not cover
(untested behavior, changes that show up in only some runs, scenarios that could not be
measured or compared), and the run's date, both models, runs per scenario, judge calls and
tokens. It is a renderer over the verdictscheckalready computes and changes no verdict or
exit code.
Full changelog: v0.5.0...v0.5.1
modelpin 0.5.0
Added
modelpin watch: which of your models are retiring, when, and what to check next. It
crosses the models inmodelpin.yaml(itsmodels:andjudge_model; with--scan, the
ids in your source; recorded baselines are listed, never alarmed on) with a registry shipped
inside the package, prints days remaining, the successor the vendor names, and the exact
modelpin check --from ... --to ...line, and exits1inside a notice window or already
retired,3for a model the registry does not know (unknown is not a clearance),0when
all clear,4when nothing is declared or the config or registry cannot be read.--jsonfor scripts;--registry <path>to use a differentdata/models.json.
It never touches the network.- The model registry now carries real dates, and every entry carries its source. 87
sourced entries (55 OpenAI, 16 Anthropic, 16 Google), a transcription of the vendor sections
named per entry rather than a complete catalogue, each naming the page it was read from and
the day it was read;Modelrefuses an entry without both, so an unsourced claim cannot enter
from the shipped seed or from a--registryfile. Vendor aliases are recorded, sogpt-4
finds thegpt-4-0613row andgpt-4o-miniits dated snapshot; image and audio models carry
amodalityso no chat check is suggested for them. The old seed's two OpenAI ids,gpt-5.2
andgpt-5.5(its note declared every OpenAI and Google id and every date UNVERIFIED),
appeared on none of the vendor lifecycle pages fetched on 2026-09-17 and were removed as
entries; the dated snapshots behind those aliases were added from their model pages.
scripts/registry_check.pyvalidates the JSON and regenerates the Python mirror. The
OpenAI entries were re-read on 2026-10-04: the 2026-10-23 shutdowns are unchanged, GPT-5.1
and GPT-5.4-Nano are now deprecated with a 2027-04-01 shutdown, the GPT Image rows name
their new replacements, andgpt-5.4-cyberno longer names a successor, because the page
no longer does.
modelpin 0.4.2
Two changes. Python 3.11 is now supported. And a fix that affects you only if you set
match: subset or match: superset: the default strict mode and unordered are not on
that code path and are unchanged.
Added
- Python 3.11 is supported.
requires-pythonis now>=3.11, so Modelpin installs on the
interpreter many long-tail projects and CI images are still pinned to. The only 3.12-only call
in the package wasos.path.isjunction, used bymodelpin scanto refuse to follow an NTFS
junction out of the repository; below 3.12 the detector reads the reparse tag the way CPython's
ownntpath.isjunctionreads it, and a test asserts the two agree wherever both exist. CI runs
the full suite on 3.11, 3.12 and 3.13. The GitHub Action'spython-versiondefault is
unchanged at3.12: a default, not a floor.
Fixed
-
A directional match mode could miss a real regression when the baseline was noisy. Under
subset/superset, both sides were scored against a single representative baseline run, and
the baseline's disagreements with itself were subtracted from the candidate's. So a baseline
that varied run to run could hide a genuine change. Measured, with the candidate calling a tool
subsetforbids on 10 of 10 runs: a quiet baseline reportedregressionand exit 1, a noisy
one reportedunchangedand exit 0 — same candidate, same forbidden call.Each side is now compared against the baseline's whole repertoire instead: everything it was
ever seen to do (subset), or what it did on every run that called a tool (superset). Each
baseline run is scored against the other runs only, so neither side is graded against a
reference it helped build. Priced against the previous engine over every committed corpus: on
the held-out sets (3,196 same-model and 150 detection trials per mode), no new false
alarms, one removed, and detection unchanged. No calibrated threshold moved. -
Tool match/Arg matchprint—when the mode required nothing. Undersuperset, a
baseline that shares no call across its runs requires nothing of the candidate, so no run can
fail the check. 0.4.1 still printed a number there, scored against a single baseline run —
sometimes1.00, which reads as "identical". It now prints—, the same as any other
unmeasured signal, and the field isnullin the JSON outputs.
modelpin 0.4.1
Validated live on Gemini (Vertex AI), and fifteen bugs that validation found.
The measurement. 972 same-model scenario-checks across 6 models: 0 false alarms. 487
checks across 6 real upgrade pairs: 28 regressions, 13 minor, 4 first-sample regressions withheld
by the confirmation step. An independent stronger model, shown the traces, rated 28 of 28 of
the regressions material. Written up in
docs/live-validation.md.
New. modelpin draft <file> drafts reviewable scenarios from one file of your app.
python -m modelpin runs the CLI with nothing on your PATH. Every check writes a JSON run
record under .modelpin/runs/. Per-scenario progress lines, and roughly 4x faster live runs.
Fixed. A decline flagged on its phrasing. A safety-blocked prompt killing a whole run. One
rejected scenario discarding an entire baseline. Reports lost past the Windows 260-character path
limit. modelpin draft dropping the system prompt whenever a file spread it over string
fragments. modelpin init recommending a step that could not run with no provider SDK
installed. An install hint that could not be pasted into cmd.exe.
Full detail in CHANGELOG.md.