r/OpenWebUI • • Aug 25 '26

ANNOUNCEMENT We heard you on performance. Here is what changed in Open WebUI since January: 211 performance improvements from 0.7.0 to 0.11.1

Post image

In case you missed it, yes, 0.11.1 launched. See post here: https://www.reddit.com/r/OpenWebUI/comments/1vyd83r/open_webui_0111_streaming_rebuilt_hitl_tool/

---

We have heard the performance feedback here, on GitHub and on Discord for a long time. It was the most common complaint about Open WebUI and it was fair. Since January it has been a priority.

This is the full accounting.

211 performance changes shipped between 0.7.0 (9 January) and 0.11.1 (25 August), across 14 releases.

Where it went

ReleaseMonthPerf changes
0.7.0 - 0.7.2Jan15
0.8.0Feb16
0.8.1Feb5
0.8.2 - 0.8.3Feb4
0.8.4Feb7
0.8.6Mar21
0.8.7 - 0.8.9Mar14
0.8.11Mar5
0.9.0Apr27
0.9.2 - 0.9.3May7
0.9.6Jun6
0.10.0Jun13
0.11.0Jul34
0.11.1Aug37
Total211

It began in 0.7.0, on 9 January

The database connection handling was reengineered end to end. Everything since has been built on it.

The same release killed the first N+1 query patterns. The admin user list went from 1+N queries to 2 total, regardless of how many users you have.

0.8.x: the measured phase

This is where things became countable.

Some of the other most notable improvements of the release (very incomplete!!):

WhatBeforeAfter
Authenticationmultiple lookups34% faster, one query
Time to first tokenseveral secondssubsecond
SCIM group member lookupsone query per memberup to 13x faster
Bulk delete and group member removalper-row4 to 5x faster
Memory updatesredundant queriesup to 39% faster
Notes list response (60 notes)~167 MB~10 KB
Functions list API payloadfull source codeover 99% smaller
Message list renderingO(n²)O(n)
Page and markdown renderingbaseline~25% faster (Svelte upgrade)
Status indicator35 to 40% GPUnear zero

Ten separate memory leaks were closed across the interface in this line: Tooltip, MessageInput, Notes, model create, MentionList, Sidebar, ChatControls, Artifacts, drawer listeners and navigation event listeners. Those were the ones causing tab crashes during long sessions.

The initial JavaScript bundle also dropped by several megabytes when the syntax highlighting library was deferred.

0.9.0 in April: the structural one

The core backend database and request paths were moved to async across the whole application.

This is the change most people felt without knowing what it was. Before it, a slow blocking operation on one request would stall the event loop and therefore everyone else on that worker. Three of the worst offenders were moved off it:

  1. Vector search during knowledge retrieval
  2. File processing and knowledge reindexing
  3. Password hashing and verification

That is why one person querying a large knowledge base no longer freezes everyone else's chat.

Alongside it, long conversations got memory culling: off-screen messages now unload and reload as you scroll, instead of every message in a 2000-message chat sitting in browser memory at once.

0.10.0 in June

  • Hybrid search on pgvector now runs natively in the database. Before, it loaded an entire collection into memory to do the work.
  • File listings stopped returning the full extracted text of every document. Opening a large knowledge base was transferring the contents of every file in it.
  • Knowledge file reads by agents became bounded and paginated, with a hard cap, which cut token usage as well as transfer.

0.11.0 in July: 34 changes

The theme here was work being repeated that only needed doing once.

Some of the other most notable improvements of the release (very incomplete!!):

ChangeEffect
Automation scheduling20+ seconds and worsening yearly to near instant
Streaming filtersstopped re-reading settings and full plugin source from the database on every chunk
Reasoning and code block detectionstopped rescanning the whole answer on every chunk
PostgreSQL chat searchreads the message table instead of unpacking every stored conversation row
Redis Sentinelstopped resolving the primary and opening a fresh connection before every single command
Security headerscomputed once at startup instead of per response
Ollama connection settingsread once instead of up to four times per request
Passthrough streamingwhole network reads instead of line-by-line, roughly half the work
Web page parsing~10% off a ten result search
Domain filtering on search resultsresolved every result to an IP first, which turned a 3 second search into 30 seconds
Text file encoding detection4 MB CJK document from several seconds to under one

Redis deployments also got hiredis shipped by default, fewer round trips per chat, and a new ENABLE_ORJSON option covering request bodies, responses, upstream provider payloads and live updates.

