TensorRT-LLM
A self-hosted LLM inference library runs on NVIDIA GPUs, with OpenAI-compatible serving, a Python API and support for deployments across machines.

TensorRT-LLM is an inference library for developers serving LLMs on their own NVIDIA GPUs. It supports application-level inference and server deployments, with performance optimizations for workloads spread across one or several machines.
- API serving: Serve models to OpenAI-compatible clients or use the Python LLM API within applications, with support for multimodal requests and embeddings.
- Inference optimization: Quantization, in-flight batching, cache reuse and speculative decoding help reduce memory use or improve throughput, depending on the model and hardware.
- Distributed workloads: Run across multiple GPUs or machines, including deployments that separate prompt processing from token generation; integrations include NVIDIA Dynamo and Triton Inference Server.
- Adapted models and structured output: LoRA support handles model adaptations, while guided decoding supports output constrained by JSON schemas.
The PyTorch-based architecture lets developers extend the runtime and customize models in Python. Supported models include DeepSeek-R1, Llama and GPT-OSS-120B. Benchmarking and evaluation tools help assess serving performance.
Inference runs on your hardware. Anonymous usage telemetry is enabled by default and can be disabled. It sends deployment and hardware metadata, but excludes prompts, generated outputs, model weights and local model paths.