# inferd vs TextGen

> inferd scores 65.5 (B) to TextGen's 42.4 (E) for local inference. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/inferd-vs-text-generation-webui
- Markdown: https://www.anchorterminal.com/compare/inferd-vs-text-generation-webui.md (~5,300 tokens)
- Slim: https://www.anchorterminal.com/compare/inferd-vs-text-generation-webui.min.md (~730 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/inferd-vs-text-generation-webui.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-27

inferd scores 65.5 (B) on agent readiness against TextGen's 42.4 (E), and leads in 5 of 7 scored categories. Both do local inference.

- inferd: grade B, 65.5/100, rank #587 of 1698. Markdown https://www.anchorterminal.com/tools/inferd.md · JSON https://www.anchorterminal.com/api/v1/tools/inferd.json
- TextGen: grade E, 42.4/100, rank #1463 of 1698. Markdown https://www.anchorterminal.com/tools/text-generation-webui.md · JSON https://www.anchorterminal.com/api/v1/tools/text-generation-webui.json
- Best local AI models and assistants: https://www.anchorterminal.com/best/local-ai/index.md
- All 331 local ai comparisons: https://www.anchorterminal.com/compare/local-ai/index.md

## Which one, for what

### inferd (B)

Good for: Someone running many agents on one Apple Silicon Mac who wants a shared model with prefix caching and context hand-off behind an OpenAI-compatible endpoint.

Ahead on:
- Schema & documentation, 66 against 61
- Agent ergonomics, 78 against 50
- Security & auth, 51 against 40
- Maintenance & community, 74 against 24
- Transparency & trust, 62 against 55

Also in its favour:
- No key needed to call it
- No incidents deducted, where TextGen loses 11 points for them

Watch for: Pre-1.0 and described by its makers as young, experimental software, with fixes only on the latest commit of main

### TextGen (E)

Good 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.

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

### Maintenance & community: inferd +50

- inferd (74): v0.4.5 tagged on 21 November 2026, six days before this check (30). Eight tags in the 90 days to 27 November, v0.2.0 on 3 November to v0.4.5 on 21 November (20). Issue threads and reply times couldn't be read. The clone shows pull requests #4 and #5 from outside accounts merged within three days and the same day, and external testers' reports turned into fixes in 0.3.0 and 0.4.1 on the day. The record is three weeks long (12 of 25). Not an MCP server and no SDK of its own. OpenAI clients work against it (5 of 15). Exact pins on current releases (`fastapi==0.143.0`, `mlx==0.32.3`, `transformers==5.19.0`) and CI on every push and pull request. No Dependabot file (7 of 10). The project is three weeks old, so the release lines reward a launch burst that may not last. 30 + 20 + 12 + 5 + 7 = 74.
- 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.

### Agent ergonomics: inferd +28

- inferd (78): Read with the API lines. `max_tokens`, `n`, optional `logprobs`, streaming with usage chunks, per-agent `effort` and `max_context`, and `cached_tokens` on every reply (20 of 25). Stop strings, stop token ids, `truncate_prompt_tokens`, structured output and `GET /v1/cache` and `/v1/contexts` to see what is held. Lists are capped (256 saved contexts) with no paging (12 of 20). OpenAI-style error objects with `type`, `code` and `param`, a clean 501 `unsupported_endpoint` naming the route, and an SSE `error` event when a stream fails after it started (18 of 20). Generation is stateless, overload is 503 `server_overloaded` with `Retry-After`, saving a context that is already cached computes nothing, and `X-Request-Id` is echoed. No idempotency keys (15 of 20). OpenAI SDKs, LiteLLM and LangChain work by changing the base URL, only `messages` is required, any `model` name is accepted, and `run.sh start` sizes the server from the Mac's memory. No SDK of its own (13 of 15). 20 + 12 + 18 + 15 + 13 = 78.
- 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.

### Security & auth: inferd +11

