AI Infra Interviews logo

OpenAI LLM Inference & Serving interview questions

Practise llm inference & serving for OpenAI AI Infrastructure Engineer roles. Prefill 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. Questions tagged to OpenAI appear first, followed by additional practice from our LLM Inference & Serving track. Company tags indicate preparation relevance, not confirmed interview appearances. Confirm the current interview format with your recruiter.

PREPARATION CONTEXT · Fleet health, failure diagnosis and capacity for GPU infrastructure roles. Sources and confidence in the OpenAI guide →

LLM Inference & Serving questions tagged to OpenAI

9 questions · 3 unlocked for you

Additional LLM Inference & Serving practice

These questions cover the same topic and are not tagged to OpenAI. Use them to practise applying the ideas in a different situation.

15 questions · 7 unlocked for you

Concepts for LLM Inference & Serving preparation

These concept explanations cover the ideas used in the questions. Check each card for its access level.

Foundational
Prefill vs DecodeFollow one prompt through its first prediction and later decode steps, then separate GPU work from the wait a user sees. Learn why batch size and context change the likely bottleneck.
Foundational
The KV CacheThe KV cache saves attention keys and values from processed tokens. Follow one decode step, calculate its memory cost, and see why longer conversations reduce the number of requests a GPU can hold.
Core
Sign in
Continuous BatchingContinuous batching changes which requests run between model iterations. Learn how a waiting request joins, why an empty slot is not enough, and how to balance throughput against each user’s token latency.
Advanced
🔒 Premium
PagedAttentionFollow a token position through a block table, watch a cache grow, and trace a shared tail through copy-on-write. Separate memory saved from throughput gained.
Advanced
🔒 Premium
Chunked PrefillFollow a long prompt through a shared token budget, including its final partial chunk. Learn why chunking can reduce stream pauses without guaranteeing a fixed token gap or a universal throughput gain.
Advanced
🔒 Premium
Speculative DecodingA draft proposes tokens; the target checks them with a sampling rule that preserves its distribution. Work through the correction after rejection, count accepted drafts separately from emitted tokens, and decide whether the measured round cost earns a speedup.
Advanced
🔒 Premium
Disaggregated Prefill and DecodeSeparate prefill and decode to control phase interference, then budget the KV handoff. A short isolated transfer can still overload a shared path; cancellation stops generation before it necessarily releases transfer buffers.
Advanced
🔒 Premium
Prefix Caching and KV ReusePrefix caching reuses compatible attention state for leading tokens. Calculate shared memory and token reuse, then weigh cache identity, block ownership and routing delay before expecting a latency gain.
OPENAI LLM INFERENCE & SERVING FAQ

This collection includes practice questions such as "Why do prefill and decode behave so differently, and why does that matter for the hardware you serve on?", "What is the KV cache, and why does it keep growing while a request is being served?", "Define TTFT, TPOT and goodput, and tell me how you would measure each one in production.". Company tags describe relevance to preparation; they do not confirm that OpenAI asked these questions. Check each question for answer access.

Other topics for OpenAI preparation

Explore the other topics mapped to OpenAI in our preparation guide.

Continue your OpenAI interview preparation

Continue with related questions and the concept curriculum. Free questions are available in every track; check pricing for full access.

Independent and not affiliated with OpenAI. All trademarks belong to their owners.