

OpenAI onsite coding interview
Round 4 of 8 · 7 questions reported
The OpenAI onsite coding interview is round 4 of 8 in the OpenAI loop: 60 minutes, live coding. AI use: no AI. 7 questions reported, the newest asked Oct 12, 2026; the most asked are Find the planted bugs in a small Transformer training script, Sharded matrix multiply: forward, backward and planted bugs and Read and refactor a large PyTorch training file.
- Length
- 60 min
- Format
- Live coding; the problem often rebuilds a familiar system in several parts
- They grade
- Correct code first, then performance; test discipline; command of your language (iterators, generators, async in Python)
- AI use
- No AI
- Heads-up
- Larger in scope than the screen, and speed matters. Infra loops add a separate ML coding round on top of the systems coding round. Some onsites include a refactoring round: about 100 to 120 lines of tangled code that works and passes its tests; make it ready for new requirements while keeping the tests green.