AI Infra Interviews logo
CORE AI INFRASTRUCTURE

OpenAI AI Infrastructure Engineer interview questions

OpenAI hires across the whole AI infrastructure surface: GPU Infrastructure, GPU Infrastructure HPC (fleet reliability and uptime), Frontier Clusters Infrastructure (standing up training clusters on bare metal), Fleet Infrastructure (scheduling, quota and Kubernetes provisioning), GPU Inference and Inference CUDA Kernels, Compiler Kernels and Runtime, and a London team operating the clusters that serve ChatGPT. The loop weights ML systems design and practical coding: reported design prompts include serving ChatGPT with tokens-per-second trade-offs and KV-cache memory arithmetic, and reported coding problems are implementation-heavy rather than puzzle-style (a time-based key-value store, a resumable iterator, a rate limiter). CUDA depth is gated to the kernel roles. AI use is prohibited in interviews except a beta agentic coding round.

FRONTIER MODEL LABS

They train the largest models themselves, so the interview is about making a very large run go fast and survive its own failures.

Loop leans on: Training and inference performance, GPU efficiency, distributed failure handling. Compare the other frontier model labs

The OpenAI AI Infrastructure Engineer interview process

Documented

How the OpenAI AI Infrastructure Engineer interview experience actually runs — the rounds, what each stage tests, and the signals candidates report. Last reviewed September 4, 2026.

RoleSoftware Engineer, GPU Infrastructure / Inference / KernelsLoop3 to 5 weeks typical; 2 to 3 accelerated; 6 to 8 at the slow endAI toolsAI prohibited in interviews except a beta agentic coding round where it is permitted; CoderPad for the phone screen, Excalidraw for design, own IDE with screen share or CoderPad onsite.
  1. 1
    Recruiter screenAbout 30 minutes on background, track and level.
  2. 2
    Technical screensTwo 60-minute rounds, often the same day: one coding on CoderPad (implementation-heavy: time-based key-value store, resumable iterator, rate limiter reported) and one system design. Some 2025 and 2026 reports mention a HackerRank assessment at this stage instead.
  3. 3
    Take-home (role-dependent)Reported for some engineering roles: a 4 to 8 hour build (a pipeline or a product feature) or a 48-hour take-home graded as production code. Not every loop includes one.
  4. 4
    Onsite4 to 6 hours with 4 to 6 interviewers: one or two coding rounds, a system design round (serving ChatGPT with tokens-per-second trade-offs and KV-cache memory math is a reported prompt), a 45-minute technical project presentation, a behavioral with a senior manager and a teamwork behavioral. Senior loops may add a refactoring round; an agentic coding round (beta) permits AI.
  5. 5
    DecisionOffers reported within 48 hours of the final round.
WHAT THEY'RE EVALUATING
  • ML systems design with tokens-per-second, KV-cache and continuous-batching arithmetic
  • Implementation-heavy coding under time pressure, Python dominant
  • CUDA and kernel depth for the Inference CUDA Kernels and Compiler, Kernels, Runtime roles
  • Fleet reliability and Kubernetes provisioning for the HPC and Fleet Infrastructure teams

Kernel-specific round content is JD-derived; no first-hand kernel-round debrief was found.

Compiled from our research and publicly available information (candidate reports and company interview guides). Interview loops change and are continuously iterated, and they vary by team, level, and region. Treat this as directional preparation, not an official spec, and confirm the exact rounds with your recruiter or hiring point of contact.

OpenAI AI Infrastructure Engineer salary

What we can trace, labelled by where it came from. We publish a band only where there is a source behind it, so some of this page is a gap rather than a number.

NO TRACEABLE BAND

We have not found a compensation figure for this role at OpenAI that we can trace to an employer posting or a public aggregator. Rather than publish an estimate, we are naming the gap. Their careers page is the authority, and postings in some jurisdictions are required to state a range.

HIRING FROM INDIA
Global AI lab or cloud, India-based hire

