Lattice
Skip to content

TensorRT-LLM

runtimeSelf-hostedgithub.com

TensorRT-LLM is a self-hosted runtime in the Inference & Serving layer of the AI stack. NVIDIA-optimized inference with inflight batching and FP8.

By Facts verifiedmethod

Licence
Apache-2.0
Language
CUDA
Cost
free
Owned by
AI Infrastructure

Use TensorRT-LLM when

You are committed to NVIDIA hardware and need the last of the throughput.

Skip TensorRT-LLM when

Hardware portability matters, or you have no GPUs to tune against.

Turns weights into throughput. See every inference tool.

Badge this entry
Lattice badge: TensorRT-LLM verified 2026-09
[![TensorRT-LLM on Lattice: verified 2026-09](https://lattice.kunjshah.in/inference-serving/tensorrt-llm/badge.svg)](https://lattice.kunjshah.in/inference-serving/tensorrt-llm)

Rules of thumb

  • Benchmark at your concurrency, not at batch size one. A runtime that wins a single-stream demo can lose badly at fifty concurrent users.
  • Measure time to first token and tokens per second separately. Users feel the first; your GPU bill feels the second.
  • Self-host only when a hosted API fails a measured requirement: cost at volume, data residency or latency. Owning GPUs is an operations job, not a config flag.

Quick answers

Is TensorRT-LLM open source?
Yes. TensorRT-LLM is open source under the Apache-2.0 licence. It is free to use.
What are the alternatives to TensorRT-LLM?
The closest alternatives to TensorRT-LLM are vLLM and SGLang.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.

Reading on inference

Alternatives to TensorRT-LLM

Also in inference

  • vLLM
  • SGLang
  • llama.cpp
  • Ollama
  • Text Generation Inference
  • LM Studio
  • Triton Inference Server
  • llamafile
  • KoboldCpp
  • PowerInfer
  • Marlin