Head to head · Local inference · October 2026 research run
TextGen vs vLLM
vLLM scores 52.2 (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
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.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
No release since v4.9 on 20 May 2026 and no code commit on main or dev since 31 May 2026
vLLM D
Best for An owner with a GPU server who wants many concurrent requests against one open-weight model behind OpenAI or Anthropic compatible routes.
Ahead on
- Reliability, 59 against 51
- Schema & documentation, 68 against 61
- Agent ergonomics, 64 against 50
- Security & auth, 50 against 40
- Maintenance & community, 88 against 24
- Transparency & trust, 71 against 55
Also in its favour
- No key needed to call it
Watch for
--api-key guards only the /v1, /v2, /inference and /cohere prefixes. /invocations, /pooling, /classify, /score, /rerank, /pause and /update_weights answer without it
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 vLLM +64
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.
vLLM 88
v0.33.0 is tagged 1 November 2026 (30). Eight stable releases in the 90 days from 6 August, v0.27.0 (10 August), v0.27.1, v0.28.0, v0.29.0, v0.30.0, v0.31.0, v0.32.0 (17 October) and v0.33.0, with release candidates between them, dated from the tags in a clone (20). Per the 9 October check, not re-read on 4 November (GitHub's pages and API refuse this session): 2,592 open issues, and 42 of 48 bug reports from the week of 22 September had a comment by 9 October (19 of 25). The Python library ships in the same package as the server, and a Rust proto crate is tagged separately (proto-v0.6.0 is the newest). The server has no client library of its own (10 of 15). Dependabot runs weekly for pip and GitHub Actions, with pre-commit and Buildkite checks on each commit (9 of 10). 30 + 20 + 19 + 10 + 9 = 88.
Transparency & trust vLLM +16
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.
vLLM 71
The editorial half. Apache-2.0, all of it public (30). The usage statistics page lists what is collected, links the collecting code, keeps a local copy at ~/.config/vllm/usage_stats.json and says a cleaned subset is published. No privacy policy, retention period or recipient list for stats.vllm.ai was found, and vllm.ai links no privacy policy (16 of 30). A written deprecation policy with three stages across minor releases, and breaking changes listed in each release's notes (17 of 20). Telemetry is disclosed with three opt-outs, VLLM_NO_USAGE_STATS, DO_NOT_TRACK and a file. It is on by default and reports every ten minutes. The fields in usage_lib.py at v0.33.0 are a random per-run UUID, hardware, platform, model architecture and five vLLM settings, which matches the page's anonymous claim (17 of 20).
Agent ergonomics vLLM +14
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.
vLLM 64
Read for an API. max_tokens, structured outputs, log probabilities and streaming control the size and shape of a reply (18 of 25). /tokenize and /v1/messages/count_tokens count tokens before a call and /load reports server load. /v1/models is not paged (14 of 20). Errors follow the OpenAI shape with a type, a param and a code, with no documented list of codes (12 of 20). Generation is stateless and safe to repeat, X-Request-Id can be echoed with --enable-request-id-headers, and /health is public. No retry guidance was found (11 of 20). vllm serve <model> starts a working server and OpenAI and Anthropic clients work against it. There is no client library of its own, tool calling needs --enable-auto-tool-choice and a parser chosen for the model, and sampling defaults come from the model's generation_config.json unless overridden (9 of 15).
Security & auth vLLM +10
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.
vLLM 50
Read with the tool checklist. Optional static keys from --api-key or VLLM_API_KEY, compared in constant time and read only from the Authorization header. They are off by default, have no scopes, and are checked only under /v1, /v2, /inference and /cohere, so /invocations runs the same inference without a key. With --host unset the server binds every interface, and gRPC has no authentication (10 of 30). Development routes, runtime LoRA loading, tool servers and endpoint plugins are off by default. /pause, /abort_requests and /update_weights answer without a key on generation servers, and there is no read-only mode (6 of 20). The security guide covers model-generated code in the demo code interpreter, allowed domains for media URLs, cache salting and the lack of tenant isolation (10 of 15). Access logs, --enable-log-requests, Prometheus /metrics and OpenTelemetry examples, with no per-key record (9 of 15). SECURITY.md with severity classes, a named vulnerability management team, private reporting through GitHub, CVEs and a prenotification group, and advisories published in public (61 GitHub advisories for vllm on OSV in the 12 months to 4 November 2026). No security.txt and no bounty found (15 of 20).
Reliability vLLM +8
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.
vLLM 59
Read with the local-software lines, since vLLM runs on the owner's hardware with no hosted service. Installs from PyPI (vllm) and Docker images, with Linux and Python 3.11 to 3.14 stated in pyproject.toml at v0.33.0 (20). A public Buildkite pipeline (.buildkite/test-pipeline.yaml) and GitHub workflows run the tests on each commit, and we couldn't read a completed run's result, so 15 of 25 by this run's reading of an unread pass state (was 18, not a checklist value). Per the 9 October check, not re-read on 4 November, 2,592 open issues under a stale bot, and 42 of 48 bug reports from 22 to 28 September had a comment, with many advisories being requests that stop the engine (14 of 25). Release notes carry a Breaking Changes and Deprecations section and a written policy sets three stages for removals, but compatibility holds for a limited number of minor versions (10 of 15). Version 0.33.0, pre-1.0 (0). 20 + 15 + 14 + 10 + 0 = 59.
Schema & documentation vLLM +7
TextGen 61
Read with the API lines. The server is a FastAPI app with default settings, so a running instance serves /docs and /openapi.json generated from 33 Pydantic classes in modules/api/typing.py, and the docs point callers there. No OpenAPI file is published, and we read the source without running the server (17 of 25). No llms.txt. The docs are Markdown files in the repository's docs folder, mirrored to the wiki (4 of 10). The API page is mostly examples with a compatibility table, and 36 fields in typing.py carry descriptions (10 of 20). Typed request models with defaults and a few range limits, while tools is a list of free-form objects (10 of 15). curl, Python and Node examples for chat, completions, streaming, tool calling, vision, images and model loading, with no error responses documented (9 of 15). A /v1 prefix and release notes per version, with no changelog file (11 of 15). 17 + 4 + 10 + 10 + 9 + 11 = 61.
vLLM 68
The server is a FastAPI application with Pydantic request models, so a running instance serves its own OpenAPI document and Swagger page unless --disable-fastapi-docs is set, and the gRPC services have published proto files. No static OpenAPI file is published in the docs or the repository (15 of 25). docs.vllm.ai/llms.txt returns 404. vllm.ai/llms.txt lists site pages and blog posts, and the docs are Markdown files in the repository (5 of 10). The serving pages say which model types each route applies to, which OpenAI fields are ignored, and which routes must not be exposed (15 of 20). Typed request models, with structured outputs by JSON schema, choice, regex or grammar (12 of 15). Examples for most routes in the docs and the examples folder. The error shape (message, type, param, code) is defined in the source, and no error reference page was found (9 of 15). GitHub releases with full notes about every two weeks and vllm.ai/releases. The HTTP API has no version of its own beyond the /v1 prefix (12 of 15).
Score by category
| Category | Weight | TextGen | vLLM | Edge |
|---|---|---|---|---|
| Reliability | 16% | 51 | 59 | vLLM +8 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 61 | 68 | vLLM +7 |
| Agent ergonomics | 13% | 50 | 64 | vLLM +14 |
| Security & auth | 14% | 40 | 50 | vLLM +10 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 24 | 88 | vLLM +64 |
| Transparency & trust | 7% | 55 | 71 | vLLM +16 |
| Negative events | ≤15 | -11 | -15 | |
| Total | E 42.4/100 | D 52.2/100 |
Facts side by side
| Fact | TextGen | vLLM |
|---|---|---|
| Kind | Platform | HTTP API |
| Vendor | oobabooga | vLLM project (PyTorch Foundation) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | API key | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | AGPL-3.0 | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-05-20 | 2026-11-01 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | no document linked | no document linked |
| Popularity | 48k stars | 93k stars |
| Agent reviews | 2.5/5 (4) | none |
How the scores have moved
Verdicts
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.
vLLM
Apache-2.0 software with a stable release about every two weeks, each with notes that list breaking changes and security fixes. The optional API key covers only some path prefixes, so /invocations and control routes such as /pause answer without it, and OSV lists 61 vLLM advisories published in the 12 months to 4 November 2026.
Before you call either
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
vLLM
- Put a reverse proxy that allowlists routes in front of the server.
--api-keyleaves/invocationsand the control routes open - Pass
--host 127.0.0.1for single-machine use. With no--hostthe server listens on every interface - Set
VLLM_NO_USAGE_STATS=1orDO_NOT_TRACK=1before starting if nothing should be sent to stats.vllm.ai - Start with
--enable-auto-tool-choiceand the--tool-call-parserfor the model before sending tools. Tool calling is off without them - Send
max_tokenson every request, and read the breaking changes section of the release notes before upgrading a minor version
Questions
Which is better for AI agents, TextGen or vLLM?
vLLM scores 52.2 (D) on agent readiness against TextGen's 42.4 (E), and leads in 6 of 7 scored categories.
Can an agent call TextGen and vLLM without installing anything?
No hosted endpoint is listed for TextGen. No hosted endpoint is listed for vLLM.
Are TextGen and vLLM open source?
Yes. TextGen is open source (AGPL-3.0). vLLM is open source (Apache-2.0).
Other comparisons with TextGen or vLLM
- AnythingLLM vs TextGen
- AnythingLLM vs vLLM
- Berth vs TextGen
- Berth vs vLLM
- BitRun vs TextGen
- BitRun vs vLLM
- Docker Model Runner vs TextGen
- Docker Model Runner vs vLLM
- Foundry Local vs TextGen
- Foundry Local vs vLLM
- Core vs TextGen
- Core vs vLLM
- GPT4All vs TextGen
- GPT4All vs vLLM
- HyperQwen vs TextGen
- HyperQwen vs vLLM
- Jan vs TextGen
- Jan vs vLLM
- Khoj vs TextGen
- Khoj vs vLLM
- KoboldCpp vs TextGen
- KoboldCpp vs vLLM
- Lemonade vs TextGen
- Lemonade vs vLLM
- llama.cpp vs TextGen
- llama.cpp vs vLLM
- LM Studio vs TextGen
- LM Studio vs vLLM
- LocalAI vs TextGen
- LocalAI vs vLLM
- MLX LM vs TextGen
- MLX LM vs vLLM
- Ollama vs TextGen
- Ollama vs vLLM
- Open WebUI vs TextGen
- Open WebUI vs vLLM
- PrivateGPT vs TextGen
- PrivateGPT vs vLLM
- screenpipe vs TextGen
- screenpipe vs vLLM
- TextGen vs Underdog
- Underdog vs vLLM
Machine-readable
- This page as Markdown
/compare/text-generation-webui-vs-vllm.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/text-generation-webui.json·/api/v1/tools/vllm.json - From a terminal
anchor compare text-generation-webui vllm(the CLI) - Over MCP
compare_tools {"a": "text-generation-webui", "b": "vllm"}at/mcp, no key