Skip to content
Inference Academy

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.

Sandip MaityBuilt by Sandip Maity, who runs self-hosted LLM inference in production.

Live · lesson 1, the roofline

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

Weights in memory16 / 80 GB

What 209 tok/s looks like

Every token reads every weight once. One division predicts the speed.Learn why

Pick your starting point

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

  1. 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.

  2. See inside the engines

    How vLLM, SGLang, TensorRT-LLM and llama.cpp batch, cache and schedule, explained with step-through diagrams.

  3. Prove every gain

    Labs that take a real model from baseline to measured improvement with open-loop load tests and goodput at your SLOs.

  4. Then

    Build an Inference Engine

    A tiny llama.cpp, written by you.

Also included in Pro

10 more courses, for when you need them

Compare courses →

Free, no sign-up

Calculators engineers use

All tools →

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.

Compare plans

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.