No endpoints found for google/gemini-2.5-pro-exp-03-25 model from openrouter #569

Closed
opened 2026-02-16 10:19:46 -05:00 by yindo · 2 comments
Owner

Originally created by @fengwang on GitHub (Aug 19, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.7.2

Plugin version

0.2.0-local

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Settings -> Model Providers -> OpenRouter -> Add Model:

2025-08-19 13:11:20.350 INFO [Thread-247 (process_request_thread)] [_internal.py:97] - 192.168.208.4 - - [19/Aug/2025 13:11:20] "POST /console/api/refresh-token HTTP/1.1" 200 -
2025-08-19 13:11:21.018 ERROR [Thread-248 (process_request_thread)] [base.py:211] - Error in stream reponse for plugin {'code': -500, 'message': '{"message":"{\"args\":{},\"error_type\":\"CredentialsValidateFailedError\",\"message\":\"Credentials validation failed with status code 404 and response body {\\\"error\\\":{\\\"message\\\":\\\"No endpoints found for google/gemini-2.5-pro-exp-03-25.\\\",\\\"code\\\":404},\\\"user_id\\\":\\\"user_30sdunB4KYF5S5LLEhitsdMeLIt\\\"}\"}","error_type":"PluginInvokeError","args":null}', 'data': None}
2025-08-19 13:11:21.019 ERROR [Thread-248 (process_request_thread)] [models.py:163] - Failed to save model credentials, tenant_id: 1eeaadbd-ed24-4420-89f7-dfdba7204c06, model: google/gemini-2.5-pro-exp-03-25, model_type: llm
Traceback (most recent call last):
File "/app/api/controllers/console/workspace/models.py", line 155, in post
model_provider_service.save_model_credentials(
File "/app/api/services/model_provider_service.py", line 237, in save_model_credentials
provider_configuration.add_or_update_custom_model_credentials(
File "/app/api/core/entities/provider_configuration.py", line 422, in add_or_update_custom_model_credentials
provider_model_record, credentials = self.custom_model_credentials_validate(model_type, model, credentials)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/entities/provider_configuration.py", line 402, in custom_model_credentials_validate
credentials = model_provider_factory.model_credentials_validate(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/model_provider_factory.py", line 191, in model_credentials_validate
self.plugin_model_manager.validate_model_credentials(
File "/app/api/core/plugin/impl/model.py", line 137, in validate_model_credentials
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 212, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 242, in _handle_plugin_daemon_error
raise CredentialsValidateFailedError(error_object.get("message"))
core.model_runtime.errors.validate.CredentialsValidateFailedError: Credentials validation failed with status code 404 and response body {"error":{"message":"No endpoints found for google/gemini-2.5-pro-exp-03-25.","code":404},"user_id":"user_30sdunB4KYF5S5LLEhitsdMeLIt"}
2025-08-19 13:11:21.021 INFO [Thread-248 (process_request_thread)] [_internal.py:97] - 192.168.208.4 - - [19/Aug/2025 13:11:21] "POST /console/api/workspaces/current/model-providers/langgenius/openrouter/openrouter/models HTTP/1.1" 400 -

✔️ Error log

No response

Originally created by @fengwang on GitHub (Aug 19, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.2 ### Plugin version 0.2.0-local ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Settings -> Model Providers -> OpenRouter -> Add Model: - Model name: google/gemini-2.5-pro-exp-03-25 according to this page: https://openrouter.ai/google/gemini-2.5-pro-exp-03-25 - API key: you key Click 'save' button, and you encounter this error: > 2025-08-19 13:11:20.350 INFO [Thread-247 (process_request_thread)] [_internal.py:97] - 192.168.208.4 - - [19/Aug/2025 13:11:20] "POST /console/api/refresh-token HTTP/1.1" 200 - > 2025-08-19 13:11:21.018 ERROR [Thread-248 (process_request_thread)] [base.py:211] - Error in stream reponse for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{},\\"error_type\\":\\"CredentialsValidateFailedError\\",\\"message\\":\\"Credentials validation failed with status code 404 and response body {\\\\\\"error\\\\\\":{\\\\\\"message\\\\\\":\\\\\\"No endpoints found for google/gemini-2.5-pro-exp-03-25.\\\\\\",\\\\\\"code\\\\\\":404},\\\\\\"user_id\\\\\\":\\\\\\"user_30sdunB4KYF5S5LLEhitsdMeLIt\\\\\\"}\\"}","error_type":"PluginInvokeError","args":null}', 'data': None} > 2025-08-19 13:11:21.019 ERROR [Thread-248 (process_request_thread)] [models.py:163] - Failed to save model credentials, tenant_id: 1eeaadbd-ed24-4420-89f7-dfdba7204c06, model: google/gemini-2.5-pro-exp-03-25, model_type: llm > Traceback (most recent call last): > File "/app/api/controllers/console/workspace/models.py", line 155, in post > model_provider_service.save_model_credentials( > File "/app/api/services/model_provider_service.py", line 237, in save_model_credentials > provider_configuration.add_or_update_custom_model_credentials( > File "/app/api/core/entities/provider_configuration.py", line 422, in add_or_update_custom_model_credentials > provider_model_record, credentials = self.custom_model_credentials_validate(model_type, model, credentials) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/app/api/core/entities/provider_configuration.py", line 402, in custom_model_credentials_validate > credentials = model_provider_factory.model_credentials_validate( > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/app/api/core/model_runtime/model_providers/model_provider_factory.py", line 191, in model_credentials_validate > self.plugin_model_manager.validate_model_credentials( > File "/app/api/core/plugin/impl/model.py", line 137, in validate_model_credentials > for resp in response: > ^^^^^^^^ > File "/app/api/core/plugin/impl/base.py", line 212, in _request_with_plugin_daemon_response_stream > self._handle_plugin_daemon_error(error.error_type, error.message) > File "/app/api/core/plugin/impl/base.py", line 242, in _handle_plugin_daemon_error > raise CredentialsValidateFailedError(error_object.get("message")) > core.model_runtime.errors.validate.CredentialsValidateFailedError: Credentials validation failed with status code 404 and response body {"error":{"message":"No endpoints found for google/gemini-2.5-pro-exp-03-25.","code":404},"user_id":"user_30sdunB4KYF5S5LLEhitsdMeLIt"} > 2025-08-19 13:11:21.021 INFO [Thread-248 (process_request_thread)] [_internal.py:97] - 192.168.208.4 - - [19/Aug/2025 13:11:21] "POST /console/api/workspaces/current/model-providers/langgenius/openrouter/openrouter/models HTTP/1.1" 400 - > > > ### ✔️ Error log _No response_
yindo added the bug label 2026-02-16 10:19:46 -05:00
yindo closed this issue 2026-02-16 10:19:46 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

The error happens because the OpenRouter plugin only supports models that are both listed in its manifest and returned by OpenRouter’s /v1/models endpoint. The model google/gemini-2.5-pro-exp-03-25 is not currently included in the plugin’s supported models, even after recent updates that added other Gemini 2.5 variants like google/gemini-2.5-pro and google/gemini-2.5-flash-lite—but not the -exp-03-25 version. The plugin does not auto-correct or add prefixes to model names, and support for new models depends on both OpenRouter exposing them and the plugin listing them explicitly. If the model isn’t in the plugin’s manifest or returned by OpenRouter, it can’t be added via the Dify UI, regardless of the name format you use (source).

If you need this specific model, you’ll need to wait for plugin support or request its addition in a future update. For now, you can use the Gemini 2.5 models that are already supported.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 19, 2025): <!-- Answer --> The error happens because the OpenRouter plugin only supports models that are both listed in its manifest and returned by OpenRouter’s `/v1/models` endpoint. The model `google/gemini-2.5-pro-exp-03-25` is not currently included in the plugin’s supported models, even after recent updates that added other Gemini 2.5 variants like `google/gemini-2.5-pro` and `google/gemini-2.5-flash-lite`—but not the `-exp-03-25` version. The plugin does not auto-correct or add prefixes to model names, and support for new models depends on both OpenRouter exposing them and the plugin listing them explicitly. If the model isn’t in the plugin’s manifest or returned by OpenRouter, it can’t be added via the Dify UI, regardless of the name format you use ([source](https://github.com/langgenius/dify-official-plugins/pull/1492)). If you need this specific model, you’ll need to wait for plugin support or request its addition in a future update. For now, you can use the Gemini 2.5 models that are already supported. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/debfbc36-d736-4ffd-90d8-c4a6d0b1c9e7?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/debfbc36-d736-4ffd-90d8-c4a6d0b1c9e7?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/debfbc36-d736-4ffd-90d8-c4a6d0b1c9e7?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/debfbc36-d736-4ffd-90d8-c4a6d0b1c9e7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/debfbc36-d736-4ffd-90d8-c4a6d0b1c9e7?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/debfbc36-d736-4ffd-90d8-c4a6d0b1c9e7?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/debfbc36-d736-4ffd-90d8-c4a6d0b1c9e7?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/1531)
Author
Owner

@QIN2DIM commented on GitHub (Aug 20, 2025):

NOT BUG
OpenRouter and Gemini have turned off the endpoint for the Model ID.

@QIN2DIM commented on GitHub (Aug 20, 2025): NOT BUG OpenRouter and Gemini have turned off the endpoint for the Model ID.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#569