09Design the rate limits and usage tiers for a model API.▼mediumNewOpenAIAnthropicGoogle○ sign inRate limits protect capacity and fairness, and they shape the developer experience as much as any feature on the API. The interviewer wants limits by dimension, tiers that grow with trust, and clear behaviour when limits hit.Practise this question →Read answer →
10New developers take 40 minutes on average to make their first successful call to our model API, and many never do. How do you fix that?▼mediumNewStripeAnthropicOpenAI◆ premiumActivation is the developer platform's equivalent of a product's first-run experience. The interviewer wants a diagnosis from real sessions and a set of fixes that remove each step of friction.Practise this question →Read answer →
34A developer's API key leaked and ran up $18,000 overnight. Do we refund it, and what do we change so it doesn't happen again?▼mediumNewAnthropicOpenAISarvam AI◆ premiumLeaked keys are common and costly. Refund once with conditions, then change the defaults: scanning and automatic revocation, narrow key scopes, spending limits for new accounts and prepaid options.Practise this question →Read answer →
39Our API is stateless. Should we store conversation state on the server, and what happens to customers who can't let us store anything?▼hardNewOpenAI◆ premiumServer-side state simplifies integration and can improve caching, but it means storing data and it does not make old tokens free. Offer it as an option with short retention and give zero-retention customers an equal stateless path.Practise this question →Read answer →