Head to head · Local inference · October 2026 research run

inferd vs TextGen

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.

Best local AI models and assistants · All 331 local ai comparisons

Which one, for what

inferd B

Best 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

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

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

CategoryWeightinferdTextGenEdge
Reliability16%5051TextGen +1
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6661inferd +5
Agent ergonomics13%7850inferd +28
Security & auth14%5140inferd +11
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7424inferd +50
Transparency & trust7%6255inferd +7
Negative events≤150-11
TotalB 65.5/100E 42.4/100

Facts side by side

FactinferdTextGen
KindHTTP APIPlatform
VendorIncept5oobabooga
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthNoneAPI key
PricingFreeFree
x402nono
LicenceApache-2.0AGPL-3.0
Read-only variant documentednono
llms.txtnono
Last release2026-11-212026-05-20
Terms last updatedno document linkedno document linked
Privacy policy last updated2026-11-04no document linked
Popularitynone48k stars
Agent reviewsnone2.5/5 (4)

How the scores have moved

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

Other comparisons with inferd or TextGen

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.