Inference & Serving Terms — vLLM, KV Cache, Quantization | AI Terms Guide
🚀
🚀 70 terms · Serving LLMs at scale

The vocabulary of serving AI in production

vLLM, PagedAttention, KV cache, speculative decoding, prompt caching. Every technique for making LLMs fast, cheap, and reliable in production.

70
Terms
4
Sub-topics
Weekly
Updates

Training gets the headlines, but inference is where the money is spent. A frontier model may cost tens of millions to train once — and then generate billions of inference requests, each costing compute. The techniques in this category — vLLM's PagedAttention, KV cache management, quantization, speculative decoding, prompt caching — are what make modern LLM APIs economically viable.

The 70 terms here are grouped into four sub-topics: inference engines (the software that serves models), optimization techniques (KV caching, batching, speculative decoding), model compression (quantization, distillation, pruning), and the operational vocabulary you'll encounter running LLMs in production.

Full directory

All Inference & Serving terms, organized

Grouped into sub-topics so you can find neighbors and prerequisites, not just alphabetical entries.

Beyond terminology

Go deeper on Inference & Serving

📖 Related concept tutorials

Long-form guides that walk through how these concepts actually work.

🎯 Related models & tools

Real products and models where you'll encounter these terms.

Frequently Asked

Questions about Inference & Serving

KV cache management. Serving LLMs is dominated by KV cache memory pressure — PagedAttention (vLLM), prompt caching (Anthropic/OpenAI), and grouped-query attention are all essentially KV cache optimizations.

Usually no. Providers (Anthropic, OpenAI, Together, Groq) have solved most of this. Self-hosting makes sense for latency-critical apps, privacy needs, or fine-tuned models. See our comparisons.

Modern INT4 quantization (GPTQ, AWQ) has minimal quality loss on most tasks — usually within 1-2% of full precision on standard benchmarks. Edge cases like reasoning and long-context can suffer more.

Roughly, yes. Different providers use different names. Anthropic calls it 'prompt caching,' Google calls it 'context caching.' Same idea: cache the KV state of a common prefix.

Throughput is total requests or tokens per second across all users. Latency is time for one user's request. Optimizations often improve one at the cost of the other — larger batches boost throughput but increase latency.

Share with