01Chapter 1: What a token isThis chapter assumes you can read basic Python, have used an LLM chat or completion API, and are comfortable with simple arithmetic.2 min read
03Chapter 3: Estimating what a call costsAssume you can read basic Python, call an LLM API, and do simple arithmetic. A provider usually charges separately for input tokens and output tokens:1 min read