Loading lesson…
Level 1 · Apprentice0 XP
Route, cache, stream and right-size every call.
Step 1 / 5
ProblemUsage grew 20%, but the model bill doubled. One new feature sends the whole chat history plus all documents on every turn, and asks for long answers nobody reads.
← → step
Before this: Guardrails: input, output and data
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.For one AI feature, compute cost per completed task from logs. Apply two optimisations (routing easy cases to a small model, caching the stable prefix) and measure cost, p95 latency and eval score before and after.