For engineers who serve or run LLMs
Master LLM Inference Engineering
Predict tokens per second before you rent the GPU.
Learn the systems behind high-performance LLM inference, from GPU architecture and KV cache to quantization, batching, and production serving.
18-minute read, no sign-up. 95 of 304 lessons are free.
Live · lesson 1, the roofline
Pick a setup
Model
Precision
Machine
Fastest possible decode, one user
209tok/s
42×your reading speed
16GB
read / token
3.35TB/s
bandwidth
4.8ms
min / token
What 209 tok/s looks likeLlama 3.1 8B · BF16 · H100
Pick your starting point
- I serve models to usersInference Engineering: the roofline, engine internals, batching, quantisation, multi-GPU.
- I run models on my own machineLocal LLM Inference: sizing hardware, picking a quant, tuning llama.cpp and Ollama.
- I have an inference interviewInterview questions with model answers and the numbers behind them.
- I need a quick numberVRAM calculator, self-host vs API cost, and “Can I run it?” for your hardware.
The flagship course
Inference Engineering
Bottleneck maths, attention and GPU architecture, the software stack, engines compared from the inside, and the techniques that matter: quantisation, speculative decoding, parallelism, caching and disaggregation. Ends with a benchmarking capstone.
56 lessons · 18 hands-on labs · 77 animated diagrams · 12 free
Predict before you measure
Work out tokens per second from bandwidth and FLOPs, so you know what a GPU, engine or setting can do before you rent it.
See inside the engines
How vLLM, SGLang, TensorRT-LLM and llama.cpp batch, cache and schedule, explained with step-through diagrams.
Prove every gain
Labs that take a real model from baseline to measured improvement with open-loop load tests and goodput at your SLOs.
Then
Build an Inference Engine
A tiny llama.cpp, written by you.
Also included in Pro
10 more courses, for when you need them
- Local LLM InferenceRun models on your own hardware45 lessons
- Building LLM ApplicationsRAG, tools, agents and MCP, built to ship18 lessons
- Serving AI in ProductionFrom one working model to a reliable service45 lessons
- AI Security and PrivacyBuild LLM apps that are hard to abuse25 lessons
- LLM Evaluation and TestingKnow whether your AI actually works19 lessons
- GPU Kernels for InferenceWrite, profile and speed up CUDA and Triton kernels21 lessons
- Build an LLM from ScratchTokenizer to trained transformer, with code you run17 lessons
- Build a Reasoning ModelMeasure, scale and train reasoning step by step13 lessons
- Multimodal InferenceVision, speech, embeddings and images13 lessons
- Fine-tuning and CustomisationAdapt a model without wrecking it19 lessons
Free, no sign-up
Calculators engineers use
Start free. Pay once if you want the rest.
The first lessons of every course, every tool and the roadmap are free. Pro ($25 a year or $75 for life) unlocks all 12 courses in full (209 more lessons), every lab and every certificate. Nothing renews automatically, and there is a 7-day refund.
Questions
What is inference engineering?
Making trained models answer quickly, reliably and cheaply: predicting speed from memory bandwidth and FLOPs, choosing and tuning engines like vLLM, SGLang and llama.cpp, applying quantisation, speculative decoding, caching and parallelism, and proving the gains with honest benchmarks. Every team that serves its own models needs it. Open the roadmap →
Is it really free?
A lot of it. The first lessons of every course, every tool, the glossary, the troubleshooting wiki and roughly a third of each Pro lesson are free. Pro unlocks the full lessons, the hands-on labs, larger playground models and certificates.
Do I need a GPU?
No. Plenty of lessons apply to CPUs and Macs, and the playground runs small models in a browser. A GPU or Apple Silicon Mac just makes bigger models practical.
How current is the content?
Every lesson shows when it was last verified. Runtime flags change quickly, so we note version-sensitive details and point you to --help for your build.
Where do I start?
If you already run models, start the Inference Engineering course. If you are new to LLMs, the Local LLM Inference course gets you running your first model and teaches the basics the rest builds on. The roadmap shows the whole route. Open the roadmap →
Is Pro a subscription?
No. Pro is a one-time payment for a year or for life, with nothing that renews automatically, and a 7-day refund if it is not for you.