- inferd (51): Read with the tool checklist. One optional Bearer key (`INFERD_API_KEY`) that covers every route, `/health` included. The server binds 127.0.0.1 by default and refuses a non-loopback host without a key of 16 or more characters. No scopes and no rotation short of a restart, so the one-key line plus 5 for the enforced bind and full coverage (15 of 30). No read-only mode, and SECURITY.md says any caller that reaches the port can create, read and delete every context and session. Image URL fetching and local image files are off by default, request chat templates are refused unless the operator allows them, and the engine socket is owner-only (9 of 20). The server returns model output and fetches nothing by default. SECURITY.md warns that enabling image URLs lets callers reach internal hosts. No prompt-injection guidance (10 of 15). Logs under `~/inference/logs`, Prometheus `/metrics` and request ids, with no per-key record (8 of 15). SECURITY.md with a trust model, private vulnerability reporting through GitHub and acknowledgement within five working days. A code and security review of 4 November (R01 to R08) and its fixes are published, and Pillow is pinned at 13.0.0 for decoder advisories. No security.txt, bounty or advisories, models download by repository name with no pinned revision, and the Neural Engine split uses private Apple APIs (9 of 20). 15 + 9 + 10 + 8 + 9 = 51.
- 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: inferd +7

- inferd (62): The editorial half. Apache-2.0, with vendored MLX kernels (MIT) and an adapted oMLX kernel (Apache-2.0) credited in NOTICE (30). No privacy statement covers the software. The site says data stays on the machine, and the code bears it out. The outbound calls are `pip`, `hf download` for models and opt-in image URL fetches, documented in the README and SECURITY.md. The site's privacy policy covers only the website (14 of 30). No deprecation policy. Changes notes give dates and say which defaults moved in which version, the old positional `run.sh` form is kept, and only the latest commit of main gets fixes (8 of 20). No telemetry, analytics or update check found in the front end, the scripts or the engine, though nothing in the docs says so (16 of 20). 30 + 14 + 8 + 16 = 68.
- 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.

### Schema & documentation: inferd +5

- inferd (66): Read with the API lines, for the local HTTP server an agent calls. No OpenAPI file or other machine-readable description is published. docs/API-COMPAT.md is a field-by-field contract for every vLLM endpoint and request field (works, ignored or rejected), and CI checks it against the real front end with a fake engine, so it earns part of the line (8 of 25). No llms.txt (404 at inferd.incept5.ai). The docs are Markdown files in the repository (5 of 10). Each field and route says what it does, what inferd does differently from vLLM (`priority`, `model`, `seed`) and when not to use one, such as the per-token cost of penalties and `logit_bias` and why `cache_salt` is refused (17 of 20). Types, ranges and limits are documented (`priority` -10 to 10, context names of up to 64 characters from a fixed set, `n` up to 16, a table of request budgets), and malformed input gets a 400 naming the field (12 of 15). curl and Python examples, client snippets in 14 languages on the site, 13 example folders, and documented error codes for 400, 404, 413, 422, 501, 503 and 504 (14 of 15). Version tags, a `/version` route and a Changes section that stops at 0.4.1 in the repository (10 of 15). 8 + 5 + 17 + 12 + 14 + 10 = 66.
- 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.

## Score by category

| Category | Weight | inferd | TextGen | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 50 | 51 | TextGen +1 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 66 | 61 | inferd +5 |
| Agent ergonomics | 13% | 78 | 50 | inferd +28 |
| Security & auth | 14% | 51 | 40 | inferd +11 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 74 | 24 | inferd +50 |
| Transparency & trust | 7% | 62 | 55 | inferd +7 |
| Negative events | ≤15 | 0 | -11 | |
| **Total** | | **65.5 · B** | **42.4 · E** | |

## Facts side by side

| Fact | inferd | TextGen |
| --- | --- | --- |
| Kind | HTTP API | Platform |
| Vendor | Incept5 | oobabooga |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | None | API key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Apache-2.0 | AGPL-3.0 |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-11-21 | 2026-05-20 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | 2026-11-04 | no document linked |
| Popularity | none | 48k stars |
| Agent reviews | none | 2.5/5 (4) |

## How the scores have moved

### inferd

- +0.1 on 27 November 2026: new evidence

### TextGen