A US or EU AI company with no large India engineering centre. An India-based hire here is usually a global-remote contract, often USD-denominated, which is the highest-paying route into the role from India and also the hardest to get; Together AI and Nebius posted India-located infrastructure roles of this kind in 2026.

LEVELREPORTED FOR THIS EMPLOYER TYPE
Junior (0-2 yrs)₹35 LPA - ₹55 LPA
Mid (3-6 yrs)₹55 LPA - ₹90 LPA
Senior (7+ yrs)₹90 LPA - ₹1.5 Cr

Reported range for global-remote AI engineering contracts from India (2026 industry reporting), not a figure reported for this company or for this exact title. Whether an India-based hire is possible at all depends on the employer's entity and visa position; check the careers page before you plan around it.

Full method, US bands by level, and the three India tiers side by side are in the AI infra salary guide, including what actually moves your number between these tiers.

Questions modeled on OpenAI loops

86 questions · 32 unlocked for you

More from the tracks OpenAI's loop tests

The highest-signal questions across OpenAI's core tracks.

8 questions · 7 unlocked for you

Go deeper on the topics OpenAI's loop tests

The tracks that map to a OpenAI AI Infrastructure Engineer loop, ordered easy to hard.

The concepts OpenAI's AI Infrastructure Engineer loop assumes you know

The vocabulary and mental models behind OpenAI's questions, from our curriculum. Start with the foundations free; the deeper, interview-defining ideas are part of premium.

AI SYSTEMS DESIGN

Foundational
Inference Platform ArchitectureAn LLM inference platform is the layer between a product's API call and a GPU running a serving engine, and every design round starts from its reference shape: a gateway that authenticates and rate-limits, a router that picks a replica with the right model and a warm cache, a per-replica scheduler that batches, engines that run prefill and decode, a KV cache tier, an autoscaler, and the observability that makes it operable. This page draws that shape, sizes each box for a concrete workload, and walks the derivation from user demand to replica count that every design answer has to contain.
Advanced🔒 Premium
Request Routing and Load Balancing for LLMsA load balancer for stateless web services spreads requests evenly and is done. A router for LLM replicas has two things a web balancer never had to think about: each replica holds a cache (the KV pages of recent prefixes) that makes some replicas far cheaper than others for a given request, and each request costs a wildly different amount, so counting connections is meaningless. This page builds the router that handles both: prefix-aware placement with load-aware fallback, cost-aware queue estimates, session affinity, and the failure handling when a replica restarts and its cache is gone.
CoreSign in
GPU Job Scheduler DesignDesign a scheduler for a shared GPU cluster is the most common design prompt in AI infrastructure interviews, because it touches everything: queues and priorities, gang placement, topology, fairness across teams, preemption and the checkpoints that make it survivable, and the failure handling that keeps a 512-GPU job alive. This page builds the design in layers, states the data model and the scheduling loop, derives the numbers (how long a job waits, how much preemption costs, how much fragmentation wastes), and lists the trade-offs the interviewer will push on.
Advanced🔒 Premium
Training Cluster Design at 10k GPUsDesign a cluster for training frontier models is the prompt that tests whether a candidate can hold hardware, network, storage, scheduling and reliability in one head at once. The answer is a bill of materials with a reason for every line: how many GPUs and why, how they are grouped into pods, how the fabric connects the pods and what it costs a collective to cross one, how much storage bandwidth the checkpoints and the data loader need, how power and cooling bound the whole thing, and how the failure statistics set the spare pool and the checkpoint cadence. This page derives each line for a 10,240-GPU cluster.

INFERENCE & SERVING

