Repository navigation
modelpin 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.2