Repository navigation
💡 Gemini Engine Model Currency Refresh: Migrate Deprecated gemini-2.0-flash References #641
Replies: 2 comments
Weekly UpdateWhat ChangedGemini 3.5 Flash launched June 8, 2026 — rivals flagship models on benchmarks while maintaining Flash-class latency and pricing. It is now the default model in Gemini Enterprise. Gemini 3.5 Pro cleared for July 2026 launch — per TechTimes (June 29, 2026), this is notably the only major frontier model without US government access restrictions, positioning it as a reliable cross-engine fallback. A Google cut AI pricing — Ultra plan dropped 20% ($250→$200/month) with a new $100/month entry-level Ultra tier. This intensifies the pricing pressure across all providers. Competitive context: Chinese alternatives (DeepSeek, Kimi, Zhipu) are undercutting Western providers by up to 9x, driving competitive pricing pressure that makes model currency refreshes more impactful from a cost-optimization perspective. Updated Assessment
RecommendationAdvance — The upgrade path is now concrete: Gemini 3.5 Flash is GA and production-ready. Update |
|
📋 Initiative planned by the BMAD Scrum Master (Bob). Epic #1138 — Finish the Gemini model-currency refresh: purge the last deprecated gemini-2.0-flash references and add a deprecation-detecting pre-flight probe 3 stories created (inert — labelled
Open questions for review:
Review the epic and its sub-issue DAG, adjust as needed, then add |
Uh oh!
There was an error while loading. Please reload this page.
Summary
engine.shstill configuresgemini-2.0-flashas the Gemini triage model and the Copilot engine's rubber-duck model, but Google deprecated gemini-2.0-flash on February 18, 2026, with full shutdown on June 1, 2026. This means the Gemini triage tier and the Copilot cross-engine rubber-duck review have been silently broken for 12 days. Upgrade to Gemini 2.5 Flash (or 3.5 Flash) and add Gemini model chains for rate-limit resilience.Market Signal
Google deprecated Gemini 2.0 Flash on February 18, 2026 and shut it down on June 1, 2026. Gemini 2.5 Flash is the current cost-efficient tier at approximately $0.15/$0.60 per MTok (with a 50% batch discount to $0.075/$0.30). Gemini 3.5 Flash is the newest Flash model. Google also enforced mandatory spending caps across all billing tiers in April 2026 and prepaid billing for new accounts, changing the Gemini cost model significantly. For prompts exceeding 200K tokens, Gemini 2.5 Pro and 3 Pro input pricing roughly doubles.
User Signal
engine.shreferencesgemini-2.0-flashin three places: line 79 (Gemini triage model), line 109 (Copilot engine label), and line 113 (Copilot duck model).validate-engines.shperforms a billing probe using agemini-2.0-flashREST call but only catches depleted credits, not deprecated models — the probe itself may be receiving HTTP errors that are not diagnosed as deprecation. The Copilot engine'sDUCK_MODELis set togemini-2.0-flash, meaning cross-engine adversarial review has been silently degraded since June 1 whenever the Copilot engine is primary.Technical Opportunity
The fix is bounded: update three model strings in
set_engine_config(), add pricing rows tomodel-pricing.tsv, and optionally add a Gemini model chain (GEMINI_TRIAGE_MODEL_CHAIN) mirroring the Claude chain pattern for rate-limit resilience.validate-engines.shcould also add a model-availability probe (test the configured model ID, not just the billing state) to catch future deprecations proactively.Specific changes:
gemini-2.0-flash→gemini-2.5-flashgemini-2.0-flash→gemini-2.5-flashmodel-pricing.tsv: Addgemini-2.5-flashandgemini-3.5-flashrowsvalidate-engines.sh: Update the billing probe model fromgemini-2.0-flashto the active modelAssessment
Adversarial Review
Strongest objection:
validate_engines.shalready catches Gemini unavailability and marksGEMINI_AVAILABLE=false, so the system degrades gracefully. The cross-provider fallback (claude → copilot → gemini) simply skips Gemini, leaving two functional engines. This is a low-risk configuration issue, not a strategic concern.Rebuttal: Graceful degradation is not the same as proper function. The project invested in three-provider resilience specifically to avoid single-provider dependency. If Gemini fallback is permanently disabled because the model reference is dead, the system has silently lost one-third of its fallback capacity. The fix is ~10 lines of shell and two pricing table rows — the effort-to-impact ratio is extremely favorable. Additionally, the Copilot duck engine's use of
gemini-2.0-flashmeans cross-engine adversarial review quality has been degraded since June 1, reducing review diversity exactly when the review pipeline needs it most.Suggested Next Step
Update
scripts/engine.shset_engine_config(): replacegemini-2.0-flashwithgemini-2.5-flashin the gemini and copilot engine blocks (lines 79, 109, 113). Addgemini-2.5-flashandgemini-3.5-flashrows toscripts/lib/model-pricing.tsv. Update the billing probe model invalidate-engines.sh. Optionally add a model-liveness check that tests the configured model ID, not just the billing state.All reactions