Managed tools
Inference and serving
Text Generation Inference
Hugging Face's production inference server.
Overview
Text Generation Inference (TGI) is Hugging Face's toolkit for serving LLMs with tensor parallelism, quantisation and token streaming. It powers many production deployments.
Use cases
- Serve Hugging Face models with quantisation
- Stream tokens to latency-sensitive apps
- Run guided generation with JSON grammars
Getting started
- 1
Open Portal → Managed tools and choose Request deployment for Text Generation Inference
- 2
Tell us your preferred region and size; we provision the instance and email you its URL
- 3
Enter the Hugging Face model id and choose a quantisation option
- 4
Select GPU type and launch
- 5
Use the Messages API endpoint, which is OpenAI-compatible