Automatically update list of LLM models using the /models API endpoint #6877

Closed
opened 2026-02-21 18:17:47 -05:00 by yindo · 1 comment
Owner

Originally created by @johnpccd on GitHub (Nov 21, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, 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.

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

It would be a nice feature if the list of OpenAI and OpenRouter models is automatically updated by parsing the output of the /models API endpoint.
Because otherwise, I need to add new/modified models myself.. and that also requires re-entering the API key.
Instead, Dify can parse the output of:

https://api.openai.com/v1/models
and
https://openrouter.ai/api/v1/models

and automatically update the list of models.

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 @johnpccd on GitHub (Nov 21, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/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. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. It would be a nice feature if the list of OpenAI and OpenRouter models is automatically updated by parsing the output of the /models API endpoint. Because otherwise, I need to add new/modified models myself.. and that also requires re-entering the API key. Instead, Dify can parse the output of: https://api.openai.com/v1/models and https://openrouter.ai/api/v1/models and automatically update the list of models. ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 18:17:47 -05:00
yindo closed this issue 2026-02-21 18:17:47 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Dec 22, 2024):

Hi, @johnpccd. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Proposed feature to automate updating OpenAI and OpenRouter model lists.
  • Aims to eliminate manual updates and re-entering API keys.
  • You mentioned not being interested in contributing to the development.
  • No further comments or activity on the issue.

Next Steps:

  • Is this issue still relevant to the latest version of the Dify repository? If so, please comment to keep the discussion open.
  • Otherwise, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Dec 22, 2024): Hi, @johnpccd. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. **Issue Summary:** - Proposed feature to automate updating OpenAI and OpenRouter model lists. - Aims to eliminate manual updates and re-entering API keys. - You mentioned not being interested in contributing to the development. - No further comments or activity on the issue. **Next Steps:** - Is this issue still relevant to the latest version of the Dify repository? If so, please comment to keep the discussion open. - Otherwise, the issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6877