{"slug": "vllm-vs-tensorrt-llm-which-should-you-deploy-on-nvidia-gpus", "title": "vLLM vs TensorRT-LLM: which should you deploy on NVIDIA GPUs?", "summary": "A Nodus analysis recommends deploying vLLM by default on NVIDIA GPUs and switching to TensorRT-LLM only when it measures faster on a user's own model, GPU and traffic by enough to turn off whole GPUs. Citing vLLM's September 2024 head-to-head and NVIDIA's performance tables, it notes results split by hardware and workload and that neither source predicts performance on a given workload. The piece also argues setup effort has narrowed, since both engines now launch OpenAI-compatible servers from containers and TensorRT-LLM's PyTorch backend no longer requires building an engine.", "body_md": "Deploy vLLM by default, and switch to TensorRT-LLM only when it measures faster on your own model, GPU and traffic, by enough to switch off whole GPUs. Nodus runs either engine's official container as a Job on an NVIDIA H100 listed at $2.60/hr on the Nodus pricing page, so you can benchmark both on the same hardware. Published head-to-heads show TensorRT-LLM ahead on some workloads and vLLM ahead on others, and the gap moves with every release.\n\nThat makes this a cost decision more than a speed contest. This post reads what both projects have published, turns a speedup into dollars per month, and gives the rule we use. We have not run our own vLLM vs TensorRT-LLM benchmark, so every speed figure here is quoted from its source with the hardware, model and date.\n\nSometimes, and by less than its reputation suggests. The most detailed head-to-head from either project is the [vLLM v0.6.0 performance post](https://blog.vllm.ai/2024/09/05/perf-update.html) from September 5, 2024. It tested vLLM v0.6.0 against TensorRT-LLM r24.07, SGLang v0.3.0 and LMDeploy on Llama 3 8B and 70B, on A100 and H100 GPUs.\n\nThe results split by hardware and workload. On one A100 with Llama 3 8B, TensorRT-LLM had the highest throughput of all engines, and vLLM came second on ShareGPT and decode-heavy data. On one H100 with the same model, vLLM had the highest throughput on ShareGPT and decode-heavy data, but lower throughput on prefill-heavy data. On Llama 3 70B across four H100s, vLLM led narrowly on ShareGPT and decode-heavy data and again trailed on prefill-heavy data.\n\nRead that post with its caveats in mind. The vLLM team ran it, tuned its own engine with multi-step scheduling, and compared against a TensorRT-LLM release that could not yet run Llama 3.1. Both engines have shipped many releases since.\n\nNVIDIA's side of the record is the [TensorRT-LLM performance overview](https://nvidia.github.io/TensorRT-LLM/performance/perf-overview.html). It publishes throughput for each model and GPU, but no vLLM column. NVIDIA calls the tables \"a reference point\" that should not be considered \"the peak performance.\" Neither source tells you which engine is faster on your workload, and only a test on your prompts can.\n\nBoth now start an OpenAI-compatible server with one command, so the gap in setup effort is smaller than older guides claim. The vLLM [Docker deployment page](https://docs.vllm.ai/en/latest/deployment/docker/) gives this command, copied exactly:\n\n```\ndocker run --runtime nvidia --gpus all \\\n    -v ~/.cache/huggingface:/root/.cache/huggingface \\\n    --env \"HF_TOKEN=$HF_TOKEN\" \\\n    -p 8000:8000 \\\n    --ipc=host \\\n    vllm/vllm-openai:latest \\\n    --model Qwen/Qwen3-0.6B\n```\n\nTensorRT-LLM ships as a release container on NVIDIA NGC. The [installation guide](https://nvidia.github.io/TensorRT-LLM/installation/installation-guide.html) starts it like this:\n\n```\ndocker run --rm -it --ipc host --gpus all --ulimit memlock=-1 --ulimit stack=67108864 -p 8000:8000 nvcr.io/nvidia/tensorrt-llm/release:1.4.0rc4\n```\n\nInside that container, the [quick start guide](https://nvidia.github.io/TensorRT-LLM/quick-start-guide.html) serves a model with `trtllm-serve`:\n\n```\ntrtllm-serve \"TinyLlama/TinyLlama-1.1B-Chat-v1.0\"\n```\n\nThe old pain point, compiling a TensorRT engine for every model and GPU, has mostly gone. Since v0.19, NVIDIA's benchmarks use the PyTorch backend. The performance overview says this workflow \"does not require an engine to be built.\" The project README now describes TensorRT-LLM as \"architected on PyTorch.\"\n\nThe remaining differences are breadth and pace. When we checked, the container tag in NVIDIA's install guide was a release candidate, 1.4.0rc4. vLLM's [documentation home](https://docs.vllm.ai/en/latest/) lists more than 200 supported model architectures and hardware well beyond NVIDIA. Once you serve several models, that matters more than install effort.\n\nLess than the percentage suggests, because you only save money when the speedup lets you run fewer GPUs. Here is the arithmetic for a fleet of NVIDIA H100s, each listed at $2.60/hr on the [Nodus pricing page](https://www.nodus-compute.ai/pricing/), running all month (730 hours).\n\nOne H100 costs 730 x $2.60 = $1,898.00 a month. Eight cost $15,184.00. If an engine is g percent faster on the same traffic, you need 1 / (1 + g) of the GPU time. The theoretical saving is the bill x g / (1 + g).\n\nFor eight H100s, that gives $1,380.36 a month at 10% faster, $2,530.67 at 20%, $3,504.00 at 30% and $5,061.33 at 50%. Those numbers assume you could run 7.27 GPUs. You cannot, so round up to whole GPUs:\n\n| Speedup | GPUs needed (8 / (1 + g), rounded up) | GPUs switched off | Saving per month | \n|---|---|---|---|\n| 10% | 8 | 0 | $0 | \n| 20% | 7 | 1 | $1,898 | \n| 30% | 7 | 1 | $1,898 | \n| 50% | 6 | 2 | $3,796 | \n\nPrices checked November 23, 2026, from the [Nodus pricing page](https://www.nodus-compute.ai/pricing/): H100 SXM $2.60/hr, H200 SXM $3.593/hr, L4 $0.430/hr, RTX 4090 $0.290/hr. The speedups are illustrative inputs, not measured results.\n\n*A 10% faster engine on eight H100s saves nothing until traffic grows; the money appears only when a whole GPU goes away.*\n\nOn a single H100 the theoretical saving at 20% is $316.33 a month, and the real saving is zero, because you still need one GPU. The speedup becomes headroom for future traffic instead. That headroom has value, but it is not a reason to rebuild your serving stack this week. Weigh the real saving against the engineering hours of switching engines, re-running evals and keeping a second toolchain current.\n\nUsually it does. NVIDIA's own reference numbers show cost per token moving several times over with prompt and output length, far more than the engine gaps either project reports. Take Llama 3.3 70B in FP8 on two GPUs from the performance overview, converted at Nodus list prices:\n\n| Input / output tokens | 2 x H100 tokens/s | 2 x H100 $ per 1M output | 2 x H200 tokens/s | 2 x H200 $ per 1M output | \n|---|---|---|---|---|\n| 1,000 / 1,000 | 4,181.06 | $0.35 | 4,773.33 | $0.42 | \n| 128 / 4,096 | 3,828.46 | $0.38 | 5,526.42 | $0.36 | \n| 5,000 / 500 | 865.55 | $1.67 | 978.28 | $2.04 | \n\nThroughput from the [TensorRT-LLM performance overview](https://nvidia.github.io/TensorRT-LLM/performance/perf-overview.html), total output throughput at maximum load, checked November 23, 2026. Cost is the hourly price of two GPUs divided by tokens per hour. Two H100s at $5.20/hr produce 4,181.06 x 3,600 = 15.05 million tokens an hour at 1,000 in and 1,000 out, or $0.35 per million.\n\n*Long prompts with short answers cost almost five times as much per output token as balanced chat, on the same engine and GPUs.*\n\nTwo lessons follow. A RAG workload with 5,000-token prompts and a chat workload are different benchmarks, and an engine can win one and lose the other, as the vLLM post found for prefill-heavy data. The cheaper GPU also flips with shape: the H200 pair is cheaper per token only on long outputs. Our guide to [LLM tokens per second](https://www.nodus-compute.ai/blog/llm-tokens-per-second/) explains why, and [LLM inference cost per token](https://www.nodus-compute.ai/blog/llm-inference-cost-per-token/) compares these figures with API prices.\n\nTensorRT-LLM wins where NVIDIA's own engineering is the deciding factor. The [project README](https://github.com/NVIDIA/TensorRT-LLM) lists custom kernels for attention, GEMMs and MoE, prefill-decode disaggregation, wide expert parallelism and speculative decoding. Its recent technical posts focus on Blackwell GPUs and 4-bit formats such as NVFP4.\n\nNVIDIA also publishes tuned starting points. The performance overview lists exact benchmark commands, and its models come pre-quantized to FP8 and FP4 with NVIDIA's Model Optimizer and published on Hugging Face. If your model is one NVIDIA has tuned, you start from a configuration someone has already optimized.\n\nSpeculative decoding shows the size of these gains for one user. In a [December 2024 NVIDIA developer blog post](https://developer.nvidia.com/blog/boost-llama-3-3-70b-inference-throughput-3x-with-nvidia-tensorrt-llm-speculative-decoding/), Llama 3.3 70B on one H200 in FP8 at batch size 1 produced 51.14 tokens per second alone. With a Llama 3.2 1B draft model it produced 181.74, a 3.55x speedup, measured with TensorRT-LLM 0.15.0.\n\n*NVIDIA's own measurement: a small draft model made single-user decoding 3.55x faster.*\n\nThat is TensorRT-LLM measured against itself, not against vLLM. vLLM supports draft models, EAGLE and n-gram speculation too, according to its [speculative decoding docs](https://docs.vllm.ai/en/latest/features/speculative_decoding/). Pick TensorRT-LLM when you run a large, steady fleet of recent NVIDIA GPUs on a few models NVIDIA has tuned, and your own test shows enough gain to drop whole GPUs.\n\nvLLM wins on breadth. Its [GPU installation page](https://docs.vllm.ai/en/latest/getting_started/installation/gpu/) supports NVIDIA GPUs of compute capability 7.5 or higher, naming T4, RTX 20xx, A100, L4, H100 and B200. Its documentation home adds AMD GPUs, x86, ARM and PowerPC CPUs, and plugins for Google TPUs, Intel Gaudi and other chips.\n\nTensorRT-LLM's [supported hardware page](https://nvidia.github.io/TensorRT-LLM/supported-hardware.html) lists Blackwell (B200, GB200, B300, GB300, DGX Spark), Hopper (H100, H200, GH200), Ada Lovelace (L20, L40 and L40S) and Ampere (A100). It does not name the L4 or GeForce RTX cards, which are often the cheapest way to serve a small model. On Nodus, an L4 is listed at $0.430/hr and an RTX 4090 at $0.290/hr.\n\nNew models matter too. vLLM's 200+ architectures span dense, mixture-of-experts, hybrid state-space, multimodal and embedding models. If you serve several models, one engine that runs them all beats a faster engine that runs some.\n\nvLLM also has the deeper integration on Nodus. Nodus [GPU snapshots](https://www.nodus-compute.ai/docs/guides/functions/gpu-snapshots/) (Beta) can keep a vLLM 0.30 engine's weights and KV cache out of a worker's snapshot. In the docs' measurement on an A10, a worker serving Qwen3-0.6B restored in about 6 seconds, against about 90 seconds for a cold start. Our [vLLM vs SGLang](https://www.nodus-compute.ai/blog/vllm-vs-sglang/) comparison covers the other popular alternative.\n\nThis is the rule we use, built from the arithmetic above:\n\nIf you only need tokens from a popular open model, skip both. [Nodus Inference](https://www.nodus-compute.ai/docs/guides/inference/) (Beta) serves open-weight models through one OpenAI-compatible API, with no engine to choose or tune.\n\nRun each engine's official image as a Nodus Job, forward its port to your machine and point a benchmark client at it. The [images guide](https://www.nodus-compute.ai/docs/guides/images/) allows any public registry image. Every flag below comes from the [`nodus run`](https://www.nodus-compute.ai/docs/reference/cli/nodus_run/), [`nodus logs`](https://www.nodus-compute.ai/docs/reference/cli/nodus_logs/) and [`nodus port-forward`](https://www.nodus-compute.ai/docs/reference/cli/nodus_port-forward/) references. We assembled these commands from those pages and have not run this exact combination ourselves:\n\n```\npip install nodus-compute\nnodus login\nnodus run --name vllm-test --gpu H100 --image vllm/vllm-openai:latest \\\n  --no-source --max-cost 5 --timeout 1h -d -- vllm serve Qwen/Qwen3-8B\nnodus logs -f job/vllm-test\nnodus port-forward job/vllm-test 8000\n```\n\nFor TensorRT-LLM, swap the image and the serve command, and run the two Jobs one at a time so each can use local port 8000. The `--host` and `--port` options come from the [`trtllm-serve` reference](https://nvidia.github.io/TensorRT-LLM/commands/trtllm-serve/trtllm-serve.html):\n\n```\nnodus run --name trtllm-test --gpu H100 --image nvcr.io/nvidia/tensorrt-llm/release:1.4.0rc4 \\\n  --no-source --max-cost 5 --timeout 1h -d -- trtllm-serve \"Qwen/Qwen3-8B\" --host 0.0.0.0 --port 8000\nnodus logs -f job/trtllm-test\nnodus port-forward job/trtllm-test 8000\n```\n\nAn hour of an H100 at $2.60 fits inside each $5 cap. NVIDIA's docker command also sets `--ipc host` and two `--ulimit` values, and `nodus run` has no flags for those. Treat the first run as a smoke test and check the logs before you trust any numbers. For the server setup itself, including API keys, see [how to host your own LLM API](https://www.nodus-compute.ai/blog/host-your-own-llm-api/).\n\nYes. The [GitHub repository](https://github.com/NVIDIA/TensorRT-LLM) is licensed under Apache 2.0, the same license as vLLM. The README's news list records development moving fully to GitHub in March 2025.\n\nNo. Its supported hardware page lists only NVIDIA architectures. If you might move some serving to AMD, vLLM keeps one engine across both vendors.\n\nNot with the default PyTorch backend, which NVIDIA's benchmarks have used since v0.19 and which loads Hugging Face checkpoints directly. Older tutorials, including NVIDIA's own from 2024, still show engine builds, so check the version a guide targets.\n\nThe Nodus Inference docs do not expose an engine choice. You pick a model and call the API. To choose the engine yourself, run it in a Nodus Job as shown above.\n\nBoth, because they answer different questions. Batch size 1 shows what one user feels, as in NVIDIA's speculative decoding test. Full load shows cost per token, as in the performance overview. Decide which one your bill depends on before you read any benchmark.\n\n*Originally published on the [Nodus blog](https://www.nodus-compute.ai/blog/vllm-vs-tensorrt-llm/).*", "url": "https://wpnews.pro/news/vllm-vs-tensorrt-llm-which-should-you-deploy-on-nvidia-gpus", "canonical_source": "https://dev.to/viswaretas_kotra/vllm-vs-tensorrt-llm-which-should-you-deploy-on-nvidia-gpus-8c6", "published_at": "2026-11-24 00:06:41+00:00", "updated_at": "2026-11-24 00:12:31.805872+00:00", "lang": "en", "topics": ["ai-infrastructure", "large-language-models", "mlops", "ai-tools"], "entities": ["vLLM", "TensorRT-LLM", "NVIDIA", "Nodus", "SGLang", "LMDeploy", "H100", "Llama 3"], "also_reported_by": [], "takeaway": "Published head-to-heads split by hardware and workload — vLLM led on H100 ShareGPT and decode-heavy data with Llama 3 8B, TensorRT-LLM led on a single A100 — so benchmark both engines on your own prompts before switching.", "recommendation": {"advice": "Default to vLLM and only switch to TensorRT-LLM after benchmarking both on your own model, GPU and traffic, confirming the speedup is large enough to retire whole GPUs.", "playbook": "inference-serving", "playbook_url": "https://wpnews.pro/playbooks/inference-serving"}, "alternates": {"html": "https://wpnews.pro/news/vllm-vs-tensorrt-llm-which-should-you-deploy-on-nvidia-gpus", "markdown": "https://wpnews.pro/news/vllm-vs-tensorrt-llm-which-should-you-deploy-on-nvidia-gpus.md", "text": "https://wpnews.pro/news/vllm-vs-tensorrt-llm-which-should-you-deploy-on-nvidia-gpus.txt", "jsonld": "https://wpnews.pro/news/vllm-vs-tensorrt-llm-which-should-you-deploy-on-nvidia-gpus.jsonld"}}