TensorRT-LLM is NVIDIA’s open-source library for large language model inference, with more than 14,900 stars on GitHub, providing an easy-to-use Python API to define LLMs and run them with state-of-the-art optimizations on NVIDIA GPUs.
Serving large language models in production is a performance problem: naive inference wastes GPU memory and leaves throughput on the table. TensorRT-LLM attacks that problem with the TensorRT compiler stack, wrapping optimized kernels, quantization, in-flight batching, and distributed execution behind a Python API that feels familiar to anyone who has defined a model in PyTorch. It contains components to build both Python and C++ runtimes that orchestrate inference execution in a performant way, and it supports today’s demanding workloads — mixture-of-experts models, long contexts, and the latest Blackwell-generation GPUs alongside earlier architectures. Model definitions cover the major open model families, and serving features such as speculative decoding and KV-cache management are built in rather than bolted on. Maintained directly by NVIDIA with contributions from across the ecosystem, the repository is updated continuously and is one of the reference stacks for high-performance LLM serving on NVIDIA hardware.
TensorRT-LLM is free and open source from NVIDIA. You download it, run it on your own NVIDIA GPUs or cloud instances, and pay only for the hardware — there is no license fee or per-token charge for the library itself.
ML platform engineers and infrastructure teams serving open-weight language models on NVIDIA GPUs who need maximum throughput and minimum latency, and researchers benchmarking optimized inference.