Skip to content
Inference Academy

The free roadmap

Learn inference engineering

Inference engineering is the craft of running AI models fast, cheaply and reliably. This route takes you from how a token is generated to serving models at scale, in six stages, with a lesson at every stop and a checkpoint at the end of each stage.

stages
6
stages
lessons, 16 free
41
lessons, 16 free
over ~12 weeks
~19 h
over ~12 weeks

The route, stop by stop

About 12 weeks part-time. Tick lessons off as you go: your progress shows up on the map, saved in this browser.

  1. Start01

    Stage 1 · Week 1

    The mental model

    Know what happens when a model generates a token, and where the memory and time go.

    0/5
    1. Tokens and context windows11 min· freestart here
    2. How generation works: prefill, decode and the KV cache12 min· free
    3. VRAM math: will this model fit?12 min· free
    4. Memory bandwidth: the speed limit of decoding11 min· free
    5. Units and vocabulary: FLOPs, bytes, bandwidth and the balance point20 min· free

    Checkpoint. You can estimate the VRAM a 70B model needs at 4-bit and explain why decode speed tracks memory bandwidth.

  2. 02
  3. 03
  4. 04
  5. 05

    Stage 5 · Weeks 8 to 9Optional detour

    Build an engine yourself

    Write a forward pass, KV cache, quantised matmul and batching server, so nothing in an engine is magic.

    0/4
    1. The forward pass end to end: a Llama-style engine in 100 lines25 min· free
    2. KV cache layout and sampling inside an engine16 min· Pro
    3. Quantised matrix multiplication: INT8 and 4-bit kernels22 min· Pro
    4. Continuous batching and an OpenAI-style streaming server20 min· Pro

    Checkpoint. Your own engine produces the same tokens as a reference and you can explain every gap to llama.cpp's speed.

  6. 06
  7. Destination

    You're an inference engineer

    By the end of the route, these are the things you can do without looking them up.

    • Performance mathsFLOPs, bytes moved, arithmetic intensity and the roofline: the numbers that say what limits speed.
    • GPU and hardwareHBM bandwidth, tensor cores, memory hierarchy, interconnects and how to size hardware for a model.
    • Serving enginesvLLM, SGLang, TensorRT-LLM and llama.cpp: paged KV cache, continuous batching and scheduling.
    • Optimisation techniquesQuantisation, speculative decoding, prefix caching, parallelism, MoE and disaggregated serving.
    • BenchmarkingTime to first token, inter-token latency, throughput under load, and reporting results others can reproduce.
    • Production and costCapacity planning, autoscaling, SLOs and cost per million tokens.
Share

What inference engineers do

Training a model happens once; serving it happens billions of times. Inference engineers own that second part. They decide which GPU or accelerator a model runs on, which engine serves it, how it is quantised and batched, and how the system scales with traffic. Their scorecard is time to first token, tokens per second, cost per million tokens and uptime. The role sits between ML and systems engineering, and demand has grown quickly as companies move from calling APIs to running open models themselves.

The route draws on four courses. Take the Inference Engineering course for all 38 lessons, Build an Inference Engine to write your own, and Serving AI in Production for Kubernetes, autoscaling and observability.

Tools for the road

Inference engineering FAQ

What is inference engineering?

Inference engineering is the work of running trained AI models fast, cheaply and reliably. It covers choosing hardware, serving engines and model formats, applying optimisations such as quantisation, batching, caching and speculative decoding, and measuring latency, throughput and cost under real traffic.

How long does it take to learn inference engineering?

With a software background, about 10 to 12 weeks part-time following this roadmap: two weeks on the mental model and bottlenecks, a few weeks on engines and techniques, then benchmarking and production. The core Inference Engineering course alone is about 20 hours of lessons, plus labs.

What should I know before learning inference engineering?

Comfortable Python and a rough idea of how a language model generates text one token at a time. You do not need deep maths: the roadmap teaches the arithmetic (FLOPs, bytes and bandwidth) you need. Some Linux and Docker helps for the serving stages.

Do I need a GPU to learn inference engineering?

Not to start. The mental model, bottleneck maths and engine internals can be learned on a laptop, and small models run on Apple Silicon or CPU. For the GPU labs, renting a cloud GPU by the hour is enough.

How is inference engineering different from ML engineering?

ML engineering usually focuses on data, training and model quality. Inference engineering starts after training: it treats the model as a fixed workload and makes serving it fast and economical, which is closer to systems and performance engineering.

Which tools do inference engineers use?

Serving engines such as vLLM, SGLang, TensorRT-LLM and llama.cpp; quantisation formats such as GGUF, AWQ, GPTQ and FP8; profilers such as NVIDIA Nsight Systems and the PyTorch profiler; load-testing tools; and Kubernetes, Prometheus and Grafana for production.

Can I learn inference engineering for free?

Yes. Every stage of this roadmap includes free lessons, and all calculators, the glossary and the in-browser playground are free. Pro unlocks the remaining advanced lessons, the labs and certificates.