[GH-ISSUE #24351] feat: /api/models ->hidden models should be hidden when API is used #58945

Closed
opened 2026-05-06 00:35:03 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @somera on GitHub (May 4, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24351

Check Existing Issues

  • I have searched for all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.

Verify Feature Scope

  • I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions.

Problem Description

After upgrade to v0.9.x (from v0.8.12) I needed to change my modell setup for the users. It's more complicated for me now.

My change is now like -> https://github.com/open-webui/open-webui/issues/24348#issuecomment-4371662339 .

Our Open WebUI API is used as proxy. And now all users can see the hidden models too. And this is not good. Cause all users should don't see the base models. Only the models, which are created for them.

Desired Solution you'd like

Hidden modells should be hidden for the API (when Open WebUI is used as proxy) too.

There is a reason why models are hidden.

Alternatives Considered

No response

Additional Context

No response

Originally created by @somera on GitHub (May 4, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/24351 ### Check Existing Issues - [x] I have searched for all existing **open AND closed** issues and discussions for similar requests. I have found none that is comparable to my request. ### Verify Feature Scope - [x] I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions. ### Problem Description After upgrade to v0.9.x (from v0.8.12) I needed to change my modell setup for the users. It's more complicated for me now. My change is now like -> https://github.com/open-webui/open-webui/issues/24348#issuecomment-4371662339 . Our Open WebUI API is used as proxy. And now all users can see the hidden models too. And this is not good. Cause all users should don't see the base models. Only the models, which are created for them. ### Desired Solution you'd like Hidden modells should be hidden for the API (when Open WebUI is used as proxy) too. There is a reason why models are hidden. ### Alternatives Considered _No response_ ### Additional Context _No response_
Author
Owner

@owui-terminator[bot] commented on GitHub (May 4, 2026):

🔍 Similar Issues Found

I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:

  1. #21347 bug: v0.8.0 Analytics: Inconsistent token tracking + PostgreSQL crash on per-model view
    by smorello87

  2. #20813 feat: add ability to define custom models with config files
    by t18n

  3. #24193 issue: System Prompt missing after reload
    by Scarjit · bug

  4. #15459 feat: Settings to specify separate models for title, retrieval, web search, etc.
    by VanceVagell

  5. #24261 feat: workspace/models - Do not allow unset models
    by frenzybiscuit


💡 If this is a duplicate, consider closing it and adding details to the existing issue.

This comment was generated automatically. React with 👍 if helpful, 👎 if not.

<!-- gh-comment-id:4372541149 --> @owui-terminator[bot] commented on GitHub (May 4, 2026): 🔍 **Similar Issues Found** I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions: 1. [#21347](https://github.com/open-webui/open-webui/issues/21347) **bug: v0.8.0 Analytics: Inconsistent token tracking + PostgreSQL crash on per-model view** *by smorello87* 2. [#20813](https://github.com/open-webui/open-webui/issues/20813) **feat: add ability to define custom models with config files** *by t18n* 3. [#24193](https://github.com/open-webui/open-webui/issues/24193) **issue: System Prompt missing after reload** *by Scarjit · `bug`* 4. [#15459](https://github.com/open-webui/open-webui/issues/15459) **feat: Settings to specify separate models for title, retrieval, web search, etc.** *by VanceVagell* 5. [#24261](https://github.com/open-webui/open-webui/issues/24261) **feat: workspace/models - Do not allow unset models** *by frenzybiscuit* --- 💡 If this is a duplicate, consider closing it and adding details to the existing issue. *This comment was generated automatically.* React with 👍 if helpful, 👎 if not.
Author
Owner

@somera commented on GitHub (May 4, 2026):

I don't know what was the problem for this https://github.com/open-webui/open-webui/issues/24348#issuecomment-4371537994 change in v0.9.0.

But I need other solution to hide the base models in the UI and API.

<!-- gh-comment-id:4372624809 --> @somera commented on GitHub (May 4, 2026): I don't know what was the problem for this https://github.com/open-webui/open-webui/issues/24348#issuecomment-4371537994 change in v0.9.0. But I need other solution to hide the base models in the UI and API.
Author
Owner

@tjbck commented on GitHub (May 4, 2026):

This was always the case and is intended.

<!-- gh-comment-id:4373021947 --> @tjbck commented on GitHub (May 4, 2026): This was always the case and is intended.
Author
Owner

@Classic298 commented on GitHub (May 4, 2026):

ok @somera therefore its needed by open webui UI. sry for your usecase.

<!-- gh-comment-id:4373026677 --> @Classic298 commented on GitHub (May 4, 2026): ok @somera therefore its needed by open webui UI. sry for your usecase.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#58945