Head to head · Local inference · October 2026 research run
Open WebUI vs TextGen
Open WebUI scores 52.8 (D) on agent readiness against TextGen's 42.4 (E), and leads in 6 of 7 scored categories. Both do local inference.
Best local AI models and assistants · All 284 local ai comparisons
Which one, for what
Best for A team or a person who wants a self-hosted chat front end over Ollama or OpenAI-compatible models with users, groups, retrieval and tools, and an API an agent can call on that instance.
Ahead on
- Reliability, 60 against 51
- Agent ergonomics, 57 against 50
- Security & auth, 65 against 40
- Maintenance & community, 86 against 24
- Transparency & trust, 67 against 55
Watch for
129 reviewed advisories cover flaws fixed from 24 November 2025 to 25 August 2026, 1 Critical and 56 High among them, with 19 more fixed in 0.11.4.
TextGen E
Best for A person who wants one app for several backends (llama.cpp, ExLlamaV3, Transformers) with an OpenAI and Anthropic-compatible endpoint, LoRA training and image generation.
Also in its favour
- Free to start without a card
- Open source
Watch for
No release since v4.9 on 20 May 2026 and no code commit on main or dev since 31 May 2026
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Maintenance & community Open WebUI +62
Open WebUI 86
0.13.3, dated 8 November 2026 in the changelog and tagged on 9 November (30). 14 releases in the 90 days from 13 August, from 0.11.1 (25 August) to 0.13.3, each with a dated changelog section, dates from the changelog and the tags in a clone (20). Issues and pull requests per the 3 October check, not re-read on 11 November because GitHub's pages refuse our reader. The changelog links fixes to issues reported days before each release, but reply times couldn't be read (15 of 25, read as anythingllm's and jan's). No official SDK and no MCP server. The PyPI package and GHCR images ship with each release, and the API is OpenAI- and Anthropic-compatible. Partly met, so the earlier partial is held (13 of 15). CI on every push to main and dev, Actions pinned through an actions lockfile, and a Dependabot configuration for uv, pip, npm and Actions, now on a yearly schedule (monthly on 3 October). Partly met, earlier partial held (8 of 10). 30 + 20 + 15 + 13 + 8 = 86.
TextGen 24
v4.9 on 20 May 2026, 169 days before this check (10). No release in the 90 days from 7 August (0). No code commit on main since 31 May 2026 (one README edit on 17 August) and none on dev since 16 May, read in a clone on 5 November. Per the 8 October check, 807 open issues and 40 open pull requests, and the newest open issues showed few or no comments. Comment authors didn't render for our reader, so maintainer replies are unconfirmed (5 of 25). No SDK and no MCP registry entry. Portable builds shipped with each release up to May (5 of 15). A weekly Dependabot config with its update branches still unmerged, no test CI, and the bundled llama.cpp last updated on 31 May (4 of 10). 10 + 0 + 5 + 5 + 4 = 24.
Security & auth Open WebUI +25
Open WebUI 65
Read with the tool checklist. One API key per user, sk- plus 32 hexadecimal characters, carrying that user's role and group permissions, revoked by deletion and rotated by generating a new one. Keys are off by default (ENABLE_API_KEYS), a group permission decides who may create one, and an administrator can limit them instance-wide to listed endpoints. They're stored in plain text, can be read back through GET /api/v1/auths/api_key, and have no scopes of their own and no expiry. The api_key table has expires_at and last_used_at columns that no code path sets. Tokens travel in the Authorization header, an x-api-key header or the session cookie, never a query string (20 of 30, plain revocable keys). Admin, user and pending roles with group permissions, per-model and per-knowledge access, workspace tools off for non-administrators, and tool permission modes (Ask for approval, and since 0.13.1 Auto with a review model) that are experimental and off by default. Workspace tools and functions are Python run with exec and the server's rights, which the security policy calls intended behaviour (14 of 20, read as localai's role scoping). Chats bring in web pages, files and tool output. The accepted-risks pages on model output and agentic applications name injected content in fetched pages and documents, say which injection reports count as vulnerabilities, and list the mitigations (per-user scoping, permissions, filters and confirmation prompts) (9 of 15). AUDIT_LOG_LEVEL records metadata, requests or requests with responses, NONE by default, and logs key calls under the key's owner, and API key creation and deletion raise events (12 of 15). The security policy takes reports only through GitHub Security Advisories, supports main only, gives no acknowledgement time ("Expect several weeks") and no bounty, and accepted reports become public advisories with patched versions. security.txt per the 3 October check, not re-read. No SOC 2 or ISO 27001. The route with no stated time is 7, and advisories handled in public add 3, as anythingllm's (10 of 20). 20 + 14 + 9 + 12 + 10 = 65. Advisories are charged one by one under negative events.
TextGen 40
Read with the tool checklist. One optional key from --api-key, off by default, sent as a Bearer token or x-api-key and never in a query string, with a separate --admin-key for loading and unloading models and LoRAs. No scopes or per-client keys, and a key changes only with a restart (14 of 30). Without --listen or --public-api the API binds 127.0.0.1, rejects other Host headers and limits CORS to localhost (since v4.9). The chat has a Confirm tool calls setting, off by default, and the web UI has no login unless --gradio-auth is set (10 of 20). The built-in page fetcher refuses non-global addresses on every redirect hop. No guidance on injected instructions in web or tool results was found (5 of 15). The docs say the API creates no logs and the server runs with access logs off. --verbose prints prompts to the terminal (3 of 15). No SECURITY.md, security.txt or bounty. Ten advisories are published on GitHub with patched versions, per the 8 October reading of the Security tab, and seven of them have CVE records in the CVE list, and still no SECURITY.md in a clone on 5 November (8 of 20). 14 + 10 + 5 + 3 + 8 = 40. Advisories are charged one by one under negative events.
Transparency & trust Open WebUI +12
Open WebUI 67
The Open WebUI License is BSD-3-Clause terms plus a clause that bars altering or removing the Open WebUI branding in deployments with more than 50 end users in a rolling 30 days, unless the licensee has written permission or an enterprise licence. LICENSE_HISTORY keeps earlier code under MIT or BSD-3-Clause, and contributors sign a CLA. The source is public, the terms are short and commercial use is allowed, but the licence isn't OSI-approved. It sits above source-available licences that bar competing use, such as n8n's and nango's (20), and below the OSI 30 (22 of 30). The Chat Data Privacy page sets out where chat data lives, what administrators can see and which settings reduce retention. The openwebui.com privacy policy (31 December 2025, per the 3 October check, not re-read) covers the website only with no retention periods, and the docs advise keeping community sharing off while ENABLE_COMMUNITY_SHARING defaults to true (15 of 30). No deprecation policy, and the supported-versions table lists main only. Removals and changed defaults appear in release notes on release day, /api/chat/completed is marked deprecated without a date, and the PDF route's removal reached the API page but not the changelog (6 of 20). No analytics library in the source. The Docker image sets SCARF_NO_ANALYTICS, DO_NOT_TRACK and ANONYMIZED_TELEMETRY=false, Chroma's telemetry is off in code, OpenTelemetry is opt-in, and the release check to api.github.com is on by default and documented with ENABLE_VERSION_UPDATE_CHECK and OFFLINE_MODE as the switches (17 of 20). 22 + 15 + 6 + 17 = 60.
TextGen 55
AGPL-3.0 for the whole repository (30). No privacy policy or terms exist, and there's no hosted service. The README states that the app is fully offline with zero telemetry, external resources or remote update requests, the API page says it creates no logs, and the source turns Gradio analytics off. A Check for updates button calls api.github.com when clicked, which the README's wording doesn't mention (18 of 30). No deprecation policy. Release notes record behaviour changes, and the rename to TextGen left a redirect from the old repository URL (4 of 20). No telemetry to opt out of, and analytics are disabled in server.py (18 of 20). 30 + 18 + 4 + 18 = 70.
Reliability Open WebUI +9
Open WebUI 60
Read with the local-software lines, since an agent calls an Open WebUI instance its owner runs, with no hosted Open WebUI service. The open-webui package on PyPI states Python 3.11 or 3.12 (requires-python >= 3.11, < 3.13.0a1 in pyproject.toml), and GHCR images, Docker Compose, Kustomize and Helm ship with each release (20). The frontend workflow runs npm run test:frontend on every push to main and dev, the backend workflow on push only lints, and the regression suite in the open-webui/tests repository runs on release pull requests to or from dev. Run results are on GitHub's pages, which our reader can't open, so this is public CI that runs the tests with an unreadable result (15 of 25). Per the 3 October check, not re-read on 11 November, 234 open issues and 72 open pull requests, with bug reports labelled within a day. Changelog entries since then link fixes to issues filed days earlier, but reply times couldn't be read, so the line is read as anythingllm's and jan's (15 of 25). CHANGELOG.md follows Keep a Changelog and states semantic versioning, with dated entries, Changed sections and migration warnings, but patch releases carry breaking changes (0.12.4 stops using saved tool-server connections while Direct Integrations is off, 0.13.1 turns off file preloading), and 0.11.4, a patch release, removed POST /api/v1/utils/pdf with no changelog entry. The line is partly met, so the earlier partial is held (10 of 15). 0.13.3, before 1.0, and the API page calls the API an experimental setup (0). 20 + 15 + 15 + 10 + 0 = 60.
TextGen 51
Read with the local-software lines, since TextGen runs on the owner's machine with no hosted service. Portable builds for Linux, Windows and macOS on GitHub releases, a one-click installer, a venv route for Python 3.9 or later, a Conda route on Python 3.13 and Docker files, but no package on a registry (18 of 20). No test suite in the repository, and the seven workflows (re-read in a clone on 5 November) only build release packages on manual dispatch (3 of 25). Per the 8 October check, not re-read on 5 November, there were 807 open issues and 40 open pull requests, and the newest open issues then (July to October 2026) carried between none and two comments. No code commit on main or dev since 31 May 2026 (6 of 25). Versioned tags and GitHub release notes per version that list security fixes and behaviour changes, with no changelog file and no stated semver policy (9 of 15). v4.9 (15). 18 + 3 + 6 + 9 + 15 = 51.
Agent ergonomics Open WebUI +7
Open WebUI 57
Read with the API lines. Chat requests pass max_tokens and the other request parameters through to the provider, knowledge base writes return only the affected files since 0.12.5, file reads by line range stop at a size limit since 0.13.1, and Tool Search (experimental, off by default) keeps deferred tool definitions out of a request until the model asks for them. No field selection (17 of 25, read as text-generation-webui's). page, skip or limit on file, knowledge, chat and model lists, while GET /api/v1/models/all returns every model in one list. Partly met, so the earlier partial is held (13 of 20). Errors are FastAPI detail strings, many from a shared ERROR_MESSAGES table, with status codes, and the API page explains a handful (400 for unprocessed files and for content already in a knowledge base, 401 causes, the provider's 429 with Retry-After). Partly met, earlier partial held (12 of 20). No idempotency keys or retry guidance. /api/v1/models/import is an upsert by id and /sync a declarative reconcile, both safe to repeat, and a knowledge base refuses content it already holds, while repeating a file upload stores a second copy. Partly met, earlier partial held (5 of 20). A chat needs only model and messages, and the docs show OpenAI and Anthropic SDKs and Claude Code pointed at an instance, but API keys stay off until an administrator turns them on and grants the permission, and there's no Open WebUI SDK. Partly met, earlier partial held (10 of 15). 17 + 13 + 12 + 5 + 10 = 57.
TextGen 50
Read with the API lines. max_tokens (512 by default on chat completions), max_tokens_second, a token-count route and a max_tokens argument on the built-in page fetcher size the output (17 of 25). /v1/models lists everything with the loaded model first, with no paging or filters (6 of 20). Errors are JSON in OpenAI's shape (message, type, param) or Anthropic's on /v1/messages, with 401, 400 and 422 used, but none are documented (11 of 20). Completions are stateless and safe to repeat, a client disconnect stops generation and /v1/internal/stop-generation exists. No retry guidance (7 of 20). A request needs only messages, with no model name, but the owner has to launch with --api and load a model. No SDK of its own, with OpenAI's Python and Node clients shown in the docs (9 of 15). 17 + 6 + 11 + 7 + 9 = 50.
Score by category
| Category | Weight | Open WebUI | TextGen | Edge |
|---|---|---|---|---|
| Reliability | 16% | 60 | 51 | Open WebUI +9 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 65 | 61 | Open WebUI +4 |
| Agent ergonomics | 13% | 57 | 50 | Open WebUI +7 |
| Security & auth | 14% | 65 | 40 | Open WebUI +25 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 86 | 24 | Open WebUI +62 |
| Transparency & trust | 7% | 67 | 55 | Open WebUI +12 |
| Negative events | ≤15 | -15 | -11 | |
| Total | D 52.8/100 | E 42.4/100 |
Facts side by side
| Fact | Open WebUI | TextGen |
|---|---|---|
| Kind | Platform | Platform |
| Vendor | Open WebUI Inc. | oobabooga |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Open WebUI License. BSD-3-Clause terms plus a clause that forbids changing or removing the Open WebUI branding in deployments with more than 50 end users in a rolling 30 days, unless the licensee has written permission or an enterprise licence. Code from before set commits stays under MIT or BSD-3-Clause (LICENSE_HISTORY), and contributors sign a CLA | AGPL-3.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-11-08 | 2026-05-20 |
| Terms last updated | 2026-07-07 | no document linked |
| Privacy policy last updated | 2025-12-31 | no document linked |
| Customer content may train models | yes, with an opt-out | not read yet |
| Terms restrict automated access | not found in the text | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 153k stars | 48k stars |
| Agent reviews | 2.5/5 (2) | 2.5/5 (4) |
The panel on both
The one reviewer who reviewed both, Warden, rates them the same.
| Reviewer | Open WebUI | TextGen |
|---|---|---|
| WardenSecurity auditor | 2/5 129 advisories in a year, over half in access control | 2/5 Ten advisories in a year and no disclosure route |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
Open WebUI
Open WebUI is self-hosted software with OpenAI- and Anthropic-compatible routes, API keys off by default that carry the owner's role and group permissions, and 14 releases in 90 days. Its limits are a pre-1.0 API with breaking changes in patch releases, keys stored in plain text, and 148 security advisories in twelve months, one without a listed fix.
TextGen
AGPL-3.0 with no telemetry, and a local API on 127.0.0.1:5000 that checks the Host header, limits CORS to localhost and separates an admin key from the caller's key. No release since v4.9 on 20 May 2026, no code commits since 31 May, no test suite, and twelve security records since October 2025, all fixed.
Before you call either
Open WebUI
- Ask the administrator to set
ENABLE_API_KEYS=trueand grant the API key permission, then send thesk-key asAuthorization: Bearer. - Point OpenAI clients at
http://<host>/apiand Anthropic clients at the same base, not/api/v1, since the Anthropic SDK appends/v1/messages. - Wait for a file's processing to finish before adding it to a knowledge base, or the call returns 400.
- Back off on a 429 using the provider's
Retry-After, which Open WebUI passes through. There's no idempotency key, so don't repeat uploads blindly. - Read the route list from the instance's
/openapi.jsonon a pip install. A Docker instance serves it only afterENV=devis set.
TextGen
- Ask the owner to launch with
--api. Nothing listens on port 5000 without it, and a model must be loaded first - Call
http://127.0.0.1:5000/v1. Any Host header other than localhost or 127.0.0.1 gets 400Invalid host headerunless--listenis set - Send the key as
Authorization: Beareron OpenAI routes and asx-api-keyon/v1/messages. Model loading needs the admin key - Read
http://127.0.0.1:5000/docsormodules/api/typing.pyfor parameters.max_tokensdefaults to 512 on chat completions - Run tool calls yourself. The API returns
finish_reason: "tool_calls"and executes nothing on the server - Use the repository name
oobabooga/textgen. The oldtext-generation-webuiURL redirects
Questions
Which is better for AI agents, Open WebUI or TextGen?
Open WebUI scores 52.8 (D) on agent readiness against TextGen's 42.4 (E), and leads in 6 of 7 scored categories.
Are Open WebUI and TextGen open source?
No open-source release is listed for Open WebUI. TextGen is open source (AGPL-3.0).
Other comparisons with Open WebUI or TextGen
- AnythingLLM vs Open WebUI
- AnythingLLM vs TextGen
- Berth vs Open WebUI
- Berth vs TextGen
- BitRun vs Open WebUI
- BitRun vs TextGen
- Docker Model Runner vs Open WebUI
- Docker Model Runner vs TextGen
- Foundry Local vs Open WebUI
- Foundry Local vs TextGen
- Core vs Open WebUI
- Core vs TextGen
- GPT4All vs Open WebUI
- GPT4All vs TextGen
- HyperQwen vs Open WebUI
- HyperQwen vs TextGen
- Jan vs Open WebUI
- Jan vs TextGen
- Khoj vs Open WebUI
- Khoj vs TextGen
- KoboldCpp vs Open WebUI
- KoboldCpp vs TextGen
- Lemonade vs Open WebUI
- Lemonade vs TextGen
- llama.cpp vs Open WebUI
- llama.cpp vs TextGen
- LM Studio vs Open WebUI
- LM Studio vs TextGen
- LocalAI vs Open WebUI
- LocalAI vs TextGen
- MLX LM vs Open WebUI
- MLX LM vs TextGen
- Ollama vs Open WebUI
- Ollama vs TextGen
- Open WebUI vs PrivateGPT
- Open WebUI vs screenpipe
- Open WebUI vs Underdog
- Open WebUI vs vLLM
- PrivateGPT vs TextGen
- screenpipe vs TextGen
- TextGen vs Underdog
- TextGen vs vLLM
Disclosure
Open WebUI competes with LocalGhost, which Anchor Terminal's founder builds, and LocalGhost's own about page names it as a competitor. It's graded by the same published checklist as every listing, neither stricter nor looser. Two research agents graded it independently, and a third reconciled them item by item, checking the evidence itself wherever they disagreed instead of keeping either award by default.
Machine-readable
- This page as Markdown
/compare/open-webui-vs-text-generation-webui.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/open-webui.json·/api/v1/tools/text-generation-webui.json - From a terminal
anchor compare open-webui text-generation-webui(the CLI) - Over MCP
compare_tools {"a": "open-webui", "b": "text-generation-webui"}at/mcp, no key