TL;DR
No single fastest LLM serving engine: TensorRT-LLM wins first-token latency, vLLM wins peak throughput, SGLang wins shared-prefix traffic. Pick by traffic shape.
Hugging Face put Text Generation Inference into maintenance mode in December 2025 and archived the repository on 21 March 2026, and its own documentation now points teams at vLLM and SGLang instead. If your serving stack still runs on TGI, the decision is no longer whether to move — it is which of the three engines that replaced it fits your traffic. The short version: there is no single fastest engine. TensorRT-LLM wins time to first token at moderate load, vLLM wins peak throughput and cost per token, and SGLang wins when requests share long prefixes. Pick by traffic shape, not by headline benchmark, and pin the version you tested — all three shipped major releases in November 2026 alone.
Why the serving decision is open again
TGI was the default answer for self-hosted LLM serving for years: a Rust router, continuous batching, tensor parallelism, and an OpenAI-compatible API. Hugging Face's maintenance-mode notice, posted in December 2025, says the project now accepts only minor bug fixes, documentation improvements, and lightweight maintenance, and recommends vLLM and SGLang going forward. The GitHub repository was archived read-only on 21 March 2026, and the last release, v3.3.7, shipped on 19 December 2025. No new model architectures will ever land in it — a team deploying a model released after the cutoff simply has no TGI build that supports it.
Existing TGI deployments keep running, and there is no emergency in a pinned, working service. But every new deployment, every model upgrade, and every capacity expansion now forces the same three-way choice, and the three candidates have diverged enough that the choice matters. The rest of this guide makes the choice on evidence: what each engine is built to win, one honestly labelled benchmark snapshot, the operational costs benchmarks hide, and a decision tree you can run against your own traffic. Versions cited here were checked on 30 November 2026 against each project's release pages.
The three contenders in one paragraph each
vLLM, v0.34.0 (16 November 2026) is the default most teams should start from. Born at UC Berkeley's Sky Computing Lab around PagedAttention, it now covers the broadest hardware — NVIDIA, AMD, TPUs, Intel Gaudi, Huawei Ascend, and Apple Silicon — serves 200-plus model architectures, and ships an OpenAI-compatible API server with prefix caching, continuous batching, chunked prefill, and speculative decoding. Version 0.34.0 turns on an extensible KV cache by default, so the cache is sized from memory actually free after warmup, and removes the old Model Runner V1 entirely. Its documentation lives at docs.vllm.ai.
SGLang, v0.5.23 (2 November 2026) is the engine built around one idea: most real prompts repeat themselves. Its RadixAttention keeps the key-value cache for shared prefixes — system prompts, few-shot examples, retrieved documents, conversation history — in a radix tree, so a second request that starts the same way skips recomputing the shared part. That makes it the specialist for agents, multi-turn chat, and RAG, where the same long context recurs thousands of times a day. Its documentation lives at docs.sglang.ai.
TensorRT-LLM, v1.3.0 (20 November 2026) is NVIDIA's own engine, and it is NVIDIA-only by design. Since version 1.2 it runs on a PyTorch backend only — the old TensorRT backend is gone, and 1.3.0 removes it outright along with the trtllm-build command — so the historic compile-an-engine workflow is history. What remains is the most aggressively kernel-fused serving path on NVIDIA hardware, with disaggregated prefill and decode, KV cache compression, and first-class support for the newest NVIDIA architectures including preview support for Rubin. Its documentation lives at docs.nvidia.com/tensorrt-llm.
What each engine is built to win
The three engines are not three implementations of the same idea. They are three different bets about what serving is for, and each bet has a shape of traffic where it pays off and a shape where it costs you.
vLLM bets on breadth and throughput. Its strength is the combination of peak output tokens per second at saturation and the widest model and hardware coverage in the field. If you serve several different models, if your fleet mixes NVIDIA and AMD, or if you want the largest community and the most deployment guides, vLLM is the low-regret choice. Its honest limit is first-token latency at moderate load: it trails TensorRT-LLM there, and its prefix caching — automatic in recent versions — helps only when your prompts actually repeat.
SGLang bets on prefix reuse. When requests share long prefixes, RadixAttention turns repeated work into cache hits, and the throughput gain is large: on the benchmark snapshot in the next section, a 90 percent cache hit rate roughly tripled output throughput for both engines that support it. SGLang's edge is that prefix reuse is its core design, not a feature — it also powers its structured-output and multi-turn agent tooling. Its honest limit is the mirror image: if your prompts are mostly unique, the radix tree buys you nothing, and you are carrying a smaller ecosystem than vLLM's for no benefit.
TensorRT-LLM bets on per-GPU latency. On NVIDIA hardware it holds the lowest time to first token through the mid-load range, which is the number users actually feel in a chat product. Its honest limits are the price of that focus: NVIDIA GPUs only, model support that is curated rather than universal — a brand-new architecture may not run on it the week it ships — and upgrade churn. Version 1.3.0 shipped with 13 items marked as breaking changes, including the removal of the TensorRT backend and several serving commands, so upgrades are a planned migration, not a version bump.
The benchmark snapshot, read honestly
One snapshot, fully labelled, from a June 2026 comparison of all three engines on the same weights, the same GPU, and the same request stream: Llama-3.1-8B-Instruct, one H100 80GB, bf16 and fp8, versions as of 20 June 2026 — vLLM 0.23.0, SGLang 0.5.13, TensorRT-LLM 1.2.1. The source is self-reported and its harness and raw data are not public, so these numbers cannot be independently reproduced. They are a snapshot of one setup, not a ranking.
| What was measured | Result |
|---|---|
| Lowest time to first token at moderate load | TensorRT-LLM, 235 ms vs vLLM 514 ms at concurrency 32 |
| Highest throughput at saturation | vLLM, 5,333 output tokens per second on one H100 |
| Lowest derived cost per token | vLLM at fp8, $0.158 per 1 million output tokens |
| Prefix cache on vs off, 90 percent hit rate | vLLM 3.13x (2,855 vs 910 tok/s); SGLang 2.84x (2,488 vs 875 tok/s) |
Three readings matter more than the table. First, the ranking flips with load: TensorRT-LLM holds the latency edge up to roughly 4,000 tokens per second, then hits its ceiling and its first-token latency climbs steeply, while vLLM keeps scaling to the highest peak. Second, prefix caching is not a small optimisation — at a 90 percent hit rate it roughly triples throughput on both engines that support it, which is why the traffic-shape question in the next sections matters more than the engine choice alone. Third, every version in this snapshot is now five months old: vLLM has shipped 0.34.0, SGLang 0.5.23, and TensorRT-LLM 1.3.0 since, and each release moved the numbers. Treat the snapshot as the shape of the trade-off, not as today's score.
The costs benchmarks hide
Benchmarks measure a warm server serving a fixed model. Production measures everything around it, and the three engines differ most exactly there.
Cold start and deployment shape. The old TensorRT-LLM workflow compiled an engine per GPU type and per shape before serving could start. One independent measurement of that era (TensorRT-LLM 0.14, Llama-3.1-8B) recorded 41 minutes from install to first token, including a 27-minute engine build. Since version 1.2 the PyTorch backend has removed the engine-build step entirely, so that figure no longer applies to current releases — but the lesson survives in a different form: cold start is now weight loading plus CUDA graph capture, and it is worth measuring on your model and your GPU before you promise a scale-from-zero time. vLLM and SGLang load weights directly with no compile step, so their path from process start to first token is shorter and simpler to reason about.
Upgrade churn. All three projects move fast, and fast means breaking. TensorRT-LLM 1.3.0 lists 13 breaking changes; vLLM 0.34.0 changes three defaults that touch every launch command — the extensible KV cache, a 64-token default block size, and the removal of Model Runner V1. The operational rule is the same for all three: pin the version you tested, read the release notes before upgrading, and keep a rollback image. A serving engine is infrastructure, and infrastructure that changes under you on a Friday is a pager event.
Model support lag. vLLM and SGLang track new architectures quickly because their communities are large and their model support is broad. TensorRT-LLM's support is curated and NVIDIA-focused, which means a model released this month may not have a supported path on it yet. If your roadmap includes whatever ships next quarter, that lag is a real cost; if you serve one stable model for a year, it never bites.
The cache only pays if prefixes repeat. Prefix caching looks free in a benchmark with a 90 percent hit rate. In production the hit rate is a property of your traffic, not of the engine. A support bot with a fixed system prompt and a stable retrieval set will see high hit rates; a code assistant with unique file contexts will not. Measure the hit rate on your own traces before letting it decide the engine — and if you want to know where your prompts come from, the agent memory architectures guide covers how agent systems build the long shared contexts that make caching pay.
The traffic-shape decision tree
Run your traffic through these questions in order. The first question that answers yes picks the engine; if none answers yes, take the default.
Do many requests share a long prefix? If your product is an agent loop, a multi-turn chat, or RAG with a fixed system prompt and a stable document set, the shared prefix is the dominant cost, and SGLang's RadixAttention is built for exactly that. Verify it by measuring prefix-cache hit rate on a day of real traces, not by assuming it.
Is time to first token the binding SLO, on NVIDIA hardware? If users wait on the first streamed token — a chat product, a copilot, an interactive assistant — and you run NVIDIA GPUs exclusively, TensorRT-LLM's latency edge at moderate load is worth its setup cost and its upgrade churn. This is the one branch where paying NVIDIA's price is rational.
Is it throughput, cost per token, or hardware breadth? If you serve at saturation, if the GPU bill is the constraint, if you run several models, or if your fleet mixes vendors, vLLM is the default. It also wins the tie-break: when no question above answers yes, start with vLLM and measure.
Are you scaling past one node? Above any of the three engines sits the orchestration layer: NVIDIA Dynamo (v1.7.0, November 2026) adds KV-aware routing across replicas so requests land where their cache already lives, and llm-d (v1.0.0, October 2026) brings the same idea to Kubernetes-native serving. You do not need either on a single GPU; you will want one of them when a fleet of replicas is the product. The GPU cost math behind the decision — what a GPU-hour actually costs and how to attribute it per team and per token — is covered in the FinOps for AI workloads guide, and the node-scaling side in the EKS Auto Mode comparison.
Recommendation: pick by traffic shape, not by headline
Architecture Decision
>
Decision: Standardise on vLLM as the default serving engine, trial SGLang alongside it for any agent, chat, or RAG workload with long shared prefixes, and reserve TensorRT-LLM for NVIDIA-only services where time to first token is the binding SLO. Add Dynamo or llm-d only when serving scales past a single node.
>
Context: A team is replacing a TGI deployment and must choose a serving engine for open-weight models on its own GPUs. Traffic is mixed — a chat product, an agent loop, and batch jobs — and the team has one platform engineer to operate the fleet.
>
Options considered: (a) vLLM everywhere. (b) SGLang everywhere. (c) TensorRT-LLM everywhere. (d) vLLM by default, SGLang where prefixes repeat, TensorRT-LLM where latency is the SLO, with an orchestration layer added later.
>
Why this one: Option (a) is the best single-engine answer but leaves the prefix-reuse win on the table for the agent loop. Option (b) bets the whole fleet on prefix reuse that only part of the traffic has. Option (c) ties the fleet to one vendor, the highest upgrade churn, and the narrowest model support. Option (d) costs one extra engine to operate but matches each workload to the engine built for it, and the default stays the broadest, best-supported choice.
>
What it costs you: Two engines to operate instead of one — two images to pin, two sets of release notes, two dashboards. SGLang's smaller community means fewer deployment guides when something breaks. TensorRT-LLM's breaking changes mean its upgrades are planned migrations.
>
When to reverse it: If the agent workload's measured prefix-cache hit rate stays low after a month of real traffic, retire SGLang and consolidate on vLLM. If TensorRT-LLM's latency edge disappears on your model at your concurrency — measure it, do not assume it — move that service to vLLM too. If the team shrinks to one operator, one engine everywhere is the right call even if it costs some latency.
When not to use
Do not pick TensorRT-LLM if you run anything other than NVIDIA GPUs, if you need a model the week it ships, or if nobody on the team owns upgrades — its breaking-change cadence punishes unowned infrastructure. Do not pick SGLang if your prompts are mostly unique; the radix tree is dead weight without shared prefixes. Do not pick vLLM if your product's entire value is first-token latency on a single NVIDIA model at moderate load — that is the one shape where TensorRT-LLM earns its keep. And do not pick any of the three if you do not need to self-host at all: a managed API is cheaper than a GPU fleet until your token volume says otherwise.
How long this guidance stays current
The shape of the trade-off — latency vs throughput vs prefix reuse — is stable, but the numbers are not. All three engines shipped major releases in November 2026, and the June 2026 benchmark snapshot in this guide predates all of them. Re-check the current releases and re-run your own benchmark before any new deployment, and treat any engine ranking older than one quarter as a hypothesis to test, not a fact to cite.
Try it in an afternoon
The fastest way to settle the decision is an afternoon with one model and your own traffic. Serve Llama-3.1-8B-Instruct on each engine, point your real request stream at it, and record three numbers: time to first token at your usual concurrency, peak output tokens per second, and prefix-cache hit rate. The commands below are the starting point for each engine; the measurement is the point.
vllm serve meta-llama/Llama-3.1-8B-Instruct \ --port 8000 \ --enable-prefix-caching \ --max-model-len 8192
docker run --gpus all --ipc=host -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ lmsysorg/sglang:v0.5.23 \ python3 -m sglang.launch_server \ --model-path meta-llama/Llama-3.1-8B-Instruct \ --host 0.0.0.0 --port 30000
trtllm-serve --model meta-llama/Llama-3.1-8B-Instruct \ --host 0.0.0.0 --port 8000
All three expose an OpenAI-compatible API, so the same load generator and the same request stream work against each of them — that is what makes the comparison honest. Check that each server answers a models-list request before you start the load test, then let your traffic, not a vendor benchmark, pick the engine.
Why This Matters
Understanding the business and technical context helps you make informed decisions rather than blindly following patterns.
Trade-offs to Consider
Every architectural decision involves trade-offs. Consider your specific requirements, team expertise, and scale when evaluating options.
When NOT to Use This
Knowing when a solution doesn't apply is as valuable as knowing when it does. Consider alternatives for your specific situation.
Decision Framework
Use this framework to evaluate whether this approach is right for your use case based on your specific constraints and requirements.