Inference Frameworks
Servers that turn weights + GPUs into tokens. Pick by workload shape, not popularity.
Earlier reference snapshot · Source verification date not recorded. Confirm current information before use.
| Name | License | PagedAttention | Continuous batching | Structured output | Quantization | Best fit |
|---|---|---|---|---|---|---|
| vLLM | Apache 2.0 | yes | yes | yes | AWQ, GPTQ, FP8, INT4, INT8 | High-throughput multi-tenant serving. The default choice if you have no other constraint. |
| TGI (HuggingFace Text Generation Inference) | Apache 2.0 | yes | yes | limited | AWQ, GPTQ, EETQ, FP8 | Teams already deep in the HuggingFace ecosystem. Solid OpenAI-compatible API. |
| SGLang | Apache 2.0 | yes | yes | yes | AWQ, GPTQ, FP8, INT4 | Workloads with heavy prefix reuse (agents, RAG, long system prompts). RadixAttention helps. |
| Ollama | MIT | no | no | yes | GGUF (Q2-Q8) | Local dev, laptops, single-user. Not a production server. Built on llama.cpp. |
| LMDeploy | Apache 2.0 | yes | yes | limited | AWQ, GPTQ, W4A16, W8A8 | TurboMind backend can edge vLLM on throughput for some models. Less community than vLLM. |
| llama.cpp | MIT | no | yes | yes | GGUF (Q2-Q8, mixed) | CPU and Apple Silicon inference. Heavy quantization. Edge devices. Not for multi-GPU serving. |
| NVIDIA TensorRT-LLM | Apache 2.0 | yes | yes | limited | FP8, INT4 AWQ, INT8 SmoothQuant | Last-mile latency on NVIDIA hardware. Compile step is real. Worth it only if you've tuned vLLM and still need more. |