Introduction to LLM
This page provides an easy-to-understand guide on LLMs (Large Language Models) from basics to applications for AI enthusiasts.
Chapter 15 — Serverless APIs vs Dedicated Infrastructure
Fifteenth post of the LLM Primer VI walkthrough. The breakeven math between serverless APIs and dedicated infrastructure, the hidden platform-engineering overhead each side takes on, and microVM sandboxes for agent code execution.
2026-05-07Chapter 14 — Token Economics and API Pricing
Fourteenth post of the LLM Primer VI walkthrough. The input-vs-output token asymmetry, the hidden cost of conversation history, and the invisible reasoning tokens that quietly rewrite the daily bill.
2026-05-06Chapter 12 — Disaggregated Serving and Kubernetes
Twelfth post of the LLM Primer VI walkthrough. Why aggregating prefill and decode wastes compute, and how LeaderWorkerSet, NVIDIA Grove, and KAI Scheduler split them apart on Kubernetes.
2026-05-04Chapter 4 — Specialized AI Silicon and ASICs
Fourth post of the LLM Primer VI walkthrough. Groq LPUs, AWS Inferentia2, Google TPUs, and Intel Gaudi — where specialized silicon fits alongside general-purpose GPUs.
2026-04-26Chapter 3 — Data Center GPUs for Generative AI
Third post of the LLM Primer VI walkthrough. The NVIDIA lineup (H100, H200, B200, L40S) vs AMD MI300X — and why HBM bandwidth matters more than FLOPs for decoding.
2026-04-25Chapter 2 — The KV Cache Challenge
Second post of the LLM Primer VI walkthrough. The KV cache formula, the attention-variant trade-offs (MHA vs GQA vs MQA), and the memory-fragmentation problem PagedAttention solves.
2026-04-24Chapter 1 — The Mechanics of Token Generation
First post of the LLM Primer VI walkthrough. The autoregressive bottleneck, the prefill/decode split, and why a high-end GPU is 99.7% idle while serving a single user.
2026-04-23LLM Primer VI — Series Introduction & Index
Kicking off the chapter-by-chapter walkthrough of Book VI in the LLM Primer series — Scaling AI Systems. Why inference is the discipline that decides whether an LLM app survives real users, and the schedule for the sixteen posts that follow, April 23 through May 8.
2026-04-22