Back to HLD Sheets & Companies
OpenAI System Design Track

OpenAI High-Level Design (HLD) Interview Questions

Prefix KV-cache routers, disaggregated MoE serving, Voice AI & batch queues. Practice each prompt in HLDArena's 60-second discrete-event simulator with p99 latency, availability, and cloud cost gates.

Track Progress0 / 12 Solved (0%)
What OpenAI Loops Probe Deepest
  • Prefix-aware KV-cache routing, disaggregated Prefill/Decode pools & HBM leases
  • Sub-200ms full-duplex WebRTC Voice AI gateways with instant VAD barge-in
  • Multi-tenant TPM token rate limiters, semantic prompt caches & 24h Batch queues
StatusCodeQuestionDifficultyMax Pts
—HLD-416Disaggregated Prefill/Decode & Mixture-of-Experts (MoE) Inference Fabric

Design a DeepSeek / Frontier-Lab scale inference fabric separating compute-bound Prefill pools from memory-bandwidth-bound Decode pools, coordinating RDMA KV-cache block transfers, expert-load balancing across hot MoE experts, and zero-dropped-stream failover.

Expert2000 pts
—HLD-408Multi-Cluster LLM Prefix KV-Cache Router & Token Scheduler

Design an OpenAI / vLLM multi-cluster inference control plane that routes shared system-prompt prefixes to sticky KV-cache pools, enforces TPM quotas, and survives 8x storage/checkpoint brownouts.

Expert2000 pts
—HLD-334Sub-200ms Full-Duplex Multimodal Voice AI & Barge-In Gateway

Design a ChatGPT Advanced Voice / Gemini Live-style WebRTC conversational AI session gateway orchestrating bidirectional Opus audio frames, server-side VAD barge-in cancellation, sticky conversational KV-state, and lossless transcript persistence.

Hard1500 pts
—HLD-250Multi-Tenant Async Batch LLM Inference & Off-Peak Scheduler

Design an OpenAI / Anthropic Batch API platform where enterprises upload 100k-prompt JSONL files for 24-hour SLA completion at 50% discount, enforcing fair per-tenant token quotas, checkpointed partial progress, and output artifact streaming.

Medium1000 pts
—HLD-247Low-Latency IDE Code Completion & Fill-in-Middle Gateway

Design a Copilot / Cursor-style inline ghost-text completion gateway handling keystroke-debounced Fill-in-the-Middle (FIM) requests, repo-context AST snippet caching, and instant in-flight cancellation when the developer keeps typing.

Medium1000 pts
—HLD-134LLM Semantic Prompt Cache & Cost-Saving AI Gateway

Design an AI gateway caching tier that serves exact prompt-hash and high-similarity semantic hits in milliseconds to avoid redundant GPU inference calls across FAQ, support, and coding assistants.

Easy500 pts
—HLD-314ChatGPT-Scale Conversational Assistant, Context & SSE Gateway

Design a ChatGPT / Claude conversational backend managing multi-turn conversation trees, sliding context-window caches, token quota checks, and SSE response streaming.

Hard1500 pts
—HLD-412Durable Stateful AI Agent Checkpointing & Sandboxed Tool Runner

Design a Temporal / LangGraph-scale durable AI agent orchestrator executing multi-step ReAct loops with exactly-once side-effect tool idempotency and instant crash resumption.

Expert2000 pts
—HLD-231Enterprise RAG Document Chunking & Hybrid Vector Search

Design a Glean / Enterprise AI retrieval backend combining ACL-filtered BM25 keyword search + dense vector embeddings with semantic query caching.

Medium1000 pts
—HLD-322Sharded HNSW Vector Database & Metadata Filter Engine

Design a Pinecone / Milvus multi-tenant vector database serving low-latency ANN top-K cosine similarity queries with real-time vector upserts and deletes.

Hard1500 pts
—HLD-101Distributed API Rate Limiter & Quota Gateway

Design a low-latency ingress rate-limiting tier enforcing per-tenant sliding-window and token-bucket quotas across stateless API gateways without adding tail latency.

Easy500 pts
—HLD-211SaaS Usage-Based API Metering & Spend Aggregator

Design a high-throughput usage metering pipeline counting billable API tokens and compute units per tenant while serving real-time billing dashboard queries.

Medium1000 pts
Open Must-Do 30 Sheet