PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/ML System Design/Anthropic

Design GPU inference request batching

Last updated: Apr 12, 2026

Quick Overview

This question evaluates understanding of GPU inference batching, request queuing and routing, scheduling and autoscaling, throughput–latency trade-offs, multi-model/version management, failure handling, and observability within machine learning serving systems, and is in the ML System Design domain.

  • Anthropic
  • ML System Design
  • Software Engineer

Design GPU inference request batching

Company: Anthropic

Role: Software Engineer

Category: ML System Design

Interview Round: Onsite

Design a system that serves online model-inference requests on GPUs. Requests arrive one at a time from clients, but GPU throughput is much better when compatible requests are grouped into batches. Discuss how you would design a service that: - accepts low-latency inference requests, - batches compatible requests together, - routes work to GPU workers, - supports multiple models or model versions, - balances throughput against latency SLOs, - handles overload, failures, and observability. Your design should cover the API, queueing model, batching strategy, scheduling policy, worker lifecycle, autoscaling signals, and the main trade-offs.

Quick Answer: This question evaluates understanding of GPU inference batching, request queuing and routing, scheduling and autoscaling, throughput–latency trade-offs, multi-model/version management, failure handling, and observability within machine learning serving systems, and is in the ML System Design domain.

Related Interview Questions

  • Design Model Weight Distribution - Anthropic (medium)
  • How do you handle an LLM agents interview? - Anthropic (hard)
  • Design a prompt playground - Anthropic (medium)
  • Design a model downloader - Anthropic (medium)
  • Design a GPU Inference API - Anthropic (hard)
Anthropic logo
Anthropic
Mar 13, 2026, 12:00 AM
Software Engineer
Onsite
ML System Design
75
0

Design a system that serves online model-inference requests on GPUs. Requests arrive one at a time from clients, but GPU throughput is much better when compatible requests are grouped into batches.

Discuss how you would design a service that:

  • accepts low-latency inference requests,
  • batches compatible requests together,
  • routes work to GPU workers,
  • supports multiple models or model versions,
  • balances throughput against latency SLOs,
  • handles overload, failures, and observability.

Your design should cover the API, queueing model, batching strategy, scheduling policy, worker lifecycle, autoscaling signals, and the main trade-offs.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More ML System Design•More Anthropic•More Software Engineer•Anthropic Software Engineer•Anthropic ML System Design•Software Engineer ML System Design
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.