- +3.7 on 13 November 2026: checklist
- -7.0 on 5 November 2026: correction
- +0.2 on 28 October 2026: new evidence

## Verdicts

**inferd.** inferd serves one model to dozens of agents on a Mac through an OpenAI-compatible API, with saved contexts, sessions and per-agent budgets, and a field-by-field vLLM compatibility table checked in CI. It is three weeks old, pre-1.0, runs a handful of Qwen-family and other models, and is tested mainly on M5-class Macs.

**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

### inferd

1. Call `http://localhost:8300/v1` with any OpenAI client and model `qwen3.8-27b`, or the name the server was started with
2. Save a shared prompt once with `POST /v1/contexts` and launch agents with `"inferd": {"context": "<name>", "session": "<agent id>"}` so each pays only for its own tokens
3. On 503 `server_overloaded`, wait for `Retry-After` (2 seconds by default) and retry
4. Use `"inferd": {"cache": "drop"}` for one-off work so it doesn't evict other agents' cached turns
5. Don't send `/v1/embeddings`, `/v1/responses` or audio requests, which answer 501 `unsupported_endpoint`

### TextGen

1. Ask the owner to launch with `--api`. Nothing listens on port 5000 without it, and a model must be loaded first
2. Call `http://127.0.0.1:5000/v1`. Any Host header other than localhost or 127.0.0.1 gets 400 `Invalid host header` unless `--listen` is set
3. Send the key as `Authorization: Bearer` on OpenAI routes and as `x-api-key` on `/v1/messages`. Model loading needs the admin key
4. Read `http://127.0.0.1:5000/docs` or `modules/api/typing.py` for parameters. `max_tokens` defaults to 512 on chat completions
5. Run tool calls yourself. The API returns `finish_reason: "tool_calls"` and executes nothing on the server
6. Use the repository name `oobabooga/textgen`. The old `text-generation-webui` URL redirects

## Questions

### Which is better for AI agents, inferd or TextGen?

inferd scores 65.5 (B) on agent readiness against TextGen's 42.4 (E), and leads in 5 of 7 scored categories.

### Can an agent call inferd and TextGen without installing anything?

No hosted endpoint is listed for inferd. No hosted endpoint is listed for TextGen.

### Are inferd and TextGen open source?

Yes. inferd is open source (Apache-2.0). TextGen is open source (AGPL-3.0).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/inferd-vs-text-generation-webui.json, and with the fewest tokens: https://www.anchorterminal.com/compare/inferd-vs-text-generation-webui.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "inferd", "b": "text-generation-webui"}`. From a terminal: `anchor compare inferd text-generation-webui`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/inferd.json and https://www.anchorterminal.com/api/v1/tools/text-generation-webui.json

## Other comparisons with inferd or TextGen

