text-generation-webui, now TextGen: what its loaders, samplers, LoRA training and OpenAI/Anthropic API add over Ollama and LM Studio, and its 2026 status.
text-generation-webui, renamed TextGen in April 2026, is still worth using if you want the most control over a local model: several loaders (llama.cpp, Transformers, ExLlamaV3, TensorRT-LLM), every common sampler, LoRA training and an OpenAI- and Anthropic-compatible API. It is a worse pick if you want an appliance. The last release, v4.9, shipped May 20, 2026, and the last commit was a README edit in August.
- v4.9, May 20, 2026
- UI 7860, API 5000
- AGPL-3.0
- ~48k / 810 (Nov 5, 2026)
Key takeaways
- The project is now called TextGen and lives at github.com/oobabooga/textgen; old text-generation-webui links redirect.
- The portable build is unzip-and-run but GGUF-only. Transformers, ExLlamaV3, TensorRT-LLM, LoRA training and extensions need the full install (about 10 GB, pulls PyTorch).
- Start it with --api and any OpenAI client works against http://127.0.0.1:5000/v1; a /v1/messages route also speaks the Anthropic format.
- Its edge over Ollama and LM Studio is control: switchable loaders, DRY, XTC, min-p, Mirostat and sampler order, plus per-model KV cache types.
- Release cadence slowed after May 2026 and 810 issues are open, so pin a working version before you update.
What is text-generation-webui and who is it for?
text-generation-webui is oobabooga’s open-source app for running local LLMs with a chat UI and an API, and since v4.5.2 (April 15, 2026) it is officially named TextGen, at github.com/oobabooga/textgen. Most people still search for the old name, and the old repository URL redirects. It is for developers who want to change things Ollama and LM Studio hide: which inference engine loads the model, how sampling works, what the KV cache is quantized to, and whether to train a LoRA on top.
The current README pitches it as “a desktop app for local LLMs. Open source, no telemetry” with text, vision, tool calling and web search (README). It is AGPL-3.0 licensed and sits at about 48,000 GitHub stars, against roughly 186,000 for Ollama and 158,000 for Open WebUI (shields.io counts, November 5, 2026). It also has chat modes for custom characters; that’s out of scope here.
Community shorthand matches the positioning. One Hacker News commenter called it unmatched “in terms of maximalism” and compared it to Blender or Photoshop for LLMs (HN). Another, in an older thread, put the trade plainly: Ollama “for easy mode (but less control) or text-generation-webui for more control” (HN).
Is text-generation-webui still maintained in 2026?
Yes, but slowly: the last tagged release is v4.9 from May 20, 2026, the last code commit (a llama.cpp bump) landed June 1, and the newest commit on main is a README update from August 17, 2026 (commits). The issue tracker shows 810 open issues.
The first half of 2026 was busy. The maintainer posted in r/Oobabooga in March after a long quiet stretch, announcing a forked Gradio that cut UI typing latency from about 40 ms to 8 ms per character and a switch to llama.cpp’s --fit for VRAM estimation (thread). Then came the rename (v4.5.2), a native Electron desktop window and tensor-parallel llama.cpp (v4.7.3, May 3), and MTP speculative decoding plus a live tokens/s readout (v4.9) (releases). The May 20 batch also restricted API CORS to localhost by default “to prevent drive-by API access”, a fix worth having if you run an older copy.
The pattern is bursts of work followed by quiet months. That is fine for a tool you pin, and a risk for a tool you auto-update.
How do you install text-generation-webui?
Use the portable build if your models are GGUF files, and the full install only if you need other loaders, training or extensions. The portable build is a zip for Linux, Windows or macOS with CUDA, Vulkan, ROCm or CPU variants: unzip, run textgen, and a window opens. Drop a .gguf file into user_data/models and the UI picks it up (README).
If you’d rather use the browser UI than the desktop window, the README’s venv route runs the same portable feature set on Python 3.9+:
git clone https://github.com/oobabooga/textgen
cd textgen
python -m venv venv && source venv/bin/activate
pip install -r requirements/portable/requirements.txt --upgrade
python server.py --portable --api --auto-launchThe full install uses the one-click scripts (start_linux.sh, start_windows.bat, start_macos.sh), which set up a Miniforge environment in installer_files/, ask for your GPU vendor and serve the UI at http://127.0.0.1:7860. The README warns it needs about 10 GB of disk and downloads PyTorch. Persistent flags go in user_data/CMD_FLAGS.txt; adding --model my-model.gguf there loads a model at startup.
For text generation webui docker setups, the repo ships Dockerfiles and compose files per GPU vendor (NVIDIA, AMD, Intel, CPU). You symlink the pair you need, copy docker/.env.example to .env, set TORCH_CUDA_ARCH_LIST and your group id, then docker compose up --build. It needs Compose v2.17 or newer. There is no official prebuilt image; the README points to a community-maintained Docker repository instead.
Which model loaders does it support?
Five, as of the current README: llama.cpp, ik_llama.cpp, Transformers, ExLlamaV3 and TensorRT-LLM, and you can switch loader and model without restarting. The --loader flag lists the valid values as Transformers, llama.cpp, ExLlamav3_HF, ExLlamav3 and TensorRT-LLM; it autodetects if you leave it out.
| Loader | Model format | Build | Use it for |
|---|---|---|---|
| llama.cpp | GGUF | Portable and full | CPU+GPU offload, Apple Silicon, most quants on Hugging Face |
| ik_llama.cpp | GGUF | Portable builds offered by the maintainer | Newer quant types from the ik_llama.cpp fork |
| ExLlamaV3 | EXL3 | Full only | Fast NVIDIA inference when the whole model fits in VRAM |
| Transformers | safetensors (FP16/BF16) | Full only | Unquantized models, LoRA training |
| TensorRT-LLM | TensorRT engines | Full only | NVIDIA serving experiments |
Two details matter in practice. ExLlamaV2 and EXL2 are gone from the list; the app now ships ExLlamaV3, which matters if you have an old EXL2 collection (our ExLlamaV2 vs llama.cpp comparison covers that trade-off). And KV cache types are per loader: fp16, q8_0 or q4_0 on llama.cpp, and q2 to q8 on ExLlamaV3 with separate key and value bits such as q4_q8.
Sampling is the other reason people stay. The CLI exposes temperature, top-p, top-k, min-p, top-n-sigma, typical-p, XTC, DRY, Mirostat, dynamic temperature and an explicit sampler priority. Ollama and LM Studio expose a subset. If you tune samplers for code output, this is where you can.
We build CandorNo GPU? Use a hosted model
Uncensored AI, right in your browser.
Candor runs open models with refusals removed, so it answers the questions other assistants deflect. New accounts get free credits, no card needed.
Try Candor freeHow do you use the text generation webui API from coding tools?
Start the server with --api, then point any OpenAI-compatible client at http://127.0.0.1:5000/v1. The API docs call it a drop-in replacement for both the OpenAI and Anthropic APIs, with Chat, Completions and Messages endpoints, and say it is “100% offline” and “doesn’t create any logs” (API docs).
./start_linux.sh --api --api-key "$TEXTGEN_KEY"
curl http://127.0.0.1:5000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TEXTGEN_KEY" \
-d '{"messages":[{"role":"user","content":"Write a Python fizzbuzz"}]}'What the server actually exposes, from the route definitions:
/v1/chat/completionswith streaming and tool calls, and/v1/completions/v1/messagesin the Anthropic format, authenticated with anx-api-keyheader/v1/models,/v1/embeddings(SentenceTransformers, marked alpha),/v1/images/generations- Internal routes to load and unload models and LoRAs, guarded by a separate
--admin-key
For editors and agents, set the base URL to http://127.0.0.1:5000/v1 and any placeholder key. The docs also note two limits that bite coding setups: parallel requests work out of the box on ExLlamaV3 but need --parallel N on llama.cpp, and tool calling is documented for model families such as Qwen, Mistral and GPT-OSS. The maintainer’s desktop-app announcement says the Anthropic endpoint works with Claude Code (r/LocalLLaMA); our guide to using a local LLM with Claude Code covers that wiring and its caveats.
--listen exposes the UI on your LAN and --public-api creates a Cloudflare tunnel. Don’t use either without --api-key.
How does text-generation-webui compare to Ollama, LM Studio and Open WebUI?
TextGen trades convenience for control: it is the only one of the four that bundles several inference engines, a full sampler set and LoRA training in one app. Ollama is an always-on model server, LM Studio a polished desktop app, and Open WebUI a front end that needs a backend.
| TextGen (text-generation-webui) | Ollama | LM Studio | Open WebUI | |
|---|---|---|---|---|
| What it is | UI + API + loaders | Model server + CLI | Desktop app + server | Web front end only |
| Loaders | llama.cpp, ik_llama.cpp, Transformers, ExLlamaV3, TensorRT-LLM | Built-in GGML-based engine, MLX on Mac | llama.cpp, MLX | None (uses Ollama or OpenAI-compatible APIs) |
| Default port | 7860 UI, 5000 API | 11434 | 1234 | 3000 (Docker) |
| API format | OpenAI + Anthropic | Native + OpenAI | OpenAI | Its own, fronting a backend |
| Sampler control | Full (DRY, XTC, Mirostat, order) | Common set | Common set | Passes through to backend |
| Training | LoRA (full install) | No | No | No |
| License | AGPL-3.0 | MIT | Proprietary app | Open WebUI license |
| Best for | Tinkering, odd formats, sampler work | Always-on server for tools | Easiest desktop start | Multi-user UI |
For the server-vs-desktop question in depth, see LM Studio vs Ollama; for a browser front end on top of Ollama, see Open WebUI with Ollama. The closest like-for-like text generation webui alternative is KoboldCpp, a single-binary llama.cpp app with its own API; our KoboldCpp vs Ollama page compares it.
On oobabooga vs ollama specifically, the community split is consistent. In an r/LocalLLM thread on Ollama’s reputation, commenters pointed to oobabooga’s textgen and KoboldCpp as “solid alternatives” for people who want more settings exposed, while defenders called Ollama “an appliance” whose strength is ease of use (thread).
What do developers report in practice?
Reports are positive on capability and mixed on maintenance and polish. The useful ones:
- Small GPUs work. A Hacker News user reported “great success” running Qwen3-8B as GGUF on an 8 GB RTX 2070 Super through it (HN, Aug 2025).
- It gets deployed, not just tinkered with. Another HN user said they run it locally with mostly ExLlama-quantized models and also deploy it for clients on Kubernetes with GPUs (HN, Dec 2024).
- Updates can break things. One long-time user said they copy a working install before every update because “several times updates have broken my working version” (HN, Mar 2024).
- API and UI can diverge. In the March 2026 maintainer thread, a user running Qwen 3.5 by swapping in newer llama.cpp binaries reported that the thinking toggle worked in the UI but the
enable_thinking: falseflag did nothing through the API (thread). - Desktop app gaps. Replies to the desktop-app announcement asked for saved per-model load settings (as KoboldCpp has), reuse of GGUF files from other apps without copying, and reported trouble copying text in the Electron window (thread). The same thread had users moving over from LM Studio over telemetry concerns.
The pattern: it does more than the alternatives, and you pay for that in occasional breakage after updates and in UI rough edges.
Should you use it?
Use it if you need what the others don’t do; skip it if you only need a server for your editor.
- Use TextGen if you want to compare loaders on one machine, tune samplers for code output, run EXL3 or unquantized Transformers models, train a LoRA, or want an Anthropic-format local endpoint without a proxy.
- Use Ollama or LM Studio if you want an always-on API that updates itself and rarely needs attention.
- Pin your version. Keep the portable zip or the git commit that works, and update deliberately.
FAQ
Is oobabooga the same as text-generation-webui?
Yes. oobabooga is the developer’s handle, text-generation-webui was the project name, and since v4.5.2 (April 2026) it is called TextGen. All three names refer to the same GitHub project.
Does text-generation-webui have an API?
Yes. Launch it with --api and it serves OpenAI-compatible endpoints at http://127.0.0.1:5000/v1 plus an Anthropic-format /v1/messages route. Add --api-key for authentication.
Is text-generation-webui safe?
The README says it makes no telemetry, external-resource or update requests, and the API docs say the API keeps no logs. It is still a network server: keep it on localhost, set --api-key before using --listen or --public-api, and run a build from May 20, 2026 or later, when API CORS was restricted to localhost by default.
What are text generation webui extensions?
Python plugins loaded with --extensions <name>. Built-ins include superboogav2 (RAG over PDF, DOCX and PPTX), Whisper speech input, Coqui and Silero TTS, and perplexity_colors, which colors each output token by its probability; a community directory lists more (extensions). They need the full install. Tool calling is separate: each tool is a single .py file, and MCP servers are supported.
Is text-generation-webui better than Ollama?
For control, yes: more loaders, more samplers and LoRA training. For a low-maintenance background server that coding tools talk to, Ollama is the simpler choice.
We build CandorSkip the setup
Want an uncensored model without hosting one?
Candor (candorai.dev) is an uncensored AI chat app that runs in your browser: it answers the questions mainstream assistants dodge, on health, money, law and work, without the lecture. New accounts get free credits, no card needed.
Facts from candorai.dev, checked Nov 10, 2026. Candor never changes how we rank or review models. Disclosure.
Sources (9)
- oobabooga/textgen README (formerly text-generation-webui), GitHub
- TextGen releases, GitHub (v4.5.2 rename notice, v4.7.3 desktop app, v4.9)
- OpenAI/Anthropic-compatible API, TextGen wiki
- API server routes, modules/api/script.py, TextGen source
- Commit history, main branch, TextGen
- Extensions, TextGen wiki
- Training tab, TextGen wiki
- Ollama README, GitHub
- Open WebUI README, GitHub
Written by Refusal Rate editors from papers, model cards, official docs and pricing pages. Anything we ran ourselves is labeled as our own test, with the hardware and settings. Our method.