Maintenance: Deprecate or remove outdated Gemini models based on 2026-01-29 API status #957

Closed
opened 2026-02-16 10:21:07 -05:00 by yindo · 0 comments
Owner

Originally created by @WH-2099 on GitHub (Jan 28, 2026).

Originally assigned to: @WH-2099 on GitHub.

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Google Gemini API changelog

1. Models to be removed immediately (Shut down)

The following models have been officially shut down or deprecated and should be removed from the repository immediately:

LLM Models (models/llm/):

  • 1.0 Series: gemini-pro, gemini-pro-vision
  • 1.5 Series: gemini-1.5-pro, gemini-1.5-flash, gemini-1.5-flash-001
  • 2.x Preview/Experimental:
    • gemini-2.5-pro-exp-03-25, gemini-2.5-pro-preview-03-25, gemini-2.5-pro-preview-05-06, gemini-2.5-pro-preview-06-05
    • gemini-2.5-flash-preview-04-17, gemini-2.5-flash-preview-05-20, gemini-2.5-flash-lite-preview-06-17
    • gemini-2.0-flash-exp, gemini-2.0-pro-exp, gemini-2.0-pro-exp-02-05
    • gemini-2.0-flash-lite-preview, gemini-2.0-flash-lite-preview-02-05
    • gemini-2.0-flash-thinking-exp-1219, gemini-2.0-flash-thinking-exp-01-21
    • gemini-2.0-flash-preview-image-generation
  • Experimental Tags: gemini-exp-1114, gemini-exp-1121, gemini-exp-1206, and other older experimental YAMLs.

Text Embedding Models (models/text_embedding/):

  • embedding-001 (Shut down Oct 2025)
  • text-embedding-004 (Shut down Jan 14, 2026)

2. Models approaching deprecation (Within 1 month)

Note: No specific YAML files were found for these in the current local path, but they are scheduled for shutdown on Feb 17, 2026:

  • gemini-2.5-flash-preview-09-25
  • imagen-4.0-generate-preview-06-06

3. Upcoming Deprecations (For awareness, do not remove yet)

The following models are scheduled for shutdown later in 2026:

  • March 31, 2026: gemini-2.0-flash, gemini-2.0-flash-001, gemini-2.0-flash-lite.
  • June 17, 2026: gemini-2.5-pro, gemini-2.5-flash.
  • July - Oct 2026: gemini-2.5-flash-lite, gemini-2.5-flash-image, gemini-embedding-001.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @WH-2099 on GitHub (Jan 28, 2026). Originally assigned to: @WH-2099 on GitHub. ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. [Google Gemini API changelog](https://ai.google.dev/gemini-api/docs/changelog) #### 1. Models to be removed immediately (Shut down) The following models have been officially shut down or deprecated and should be removed from the repository immediately: **LLM Models (`models/llm/`):** - **1.0 Series:** `gemini-pro`, `gemini-pro-vision` - **1.5 Series:** `gemini-1.5-pro`, `gemini-1.5-flash`, `gemini-1.5-flash-001` - **2.x Preview/Experimental:** - `gemini-2.5-pro-exp-03-25`, `gemini-2.5-pro-preview-03-25`, `gemini-2.5-pro-preview-05-06`, `gemini-2.5-pro-preview-06-05` - `gemini-2.5-flash-preview-04-17`, `gemini-2.5-flash-preview-05-20`, `gemini-2.5-flash-lite-preview-06-17` - `gemini-2.0-flash-exp`, `gemini-2.0-pro-exp`, `gemini-2.0-pro-exp-02-05` - `gemini-2.0-flash-lite-preview`, `gemini-2.0-flash-lite-preview-02-05` - `gemini-2.0-flash-thinking-exp-1219`, `gemini-2.0-flash-thinking-exp-01-21` - `gemini-2.0-flash-preview-image-generation` - **Experimental Tags:** `gemini-exp-1114`, `gemini-exp-1121`, `gemini-exp-1206`, and other older experimental YAMLs. **Text Embedding Models (`models/text_embedding/`):** - `embedding-001` (Shut down Oct 2025) - `text-embedding-004` (Shut down Jan 14, 2026) #### 2. Models approaching deprecation (Within 1 month) Note: No specific YAML files were found for these in the current local path, but they are scheduled for shutdown on Feb 17, 2026: - `gemini-2.5-flash-preview-09-25` - `imagen-4.0-generate-preview-06-06` #### 3. Upcoming Deprecations (For awareness, do not remove yet) The following models are scheduled for shutdown later in 2026: - **March 31, 2026:** `gemini-2.0-flash`, `gemini-2.0-flash-001`, `gemini-2.0-flash-lite`. - **June 17, 2026:** `gemini-2.5-pro`, `gemini-2.5-flash`. - **July - Oct 2026:** `gemini-2.5-flash-lite`, `gemini-2.5-flash-image`, `gemini-embedding-001`. ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the enhancement label 2026-02-16 10:21:07 -05:00
yindo closed this issue 2026-02-16 10:21:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#957