Skip to content

Releases

modelpin 0.5.7

Choose a tag to compare

@samarthputhraya samarthputhraya released this 26 Nov 03:34
05c57f1

Changed

  • modelpin watch now reports that Claude Opus 4.5 is retiring. Anthropic deprecated
    claude-opus-4-5-20251101 on 23 November 2026, with 22 January 2027 as its tentative retirement
    date and claude-opus-5-5 as 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
    watch shows it as active and does not flag it. modelpin init now 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-1 and claude-mythos-5-2, from Anthropic's model status
    table. watch used 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 for claude-mythos-preview; the registry keeps claude-mythos-5, which the page
      named on 17 September 2026, and that entry's note now says so. The other Claude entries keep
      their fetched_at dates.
    • 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_at dates. The registry now has 100 entries.

pip install --upgrade "modelpin[providers]"
modelpin version   # -> modelpin 0.5.7

modelpin 0.5.6

Choose a tag to compare

@samarthputhraya samarthputhraya released this 25 Nov 14:15
108eb5d

Fixed

  • modelpin init no longer sets you up with models that are about to stop answering.
    • OpenAI: init set up OpenAI apps with gpt-4o-mini as the placeholder model and
      gpt-4.1-mini (or gpt-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-5 got claude-sonnet-4-5 as its judge.
      Anthropic retires that model on 30 November 2026 (its tentative date).
    • What init writes now:
      • OpenAI: gpt-6-luna as the placeholder (the replacement OpenAI names for gpt-4o-mini),
        and gpt-5.6-terra as the judge, or gpt-5.6-luna when your app is on gpt-5.6-terra.
        gpt-6-luna is 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-5 as 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, so modelpin watch flags a new Google config. It stays until a
        replacement judge has been checked live.
    • A config written by an earlier init keeps its old models. If it names gpt-4.1-mini,
      gpt-4o-mini or claude-sonnet-4-5 (as judge_model: or under models:), change it
      before those dates; modelpin watch flags 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-mini as the judge, at
      temperature 0, and the run of record's false-alarm measurements were judged by
      gpt-4o-mini and gpt-4.1-mini. The new default judges have been through neither. They
      also run at the model's default sampling: gpt-5.6-terra and gpt-5.6-luna are reasoning
      models and claude-sonnet-5-5 accepts no temperature, so the judge does not send them
      temperature: 0.
  • init no longer picks your app's own model as its judge when your code pins an OpenAI dated
    snapshot.
    For example, it judged an app on gpt-4.1-mini-2025-04-14 with gpt-4.1-mini,
    which is the same model. The note check prints when the judge is one of the two models being
    compared now catches that case too.
  • init now 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 as modelpin watch, or says the model is already
    shut down. modelpin watch is now one of the next steps init lists.

Changed

  • The GitHub Action's README and examples/github-workflow.yml use gpt-6-luna, not
    gpt-4.1-mini, as the example model to test. examples/voicerag-suite/modelpin.yaml keeps
    its gpt-4o-mini judge, 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.6

modelpin 0.5.5

Choose a tag to compare

@samarthputhraya samarthputhraya released this 23 Nov 10:41
ba3e6ed

Fixed

  • Claude Sonnet 4.5, Haiku 4.5 and the other Claude models up to Opus 4.6 can be checked again
    with today's anthropic SDK.
    anthropic 2.x (measured on 2.12.0) sends API version
    2026-10-21, on which the API
    rejects temperature and top_p on every model. Modelpin still sent a scenario's temperature
    to those models, so every scenario that set one came back "could not replay": live on 23
    November, claude-sonnet-4-5 answered temperature: 0 with 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
    anthropic 1.x nothing changes. A Claude baseline recorded through anthropic 1.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 as gpt-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-sol still takes no tools on Chat Completions at any effort (it rejects none), 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.5

modelpin 0.5.4

Choose a tag to compare

@samarthputhraya samarthputhraya released this 22 Nov 16:33
06ea1eb

Changed

  • The registry was re-read against the vendors' deprecation pages on 22 November 2026.
    modelpin watch now reports:

    • gpt-5, gpt-5-pro, o3 and o3-pro (shutting down 11 December 2026): OpenAI now names
      gpt-6.1-sol as the replacement (for gpt-5-pro and o3-pro, with reasoning.mode: pro in
      the Responses API), so watch suggests checking against it rather than gpt-5.6-sol. gpt-5-mini now points to gpt-6.1-terra and gpt-5-nano to gpt-6-luna.
      gpt-6.1-sol and gpt-6.1-terra are now in the registry.
    • gemini-omni-1.1-flash: the Gemini API lists 3 December 2026 as its shutdown date and routes
      its requests to gemini-omni-1.2-flash from 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 name gpt-image-2.6-sunburst.
    • gemini-3.7-flash: Vertex AI now names gemini-4-hydrogen as its replacement; the Gemini API
      still routes it to gemini-3.8-flash, which watch keeps 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, and gpt-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 their fetched_at moved to 2026-11-22. The other 55
    keep their earlier dates.

pip install --upgrade "modelpin[providers]"
modelpin version   # -> modelpin 0.5.4

modelpin 0.5.3

Choose a tag to compare

@samarthputhraya samarthputhraya released this 05 Nov 15:02
7d076bf

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, in modelpin --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 drop dependabot and add
    model-migration and model-deprecation.

  • The registry was re-read against the vendors' deprecation pages on 5 November 2026.
    modelpin watch now reports:

    • gpt-4o-2024-08-06, gpt-4o-2024-11-20, gpt-4o-mini-2024-07-18, gpt-4.1-2025-04-14
      and gpt-4.1-mini-2025-04-14 (and the gpt-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,
      successor gpt-6-luna. They were listed as active.
    • claude-sonnet-4-5-20250929 (alias claude-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-flash and gemini-3.5-flash: Modelpin now marks both deprecated. The Gemini
      API already routes their requests to gemini-3.8-flash and gemini-3.6-flash respectively
      (the page says the endpoints are not shutting down).
      gemini-3.7-flash retires 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_at moved 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 for optional_availability_before_booking
    showed the one run in five that called check_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 --config path that is not a file, or a modelpin.yaml over 1 MiB, is refused before
    it is read or parsed
    (#24). The Action's README now says modelpin-spec is trusted input:
    it goes straight to pip install with 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.3

modelpin 0.5.2

Choose a tag to compare

@samarthputhraya samarthputhraya released this 05 Nov 13:42
f4eecc5

The first release on PyPI since 0.5.0: it also carries everything listed under 0.5.1.

Fixed

  • modelpin watch no 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-flash and gemini-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 (for gemini-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-pro and gemini-2.5-flash: the Gemini API gives 1 December 2026 as the
      shutdown date, after which requests to them route to gemini-3.8-flash and
      gemini-3.5-flash-lite respectively; 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
      watch reports it deprecated with no shutdown date, and names gemini-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.2

modelpin 0.5.1

Choose a tag to compare

@samarthputhraya samarthputhraya released this 04 Oct 17:36
d3bbb2a

Not published to PyPI. This release was tagged, but the publish job waited for the required pypi approval, 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-sol and gpt-6-luna.
    According to OpenAI's and Azure OpenAI's documentation, Chat
    Completions accepts tools from these models only with reasoning_effort: none and 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 sends none
    when a scenario sends tools to one of them and no effort was chosen, and the reports say so.
    With no reasoning_effort set, no other request changes, apart from the gpt-6* change
    below.
  • gpt-6* ids are now treated as reasoning models: they get max_completion_tokens and no
    temperature.

Added

  • reasoning_effort for OpenAI reasoning models, in modelpin.yaml or as
    --reasoning-effort on baseline and check, 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) and migration-report.md state the effort each
    side was sent, read from the recorded runs. modelpin report does not read the setting yet. Choosing an effort other than none for 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
    writes last-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 verdicts check already computes and changes no verdict or
    exit code.

Full changelog: v0.5.0...v0.5.1

modelpin 0.5.0

Choose a tag to compare

@samarthputhraya samarthputhraya released this 04 Oct 10:48
d43d604

Added

  • modelpin watch: which of your models are retiring, when, and what to check next. It
    crosses the models in modelpin.yaml (its models: and judge_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 exits 1 inside a notice window or already
    retired, 3 for a model the registry does not know (unknown is not a clearance), 0 when
    all clear, 4 when nothing is declared or the config or registry cannot be read. --json for scripts; --registry <path> to use a different data/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; Model refuses an entry without both, so an unsourced claim cannot enter
    from the shipped seed or from a --registry file. Vendor aliases are recorded, so gpt-4
    finds the gpt-4-0613 row and gpt-4o-mini its dated snapshot; image and audio models carry
    a modality so no chat check is suggested for them. The old seed's two OpenAI ids, gpt-5.2
    and gpt-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.py validates 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, and gpt-5.4-cyber no longer names a successor, because the page
    no longer does.

modelpin 0.4.2

Choose a tag to compare

@samarthputhraya samarthputhraya released this 01 Oct 06:42
294febc

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-python is 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 was os.path.isjunction, used by modelpin scan to refuse to follow an NTFS
    junction out of the repository; below 3.12 the detector reads the reparse tag the way CPython's
    own ntpath.isjunction reads 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's python-version default is
    unchanged at 3.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
    subset forbids on 10 of 10 runs: a quiet baseline reported regression and exit 1, a noisy
    one reported unchanged and 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 match print — when the mode required nothing. Under superset, 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 —
    sometimes 1.00, which reads as "identical". It now prints —, the same as any other
    unmeasured signal, and the field is null in the JSON outputs.

modelpin 0.4.1

Choose a tag to compare

@samarthputhraya samarthputhraya released this 16 Sep 15:28
43caaf6

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.