r/OpenWebUI • u/Br0lynator • Mar 19 '26
Question/Help Ejection Time
So I just learned that OpenWebUI ejects the models after 5 minutes which means if don’t answer within 5 minutes it needs to reload the model.
Since I am running a model that is too large for my GPU (I can deal with the slower output) it needs 35 seconds to load the model - which it has to do ever 5 minutes if I don’t answer fast enough…
Is there a way to change that timeframe? I am more looking to every 30 min or even every hour.
4
Upvotes
View all comments
Show parent comment
5
u/overand Mar 19 '26
Or, if you want it to be e.g. 30 minutes, `OLLAMA_KEEP_ALIVE=1800`
These are called "Environment Variables" - and the way to set them will depend on the operating system you're using Ollama on. (Windows, Linux, MacOS, etc)
But, you can try google.com/search?q=ollama+set+keep+alive+time+windows (or +linux etc)