[Feature Request] Dynamic Max Token Limits #883

Closed
opened 2025-11-11 14:32:59 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @fitchmultz on GitHub (May 10, 2024).

Is your feature request related to a problem? Please describe.
When working with large models, I often need to adjust the token limit based on specific requirements or constraints. The current interface only allows for a fixed maximum token limit of 16k.

Describe the solution you'd like
I'd like a dynamic max token parameter setting that automatically adjusts the maximum token limit based on the selected model. For example, GPT-4-Turbo's context limit is up to 128k, so the max token limit would update accordingly.

Bottom line: Allow users to dynamically set the max token limit based on the selected model for optimal performance and flexibility.

Describe alternatives you've considered
Using my own webui that is forked from an abandoned project the allows setting the context limit to 128000 for GPT-4 models.

Additional context
Having a dynamic max token parameter setting would greatly improve usability and experimentation with large models like GPT-4-Turbo.

Originally created by @fitchmultz on GitHub (May 10, 2024). **Is your feature request related to a problem? Please describe.** When working with large models, I often need to adjust the token limit based on specific requirements or constraints. The current interface only allows for a fixed maximum token limit of 16k. **Describe the solution you'd like** I'd like a dynamic max token parameter setting that automatically adjusts the maximum token limit based on the selected model. For example, GPT-4-Turbo's context limit is up to 128k, so the max token limit would update accordingly. **Bottom line:** Allow users to dynamically set the max token limit based on the selected model for optimal performance and flexibility. **Describe alternatives you've considered** Using my own webui that is forked from an abandoned project the allows setting the context limit to 128000 for GPT-4 models. **Additional context** Having a dynamic max token parameter setting would greatly improve usability and experimentation with large models like GPT-4-Turbo.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#883