Design a batch inference API | Anthropic Interview Question