Learn by doing
AI cost puzzles: find the leak and guess the cheapest
AI cost puzzles is a pair of short, interactive exercises that teach what actually drives an AI bill. In Find the Leak you read a realistic app scenario with one dominant inefficiency, pick where the money goes, and see the real monthly saving from fixing it at the same model and quality. In Guess the Cheapest you see one workload and three or four real models, guess the cheapest, then read the true ranking. Every figure is computed live from the same source-backed pricing engine as the AI cost calculator. There are no points, streaks, or badges: the reward is a better mental model of token cost.
Play the cost puzzles - Find the leak and guess the cheapest →
What the puzzles teach
Find the Leak shows that the biggest line on an AI bill is rarely the model name. A large prompt that repeats unchanged across calls is a caching problem; an answer that runs long is a length problem; a retrieval step that pastes the whole document is a context problem. The puzzle ranks each lever by the real dollars it would save, so the largest waste is obvious in hindsight.
Guess the Cheapest shows that the cheapest model depends on the workload, not the sticker price. When output dominates, a low input rate can still produce the highest bill. When the context is huge, a model that cannot hold the prompt is unusable at any price. The reveal prices every candidate at the exact workload, so the ranking is grounded in numbers.
Example scenarios you will see
- A support assistant that re-sends a 16K-token policy prompt on every call with caching off.
- A generator that always writes the maximum length when a short answer would do.
- A retrieval app that pastes about 60K tokens of source text when only a few passages are used.
- A long-form drafting workload where output tokens dwarf input tokens.
AI cost puzzles. ByteCosts. https://bytecosts.com/tools/cost-puzzles/