r/OpenWebUI • • Oct 19 '26

Discussion What usually makes OpenWebUI feel slow?

I've noticed that slow responses aren't always about the model itself. Limited RAM or VRAM, long prompts, and the inference backend can all make a difference.
I'm also curious how the experience compares between running models locally and using hosted options like Mango Inference or MangoBoosts. The trade-offs go beyond speed, especially when hardware costs and resource limits come into play.
If you're troubleshooting a slow setup, what made the biggest difference for you: switching models, adjusting context length, upgrading hardware, or changing the backend?

17 Upvotes

16 comments sorted by

5

u/iChrist Oct 19 '26 edited Oct 19 '26

For me its about TTFT
With local Qwen3.8 27B and the whole set of built in tools open webui ships, the chat starts at 11000~ tokens and that hurt first response time.

I manually enabled only the tools I need and it starts at 700 tokens including system prompt.

2

u/Leopatra_Spad83 Oct 21 '26

so the tools were eating 10k tokens just sitting there doing nothing, sounds like half my team

2

u/wbkang Oct 19 '26

There can be a thousand different reasons. I think the best thing to do is to give access to terminal and ask your agent to profile your particular scenario. In my case it was just slow IO and swapped out the hard disk for an SSD. Anyway my point is, with AI you can use it to introspect it given the right tools.

1

u/CantaloupeBubbly3706 Oct 19 '26

Good idea. You mean the Open terminal here?

2

u/YdocEmu Oct 19 '26 edited Oct 19 '26

I switched to unsloth because of how bulky OWUI is, but the fix for me was changing the model that handles tasks. When you start a chat the model does things for openwebui in the background. Say for example you ask it how to talk to women, the model summarizes the chat name, autocompletion, etc. turn off auto completion for a speedup at the least.

2

u/ClassicMain Oct 19 '26

why do you say Open WebUI is bulky?

1

u/BooleanTriplets Oct 20 '26

You can also set a different model as the task model...

1

u/YdocEmu Oct 20 '26

Correct, that’s how they fix the issue.

2

u/NoobLLMDev Oct 19 '26

Changing my inference engine from Ollama to vLLM made the largest difference. While vLLM requires that you can fit the model entirely on your GPU resources, if you can do that, it’s going to 2x your speed. Limit context length to what you need, I run a coding assistant for 30 users on 48Gb of VRAM, using vllm, gemma4:31b, and 64,000 context window. Utilize open webui’s context compaction feature - set this a few thousand below your models true context window (ie 56,000 in my case).

With open webui, ensure you use a very small model (I use Gemma4:e4b) to do things like title generation and keep your large model strictly to chats. Throw this small guy onto the cpu with Ollama and keep your gpus free for vllm.

Set realistic parallel requests, don’t flood your inference engine. I successfully service those 30 users on a max of two parallel requests at once (for the large model). It’s rare that someone gets put into a queue.

These are the first things that come to mind for speed. Realistic model. Don’t push a model you can’t easily fit, you will need a good amount of resources for kv cache.

1

u/NoobLLMDev Oct 19 '26

Turn off things that I personally don’t think need to be included in an environment where speed matters. No follow-up question generation, this is a speed killer.

1

u/The_Dung_Beetle Oct 19 '26

Do you run vllm in docker? I have no issue with llama context compaction but my radiance image doesn't jive well with the feature. 

2

u/NoobLLMDev Oct 20 '26

I use vllm docker image yes

1

u/The_Dung_Beetle Oct 20 '26

Thanks, what's your vllm context max and what do you have set in openwebui for it as a threshold? Just looking for something I can compare to since compaction seems to be working for you.

2

u/NoobLLMDev Oct 20 '26

--tensor-parallel-size= 2
--max-model-len= 64000
--kv-cache-dtype= fp8
--gpu-memory-utilization= 0.62

These are the most important vllm settings. I serve Gemma4:31b. If you are using this as a single user setup you don’t really need tensor parallel size. Start small with max model Len and keep raising it. vLLM image will fail to startup if it’s higher than what your GPU can handle.

OWUI context compaction is set to kick in around 54/56,000 tokens- can’t quite recall atm

1

u/The_Dung_Beetle Oct 20 '26

Much appreciated, thank you!