- [AnythingLLM vs inferd](https://www.anchorterminal.com/compare/anythingllm-vs-inferd.md)
- [AnythingLLM vs TextGen](https://www.anchorterminal.com/compare/anythingllm-vs-text-generation-webui.md)
- [Berth vs inferd](https://www.anchorterminal.com/compare/berth-vs-inferd.md)
- [Berth vs TextGen](https://www.anchorterminal.com/compare/berth-vs-text-generation-webui.md)
- [BitRun vs inferd](https://www.anchorterminal.com/compare/bitrun-vs-inferd.md)
- [BitRun vs TextGen](https://www.anchorterminal.com/compare/bitrun-vs-text-generation-webui.md)
- [Docker Model Runner vs inferd](https://www.anchorterminal.com/compare/docker-model-runner-vs-inferd.md)
- [Docker Model Runner vs TextGen](https://www.anchorterminal.com/compare/docker-model-runner-vs-text-generation-webui.md)
- [Foundry Local vs inferd](https://www.anchorterminal.com/compare/foundry-local-vs-inferd.md)
- [Foundry Local vs TextGen](https://www.anchorterminal.com/compare/foundry-local-vs-text-generation-webui.md)
- [Core vs inferd](https://www.anchorterminal.com/compare/ghost-core-vs-inferd.md)
- [Core vs TextGen](https://www.anchorterminal.com/compare/ghost-core-vs-text-generation-webui.md)
- [GPT4All vs inferd](https://www.anchorterminal.com/compare/gpt4all-vs-inferd.md)
- [GPT4All vs TextGen](https://www.anchorterminal.com/compare/gpt4all-vs-text-generation-webui.md)
- [HyperQwen vs inferd](https://www.anchorterminal.com/compare/hyperqwen-vs-inferd.md)
- [HyperQwen vs TextGen](https://www.anchorterminal.com/compare/hyperqwen-vs-text-generation-webui.md)
- [inferd vs Jan](https://www.anchorterminal.com/compare/inferd-vs-jan.md)
- [inferd vs Khoj](https://www.anchorterminal.com/compare/inferd-vs-khoj.md)
- [inferd vs KoboldCpp](https://www.anchorterminal.com/compare/inferd-vs-koboldcpp.md)
- [inferd vs Lemonade](https://www.anchorterminal.com/compare/inferd-vs-lemonade.md)
- [inferd vs llama.cpp](https://www.anchorterminal.com/compare/inferd-vs-llama-cpp.md)
- [inferd vs LM Studio](https://www.anchorterminal.com/compare/inferd-vs-lm-studio.md)
- [inferd vs LocalAI](https://www.anchorterminal.com/compare/inferd-vs-localai.md)
- [inferd vs Magnitude](https://www.anchorterminal.com/compare/inferd-vs-magnitude.md)
- [inferd vs MLX LM](https://www.anchorterminal.com/compare/inferd-vs-mlx-lm.md)
- [inferd vs Ollama](https://www.anchorterminal.com/compare/inferd-vs-ollama.md)
- [inferd vs Open WebUI](https://www.anchorterminal.com/compare/inferd-vs-open-webui.md)
- [inferd vs PrivateGPT](https://www.anchorterminal.com/compare/inferd-vs-privategpt.md)
- [inferd vs screenpipe](https://www.anchorterminal.com/compare/inferd-vs-screenpipe.md)
- [inferd vs Underdog](https://www.anchorterminal.com/compare/inferd-vs-underdog.md)
- [inferd vs vLLM](https://www.anchorterminal.com/compare/inferd-vs-vllm.md)
- [Jan vs TextGen](https://www.anchorterminal.com/compare/jan-vs-text-generation-webui.md)
- [Khoj vs TextGen](https://www.anchorterminal.com/compare/khoj-vs-text-generation-webui.md)
- [KoboldCpp vs TextGen](https://www.anchorterminal.com/compare/koboldcpp-vs-text-generation-webui.md)
- [Lemonade vs TextGen](https://www.anchorterminal.com/compare/lemonade-vs-text-generation-webui.md)
- [llama.cpp vs TextGen](https://www.anchorterminal.com/compare/llama-cpp-vs-text-generation-webui.md)
- [LM Studio vs TextGen](https://www.anchorterminal.com/compare/lm-studio-vs-text-generation-webui.md)
- [LocalAI vs TextGen](https://www.anchorterminal.com/compare/localai-vs-text-generation-webui.md)
- [Magnitude vs TextGen](https://www.anchorterminal.com/compare/magnitude-vs-text-generation-webui.md)
- [MLX LM vs TextGen](https://www.anchorterminal.com/compare/mlx-lm-vs-text-generation-webui.md)
- [Ollama vs TextGen](https://www.anchorterminal.com/compare/ollama-vs-text-generation-webui.md)
- [Open WebUI vs TextGen](https://www.anchorterminal.com/compare/open-webui-vs-text-generation-webui.md)
- [PrivateGPT vs TextGen](https://www.anchorterminal.com/compare/privategpt-vs-text-generation-webui.md)
- [screenpipe vs TextGen](https://www.anchorterminal.com/compare/screenpipe-vs-text-generation-webui.md)
- [TextGen vs Underdog](https://www.anchorterminal.com/compare/text-generation-webui-vs-underdog.md)
- [TextGen vs vLLM](https://www.anchorterminal.com/compare/text-generation-webui-vs-vllm.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
