Inference Engineer
Learn to deploy, measure and improve model serving: GPU memory, batching, inference engines, reasoning outputs and production reliability.
You can build software and want to run models as dependable services. Start with request behavior, then work toward performance experiments and fleet decisions.
Practice memory and latency calculations, explain scheduler behavior, diagnose a slow request and defend a measured serving design. Actual interview formats vary by employer and team.
Your route into inference engineering
Start with basic Python, HTTP requests and command-line tools. You can learn the memory arithmetic and run the CPU exercises without a GPU. Device performance claims require actual hardware runs; each hands-on resource states its execution status.
If model serving is new to you, begin with From Model to Service. Otherwise, use these checkpoints to find your starting point. Work through the linked course modules in their published order; the checkpoints connect the parts of the curriculum needed for the role. Continue when you can produce the stated evidence, rather than after a fixed number of weeks.
Free resources need no account. Free account resources require sign-in. Premium resources require paid access.
- 01
Follow a request and define the clocks
Learn how prompt processing differs from token generation. Distinguish the wait for first content, later token gaps and the time until a complete answer.
Before moving on: Draw one request timeline and explain where queueing belongs. Include a failed request when calculating service success.
- 02
Calculate memory before choosing concurrency
Account for weights, runtime allocations and growing request state on each device. Learn why a model that loads can still run out of room while serving.
Before moving on: Produce a per-device memory budget and show which device limits admission. Recalculate it when the output allowance doubles.
- 03
Choose an engine and establish a baseline
Separate execution engines from gateways and fleet controllers. Compare supported configurations under the same task, traffic and quality requirements.
Before moving on: Write an engine shortlist and a reproducible workload manifest. Record unsuccessful requests alongside latency and throughput.
- 04
Control cache growth and scheduled work
Work through paging, shared prefixes, eviction, continuous batching and chunked prefill. Tie each change to the resource or waiting time it should improve.
Before moving on: Draw shared and private cache blocks, then propose an admission policy for mixed short and long requests. State when cache locality should lose to queue delay.
- Work through prefix reuseFree account
- Chunked prefill referencePremium
- Choose a replica under competing constraintsFree account
- 05
Evaluate precision, speculation and distributed execution
Test lower-precision formats and speculative decoding against task quality and complete execution cost. Then study tensor parallelism, expert communication and prefill/decode separation.
Before moving on: Keep or reject one optimization using a controlled comparison. For a multi-device design, account for both retained state and transferred bytes.
- 06
Serve reasoning and tool outputs correctly
Measure the wait for useful answer content and leave room for it in the generation budget. Follow streamed tool arguments through completion, validation and authorization.
Before moving on: Build an answer-latency budget and run the CPU output-contract exercise. Reject a truncated call even when its buffered JSON parses.
- 07
Operate the service under load and failure
Connect queue limits, request routing, cold starts, scaling and cancellation. Learn which metrics expose capacity loss and how state handoffs fail.
Before moving on: Write a runbook for overload and one worker failure. Preserve tenant boundaries and account for replicas that are starting but cannot yet serve.
- 08
Defend a measured deployment
Join the compatibility record, workload, raw outcomes and cost calculation into an engineering decision another person can reproduce.
Before moving on: Deliver a serving comparison with quality and latency gates, an explanation for one measured difference, and the condition that would change your choice.
Choose deeper work for the role you want
For runtime and kernel work, continue into Kernels and the Machine. For deployment and on-call ownership, use Fleet and Reliability. Neither specialty is a prerequisite for your first serving experiment.
The inference project sequence provides implementation practice with explicit inputs, outputs and execution limits. Multimodal serving and voice add their own input and delivery boundaries; explore them after the text-serving foundation.
For an example of how performance work has been assessed, read Anthropic's account of its performance engineering take-home. It describes optimizing code for a simulated accelerator and explains why the assessment changed. Treat it as practice material; it does not establish the current interview process for an inference role.
Research checked October 16, 2026. The Fireworks careers page and Anthropic careers page list roles across inference, performance and infrastructure. These roles help motivate the skills here. The practice questions are editorial exercises, not claims about a company's current interview rounds.
The course sequence
In this order. Each assumes the one before it.
The question tracks to drill
99 questions across 3 tracks, in the order this loop weights them. Design an inference platform, a batching system, a training cluster, with TTFT and TPOT numbers on the board.
Design an inference platform at 10k requests per second, a 10,000-GPU training cluster, a job scheduler with preemption and checkpointing, a serverless GPU runtime with sub-second cold starts, a multi-tenant fine-tuning service, an eval pipeline. The whiteboard round at OpenAI, Anthropic, Baseten and Together.
34 questionsPrefill versus decode, the KV cache, PagedAttention and continuous batching, chunked prefill, speculative decoding, disaggregated serving, quantization, vLLM, SGLang and TensorRT-LLM, multi-LoRA and routing: hosting open-weight models at a latency SLO and a cost you can defend.
35 questionsMemory footprints, 6ND, arithmetic intensity and the ridge point, bandwidth-bound decode, communication volume, GPU counts and time to train, cost per million tokens, TCO and buy versus rent. The estimation round almost every AI infra loop includes, with every assumption stated.
30 questionsWho hires for this
Grouped by the kind of employer, because archetype predicts the loop better than the brand does.
