Cutting LLM cost and latency
How to make LLM apps cheaper and faster without worse answers, in watch order: caching first. Hand-drawn doodle explainers, theory then a practical example.
1. Caching LLM Calls: Prompt, Exact and Semantic
Stop paying for the same tokens on every call: how prompt caching works, the prompt order that keeps it hitting, and when exact or semantic caching is safe.
play with it
Cost per finished task
Price per token isn't the bill. Change the numbers and watch the cost per 1,000 finished tasks.
Model B is cheaper per finished task.
