LibreAI / Local LLM / Text Generation Webui
// local-llm · oobabooga/textgen

Text Generation Webui

Open-source desktop app for local LLMs. Text, vision, tool-calling, OpenAI/Anthropic-compatible API. 100% private

★ 47.7k stars⑂ 6.0k forksAGPL-3.0updated 2026-08
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

Text Generation Webui is an open-source local llm project by oobabooga (oobabooga/textgen on GitHub). It has 47,725 GitHub stars and 5,987 forks, is released under the AGPL-3.0 license, and was last updated on GitHub on 17 August 2026.

GitHub stars
47,725
Forks
5,987
License
AGPL-3.0
Last updated on GitHub
17 August 2026
Category
Local LLM
Listing
Full install guide
Official site
Read the docs
// how it works

How it works

  1. Install the runtime

    One-command installers exist for every major OS; servers and engines use Docker or simple binaries.

  2. Download a model

    Pull from a built-in library or point at any GGUF/compatible weights you already have.

  3. Chat or call the API

    Use the bundled chat UI, or point your apps and coding agents at the local OpenAI-style endpoint.

  4. Tune for your hardware

    Pick model sizes that fit your RAM/VRAM; quantization options trade a little quality for a lot of speed.

// features

Why people love it

Total privacy

Prompts never leave your machine — no accounts, no logging, no training on your data.

Works offline

Once weights are downloaded, everything runs with the network cable unplugged.

OpenAI-style APIs

Local endpoints your existing tools and code can call with minimal changes.

Huge model choice

Llama, Qwen, Gemma, DeepSeek, Mistral and more, in sizes from phone-friendly to workstation-class.

Agent integrations

Coding assistants and automation tools plug straight into the local server.

Quantization support

Run bigger models on smaller hardware via GGUF and friends.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/oobabooga/textgen.git
    cd textgen
  2. Step 2 — Create an environment

    Isolate dependencies so nothing clashes with your other projects.

    python -m venv .venv
    source .venv/bin/activate  # Windows: .venv\Scripts\activate
  3. Step 3 — Install and launch

    Install the requirements, then follow the README's launch command (it varies per project).

    pip install -r requirements.txt
// use cases

What you can build

Advertisement
// faq

Questions, answered

How much RAM do I need?

Roughly the model size in GB plus headroom — 8B models fit comfortably on 16GB machines with quantization.

Local or cloud — which is better?

Local wins on privacy and cost; cloud wins on raw frontier quality. Many people use both.

Who maintains Text Generation Webui?

It is an open-source project at oobabooga/textgen with 5,987 forks. Check the repo's contributors and recent commits to see how active maintenance is.

Which model should I start with?

A recent mid-size open model in the library's recommendations — start small and scale up.

Can my apps use it?

Yes — the local API plus client libraries make it a popular backend for indie apps.

Does it run on Apple Silicon?

Yes — several of these are optimized for it, and unified memory helps a lot.

// keep exploring

Similar tools

Local LLM

llama.cpp

LLM inference in C/C++

★ 130.2k starsMIT
View guide →
Local LLM

vLLM

A high-throughput and memory-efficient inference and serving engine for LLMs

★ 93.1k starsApache-2.0
View guide →
Local LLM

Web LLM

High-performance In-browser LLM Inference Engine

★ 19.2k starsApache-2.0
View guide →
Local LLM

GPT4All

GPT4All — run local LLMs on any device: a free desktop chat client and Python SDK that run open models entirely on your CPU, no GPU or cloud required

★ 77.4k starsMIT
View guide →
Local LLM

shimmy

⚡ Pure-Rust WebGPU inference engine — OpenAI-API compatible, GGUF native, runs on any GPU. No Python. No llama.cpp. Single binary.

★ 5.9k starsApache-2.0
View guide →
Local LLM

Open Webui

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

★ 153.9k starsCustom (check repo)
View guide →
// alternatives

Alternatives in Local LLM

The most-starred other Local LLM projects in the LibreAI catalogue — the realistic shortlist if Text Generation Webui is not the right fit.

Get Text Generation Webui

Free and open — grab the source, star the repo, and start creating.