📄️ 3.1 API Fundamentals
REST calls, authentication, and request/response anatomy for LLM APIs.
📄️ 3.2 OpenAI & Anthropic SDKs
Python SDK setup, messages API, and streaming responses for OpenAI and Anthropic.
📄️ 3.3 DeepSeek Locally
Ollama, vLLM, hardware requirements, and quantization (Q4/Q8) for self-hosting.
📄️ 3.4 Cost & Tokens
Token counting, cost estimation, batching, and caching strategies for LLM APIs.
📄️ 3.5 Error Handling
Rate limits, timeouts, exponential backoff, and fallback model strategies.