Unit 0
The Gate
What a gateway is, and why one door in front of many models.
Unit 1
The Proxy
Forwarding a request, and what "the same API" really means.
Unit 2
When It Fails
Retries, backoff and jitter, timeouts, and idempotency.
Unit 3
Choosing a Path
Routing policy: cost vs latency vs quality, and fallback.
Unit 4
Remembering Answers
Exact vs semantic caching, embeddings, nearest-neighbor lookup.
Unit 5
The Ledger
Token accounting, cost, rate limits, and per-key budgets.
Glossary Every term, plain English then precise.