TextGen (text-generation-webui)

Local LLM app (formerly text-generation-webui) with a browser UI, OpenAI/Anthropic-compatible API and LoRA training.

Active Local model runtimes AGPL-3.0

Quick answer

TextGen (text-generation-webui) is a local LLM app (formerly text-generation-webui) with a browser UI, OpenAI/Anthropic-compatible API and LoRA training, listed under Local model runtimes. A typical small-business use: try and compare open models on an office GPU box through a browser UI before standardizing on one. The project publishes no official RAM figure, so we do not estimate a monthly server cost. License: AGPL-3.0, which allows internal business use.

Last updated · facts verified against official docs on · sources

GitHub stars47.7k
Forks6.0k
Latest releasev4.9May 20, 2026
Last commitAug 17, 2026
Est. server cost—

Activity data comes from GitHub and was last refreshed Oct 30, 2026.

What is TextGen (text-generation-webui)?

TextGen, long known as oobabooga's text-generation-webui, runs open models on your own hardware through llama.cpp (GGUF), ExLlamaV3 or Transformers. It offers a chat and notebook UI with file attachments, vision and tool calling, an OpenAI- and Anthropic-compatible API, and a training tab for fine-tuning LoRAs. Portable builds run as a desktop app; the Docker setup serves the web UI for a team on port 7860.

Where it fits in a 10–200 person business

  • Try and compare open models on an office GPU box through a browser UI before standardizing on one
  • Local OpenAI-compatible endpoint for internal scripts and tools, with no data leaving the network
  • Fine-tune a small LoRA on your own documents or chat transcripts

These use cases are our editorial suggestions, not claims made by the project.

Can a business use TextGen (text-generation-webui)? (license)

LicenseAGPL-3.0
TypeNetwork copyleft (AGPL): Like GPL, and also applies when users access a modified version over a network.
Internal business useAllowed under the license text
What to watchFree for internal and commercial use. If you modify TextGen and let users interact with it over a network, you must offer them the modified source under AGPL-3.0. Models have their own licenses.

This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.

Data & compliance: does TextGen (text-generation-webui) phone home?

Telemetry (usage data sent to the vendor) None (documented)

The README states "100% offline and private, with zero telemetry, external resources, or remote update requests."

Source: github.com/oobabooga/textgen#readme

Other calls home by default (updates, marketplaces, default cloud services) No (documented)

The README says it makes no remote update requests and loads no external resources. Optional tools such as web search and --share/--public-api tunnels reach the internet only when you use them.

Source: github.com/oobabooga/textgen#readme

Single sign-on (OIDC / SAML / LDAP) Not documented

Only Gradio username/password auth (--gradio-auth) and API keys are documented.

Source: github.com/oobabooga/textgen#readme

Audit log Not documented
Role-based access control (RBAC) Not documented
Data residency / GDPR notes from the project Not documented

Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.

What hardware does TextGen (text-generation-webui) need?

The project does not publish a minimum CPU/RAM figure, so we leave the official value blank rather than guess.

GPU: Optional. Docker variants exist for NVIDIA, AMD, Intel Arc (beta) and CPU-only inference; portable builds come in CUDA, Vulkan, ROCm and CPU-only versions.

No official RAM, CPU or disk minimum is published; memory use depends on the model and quantization you load (the project links a GGUF memory calculator).

Source: github.com/oobabooga/textgen/wiki/09-%E2%80%90-Docker

How much does it cost to host TextGen (text-generation-webui) per month?

The project publishes no RAM figure we could verify, so we do not estimate a cost.

How to deploy TextGen (text-generation-webui)

Method: Docker Compose (built locally from the repo)

git clone https://github.com/oobabooga/textgen && cd textgen
# CPU only; for NVIDIA use docker/nvidia, AMD docker/amd, Intel docker/intel
ln -s docker/{cpu/Dockerfile,cpu/docker-compose.yml,.dockerignore} .
cp docker/.env.example .env
mkdir -p user_data/logs user_data/cache
# Edit .env (APP_RUNTIME_GID, TORCH_CUDA_ARCH_LIST) and user_data/CMD_FLAGS.txt (e.g. --listen --cpu)
docker compose up --build
# Web UI on http://localhost:7860

From the official instructions: github.com/oobabooga/textgen#docker. Always check the source for the current version before you run it.

Known gotchas when self-hosting TextGen (text-generation-webui)

  • The --listen flag makes the web UI reachable from your network, and --share or --public-api create public URLs. Set --gradio-auth for the UI and --api-key for the API before exposing either. source
  • There is no pre-built official image; Docker Compose builds the image locally and needs Docker Compose v2.17 or higher (NVIDIA also needs the NVIDIA Container Toolkit). source
  • Without a user_data/ directory next to the compose file, models, characters and settings are lost when the container is rebuilt. source
  • ExLlamaV3/Transformers loaders, training, image generation and extensions need the full installation; the portable build only runs GGUF models. source

Alternatives in Local model runtimes

TextGen (text-generation-webui) FAQ

How much RAM does TextGen (text-generation-webui) need?

TextGen (text-generation-webui) does not publish an official RAM figure, so we do not state one.

Does TextGen (text-generation-webui) need a GPU?

Optional. Docker variants exist for NVIDIA, AMD, Intel Arc (beta) and CPU-only inference; portable builds come in CUDA, Vulkan, ROCm and CPU-only versions.

How much does it cost to self-host TextGen (text-generation-webui)?

The software is free to download. The project publishes no official RAM figure, so we do not estimate a monthly server cost.

Is TextGen (text-generation-webui) free for commercial use?

TextGen (text-generation-webui) is licensed under AGPL-3.0 (Network copyleft (AGPL)). Internal business use is allowed under the license text. Free for internal and commercial use. If you modify TextGen and let users interact with it over a network, you must offer them the modified source under AGPL-3.0. Models have their own licenses. This is a summary, not legal advice.

What are common problems when self-hosting TextGen (text-generation-webui)?

The --listen flag makes the web UI reachable from your network, and --share or --public-api create public URLs. Set --gradio-auth for the UI and --api-key for the API before exposing either. There is no pre-built official image; Docker Compose builds the image locally and needs Docker Compose v2.17 or higher (NVIDIA also needs the NVIDIA Container Toolkit). Without a user_data/ directory next to the compose file, models, characters and settings are lost when the container is rebuilt. ExLlamaV3/Transformers loaders, training, image generation and extensions need the full installation; the portable build only runs GGUF models.

Is TextGen (text-generation-webui) still maintained?

Yes, it is actively developed. Last commit: Aug 17, 2026. Latest release: v4.9 (May 20, 2026). Checked Oct 30, 2026.

How do I install TextGen (text-generation-webui)?

The official method is Docker Compose (built locally from the repo). The exact commands are in the "How to deploy" section above and in the official instructions: https://github.com/oobabooga/textgen#docker

What are self-hosted alternatives to TextGen (text-generation-webui)?

Other apps in Local model runtimes: Ollama, llama.cpp, vLLM, LocalAI, Xinference, GPUStack.

Sources

Facts on this page were checked against the project's own repository and docs on 2026-10-30. Spotted something out of date? Tell us.