LLM Inference Optimization and Serving

Parent: LLM Models and APIs · researched 2026-05-31T20:39:58.836Z· 30 sources · 11 concepts · skill llm-inference-serving

PROVENANCE: This reference is part of the ai-agent-engineering hub.

Overview

LLM Inference Optimization & Serving

1. The serving-engine landscape (and how to choose)

2. PagedAttention & KV-cache memory management

3. Continuous (in-flight) batching

4. Chunked prefill & scheduling

5. Prefix / prompt caching

6. Disaggregated prefill/decode serving

7. Latency / throughput metrics & SLOs

8. Multi-GPU & multi-node inference (parallelism)

9. Constrained / structured decoding at the serving layer

10. Speculative decoding

11. Autoscaling & cost-per-token

Anti-patterns

References

Children

Frontier under this node: Chunked prefill and the vLLM V1 unified scheduler, Constrained / structured decoding at serving layer (XGrammar, Outlines, llguidance), Continuous / in-flight batching, Endpoint autoscaling and cost-per-token (KEDA/Knative, scale-to-zero), Latency/throughput metrics and SLOs (TTFT, TPOT/ITL, goodput), Multi-GPU inference (tensor / pipeline / expert parallelism), PagedAttention and KV-cache memory management (+ KV offload: LMCache/KVBM/FlexKV), Prefill/decode disaggregation (DistServe, Splitwise, KV-aware routing), Prefix / prompt caching (Automatic Prefix Caching, RadixAttention), Serving-engine landscape (vLLM, SGLang, TensorRT-LLM, TGI, LMDeploy, NVIDIA Dynamo), Speculative decoding (draft models, Medusa, lookahead, EAGLE/EAGLE-2/EAGLE-3)

← the whole tree · 3D view· how to read this page