Skip to content

[merge 12-01] fix(chat): Gemini 2.5 retires; 3.5 Flash-Lite takes its tier slots - #232

Open
VickyXAI wants to merge 1 commit into
mainfrom
chore/retire-gemini-25-1201
Open

VickyXAI wants to merge 1 commit into
mainfrom
chore/retire-gemini-25-1201

Conversation

@VickyXAI

Copy link
Copy Markdown
Contributor

Merge on 2026-12-01, not before. This PR is stacked on #231. Merge #231 first without --delete-branch, retarget this PR to main, then merge it.

Google retires Gemini 2.5 on 2026-12-01. From that day the gateways redirect google/gemini-2.5-flash → google/gemini-3.5-flash-lite (same $0.3/$2.5) and google/gemini-2.5-pro → google/gemini-3.8-flash.

Changes

  • fast: 2.5-flash's slot (second) now names gemini-3.5-flash-lite, and its later duplicate (fourth) is removed. From 12-01 the gateway answers the 2.5 name with 3.5 Flash-Lite, so the order that actually gets served stays the same.
  • cheap: gemini-2.5-flash → gemini-3.5-flash-lite, same position.
  • Price rows for both 2.5 ids are kept for pinned calls. The 2.5-flash row matches its successor's price exactly. The 2.5-pro row and its 200K step over-cover 3.8 Flash, and they still cover any rail that bills 2.5 Pro until it ships the redirect.
  • blockrun_chat's cheap-mode line now says Gemini 3.5 Flash-Lite. The schema cost was re-measured (npm run measure:schema): full 14,535, research 2,821, chat 2,169, each up 2 tokens. README and docs/mcp-schema-overhead.md are updated. The 14.5K badge is unchanged.
  • No tier's worst member changes, so no reserve moves.

Tests

  • test/retired-models.test.ts now covers both 2.5 ids, pins 3.5 Flash-Lite at fast[1] and cheap[3], and fails on any tier that lists a model twice.
  • npm run typecheck clean. npm test: 1525/1525 pass, including schema-tokens.
  • Mutation check: putting gemini-2.5-flash back in cheap fails 2 of the 7 retirement tests.

🤖 Generated with Claude Code

Google retires Gemini 2.5 on 2026-12-01 and the gateways redirect
gemini-2.5-flash -> gemini-3.5-flash-lite (same $0.3/$2.5) and
gemini-2.5-pro -> gemini-3.8-flash. Merge on 12-01, not before.

- fast: 2.5-flash's slot (second) now names 3.5-flash-lite, and the later
  duplicate is removed. From 12-01 the gateway answered the 2.5 name with
  3.5 Flash-Lite, so the served order is unchanged.
- cheap: 2.5-flash -> 3.5-flash-lite in place.
- Price rows for both 2.5 ids kept for pins: 2.5-flash is exact for its
  successor, 2.5-pro (and its 200K step) over-covers 3.8 Flash.
- blockrun_chat's cheap-mode line names Gemini 3.5 Flash-Lite. Schema cost
  re-measured: full 14,535, research 2,821, chat 2,169 (+2 each).

test/retired-models.test.ts covers both ids and fails on a tier that
lists a model twice.
@VickyXAI
VickyXAI changed the base branch from chore/retire-models-now-1124 to main November 24, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant