Skip to main content
Infrastructure

Inference Server

An inference server is the runtime system that hosts trained AI models behind an API, handling request routing, dynamic batching, KV-cache management, scheduling across GPUs, and hardware acceleration — the layer that turns a model file into a production AI endpoint.

AIDOLS Research Team · Editorial standards

Full definition

Mature inference servers include NVIDIA Triton, NVIDIA TensorRT-LLM, vLLM, TGI (Text Generation Inference), and llama.cpp. They differ on supported hardware, throughput optimizations (continuous batching, paged attention, speculative decoding), and operational features (multi-model hosting, A/B routing, observability). Choice of inference server can change throughput severalfold on the same hardware: vLLM delivered 2–4× the throughput of FasterTransformer and Orca at the same latency (Kwon et al., SOSP 2023).

Why it matters

For self-hosted AI, the inference server is one of the highest-impact cost optimizations. A team running Llama 3 70B on vLLM with continuous batching can serve several times the requests per GPU of a naive PyTorch deployment (the vLLM team measured up to 24× the throughput of Hugging Face Transformers on LLaMA 7B and 13B), multiplying the return on the same hardware investment.

Example

A SaaS company switches its Llama 3 70B endpoint from naive Hugging Face Transformers serving to vLLM with paged attention. p95 latency drops 35%, throughput rises 6×, and per-token cost falls below the public OpenAI API's rate.

Next steps

More infrastructure terms

Source & further reading

Primary source: Kwon et al. — "Efficient Memory Management for Large Language Model Serving with PagedAttention" (vLLM, SOSP) (2023).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/en/glossary/inference-server/.