Robust LLM API calls
Call LLM APIs reliably, cheaply and observably.
- AGT.04.01The Messages API and SDKsCoreJuniorBeing written
- AGT.04.02Streaming, timeouts, retries and rate limitsCoreMid-levelBeing written
- AGT.04.03Cost control: prompt caching, batching and budgetsCoreMid-levelBeing written
Interview questions in this module
- How do you make LLM API calls reliable in production?
- Which errors should you retry and how?
- How does prompt caching work and how do you structure prompts to benefit from it?
- How do you stop an LLM feature from blowing your budget?
- When would you use a batch API?