Head to head · Local inference · October 2026 research run
KoboldCpp vs Open WebUI
KoboldCpp scores 65.9 (B) on agent readiness against Open WebUI's 52.8 (D), and leads in 3 of 7 scored categories. Open WebUI leads on security & auth and transparency & trust. Both do local inference.
Best local AI models and assistants · All 284 local ai comparisons
Which one, for what
Best for An owner who wants text, image, speech and music models behind one executable with a writing and roleplay interface, and clients that speak the KoboldAI, OpenAI, Ollama or Anthropic formats.
Ahead on
- Schema & documentation, 79 against 65
- Agent ergonomics, 65 against 57
Also in its favour
- No key needed to call it
- Free to start without a card
- Open source
- No incidents deducted, where Open WebUI loses 15 points for them
Watch for
With no --host the server accepts connections on all routable interfaces, and no password is set by default
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
- Security & auth, 65 against 38
- 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.
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.
Security & auth Open WebUI +27
KoboldCpp 38
Read with the tool checklist, credential model first. No credential by default. --password sets one shared key, sent as a Bearer token and never read from the query string, with a separate --adminpassword for admin routes. Keys have no scopes and change only with a restart, and the key doesn't cover image generation, upscaling, /sdapi/v1/interrogate or /tts_to_audio, as the --help text says (11 of 30). Admin mode, web search, MCP servers and the agent are off by default, the agent asks for confirmation of tool calls unless set to auto or off, and /api/extra/shutdown answers only local callers with --singleinstance. But with no --host the server listens on all routable interfaces, CORS reflects any Origin with credentials and allows private-network requests, so a web page or another machine on the network can call a server with no password (7 of 20). The server returns model output unless web search or MCP tools are on. The wiki lists flags for a public instance and the 1.122 notes tell users to take care when approving tool calls, with no guidance on untrusted content (7 of 15). Prompts and outputs print to the terminal unless --quiet is set and /api/extra/perf gives timing counters. No per-key record or log file was found (6 of 15). No SECURITY.md (none in the repository at 1.124.2), security.txt or bug bounty. GitHub private vulnerability reporting is open, and one advisory was published on 29 August 2026 (GHSA-qhvp-gj7g-rw26, Low) with the fix committed on 18 August, per the 8 October check (GitHub's pages weren't readable on 3 November and OSV holds no record of it). 1.124 masks passwords and keys in the startup print, and further bounds checks for the legacy loaders landed in 1.124, hardening that names no flaw (7 of 20).
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.
Schema & documentation KoboldCpp +14
KoboldCpp 79
The program serves an OpenAPI 3.0.3 document at /api?json=1 from the file bundled with each release. In 1.124.2 (2 November 2026) it was rewritten, with info.version 2026.11.01, a BearerAuth security scheme on the text routes, 86 path entries (19 of them aliases of others) and 69 operations, now including the Ollama /api/chat, /api/generate and /api/tags routes and /mcp beside the Anthropic /v1/messages it already had, with an AdminBearerAuth scheme for the admin routes. Ollama /api/show and /api/embed, ComfyUI /prompt and /upload/image and /slots are still missing. The copy at lite.koboldai.net wasn't re-read, since that host answers robots.txt with its app page (23 of 25). koboldcpp.net/llms.txt links abridged and full documentation sets for the community site, and the wiki is one Markdown page. Neither is an API reference (8 of 10). Operations carry summaries and descriptions, some with limits such as abort and polling not working when several requests are queued. The OpenAI and Anthropic routes still point to those vendors' own documentation (13 of 20). 68 enums and 99 required lists across the document, against two enums before, and the generate input keeps its typed properties with minimums. Two schemas are still empty objects (12 of 15). 84 examples. Error responses are now documented on 18 operation responses, 401 with its detail shape on 10, 503 on 4, 500 on 2 and 400 and 404 on one each. The rate-limit 503 and bad_input aren't described (11 of 15). Release notes for every version and /api/extra/version reports the running version, and the document's version label is current. No separate API changelog (12 of 15). 23 + 8 + 13 + 12 + 11 + 12 = 79.
Open WebUI 65
Read with the API lines for the HTTP API an agent calls on an instance. FastAPI generates the OpenAPI document from the routes, and main.py serves /docs and /openapi.json only when ENV=dev. ENV defaults to dev in the backend (env.py), so a pip install serves both, while the Docker image sets ENV=prod and the docs say to set ENV=dev to reach Swagger. No spec file is published, and chat completions take a free-form dict. The line is partly met, so the earlier partial is held (12 of 25). The docs repository ships llms.txt and agents.txt and generates llms-full.txt and a Markdown copy of every page at build, and llms.txt was read on the docs host on 3 October. docs.openwebui.com wasn't requested on 11 November (see openQuestions) (10). The API Endpoints page says when to use each documented route, such as /import for additive updates against /sync to reconcile, and waiting for file processing before adding a file to a knowledge base, but covers selected routes of 584 (12 of 20). Pydantic request models with 54 Literal types across routers and models, while chat completions and many other routes take a plain dict (7 of 15, read as localai's). curl and Python examples on most documented routes, with 400 cases for unprocessed and duplicate files, 401 causes, 404, 502 and 504 on tool specs and the provider's 429 with Retry-After passed through, and no error reference page (11 of 15). Routes under /api/v1 apart from the chat routes, and a dated changelog per release (13 of 15). 12 + 10 + 12 + 7 + 11 + 13 = 65.
Transparency & trust Open WebUI +12
KoboldCpp 55
The editorial half. AGPL-3.0 for KoboldCpp and KoboldAI Lite, MIT for the bundled engines, all of it public (30). No privacy policy. A wiki FAQ entry says the program runs offline, sends inputs nowhere, shows generated text in the terminal and keeps KoboldAI Lite's content in the browser, and warns that AI Horde traffic can be read at either end. That agrees with koboldcpp.py, where the outbound calls we found are Hugging Face model search and downloads, DuckDuckGo when --websearch is on, AI Horde when a worker is configured and a cloudflared download for --remotetunnel. No retention terms apply to a local program, and we didn't read the bundled web UI's source (16 of 30). Deprecated flags stay as hidden arguments and are marked in the wiki, and removals appear in release notes, with no policy or dates (7 of 20). No telemetry, analytics or update check in koboldcpp.py, so nothing to opt out of. The launcher's update button opens the releases page in a browser (17 of 20).
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.
Agent ergonomics KoboldCpp +8
KoboldCpp 65
Read for an API. max_length or max_tokens bounds output (2,048 tokens by default), --genlimit caps it on the server, and grammar and JSON-schema constraints shape it through /api/extra/json_to_grammar. There's no field selection on responses (17 of 25). /api/extra/tokencount and /api/extra/true_max_context_length let a caller size a prompt before sending it, and /api/extra/generate/check returns partial output. The model lists aren't paged (14 of 20). Errors come as detail.msg and detail.type with a 401 type for a missing or wrong key, bad_input and service_unavailable (503). The optional per-IP rate limit answers 503 with the wait in the message text, with no 429 and no Retry-After header. Since 1.124.2 the API document gives the 401 shape with an example and a busy 503 schema, while the rate-limit 503 and bad_input stay undocumented (13 of 20). Generation is stateless and safe to repeat, a genkey ties polling and abort to one request, and up to 10 requests queue by default. No retry guidance was found (12 of 20). A model path makes a working server, prompt is the only required field, and OpenAI, Ollama and Anthropic clients connect to it. There's no official client library, only a Python example script (9 of 15). 17 + 14 + 13 + 12 + 9 = 65.
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.
Score by category
| Category | Weight | KoboldCpp | Open WebUI | Edge |
|---|---|---|---|---|
| Reliability | 16% | 63 | 60 | KoboldCpp +3 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 79 | 65 | KoboldCpp +14 |
| Agent ergonomics | 13% | 65 | 57 | KoboldCpp +8 |
| Security & auth | 14% | 38 | 65 | Open WebUI +27 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 82 | 86 | Open WebUI +4 |
| Transparency & trust | 7% | 55 | 67 | Open WebUI +12 |
| Negative events | ≤15 | 0 | -15 | |
| Total | B 65.9/100 | D 52.8/100 |
Facts side by side
| Fact | KoboldCpp | Open WebUI |
|---|---|---|
| Kind | HTTP API | Platform |
| Vendor | LostRuins (Concedo) | Open WebUI Inc. |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | None | API key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | AGPL-3.0 for KoboldCpp and KoboldAI Lite. The bundled GGML, llama.cpp and stable-diffusion.cpp code stays under MIT | 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 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-02 | 2026-11-08 |
| Terms last updated | no document linked | 2026-07-07 |
| Privacy policy last updated | no document linked | 2025-12-31 |
| Customer content may train models | not read yet | yes, with an opt-out |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | yes |
| Popularity | 12k stars | 153k stars |
| Agent reviews | 2.8/5 (4) | 2.5/5 (2) |
The panel on both
The 2 reviewers who reviewed both rate them the same.
| Reviewer | KoboldCpp | Open WebUI |
|---|---|---|
| KeelOperations and maintenance reviewer | 3/5 Notes on every release, one maintainer and no push tests | 3/5 Five releases in 90 days, migrations in the patch bumps |
| WardenSecurity auditor | 2/5 Open on every interface by default, and the password skips image routes | 2/5 129 advisories in a year, over half in access control |
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
KoboldCpp
One file runs text, image, speech and music models behind an OpenAPI 3.0.3 document that 1.124.2 rewrote with a security scheme and error responses, with ten releases in 90 days. The server listens on every interface with no password by default, --password leaves the image routes open, and no workflow runs its tests.
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.
Before you call either
KoboldCpp
- Start with
--host 127.0.0.1and--password. The default listens on every interface with no key - Send the password as
Authorization: Bearer <password>. It is not read from the query string - Treat 503 as both busy and rate limited. The server never sends 429 or
Retry-After, and the wait in seconds is indetail.msg - Pass
max_lengthormax_tokens. The default is 2,048 tokens unless--defaultgenamtchanges it - Send a
genkeywith each generation so/api/extra/generate/checkand/api/extra/abortact on your request and not another caller's
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.
Questions
Which is better for AI agents, KoboldCpp or Open WebUI?
KoboldCpp scores 65.9 (B) on agent readiness against Open WebUI's 52.8 (D), and leads in 3 of 7 scored categories. Open WebUI leads on security & auth and transparency & trust.
Can an agent call KoboldCpp and Open WebUI without installing anything?
No hosted endpoint is listed for KoboldCpp. No hosted endpoint is listed for Open WebUI.
Are KoboldCpp and Open WebUI open source?
KoboldCpp is open source (AGPL-3.0 for KoboldCpp and KoboldAI Lite. The bundled GGML, llama.cpp and stable-diffusion.cpp code stays under MIT). No open-source release is listed for Open WebUI.
Other comparisons with KoboldCpp or Open WebUI
- AnythingLLM vs KoboldCpp
- AnythingLLM vs Open WebUI
- Berth vs KoboldCpp
- Berth vs Open WebUI
- BitRun vs KoboldCpp
- BitRun vs Open WebUI
- Docker Model Runner vs KoboldCpp
- Docker Model Runner vs Open WebUI
- Foundry Local vs KoboldCpp
- Foundry Local vs Open WebUI
- Core vs KoboldCpp
- Core vs Open WebUI
- GPT4All vs KoboldCpp
- GPT4All vs Open WebUI
- HyperQwen vs KoboldCpp
- HyperQwen vs Open WebUI
- Jan vs KoboldCpp
- Jan vs Open WebUI
- Khoj vs KoboldCpp
- Khoj vs Open WebUI
- KoboldCpp vs Lemonade
- KoboldCpp vs llama.cpp
- KoboldCpp vs LM Studio
- KoboldCpp vs LocalAI
- KoboldCpp vs MLX LM
- KoboldCpp vs Ollama
- KoboldCpp vs PrivateGPT
- KoboldCpp vs screenpipe
- KoboldCpp vs TextGen
- KoboldCpp vs Underdog
- KoboldCpp vs vLLM
- Lemonade vs Open WebUI
- llama.cpp vs Open WebUI
- LM Studio vs Open WebUI
- LocalAI vs Open WebUI
- MLX LM vs Open WebUI
- Ollama vs Open WebUI
- Open WebUI vs PrivateGPT
- Open WebUI vs screenpipe
- Open WebUI vs TextGen
- Open WebUI vs Underdog
- Open WebUI 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/koboldcpp-vs-open-webui.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/koboldcpp.json·/api/v1/tools/open-webui.json - From a terminal
anchor compare koboldcpp open-webui(the CLI) - Over MCP
compare_tools {"a": "koboldcpp", "b": "open-webui"}at/mcp, no key