LLM Inference Handbook: a glossary and guide to running LLMs in production
The LLM Inference Handbook is a technical glossary, guidebook and reference on LLM inference. It covers core concepts and performance metrics such as Time to First Token[1], optimization techniques such as continuous batching[2] and prefix caching, GPU architecture, and deployment patterns such as BYOC[3] and on-prem.
The authors wrote it because inference knowledge is scattered across academic papers, vendor blogs, GitHub issues and Discord threads, and much of it assumes the reader already knows half the stack. The handbook offers practical guidance on deploying, scaling and operating LLMs in production, and it is updated as the field changes. It also includes interactive tools, such as a GPU Memory Calculator for estimating VRAM needs, a KV cache[4] Memory Calculator, and a Batching Strategy Simulator that compares static, dynamic and continuous batching.
Readers can go through it from start to finish or use it as a lookup table. Contributions are welcome: errors, suggestions and new topics can be sent as an issue or a pull request on the GitHub repository.
Read the original handbook.modular.comDiscussion
Discussion
Commenters are split on usefulness. One says it would have helped six months earlier and explains the concepts more concisely than AI does, while another says it seems aimed at serving models rather than running them at home. One commenter asked for cat pictures to be added.
Sources
-
handbook.modular.com
LLM Inference Handbook



