how do you show what an agent run will cost before it starts

by•

we get a lot of "how many credits will this eat" questions. on reddit someone suggested showing a max up front and charging what it actually used

do you show a cap before a run, or just a receipt after?

24 views

Add a comment

Replies

Best

We do both, and the Reddit suggestion is basically how it works for us. Our runs make songs, so the price is fixed per kind of run, and the form says it under the title before you press anything: "Costs 10 credits, you have N". When the run starts we put a hold on those credits rather than spending them. If the run fails, the hold is released and the credits come back on their own. If it succeeds, the hold is captured. The one case where the cap and the receipt differ: an HD run is 15, but if the HD engine fails and the fallback engine sings it, we capture 10 and release the rest. Charging less than what was shown is easy to explain. Charging more would feel like a trick. With agent runs the cost is less predictable, so I'd show the cap and keep the receipt line next to it on the result.

 stealing the hold and release bit, thanks george