Finding 1 · The break-even
Owning pays from about 2,850 agent questions a working day.
An API bills every question. A machine of your own costs the same every day, whether it works or waits. So the two lines cross at a number of tasks a day, and below that number the API is cheaper.
For an agent question, one that looks things up with tools, the API charges about a quarter of a cent (€0.24 per 100). My test machine costs €6.60 per working day for the hardware and its power. The lines cross at 2,850 questions a day.
Then count the people. My machine needs between 1 and 5 hours of care a month. At €45 an hour, 5 hours add €10.80 a working day, more than the hardware itself, and the crossing moves to 7,500.
Count your tasks per working day before you compare prices per token.