multiple api keys #3315

Closed
opened 2025-11-11 15:28:57 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @gaoxiaobei on GitHub (Jan 18, 2025).

Problem
When configuring openai api, I have multiple api keys for the same base_url because they have different usage scenarios and correspond to different models. However, openwebui does not support me to configure multiple api keys for the same base_url.

Solution
Allows users to configure multiple api keys for the same base_url when configuring an external connection, and supports setting different prefixes for each key as if they were different urls.

Additional context
openwebui works great, thanks to the volunteers.

Originally created by @gaoxiaobei on GitHub (Jan 18, 2025). **Problem** When configuring openai api, I have multiple api keys for the same base_url because they have different usage scenarios and correspond to different models. However, openwebui does not support me to configure multiple api keys for the same base_url. **Solution** Allows users to configure multiple api keys for the same base_url when configuring an external connection, and supports setting different prefixes for each key as if they were different urls. **Additional context** openwebui works great, thanks to the volunteers.
Author
Owner

@tjbck commented on GitHub (Jan 19, 2025):

Addressed with 71ab8b9c93

@tjbck commented on GitHub (Jan 19, 2025): Addressed with 71ab8b9c93b46a04e796cc4d91e703703dcd750d
Author
Owner

@gaoxiaobei commented on GitHub (Jan 19, 2025):

Thanks for help!

Addressed with 71ab8b9

@gaoxiaobei commented on GitHub (Jan 19, 2025): Thanks for help! > Addressed with [71ab8b9](https://github.com/open-webui/open-webui/commit/71ab8b9c93b46a04e796cc4d91e703703dcd750d)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3315