Foundational
Prefill vs DecodeAn LLM request runs in two phases with opposite hardware profiles: prefill reads the whole prompt in one compute-bound pass and decides time to first token, decode emits one token per forward pass and is bound by memory bandwidth. Every serving decision, from batch size to which GPU to buy to whether to split the two phases across machines, follows from that split.
Foundational
The KV CacheThe KV cache stores each token's attention keys and values so decode never recomputes them, turning a quadratic cost into a linear one at the price of memory that grows with every token in every concurrent sequence. Its size, 128 KB per token for Llama 3.1 8B and 320 KB for 70B in bf16, is what caps concurrency and context on a given GPU, so it decides batch size, replica count and whether a model fits at all.
CoreSign in
Continuous BatchingContinuous batching schedules at the granularity of a single decode step instead of a whole request, so a finished sequence's slot is refilled on the next iteration rather than when the longest request in the batch ends. It is the scheduling idea that turned LLM serving from a padded, half-idle GPU into one that stays full, and it decides how the engine's scheduler, memory manager and latency SLOs interact.
Advanced🔒 Premium
PagedAttentionPagedAttention stores the KV cache in fixed-size blocks scattered across HBM and maps each sequence's logical positions to physical blocks through a block table, the same trick an operating system uses for virtual memory. It removes the reservation and fragmentation waste of contiguous allocation, lets blocks be shared between sequences, and is why an engine can decide admission by counting free blocks.

CODING FOR INFRA

Foundational
The GPU Credit Scheduler PatternThe most widely reported coding problem in AI infrastructure loops is a small scheduler: accounts hold credits, jobs arrive with a cost and a priority, and you must decide which jobs run, in what order, without letting any account overspend, then extend it under follow-ups (refunds, reservations, concurrency limits, fairness). It is not a trick question; it is a test of whether you can model state cleanly, pick the right data structures, keep invariants under mutation, and talk about complexity while typing. This page works the problem from the first line to the fourth follow-up, with the code, the invariants, and the derivations.
CoreSign in
Rate-Limiting AlgorithmsA rate limiter answers one question, 'may this request proceed now?', and the three classic algorithms answer it with different shapes of fairness and memory: the token bucket allows bursts up to a capacity and refills at a rate, the leaky bucket smooths output to a fixed rate, and sliding windows count recent requests exactly or approximately. AI platforms limit in tokens as well as requests, per tenant, across many gateways, which adds two twists: a request's cost is unknown until it finishes, and the counters must be shared. This page derives each algorithm, implements the token bucket correctly, and covers both twists.
Advanced🔒 Premium
Batching Queues and BackpressureWrite a request batcher is the coding round's version of the serving engine's scheduler: requests arrive one at a time, the GPU wants them in groups, and the batcher decides when a group is full enough to send without holding anyone too long or accepting more than it can hold. The two knobs are the maximum batch size and the maximum wait, the invariant is a bounded queue, and the follow-ups (priorities, cost-aware batching, cancellation, bounded in-flight batches) are the ideas the real engines carry. This page implements the batcher in asyncio, derives what each knob buys, and walks the follow-ups.
Advanced🔒 Premium
Interval Merging and Utilization LogsGiven busy intervals per GPU, when was the whole cluster idle? What was the utilization per hour from a log of start and stop events? Which jobs overlapped? These are the interval problems of the infrastructure coding screen, and they share one tool: sort the endpoints and sweep. The sweep line turns every variant into a single pass with a counter, the sort is the only thing that costs more than linear time, and the edge cases (touching intervals, zero-length events, an unterminated start) are where candidates lose the round. This page works the standard problem and its relatives with code, tests and the complexity derivation.

SCHEDULING & ORCHESTRATION

