AISim › Chapter 6: Find the bug
Overthinking "hello"
Level 30. The bill went up sevenfold after someone made it smarter.
Your support assistant used to be cheap and snappy. Last sprint someone changed a setting to make it "smarter" on tricky questions. Quality barely moved, but every reply now takes many seconds and the monthly bill is seven times what it was. Most questions are simple.
Goals
- cost per 1,000 requests at most $6
- median latency at most 5.0s
- accuracy at least 85%
Concepts: Debugging, Reasoning budget, Cost.
Hint
Look at where the time and tokens go on a simple request. Does "what are your opening hours?" need two thousand tokens of thought?
What you learn
Reasoning tokens are billed and waited for like any other output. Spending them on every request makes easy questions slow and expensive for no gain. Turn thinking off by default, and use it (or a router) only where the problem needs it.
More in this chapter
- Right answer, wrong question (Level 26)
- The goldfish (Level 27)
- Safe and useless (Level 28)
- It found it, then threw it away (Level 29)
- Three bugs, one system (Chapter 6 boss)
This interactive level needs JavaScript. Built by Joshua Paul (cybernerdie).