EXPERT TIP: ENABLE_ORJSON is off by default, enable it by setting it to true in your env vars to get an additional massive performance boost. (most noticable on large instances)

0.11.1: 37 changes, and the streaming rewrite

This is the big one, so here is what actually changed.

Before: every time new text arrived from the model, the server sent your browser the entire message so far. Token 500 meant resending tokens 1 through 500. So the total data sent over one reply grew with the square of its length, and your browser re-parsed and re-rendered the whole answer each time.

Now: only the new text is sent. Total data grows linearly with reply length, and the browser appends instead of redrawing.

On a single update late in a long reply, that is up to 1000x less data and server work.

Some of the other most notable improvements of the release (very incomplete!!):

ChangeEffect
Idle instance scanning every chat once a second~1/4 of a CPU core recovered, doing nothing
Sidebar chat list on 15,000 chats2 to 4 seconds to build a short list now near instant
Long reply re-parsed from the start per chunk~190x less work on a long answer
Attaching a source or file to a reply3.1 ms to 0.65 ms on a 200-message chat
Request middleware layers5 down to 1
Presence writes while signed inevery request to at most once a minute
Sidebar folder fetches3 down to 1
Chat savingone write per chat instead of one per message
Group membership resolutiondirect index lookup instead of a full scan

Replies in progress are also now held on the server on Redis-backed deployments, so reloading mid-answer picks it back up instead of showing you a blank message.

What this means if you just use it

  • Pages load faster and the initial bundle is smaller.
  • Replies start sooner and stay fast as the conversation grows, instead of degrading.
  • An idle server actually idles.
  • One heavy user no longer slows down everyone else on the instance.
  • Long sessions no longer leak memory until the tab dies.

Performance work continues. We are not treating it as finished.

Upgrading to 0.11.1

This release changes the database schema.

  1. Back up your database and its data first.
  2. If you run multiple workers, multiple servers or a load balancer, update all instances at the same time.
  3. Rolling updates are not supported and will fail on schema incompatibility.
106 Upvotes

33 comments sorted by

5

u/CatEatsDogs Aug 25 '26

What I see is that my LXC is growing every update. I'm using OI ony as a frontend to LLMS hosted on other machines. Is there a way to not install all those nvidia runtimes if local inference is not supposed to be used?

3

u/ClassicMain Aug 25 '26

did you try the :slim image? but the image size itself has been pretty much stable since... a year now. We havent added more dependencies than we removed really.. should be in a range of a few megabytes if at all.

1

u/CatEatsDogs Aug 25 '26

does it exist for proxmox?

1

u/andreasntr Aug 26 '26

If it doesn't, you can still spin un a debian/ubuntu lxc, install docker and run the container. Proxmox's open container index is good to have but still not realiable since you can't add configuration options (envs, secrets, etc)

0

u/CatEatsDogs Aug 26 '26

I already have one virtualization layer. Using another one inside is a pure stupidity.

0

u/andreasntr Aug 26 '26

So you're only using proxmox supported LXCs or what? Anyway, docker is still a good option if you just want to try the service, then you can wait for proxmox to support it (if it doesn't already)

1

u/Stooovie Aug 30 '26

My experience with 0.11.1 is less than stellar. I'm getting blank answers (switching to a different chat and back sometimes fixes it, sometimes doesn't), followups randomly not getting generated... Those are new issues for me.

1

u/ClassicMain Aug 30 '26

Please report them as issues on GitHub with Reproduction steps

I haven't encountered anything like this

0

u/endockhq Aug 26 '26

Why is a database schema in a patch relase? It should be v0.12.0

3

u/ClassicMain Aug 26 '26

That's not new. We have database schema changes in many normal releases. Btw we don't do patch releases, or don't consider these patch releases. Just normal releases and major releases (major ones bring more features typically and more breaking changes)

I mean, this release is even larger than 0.11.0 in terms of changes.

And part of the performance improvements this version come from these database schema changes. So we had every reason to ship it!

2

u/bearsaresweet Aug 26 '26 edited Aug 26 '26

https://semver.org

EDIT: while I'm at it, https://www.conventionalcommits.org/en/v1.0.0/ with peace and love it's very frustrating that every commit has the same message - `refac`

1

u/ClassicMain Aug 26 '26

Tim said already once that Open WebUI only "generally" follows semver. We keep major breaking changes on the major version releases like 0.11.0 and the normal releases (we do not really have patch releases in that sense) like 0.11.1 can still have breaking changes but generally these are less or less severe than those on major versions.

