Skip to content

[merge 12-01] feat: Gemini 2.5 retires — 3.5 Flash-Lite and 3.8 Flash take its rungs - #17

Merged
VickyXAI merged 1 commit into
mainfrom
chore/retire-gemini-25-1201
Nov 24, 2026
Merged

VickyXAI merged 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 #16. Merge #16 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 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 now names 3.5 Flash-Lite in place: the auto SIMPLE primary, plus fallbacks in auto MEDIUM and COMPLEX, eco MEDIUM and COMPLEX, premium SIMPLE and agentic SIMPLE. 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) now name 3.8 Flash.
  • classifier.llmModel follows. 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

  • 21 of 88 primaries move. 0 tiers move. 15 are the 1:1 rename 2.5 Flash → 3.5 Flash-Lite.
  • 6 vision turns (3 prompts × auto/default) 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, so the image would be dropped.
  • 51 rows change only their candidate lists, each the rename plus the dedupe. 12 lose 3.5 Flash-Lite on vision turns.
  • Real prices (live catalog, this PR vs feat: route retired ids to their successors (gemini-3.5-flash, o4-mini) #16): 22 of 88 move. 16 are renames at the same price. The same 6 vision rows now cost $0.50/$3 instead of $0.30/$2.50.

Tests

  • retired-models.test.ts now 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.
  • Mutation check: restoring 2.5 Flash as the auto SIMPLE primary fails 2 of 4.

🤖 Generated with Claude Code

…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.
@VickyXAI
VickyXAI changed the base branch from chore/retire-models-now-1124 to main November 24, 2026 19:57
@VickyXAI
VickyXAI merged commit b2bbaba into main Nov 24, 2026
2 checks passed
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