mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 10:34:13 -05:00
[GH-ISSUE #20002] issue: Severe TTFT increase when accessing vLLM through Open WebUI #19059
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mickeytheseal on GitHub (Dec 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20002
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.41
Ollama Version (if applicable)
No response
Operating System
k8s
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When sending requests to vLLM through OpenWebUI API TTFT should be reasonably close to TTFT via direct vLLM requests with only minor overhead produced by Open WebUI.
Actual Behavior
When sending same requests through Open WebUI API TTFT increases to ~5–6 seconds, even with the same model, prompts, hw and inference backend. This also increases overall E2E latency.
Direct vLLM requests in my case show TTFT of ~600 ms.
Steps to Reproduce
Logs & Screenshots
No logs at the moment. TTFT measurements were collected using benchmarking tools like locust and aiperf.
Additional Information
@owui-terminator[bot] commented on GitHub (Dec 17, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#19777 issue:
by Yaute7 • Dec 05, 2025 •
bug#19861 issue:
by QuitHub • Dec 10, 2025 •
bug#19877 issue:
by dotmobo • Dec 11, 2025 •
bug#19864 issue:
by Haervwe • Dec 10, 2025 •
bug#19063 TTS not working in Open-WebUi
by iSamPrime • Nov 09, 2025 •
bugShow 5 more related issues
#11999 issue: Open WebUI not giving all tokens provided by VLLM
by taltoris • Mar 24, 2025 •
bug#19211 issue:
by Byrnes9 • Nov 16, 2025 •
bug#19563 issue:
by naruto7g • Nov 28, 2025 •
bug#17194 issue: The LLM fails to recognize large documents correctly on the first attempt.
by Cyp9715 • Sep 04, 2025 •
bug#19496 issue: 500 internal server error appears in v0.6.40
by cloudtuotuo • Nov 26, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@gaby commented on GitHub (Dec 19, 2025):
👍 I've noticed this too. This is expected since Open-WebUI is checking your token and also checking if you are allowed to use the model before sending the request to the backend. The backend is then also checking if the backend API Key matches and if the model matches the one you requested. That's the latency you are seeing.
You could try enabling the caching of models list, to see if that improves your throughput. (Admin -> Connections -> Enable the cache models list toggle)
@mickeytheseal commented on GitHub (Dec 19, 2025):
Thanks for your advice! Ran some tests with caching enabled and sadly there was not any visible effect. I will be glad to run more tests on my installation if there is any other workaround available.
@scottybo commented on GitHub (Dec 20, 2025):
Just a note to say I'm having the same issue - makes the whole experience feel very slow
@druellan commented on GitHub (Dec 20, 2025):
@mickeytheseal if you didn't, perhaps you can check the browser network activity, just to confirm if the latency happens in a particular call.
Also, another test you can try is to disable everything in the "interface" settings, to minimize how many calls OWUI do to the models, and check if the issue is related to usage.
@tjbck commented on GitHub (Dec 21, 2025):
@mickeytheseal @gaby how many models do you guys have available here? Performance hit from the ACL logic should be negligible and we are not able to reproduce this issue.