AI Infra Interviews logo
← LLM Inference & Serving / 22
hardAnthropicGoogleFireworks

You need to serve 128k-token contexts. What breaks first, and what do you change?

Calculate retained cache and prefill work for a stated 128k model shape, then choose scheduling and memory policies from measured limits.

Updated Sep 2026 · Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.

Calculate retained cache and prefill work for a stated 128k model shape, then choose scheduling and memory policies from measured limits.

The full answer is part of Premium. A free account includes more answers in each topic, but does not unlock this one.

20 answers per topic instead of 10, plus saved progress and bookmarks · no cardor unlock all 316 remaining answers · ₹2,000 / $25

Work through the numbers

Change the assumptions in a free calculator, then explain what the result establishes and what still needs measurement.

UP NEXT ON YOUR JOURNEY
FEDITOR'S NOTE

Derive cache demand from the selected model and reserve room for output. Diagnose memory, prefill and decode limits separately; a FLOP estimate does not predict a latency percentile.

DISCUSSION · 0

No comments yet — be the first to share your approach.