Skip to content

Anthropic KV Cache & GPU Memory interview questions

KV Cache & GPU Memory is a core part of the Anthropic Inference Engineer loop. The KV algebra across MHA, GQA, MQA and MLA, block tables and fragmentation, hash and radix prefix reuse, eviction, FP8 KV, CPU and NVMe offload, and the gpu_memory_utilization budget that decides how many sequences actually fit. Questions tagged to Anthropic come first. After them, the top-voted questions from the KV Cache & GPU Memory track. Each answer is written the way a senior serving engineer would argue it at a whiteboard, numbers included.

WHAT ANTHROPIC LOOKS FOR HERE · Intimate familiarity with hardware and bandwidth numbers (FLOPs, HBM, PCIe, RDMA, network links) and ability to model where time and bytes go. See the full Anthropic interview process →

KV Cache & GPU Memory questions tagged to Anthropic

9 questions · 3 unlocked for you

More KV Cache & GPU Memory questions for Anthropic's loop

Sorted by reader votes. These are not tagged to Anthropic; they cover the kv cache & gpu memory ground its Inference Engineer loop is known to test.

7 questions · 2 unlocked for you
ANTHROPIC KV CACHE & GPU MEMORY FAQ
What KV Cache & GPU Memory questions does Anthropic ask in interviews?▲

Anthropic's Inference Engineer loop draws kv cache & gpu memory questions such as "Derive the KV cache footprint for MHA, GQA and MLA, then tell me how many 8K-token conversations fit on four H100s.", "Why does a paged KV cache waste at most one block per sequence, and how would you pick the block size?", "FP8 KV cache: what scales does it need, where is the error largest, and how would you validate it on long-context tasks?". The KV algebra across MHA, GQA, MQA and MLA, block tables and fragmentation, hash and radix prefix reuse, eviction, FP8 KV, CPU and NVMe offload, and the gpu_memory_utilization budget that decides how many sequences actually fit. Every question in the topic is listed below from easiest to hardest, each with a worked answer.

How should I prepare for the Anthropic KV Cache & GPU Memory round?▼
Does Anthropic hire inference engineers?▼
What is the Anthropic inference interview process?▼

Other Anthropic interview rounds

The other tracks Anthropic's Inference Engineer loop tests.

Prep the whole Anthropic Inference Engineer loop

KV Cache & GPU Memory is one round. Unlock every answer across Anthropic's full loop with Premium. Free questions in every track let you try the depth first.

Every worked answer and derivation in all 12 topics, every concept page, and the full practice-test bank.

6 months · One payment · No auto-renewal

Independent and not affiliated with Anthropic. All trademarks belong to their owners.