Repository navigation
[merge 12-01] feat: Gemini 2.5 retires — 3.5 Flash-Lite and 3.8 Flash take its rungs - #17
Merged
Merged
Conversation
…s rungs Merge on 2026-12-01, not before. Google retires Gemini 2.5 that day and the gateways redirect gemini-2.5-flash -> gemini-3.5-flash-lite (same $0.30/$2.50) and gemini-2.5-pro -> gemini-3.8-flash ($0.75/$3.75). Chains: every 2.5 Flash rung names 3.5 Flash-Lite in place (auto SIMPLE primary; auto MEDIUM and COMPLEX, eco MEDIUM and COMPLEX, premium SIMPLE, agentic SIMPLE fallbacks). Where 3.5 Flash-Lite already sat in the same chain (auto SIMPLE, premium SIMPLE), the later copy is dropped. Both 2.5 Pro rungs (auto COMPLEX, premium MEDIUM) name 3.8 Flash. classifier.llmModel follows. Nothing reads it, and a comment notes that 3.5 Flash-Lite always thinks, so a 10-token budget may be spent before any label is emitted. Affinity: the three "gemini-2.5-flash" values (extractionZh, extraction, chat) move to "gemini-3.5-flash-lite" unchanged. They are carried, not measured, and the comment above the bands says so. Decision snapshot: 21 of 88 primaries move, 0 tiers. 15 are the 1:1 rename 2.5 Flash -> 3.5 Flash-Lite. 6 are vision turns (3 prompts x auto/default) that move to gemini-3-flash-preview: the catalog gives 3.5 Flash-Lite no vision tag, so the router now fails closed past it. Before this change it picked 2.5 Flash, which from 12-01 the gateway answers with that same non-vision model. 51 more rows change only their candidate lists, each the rename plus the dedupe. 12 lose 3.5 Flash-Lite on vision turns. Re-routing the corpus with the live catalog's real prices moves 22 of 88: 16 renames at the same price and the same 6 vision rows ($0.50/$3 instead of $0.30/$2.50). README example 1 re-run on the new dist with live prices. dist/ rebuilt. Tests: retired-models.test.ts covers both ids. Mutation check: restoring 2.5 Flash as the auto SIMPLE primary fails 2 of 4. The stale-speed test now uses the extraction-band member (3.5 Flash-Lite), which keeps it testing what it says.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge on 2026-12-01, not before. This PR is stacked on #16. Merge #16 first without
--delete-branch, retarget this PR tomain, then merge it.Google retires Gemini 2.5 on 2026-12-01. From that day the gateways redirect
gemini-2.5-flash→gemini-3.5-flash-lite(same $0.30/$2.50) andgemini-2.5-pro→gemini-3.8-flash($0.75/$3.75).Chains
classifier.llmModelfollows. Nothing in router-core or ClawRouter reads it. A comment notes that 3.5 Flash-Lite always thinks (it rejects a budget of 0), so a 10-token budget may be spent before any label is emitted.Affinity
The three
"gemini-2.5-flash"values (extractionZh, extraction, chat) move to"gemini-3.5-flash-lite"unchanged. They are carried from 2.5 Flash, not measured, and a comment says so.Probe
None needed, $0 spent. 3.5 Flash-Lite and 3.8 Flash already have tool evidence (2026-08-29 and 2026-10-03).
Decision snapshot diff
gemini-3-flash-preview. The catalog gives 3.5 Flash-Lite no vision tag, so the router now fails closed past it. Before this change it picked 2.5 Flash, which from 12-01 the gateway answers with that same non-vision model, so the image would be dropped.Tests
retired-models.test.tsnow covers both 2.5 ids. The stale-speed hygiene test switched to the extraction-band member (3.5 Flash-Lite) so it still tests what it says.npm run check: typecheck, 196/196 tests, and build pass. README example 1 re-run on the new dist with live prices;dist/rebuilt.🤖 Generated with Claude Code