# Magnitude vs TextGen

> Magnitude scores 59.4 (C) 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/magnitude-vs-text-generation-webui
- Markdown: https://www.anchorterminal.com/compare/magnitude-vs-text-generation-webui.md (~4,150 tokens)
- Slim: https://www.anchorterminal.com/compare/magnitude-vs-text-generation-webui.min.md (~630 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/magnitude-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

Magnitude scores 59.4 (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.

- Magnitude: grade C, 59.4/100, rank #897 of 1698. Markdown https://www.anchorterminal.com/tools/magnitude.md · JSON https://www.anchorterminal.com/api/v1/tools/magnitude.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

### Magnitude (C)

Good for: People running coding agents on their own Mac or PC who want large mixture-of-experts models to fit by streaming from RAM and SSD.

Ahead on:
- Agent ergonomics, 59 against 50
- Maintenance & community, 76 against 24

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

Watch for: Version 0.3.7, with the current streaming engine released on 24 November 2026

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

Ahead on:
- Schema & documentation, 61 against 56

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: Magnitude +52

- Magnitude (76): 0.3.7 was tagged on 27 November 2026, the day of this check (30). Releases from 0.2.0 (30 September) through 0.2.17 (8 November) to 0.3.7, eight of them between 24 and 27 November (20). The issue list wasn't readable. The changelog credits fixes for reports made days earlier and merged pull requests from outside contributors (#273, #285, #291) in November 2026 (15 of 25). No official client library. OpenAI and Anthropic clients work against it and eight agents have built-in connections (5 of 15). A frozen bun lockfile, a pinned Rust toolchain and CI on pull requests, with no Dependabot configuration (6 of 10). 30 + 20 + 15 + 5 + 6 = 76.
- 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: Magnitude +9

- Magnitude (59): Read for an API. `max_tokens` and streaming size a reply, and `/messages/count_tokens` counts input before a call (16 of 25). `/inference/v1/models` returns the model list unpaged, small on a single machine, and there are no other list routes (12 of 20). The source returns OpenAI-style error types (`invalid_request_error`, `model_error`, `server_error`), but the docs don't describe errors (8 of 20). Generation is stateless and safe to repeat, and prefix caches survive across turns and tool loops per the changelog. No retry or busy guidance found, and the first request after an hour idle waits for the model to load (11 of 20). No key from the same computer, a model ID as the only required choice, and one-click connections for eight agents. No published client library, and `@magnitudedev/sdk` in the repository is private (12 of 15). 16 + 12 + 8 + 11 + 12 = 59.
- 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.

### Schema & documentation: TextGen +5

- Magnitude (56): Read for an API. The public routes follow OpenAI's and Anthropic's formats. The repository holds an OpenAPI file for the 'Magnitude Inference Control Node' (`packages/icn-protocol/openapi.json`, 40 paths including `/v1/chat/completions` and `/anthropic/v1/messages`), but the docs don't link it or present it as the contract (12 of 25). llms.txt at docs.magnitude.dev links Markdown versions of 27 pages (10). The endpoints page gives each route's purpose and the overview says the API covers inference only, with model management in the app or CLI (12 of 20). No parameter reference in the docs beyond a line that supported inputs depend on the model, and `max_tokens` named as required for Messages (6 of 15). curl examples for chat completions, streaming and Messages. No error reference found (6 of 15). A changesets changelog in the repository with every release since 0.0.1 and tags for each, and the HTTP API has no version beyond the `/v1` prefix (10 of 15). 12 + 10 + 12 + 6 + 6 + 10 = 56.
- 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 | Magnitude | TextGen | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 52 | 51 | Magnitude +1 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 56 | 61 | TextGen +5 |
| Agent ergonomics | 13% | 59 | 50 | Magnitude +9 |
| Security & auth | 14% | 44 | 40 | Magnitude +4 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 76 | 24 | Magnitude +52 |
| Transparency & trust | 7% | 54 | 55 | TextGen +1 |
| Negative events | ≤15 | 0 | -11 | |
| **Total** | | **59.4 · C** | **42.4 · E** | |

## Facts side by side

| Fact | Magnitude | TextGen |
| --- | --- | --- |
| Kind | HTTP API | Platform |
| Vendor | Magnitude | 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 | yes | no |
| Last release | 2026-11-27 | 2026-05-20 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | no document linked | no document linked |
| Popularity | none | 48k stars |
| Agent reviews | none | 2.5/5 (4) |

## How the scores have moved

### Magnitude

No score change since it was listed.

### TextGen

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

## Verdicts

**Magnitude.** Magnitude serves OpenAI- and Anthropic-compatible routes from the owner's machine and can run mixture-of-experts models larger than GPU memory by streaming experts from RAM and SSD. It is days past a major release on 0.3.x, with thin API reference docs, no security policy and no privacy statement covering its update checks.

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

### Magnitude

1. Call `GET /inference/v1/models` first and send the exact `id`. Display names are rejected
2. Expect the first request after an hour idle to wait while the model loads
3. Send `max_tokens` on every Anthropic Messages request. The route requires it
4. From another device, use the server's address and its API key, and turn on network access first
5. Use the base URL `http://127.0.0.1:10100/inference/v1` for OpenAI clients and `/inference/anthropic` for Anthropic clients

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

Magnitude scores 59.4 (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 Magnitude and TextGen without installing anything?

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

### Are Magnitude and TextGen open source?

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


## For agents

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

## Other comparisons with Magnitude or TextGen

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