Design LLM inference serving that scales and keeps cost per token low
HardSystem design60 minSWEMLEREPro outline
The question
Design the inference platform for a chat and completion API serving several open-weight models of different sizes. Traffic varies by 5x across the day.
You need good latency for interactive users and the lowest possible cost per token. Walk me through the design and the trade-offs.
What the interviewer is looking for
- Defines latency targets (time to first token, time per output token) and traffic numbers
- Uses KV cache math and batching to estimate GPUs needed
- Explains continuous batching, paged KV cache, prefix caching, quantization and speculative decoding
- Designs routing, autoscaling and multi-model placement
- Discusses cost levers and their quality or latency price
- Plans monitoring and safe model rollouts
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Mistral AI question type: LLM inference serving and scaling with cost trade-offs.
Reported in: supacv.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Mistral AI question.