Head to head · Local inference · October 2026 research run

KoboldCpp vs TextGen

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

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

Which one, for what

KoboldCpp B

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

  • Reliability, 63 against 51
  • Schema & documentation, 79 against 61
  • Agent ergonomics, 65 against 50
  • Maintenance & community, 82 against 24

Also in its favour

  • No key needed to call it
  • No incidents deducted, where TextGen loses 11 points for them

Watch for

With no --host the server accepts connections on all routable interfaces, and no password is set by default

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 KoboldCpp +58

KoboldCpp 82

Release 1.124.2 on 2 November 2026, tagged the day before this check, read from the tag dates in a clone since GitHub's release pages refuse our session (30). Ten tagged releases since 5 August 2026 (1.119 on 15 August, 1.120, 1.121, 1.122, 1.122.1, 1.123, 1.123.1, 1.124, 1.124.1 and 1.124.2) (20). 524 open issues and 5 open pull requests, with replies on all 24 of the newest open issues, per the 8 October check, not re-read on 3 November. The README points to GitHub Discussions and a Discord server. One person, Concedo, is the main author of the project's own commits (20 of 25). No client library. The official Docker image was last updated on 14 September 2026, before the six newest releases, and has 167,319 pulls (6 of 15). Upstream llama.cpp is merged regularly and builds run on GitHub Actions for five targets, but they are started by hand, requirements.txt pins only minimum versions and there's no Dependabot (6 of 10). 30 + 20 + 20 + 6 + 6 = 82.

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.

Schema & documentation KoboldCpp +18

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.

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.

Agent ergonomics KoboldCpp +15

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.

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.

Reliability KoboldCpp +12

KoboldCpp 63

Read with the local-software lines, since KoboldCpp runs on the owner's machine with no hosted service. Single-file binaries on GitHub releases for Windows x64, Linux x64 and Apple Silicon macOS, with nocuda and oldpc variants and the hardware each suits stated in the README and release notes, plus the koboldai/koboldcpp Docker image. No package-manager release of the project's own, since the Nix and AUR packages are third-party (18 of 20). Eight workflows in the repository at 1.124.2, all builds started by hand. The AutoGuess test that ran on pull requests and three unofficial test builds were gone by 1.123 (13 October 2026), so no workflow runs the test suite. The macOS build, also started by hand, runs the built binary once on a small model as its only check. The tests folder holds 526 lines of Python in four files that nothing runs automatically (5 of 25). 524 open issues and 5 open pull requests with no stale bot, and replies on the 24 newest open issues, per the 8 October check, not re-read on 3 November, since GitHub's pages refuse our session (16 of 25). Sequential 1.x version numbers with notes on every release. 1.123 replaced --multiuser with --queuelimit and kept the old flag as a hidden deprecated argument, so existing launch commands still start. No changelog file and no stated semver rule (9 of 15). Version 1.124.2 (15). 18 + 5 + 16 + 9 + 15 = 63.

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.

Score by category

CategoryWeightKoboldCppTextGenEdge
Reliability16%6351KoboldCpp +12
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7961KoboldCpp +18
Agent ergonomics13%6550KoboldCpp +15
Security & auth14%3840TextGen +2
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8224KoboldCpp +58
Transparency & trust7%5555even
Negative events≤150-11
TotalB 65.9/100E 42.4/100

Facts side by side

FactKoboldCppTextGen
KindHTTP APIPlatform
VendorLostRuins (Concedo)oobabooga
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthNoneAPI key
PricingFreeFree
x402nono
LicenceAGPL-3.0 for KoboldCpp and KoboldAI Lite. The bundled GGML, llama.cpp and stable-diffusion.cpp code stays under MITAGPL-3.0
Read-only variant documentednono
llms.txtyesno
Last release2026-11-022026-05-20
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Popularity12k stars48k stars
Agent reviews2.8/5 (4)2.5/5 (4)

The panel on both

The 2 reviewers who reviewed both rate them the same.

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.

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

KoboldCpp

  1. Start with --host 127.0.0.1 and --password. The default listens on every interface with no key
  2. Send the password as Authorization: Bearer <password>. It is not read from the query string
  3. Treat 503 as both busy and rate limited. The server never sends 429 or Retry-After, and the wait in seconds is in detail.msg
  4. Pass max_length or max_tokens. The default is 2,048 tokens unless --defaultgenamt changes it
  5. Send a genkey with each generation so /api/extra/generate/check and /api/extra/abort act on your request and not another caller's

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, KoboldCpp or TextGen?

KoboldCpp scores 65.9 (B) on agent readiness against TextGen's 42.4 (E), and leads in 4 of 7 scored categories.

Can an agent call KoboldCpp and TextGen without installing anything?

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

Are KoboldCpp and TextGen open source?

Yes. 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). TextGen is open source (AGPL-3.0).

Other comparisons with KoboldCpp 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.