# Text Generation Inference

> Large Language Model Text Generation Inference

Source: https://talira.ai/catalog/text-generation-inference-90p735v6
Every listing: https://talira.ai/catalog.md

Status: Text Generation Inference's makers archived or ended it in 2026. In maintenance mode since 11 Dec 2025 (README); the GitHub repository is now archived. Hugging Face recommends vLLM and SGLang. Source: https://github.com/huggingface/text-generation-inference

- Kind: Open source
- Types: Infrastructure, API, Command-line tool
- Categories: [ai / inference / servers](https://talira.ai/categories/ai/inference/servers), [ai / inference / engines](https://talira.ai/categories/ai/inference/engines)
- Platforms: linux, docker[^1]
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^1]
- API: yes[^1]
- Backed by: [Hugging Face](https://talira.ai/orgs/hugging-face.md)

Text Generation Inference (TGI) is Hugging Face's Rust, Python and gRPC server for deploying open large language models, used in production at Hugging Face for Hugging Chat, the Inference API and Inference Endpoints. A launcher serves a model from the Hugging Face Hub with continuous batching, token streaming over Server-Sent Events, tensor parallelism across GPUs, Flash Attention and Paged Attention, quantization (bitsandbytes, GPTQ, AWQ, Marlin, FP8) and an OpenAI-compatible Messages API, with OpenTelemetry tracing and [Prometheus](https://talira.ai/catalog/prometheus-198e2rss.md) metrics. In December 2025 Hugging Face put TGI in maintenance mode and recommended [vLLM](https://talira.ai/catalog/vllm-f1czevpj.md) and [SGLang](https://talira.ai/catalog/sglang-wv3z63s3.md) (or [llama.cpp](https://talira.ai/catalog/llama-cpp-g0rydd64.md) and MLX locally) instead, and the [GitHub](https://talira.ai/catalog/github-ppcgj756.md) repository has since been archived. It's Apache-2.0 licensed.

## Links

- Website: https://huggingface.co/docs/text-generation-inference
- GitHub: https://github.com/huggingface/text-generation-inference
- Docs: https://huggingface.co/docs/text-generation-inference

## Problems it solves

- serve a Hugging Face Hub model behind an HTTP API with token streaming on my own GPUs
- continuous batching for a self-hosted LLM so concurrent requests share the GPU
- an OpenAI-compatible chat completions endpoint for an open model in a Docker container
- shard one LLM across several GPUs with tensor parallelism on a single server
- Prometheus metrics and OpenTelemetry traces from our LLM inference server
- our TGI deployment is in maintenance mode and we need to know what to move to

## Features

- launcher that serves popular open LLMs from the Hugging Face Hub
- continuous batching of incoming requests
- token streaming with Server-Sent Events
- tensor parallelism across GPUs
- Flash Attention and Paged Attention
- quantization: bitsandbytes, GPT-Q, EETQ, AWQ, Marlin and FP8
- Messages API compatible with OpenAI's Chat Completions
- Safetensors weight loading
- OpenTelemetry distributed tracing and Prometheus metrics
- official Docker images

## Limitations

- Doesn't get new features: Hugging Face put TGI in maintenance mode in December 2025 and recommends vLLM or SGLang[^1]

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.08 out of 1.
Signals: maintenance 0.00, backing 0.30, extensibility 0.20.

- backed by Hugging Face

Warnings:

- archived by its makers since 2026
- GitHub activity not fetched yet

## Alternatives

- [vLLM](https://talira.ai/catalog/vllm-f1czevpj.md): A high-throughput and memory-efficient inference and serving engine for LLMs
- [SGLang](https://talira.ai/catalog/sglang-wv3z63s3.md): Fast inference for LLMs and multimodal models
- [llama.cpp](https://talira.ai/catalog/llama-cpp-g0rydd64.md): LLM inference in C/C++
- [NVIDIA Dynamo-Triton](https://talira.ai/catalog/nvidia-dynamo-triton-fng441hm.md): Open source inference serving software that deploys AI models from any major framework
- [Ray Serve](https://talira.ai/catalog/ray-serve-aegjvek5.md): Scalable model serving library for building online inference APIs
- [TensorRT-LLM](https://talira.ai/catalog/tensorrt-llm-343p07g7.md): Optimized LLM and visual generation inference on NVIDIA GPUs

## Sources

[^1]: https://github.com/huggingface/text-generation-inference (checked 20 Nov 2026)
[^2]: https://github.com/huggingface/text-generation-inference/blob/main/LICENSE (checked 20 Nov 2026)
