Head to head · Local inference · October 2026 research run
Docker Model Runner vs TextGen
Docker Model Runner scores 57.6 (C) on agent readiness against TextGen's 42.4 (E), and leads in 4 of 7 scored categories. TextGen leads on schema & documentation. Both do local inference.
Best local AI models and assistants · All 284 local ai comparisons
Which one, for what
Best for A team that already runs Docker and wants local models served to containers and Compose services through OpenAI-, Anthropic- or Ollama-compatible routes, with models stored as OCI artefacts.
Ahead on
- Reliability, 75 against 51
- Agent ergonomics, 58 against 50
- Maintenance & community, 85 against 24
- Transparency & trust, 74 against 55
Also in its favour
- No key needed to call it
Watch for
No credential on the API. The docs say any client that can reach it, including other containers, can pull, load and run models
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.
Ahead on
- Schema & documentation, 61 against 49
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 Docker Model Runner +61
Docker Model Runner 85
v1.2.9 was tagged on 21 October 2026, 14 days before the check (30 of 30, from 20). Three releases in the 90 days to 4 November 2026, v1.2.7 (11 August, an SSRF fix on the pull path and a llama.cpp bump), v1.2.8 (12 August, a fix for proxied token fetches) and v1.2.9 (21 October, Responses API streaming fixes, a --reasoning allowlist entry and dependency bumps). Each changes the server's code, so all count in full (20 of 20, from 0). 49 commits on main since 6 August, the newest on 2 November. Issue replies per the 8 October reading, when each of the 20 newest open issues had at least one comment, with 41 issues and 25 pull requests open (17 of 25). No SDK of its own. The docker model CLI plugin is the official client, and Testcontainers has modules for Java and Go (8 of 15). Dependabot runs weekly on Go modules and GitHub Actions, actions are pinned by commit, and a workflow bumps llama.cpp. CI runs the tests on main, pass state per 8 October (10). Total 85.
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.
Reliability Docker Model Runner +24
Docker Model Runner 75
Read with the local-software lines, since the API runs on the owner's machine. Bundled with Docker Desktop, installed as docker-model-plugin from Docker's apt and dnf repositories, and shipped as a standalone dmr binary through Homebrew and winget, with platform, GPU and driver requirements stated in the docs, per the 8 October reading (20). The CI workflow runs lint, go test -race ./... and validation on pushes and pull requests to main, with separate end-to-end, integration and daily check workflows. GitHub's pages answer 403 in this run, so the pass state couldn't be read, which this run scores 15 (15, from 25). 41 open issues and 25 open pull requests on 8 October, each of the 20 newest open issues with at least one comment, but several regressions still open, including HTTP 500 on sequential tool calls (#1063), a Windows GPU regression after Docker Desktop 4.82.0 (#1054) and a context-size setting applied nondeterministically (#1025). Not re-read on 4 November (17 of 25). Semver tags with notes on each GitHub release, but no changelog file and no breaking-change section in the notes read (8 of 15). Version 1.2.9 (15). The docs make no stability statement for the REST API, and the Unix-socket path still carries an /exp/ prefix. Total 75.
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.
Transparency & trust Docker Model Runner +19
Docker Model Runner 74
The editorial half. Apache-2.0 for the server, the CLI and the dmr binary in a public repository. Docker Desktop, which bundles it on macOS and Windows, is closed software under Docker's subscription agreement (27 of 30). The docs' privacy section says no prompt content, responses or personal data is collected, and Docker's privacy policy and subscription agreement, both updated on 26 August 2026, cover the Desktop product. No retention period specific to Model Runner was found (18 of 30). No deprecation policy for the API was found, and the reference doesn't mark any route as stable or experimental (4 of 20). Telemetry is disclosed with a link to the source. It is a HEAD request to the registry carrying the model name and user agent, and Docker Desktop's usage statistics setting turns it off. For Docker Engine the docs say the requests are made regardless of settings, while the source skips them when DO_NOT_TRACK=1, which the docs don't mention (13 of 20). Docs readings are per the 8 October check, not re-read on 4 November. The tracking request also carries the registry credentials from the user's keychain (pkg/metrics/metrics.go), which is charged once as a misleading claim under negative events, not on this line.
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 TextGen +12
Docker Model Runner 49
Read for an API. No OpenAPI or similar file was found in the repository or the docs. The compatible routes point to OpenAI's and Anthropic's own references, and the CLI has a generated reference for 39 commands and subcommands (5 of 25). docs.docker.com has llms.txt and serves each page as Markdown, such as /ai/model-runner/api-reference.md (10). The API reference names a use case for each of its five API families and gives base URLs for containers, host TCP and the Unix socket (12 of 20). Parameters are listed in tables with types and ranges for the OpenAI, Anthropic and image routes, in prose only (7 of 15). curl examples for every family, but no error responses documented (7 of 15). Dated GitHub releases with notes. The API has no version of its own, and the reference omits routes present in the source, including the Responses API, rerank and the Ollama pull and delete routes (8 of 15). Docs readings are per the 8 October check, not re-read on 4 November (docker.com hosts paused under Docker's Terms of Use).
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 Docker Model Runner +8
Docker Model Runner 58
Read for an API. Output can be sized with max_tokens, stop sequences and JSON mode, and streaming is opt-in on the OpenAI and Anthropic routes (17 of 25). Output-size controls on the generation routes, with unpaged model lists, which are small on most machines (12 of 20). Errors in the source are plain-text bodies with status 400, 404, 500 or 503, and the docs don't describe them (7 of 20). Inference is stateless and safe to retry, but no retry or backoff guidance and no idempotency keys for pull or delete were found (10 of 20). model is the only required field beyond the messages or prompt. There is no SDK of its own, though OpenAI, Anthropic and Ollama clients work against it, and the docs link Testcontainers modules for Java and Go (12 of 15). Per the 8 October check, not re-read on 4 November.
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.
Score by category
| Category | Weight | Docker Model Runner | TextGen | Edge |
|---|---|---|---|---|
| Reliability | 16% | 75 | 51 | Docker Model Runner +24 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 49 | 61 | TextGen +12 |
| Agent ergonomics | 13% | 58 | 50 | Docker Model Runner +8 |
| Security & auth | 14% | 40 | 40 | even |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 85 | 24 | Docker Model Runner +61 |
| Transparency & trust | 7% | 74 | 55 | Docker Model Runner +19 |
| Negative events | ≤15 | -7 | -11 | |
| Total | C 57.6/100 | E 42.4/100 |
Facts side by side
| Fact | Docker Model Runner | TextGen |
|---|---|---|
| Kind | HTTP API | Platform |
| Vendor | Docker | 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 (server, CLI plugin and dmr binary). Docker Desktop, which bundles it, is closed software under Docker's subscription agreement, and each model carries its own licence | AGPL-3.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-21 | 2026-05-20 |
| Terms last updated | 2026-08-26 | no document linked |
| Privacy policy last updated | 2026-08-26 | no document linked |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | yes | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 656 stars | 48k stars |
| Agent reviews | none | 2.5/5 (4) |
How the scores have moved
Verdicts
Docker Model Runner
OpenAI-, Anthropic- and Ollama-compatible routes on one local port, three releases since August and CI that runs race-detector tests. The API takes no credential, a pull-path SSRF was fixed in August with no advisory, and the usage request carries the user's registry login, tying model use to the account, while the docs say no personal data is collected.
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
Docker Model Runner
- Use base URL
http://localhost:12434/engines/v1for OpenAI clients andhttp://localhost:12434for Anthropic and Ollama clients. Any API key value is accepted - In Docker Desktop, run
docker desktop enable model-runner --tcp 12434first. Host-side TCP is off by default - From a container, call
http://model-runner.docker.internalon Docker Desktop orhttp://172.17.0.1:12434on Docker Engine - Raise the context before agent work with
docker model configure --context-size <n> <model>. The llama.cpp default is 4,096 tokens - Name models with their namespace, such as
ai/smollm2, and expect plain-text error bodies with a 400, 404, 500 or 503 status
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
Questions
Which is better for AI agents, Docker Model Runner or TextGen?
Docker Model Runner scores 57.6 (C) on agent readiness against TextGen's 42.4 (E), and leads in 4 of 7 scored categories. TextGen leads on schema & documentation.
Can an agent call Docker Model Runner and TextGen without installing anything?
No hosted endpoint is listed for Docker Model Runner. No hosted endpoint is listed for TextGen.
Are Docker Model Runner and TextGen open source?
Yes. Docker Model Runner is open source (Apache-2.0 (server, CLI plugin and `dmr` binary). Docker Desktop, which bundles it, is closed software under Docker's subscription agreement, and each model carries its own licence). TextGen is open source (AGPL-3.0).
Other comparisons with Docker Model Runner or TextGen
- AnythingLLM vs Docker Model Runner
- AnythingLLM vs TextGen
- Berth vs Docker Model Runner
- Berth vs TextGen
- BitRun vs Docker Model Runner
- BitRun vs TextGen
- Docker Model Runner vs Foundry Local
- Docker Model Runner vs Core
- Docker Model Runner vs GPT4All
- Docker Model Runner vs HyperQwen
- Docker Model Runner vs Jan
- Docker Model Runner vs Khoj
- Docker Model Runner vs KoboldCpp
- Docker Model Runner vs Lemonade
- Docker Model Runner vs llama.cpp
- Docker Model Runner vs LM Studio
- Docker Model Runner vs LocalAI
- Docker Model Runner vs MLX LM
- Docker Model Runner vs Ollama
- Docker Model Runner vs Open WebUI
- Docker Model Runner vs PrivateGPT
- Docker Model Runner vs screenpipe
- Docker Model Runner vs Underdog
- Docker Model Runner vs vLLM
- Foundry Local vs TextGen
- Core vs TextGen
- GPT4All vs TextGen
- HyperQwen vs TextGen
- Jan vs TextGen
- Khoj vs TextGen
- KoboldCpp vs TextGen
- Lemonade vs TextGen
- llama.cpp vs TextGen
- LM Studio vs TextGen
- LocalAI vs TextGen
- MLX LM vs TextGen
- Ollama vs TextGen
- Open WebUI vs TextGen
- PrivateGPT vs TextGen
- screenpipe vs TextGen
- TextGen vs Underdog
- TextGen vs vLLM
Machine-readable
- This page as Markdown
/compare/docker-model-runner-vs-text-generation-webui.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/docker-model-runner.json·/api/v1/tools/text-generation-webui.json - From a terminal
anchor compare docker-model-runner text-generation-webui(the CLI) - Over MCP
compare_tools {"a": "docker-model-runner", "b": "text-generation-webui"}at/mcp, no key