Hard

Design a Multi-Tenant LLM Inference Platform System Design Interview

Design a global inference service for mixed chat, coding, and long-context workloads across heterogeneous accelerators.

1. Problem Statement

Design a multi-tenant LLM inference platform serving interactive chat, coding agents, and long-document requests. How would you scope the problem?

2. Architecture Discussion Map

Use this as one discussion aid, not a single correct answer. Your design should follow from the requirements, scale, and trade-offs you establish.

Rendering architecture diagram...
Mermaid Source (For AI Bots)
graph LR
    A["Design a Multi-Tenant LLM Inference Platform"]
    A --> F1["Workload classes and SLO admission control"]
    A --> F2["Prefill/decode scheduling and continuous batching"]
    A --> F3["KV-cache placement, paging, and prefix reuse"]
    A --> F4["Heterogeneous accelerator routing and autoscaling"]
    A --> F5["Correctness gates, observability, and multi-region failure handling"]

3. Key Focus Areas

  • 1
    Workload classes and SLO admission control
  • 2
    Prefill/decode scheduling and continuous batching
  • 3
    KV-cache placement, paging, and prefix reuse
  • 4
    Heterogeneous accelerator routing and autoscaling
  • 5
    Correctness gates, observability, and multi-region failure handling

4. What Strong Candidates Should Demonstrate

  • Reason separately about prefill and decode bottlenecks.
  • Balance p99 latency, throughput, cost per token, fairness, and output correctness.
  • Design safe rollouts across model, runtime, and accelerator changes.

Want interactive feedback?

Practice drawing this system component-by-component on a live whiteboard while the interviewer probes at your target level.

Continue to Dashboard

Core Concepts

LLM ServingContinuous BatchingKV CacheAutoscalingMulti-tenancy

Continue preparing

Build a complete software engineer mock interview plan

Related System Design

Design a Shared GPU Cluster Scheduler

Design scheduling and capacity management for training, research, and production inference on a large heterogeneous accelerator fleet.