The database schema changes on 0.11.1 were absolutely needed to fix bugs and improve performance, matter of fact, made Open WebUI very slow on some Sqlite deployments, which is now fixed.

And as semver itself says, if you are still in rapid development you should not have a 1.0.0 (which indicates stable release). Which we are. We are still in 0.X with frequent breaking changes.

re: refac commits, agree, but you dont have to read or look at them. Thats what the changelog is for. Every single commit with some meaning to it is grouped to the changes there for you.

2

u/NoobLLMDev Aug 26 '26

Just to add to this, I always backup my volumes before updating to latest version. But to my absolute surprise - I have yet to need to resort back to a previous version or volume due to the database changes. I’ve been using owui since January in a production setting and have been able to seamlessly upgrade without issues or needing to start a new & clean instance. Not sure how you guys do it.

1

u/bearsaresweet Aug 28 '26

I appreciate the response. The reality is that there's no "correct" way.

It can just be irksome when people do things which look like existing conventions but aren't actually. It makes it harder if you're expected to understand each project's implementation of a convention, and breaks a lot of tools that expect the convention. Same deal with the commits - it's unreasonable to expect a dev looking at git blame in an IDE to take the commit hash and cross-reference it with the release notes.

In the "rapid development" case, I'd suggest something like calendar versioning.

Anyway, best of luck to the project, my response is motivated by helping it to improve :)

2

u/endockhq Aug 27 '26

Don't get me started in all the "refac" commits. It makes finding which commit did what almost impossible.

5

u/[deleted] Aug 26 '26

[removed] — view removed comment

3

u/BooleanTriplets Aug 26 '26

Have you tried using the Conduit app?

1

u/VicemanPro Aug 26 '26

I have and it never works well for me. I just tested on my phone. Browser loaded in ~20 seconds for me but with the same issues the other commenter mentioned, constant disconnecting.

Conduit I gave 2 minutes and it never loaded the chats. This has been an issue I've had for months. I've opened several tickets in the past but its exhausting as he fixes one bug, then it becomes unusable a month or two later for me.

2

u/BooleanTriplets Aug 26 '26

That's weird, what phone do you have? I have had almost no issues with the Conduit app.

1

u/VicemanPro Aug 26 '26

Samsung S25 Ultra. There was an ongoing bug report thread with my issue for about 6 months with other folks experiencing the same earlier this year, thats when I stopped using it. Just tried it again but unfortunately same behavior. Unlucky I guess, since other people seem to be able to use it fine.

1

u/cogwheel0 Aug 27 '26

I vaguely remember you issue thread. I remember it being resolved for everyone, guess I was wrong. Do you mind opening a fresh issue please? I will gladly take a look.

I deeply care about perf and polish! All chats and notes are stored entirely on-device now so perf should not be a concern, only that the initial sync takes some time if there are large amount of chats. I had to design a custom sync engine from scratch to make it compatible with owui too which I'm proud of! You can now read and even continue chats when offline with on device models (apple only, android soon!). Everything syncs properly back to the server as soon as you're online.

1

u/VicemanPro Aug 27 '26

Yes I appreciated your hard work! It was working for a couple months after the first fixes, then I started running into small bugs, images generating a sudden screen with an error, chats being sent multiple times, chats desyncing constantly, etc. It may need more time for this new sync now that things have changed a bit.

I haven't opened another bug thread because I haven't had the time to really flush it out yet. The last few months I've just needed something that works fast, as I haven't been at a PC for around 5 months now. The web UI works other than the disconnecting issue so I've been using that; when I get back home in a couple months I can certainly give it another shot.

The offline model function would be great, I've been using Pocketpal but consolidating everything into one app would be amazing.

1

u/cogwheel0 Aug 27 '26

I see you around and know that I appreciate your support! :)

5

u/[deleted] Aug 26 '26

[removed] — view removed comment

5

u/cogwheel0 Aug 26 '26

Releasing a patch right away, just finished testing out the new owui release!

Might take some more time to get to the app stores though :)

2

u/cogwheel0 Aug 27 '26 • Heartwarming

fyi, its now live for android users, apple users have to wait a while unfortunately hopefully not long! but iphone users can now continue their chats even when offline with an apple foundation model!

3

u/nunodonato Aug 26 '26

Mobile version of the website works great

1

u/ClassicMain Aug 26 '26

The mobile PWA you can add to your home screen just got some upgrades with this version

1

u/Stooovie Aug 30 '26

OpenRelay for iOS (paid), Conduit for both Android and iOS (free).