AI GLOSSARY · LOCAL AND OPEN MODELS
TensorRT
Definition
TensorRT is NVIDIA's software development kit for optimising deep learning inference on NVIDIA GPUs. It takes a trained model and compiles it into an optimised engine for one deployment setup. TensorRT-LLM is a related open-source library for large language models.
Also called: NVIDIA TensorRT.
In plain language
TensorRT is a tool from NVIDIA that prepares an already-trained AI model to run on NVIDIA graphics chips. Training teaches a model; running it afterwards is called inference. TensorRT takes the finished model and rebuilds it so it matches the chip and the settings you plan to use, a bit like tailoring a suit to one person. The result is tied to that setup, so a build for one GPU or configuration is not a drop-in file for another. It works with NVIDIA hardware, so it is not an option on other makers' chips, and the engineering time to set it up is a cost in itself. A related library, TensorRT-LLM, is aimed at large language models.
Technical definition
NVIDIA's documentation describes TensorRT as an SDK for optimising deep learning inference on NVIDIA GPUs. It takes trained models from frameworks such as PyTorch and from the ONNX format and compiles them into optimised engines tailored to a specific deployment configuration, with support for dynamic input shapes, per the docs index. NVIDIA's developer page presents TensorRT as an ecosystem that includes the TensorRT SDK, TensorRT LLM, NVIDIA Model Optimizer and TensorRT for RTX. It describes TensorRT-LLM as an open-source library for large language model inference on NVIDIA's platform with a Python API. Its documentation lists quantization and speculative decoding among its features, and trtllm-serve among its tools.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
local-model-sizing 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A check on whether an open-weight language model will run on a given GPU, Mac or PC, with a script that computes weight, KV-cache and overhead memory per quantisation.
- Why it exercises the concept
- Adjacent. Before you invest in an inference engine, you need to know the model fits your hardware at all. This skill answers that. It does not build TensorRT engines.
Guide · Illustrative, not executed
Self-Hosting an AI Agent: What You Take On
- What you see
- What you own when an AI agent runs on your machine: model memory, network exposure, file access and vetting skills, as a checklist with decision points.
- Why it exercises the concept
- Adjacent. Running your own inference stack makes you responsible for the hardware side. This guide lists what self-hosting adds. It is about agents, not about TensorRT.
Skill by Skill Almanac · Illustrative, not executed
llm-cost-estimator 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A usage profile and your own price table turned into a monthly LLM cost range with cache, batch and subscription effects.
- Why it exercises the concept
- Adjacent. Self-run inference is one way to change what a model costs to serve. This estimator works from your own price table and does not model TensorRT.
How it shows up when you use agents
TensorRT sits below your coding agent, on the machine that serves a model. If you use Claude Code or Codex against a hosted model, you do not touch it. You meet it when you run a model yourself on NVIDIA hardware and want to optimise inference: the build step turns a trained model, often exported as ONNX, into an engine for your chosen GPU and settings.
Hugging Face's Optimum page lists an integration for NVIDIA TensorRT-LLM, and NVIDIA's own documentation lists quantization and speculative decoding among TensorRT-LLM features. These are separate choices that you make and test, not automatic gains. See quantization.
What breaks when it is misunderstood: people expect a portable file. NVIDIA's documentation says engines are tailored to a specific deployment configuration, so changing the deployment configuration can mean rebuilding, in the docs' words. A second error is assuming it applies everywhere. It targets NVIDIA hardware, as the developer page lists, so it does not help on other chips.
Next actions: confirm the model fits your GPU first (see GPU for AI), measure your own workload before and after, and keep the original model so you can compare outputs. The catalogue has no TensorRT skill, so the examples are adjacent checks on sizing and cost.
Common confusions
- TensorRT versus TensorRT-LLM. NVIDIA's page presents TensorRT-LLM as one member of the TensorRT ecosystem, an open-source library for large language models. The SDK is the general tool for deep learning models.
- TensorRT versus CUDA. CUDA is NVIDIA's platform for programming its GPUs. TensorRT is an SDK for optimising inference on those GPUs.
- Training versus inference. TensorRT is for running a trained model. It does not train one.
- TensorRT versus TensorRT for RTX. NVIDIA lists TensorRT for RTX as a separate member aimed at GeForce RTX and RTX Pro GPUs in laptops and desktops.
Related terms
Terms that mention TensorRT
2 terms mention this one
More in Local and open models
Sources
- TensorRT SDK, NVIDIA Developer (accessed 2026-11-24)
- NVIDIA TensorRT Documentation, NVIDIA (accessed 2026-11-24)
- Welcome to TensorRT LLM's Documentation, NVIDIA (TensorRT-LLM documentation) (accessed 2026-11-24)
- Optimum, Hugging Face (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .
This entry is still in review, so it is not listed in search engines yet.
Change log (2)
- : First version.
- : Verifier pass: applied verifier corrections to unsupported or overstated claims.