01Chapter 1: How tokens turn into costAssume you know basic Python, JSON, HTTP APIs, prompts, and common LLM settings such as temperature.1 min read
02Chapter 2: Pick the smallest model that meets the barAssume you know basic Python, can call an LLM API, and understand prompts, JSON, and settings such as temperature. Optimize cost only after measuring quality and latency.1 min read
03Chapter 3: Budget retrieved contextAssume you can call an LLM API, count tokens, and run basic Python. The goal is to reduce cost and latency while preserving answer quality.2 min read