Foundational
Kubernetes GPU SchedulingKubernetes knows nothing about GPUs until something tells it. The NVIDIA device plugin advertises each node's GPUs as a countable resource, the scheduler matches a pod's request to a node with enough of them, and the container runtime wires the device in. That model is enough for one job per GPU and breaks the moment you need sharing, topology or multi-node placement, which is where Dynamic Resource Allocation, the GPU Operator and the batch schedulers come in. Knowing which layer does what is the platform interview's opening question.
CoreSign in
MIG, MPS and Time-SlicingA whole H100 is far more than a notebook, a small inference service or a CI job needs, and giving each of them a card leaves most of the fleet idle. Three mechanisms share a GPU, and they differ in what they isolate: MIG partitions the hardware into up to seven slices with their own memory and compute, MPS lets several processes share one GPU's SMs concurrently with no memory isolation, and time-slicing context-switches between processes with no isolation at all. The choice is the isolation the workload needs against the utilization the platform wants.
Advanced🔒 Premium
Gang Scheduling with Kueue and VolcanoA distributed training job is 64 pods that start together or not at all: if 40 are running and 24 are Pending, the 40 hold their GPUs idle at a collective barrier waiting for ranks that may never come, and two such jobs can deadlock a whole cluster. Gang scheduling makes the job the unit of admission. Kueue and Volcano add queues, quotas, priorities and preemption on top, which is what turns a pile of GPUs into a platform several teams can share without starving each other.
Advanced🔒 Premium
Topology-Aware SchedulingTwo placements of the same 64-GPU job can differ by 2x in step time: one keeps every tensor-parallel group on a single NVSwitch node and every data-parallel ring on a single rail, the other scatters ranks across racks and pushes per-layer traffic through the spine. The scheduler is the only thing that can prevent the second placement, because the framework maps ranks to whatever GPUs it is handed. Topology-aware scheduling means the scheduler knows the hierarchy (NVLink domain, rail, rack, spine block) and places gangs to keep traffic low in it.

KERNELS & COMPILERS

Foundational
CUDA Programming ModelCUDA splits a program into a host that allocates, copies and enqueues work, and a device that runs thousands of identical threads organized as a grid of blocks. Getting the split right, and knowing that a launch returns before the kernel runs, decides whether your first live-coding kernel produces a correct number or a silent zero.
CoreSign in
Memory CoalescingA warp's 32 threads issue one memory request together, and the hardware serves it in 32-byte sectors. Coalescing is arranging addresses so those sectors are full of bytes the warp will use. It decides whether a bandwidth-bound kernel moves at the HBM rate or at an eighth of it, and it is the pattern NVIDIA's trace-classification interview question tests.
Advanced🔒 Premium
Shared Memory and Bank ConflictsShared memory is the programmer-managed SRAM inside each SM, split into 32 four-byte banks that serve one word each per cycle. When several lanes of a warp hit the same bank at different addresses the access serializes, and a 32-way conflict makes a shared-memory-bound loop run over ten times slower. Padding, XOR swizzles, cp.async and TMA are the tools that decide whether a tiled kernel gets the bandwidth it staged data for.
Advanced🔒 Premium
Occupancy and Register PressureOccupancy is the fraction of an SM's 64 warp slots that are resident, and it is capped by the 65,536 registers and 228 KB of shared memory each block consumes. It decides how much memory latency the hardware can hide for free, but the fastest kernels on a GPU routinely run at 25 percent, so the interview skill is knowing when to raise it and when to stop.

Where to apply, and official OpenAI resources

Straight from OpenAI: open roles and the company's own hiring guidance. Prep here, then apply there.

External links to OpenAI's own pages. Roles and processes change; always confirm on the official site.

ABOUT THE ROLE
OPENAI INTERVIEW FAQ
What is the OpenAI AI Infrastructure Engineer interview process?

Software Engineer, GPU Infrastructure / Inference / Kernels. Typical loop: 3 to 5 weeks typical; 2 to 3 accelerated; 6 to 8 at the slow end. Stages: Recruiter screen → Technical screens → Take-home (role-dependent) → Onsite → Decision. Key focus: ML systems design with tokens-per-second, KV-cache and continuous-batching arithmetic. Compiled from public reports; loops change over time, so confirm the exact rounds with your recruiter.

Does OpenAI hire AI infrastructure engineers?
What does the OpenAI AI infrastructure interview test?
Is AI allowed in OpenAI's coding interviews?
What is the OpenAI AI infrastructure engineer salary?
How long does the OpenAI loop take?

Walk into your OpenAI AI Infrastructure Engineer interview ready

Unlock every AI infra interview answer, ordered easy to hard, plus the full concept curriculum, for 6 months. One payment, no auto-renewal. Free questions and concepts in each track, no card needed to start.

Or create a free account to unlock more free answers per topic.

Other AI Infrastructure Engineer interviews to prep

Companies whose loops test the same tracks as OpenAI's.

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